90% technical-on-page-seo-checker

Code Review | SEO Checker

WordPress plugin SEO Checker scored90%from 54 tests.

About plugin

  • Plugin page: technical-on-page...
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-5.3.2
  • WordPress version: 6.3.1
  • First release: Jan 27, 2019
  • Latest release: Jan 21, 2020
  • Number of updates: 10
  • Update frequency: every 35.9 days
  • Top authors: wpza (100%)

Code review

54 tests

User reviews

1 review

Install metrics

80+ active /1,668 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼2.77ms] Passed 4 tests

This is a short check of server-side resources used by SEO Checker
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0539.01 ▼3.06
Dashboard /wp-admin3.36 ▲0.0646.36 ▼4.71
Posts /wp-admin/edit.php3.41 ▲0.0545.61 ▲0.64
Add New Post /wp-admin/post-new.php5.94 ▲0.0586.35 ▼3.94
Media Library /wp-admin/upload.php3.28 ▲0.0541.81 ▲6.89

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

SEO Checker: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,847 ▲10113.31 ▼1.051.66 ▼0.1841.83 ▼5.45
Dashboard /wp-admin2,253 ▲764.89 ▲0.01113.86 ▲8.1743.33 ▲3.36
Posts /wp-admin/edit.php2,136 ▲472.07 ▲0.0637.65 ▼1.6332.08 ▼5.78
Add New Post /wp-admin/post-new.php1,552 ▲1923.08 ▼0.12649.15 ▼16.3659.49 ▲11.44
Media Library /wp-admin/upload.php1,435 ▲474.15 ▼0.12104.66 ▲2.6044.85 ▲2.93

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: technical on-page seo, wordpress seo, technical seo, seo checker, on-page seo...

technical-on-page-seo-checker/topsc.php 92% from 13 tests

The main PHP script in "SEO Checker" version 1.0.2 is automatically included on every request by WordPress
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("technical-on-page-seo-checker.php" instead of "topsc.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected509 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP41350509

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods3
▷ Static methods00.00%
▷ Public methods133.33%
▷ Protected methods00.00%
▷ Private methods266.67%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
1 PNG file occupies 0.47MB with 0.35MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png481.23KB118.65KB▼ 75.34%