100% seo-rank-analyser

Code Review | SEO Rank Analyser

WordPress plugin SEO Rank Analyser scored 100% from 54 tests.

About plugin

  • Plugin page: seo-rank-analyser
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5.1-5.4
  • WordPress version: 5.8.1
  • First release: Jun 7, 2017
  • Latest release: Apr 28, 2020
  • Number of updates: 10
  • Update frequency: every 105.7 days
  • Top authors: seorankanalyser (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 2,801 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼137.92ms] Passed 4 tests

A check of server-side resources used by SEO Rank Analyser
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1233.54 ▲13.05
Dashboard /wp-admin3.07 ▲0.0246.32 ▲2.21
Posts /wp-admin/edit.php3.12 ▲0.0147.51 ▲2.70
Add New Post /wp-admin/post-new.php5.43 ▲0.0093.05 ▼557.07
Media Library /wp-admin/upload.php3.01 ▲0.0133.19 ▲0.47
SEO Rank Analyser /wp-admin/admin.php?page=seorankanalyser_plugin_options2.9829.63
Full Depth Analysis /wp-admin/admin.php?page=seorankanalyser_plugin_pagelist3.0032.03

Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for SEO Rank Analyser
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,712 ▲11615.90 ▼0.248.69 ▼2.3445.76 ▼5.40
Dashboard /wp-admin2,999 ▲685.91 ▼0.04141.75 ▼6.13134.19 ▲26.87
Posts /wp-admin/edit.php2,790 ▲512.72 ▲0.0162.56 ▼10.4585.38 ▼1.16
Add New Post /wp-admin/post-new.php1,526 ▲2218.58 ▼0.08394.86 ▼43.89112.72 ▼7.03
Media Library /wp-admin/upload.php1,781 ▼265.02 ▼0.01146.23 ▼6.88131.78 ▲12.73
SEO Rank Analyser /wp-admin/admin.php?page=seorankanalyser_plugin_options1,1562.0854.1583.14
Full Depth Analysis /wp-admin/admin.php?page=seorankanalyser_plugin_pagelist1,1382.0953.1099.87

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: rank, analyzer, website analyser, seo audit, seo

seo-rank-analyser/seo-rank-analyser.php 92% from 13 tests

The main PHP script in "SEO Rank Analyser" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 277 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,388 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
CSS23041,720
SVG100525
PHP36711143

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/logo.png3.37KB1.09KB▼ 67.70%
assets/images/seorankanalyser.png12.06KB4.83KB▼ 59.94%