10% wpseokit

Code Review | wpSEOkit

WordPress plugin wpSEOkit scored10%from 54 tests.

About plugin

  • Plugin page: wpseokit
  • Plugin version: 1.1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.9.4
  • WordPress version: 6.3.1
  • First release: Aug 28, 2018
  • Latest release: Sep 3, 2018
  • Number of updates: 10
  • Update frequency: every 157.4 days
  • Top authors: shopmunity (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,001 total downloads

Benchmarks

Plugin footprint 23% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • Install procedure validation failed for this plugin
    • > User notice in wp-includes/functions.php+5905
    Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)

Server metrics [RAM: ▼1.66MB] [CPU: ▼55.03ms] Passed 4 tests

A check of server-side resources used by wpSEOkit
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.34 ▼1.135.87 ▼35.11
Dashboard /wp-admin2.36 ▼0.998.29 ▼55.24
Posts /wp-admin/edit.php2.36 ▼1.006.90 ▼42.97
Add New Post /wp-admin/post-new.php2.36 ▼3.537.05 ▼86.78
Media Library /wp-admin/upload.php2.36 ▼0.877.03 ▼29.81
wpSEOkit /wp-admin/admin.php?page=wpseokit_menuPages2.367.78
Configuration /wp-admin/admin.php?page=wpseokit_menuPageConfiguration2.367.20
Backlinks /wp-admin/admin.php?page=wpseokit_menuPageBacklinks2.367.18
Wizard /wp-admin/admin.php?page=wpseokit_menuPageWizard2.366.47

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: 1 new table, 13 new options
New tables
wp_wpseokit_backlink
New WordPress options
db_upgraded
widget_recent-posts
wpseokit_enable_backlink_promotion
theysaidso_admin_options
widget_theysaidso_widget
wpseokit_version
can_compress_scripts
wpseokit_show_disabled_pro_features
wpseokit_promotion_timeout
widget_recent-comments
...

Browser metrics Passed 4 tests

An overview of browser requirements for wpSEOkit
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲9214.33 ▼0.021.78 ▲0.1041.65 ▼3.46
Dashboard /wp-admin2,238 ▲605.72 ▲0.04100.60 ▼19.2642.91 ▼2.08
Posts /wp-admin/edit.php2,136 ▲362.17 ▲0.1639.04 ▲4.3134.98 ▼3.20
Add New Post /wp-admin/post-new.php6,350 ▲4,82418.93 ▼4.20845.35 ▲173.1139.80 ▼11.28
Media Library /wp-admin/upload.php1,465 ▲624.42 ▲0.1986.41 ▼13.5640.29 ▼4.23
wpSEOkit /wp-admin/admin.php?page=wpseokit_menuPages1,0271.9228.4537.30
Configuration /wp-admin/admin.php?page=wpseokit_menuPageConfiguration1,0311.9728.9428.99
Backlinks /wp-admin/admin.php?page=wpseokit_menuPageBacklinks8821.9129.6124.62
Wizard /wp-admin/admin.php?page=wpseokit_menuPageWizard8711.9728.0227.22

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The plugin did not uninstall gracefully
    • > User notice in wp-includes/functions.php+5905
    Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
  • This plugin does not fully uninstall, leaving 1 table in the database
    • wp_wpseokit_backlink
  • Zombie WordPress options detected upon uninstall: 13 options
    • theysaidso_admin_options
    • wpseokit_auto_backlink_promotion
    • widget_recent-comments
    • wpseokit_version
    • widget_theysaidso_widget
    • wpseokit_enable_backlink_promotion
    • wpseokit_promotion_timeout
    • db_upgraded
    • wpseokit_enable_private_redirection
    • wpseokit_db_version
    • ...

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpseokit_menuPageWizard
    • > User notice in wp-includes/functions.php+5905
    Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpseokit_menuPageWizard
    • > Notice in wp-content/plugins/wpseokit/plugin/plugin_class.inc.php+921
    Undefined index: HTTP_REFERER
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpseokit_menuPageWizard
    • > Notice in wp-content/plugins/wpseokit/plugin/pages/configuration_code.inc.php+28
    Undefined index: function
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpseokit_menuPageBacklinks
    • > Notice in wp-content/plugins/wpseokit/plugin/pages/backlinks_code.inc.php+14
    Undefined index: wpseokit_function
    • > GET request to /wp-admin/admin.php?page=wpseokit_menuPageBacklinks
    • > Notice in wp-content/plugins/wpseokit/plugin/pages/backlinks_code.inc.php+22
    Undefined index: _PAGE
    • > GET request to /wp-admin/admin.php?page=wpseokit_menuPageBacklinks
    • > Notice in wp-content/plugins/wpseokit/plugin/pages/backlinks_code.inc.php+22
    Undefined variable: paging_query

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (In the "backlink manager" you can find all the information about your backlinks.), #2 (Here you can configure the settings like auto-promotion or timeouts.)
You can take inspiration from this readme.txt

wpseokit/wpseokit.php Passed 13 tests

The main PHP file in "wpSEOkit" ver. 1.1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
93 characters long description:
The wpSEOkit SEO plugin detects and promotes your backlinks: "This is like SEO on autopilot".

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,426 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP112682191,262
CSS1160119
JavaScript1131145

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity155.00
▷ Minimum class complexity155.00
▷ Maximum class complexity155.00
Average method complexity5.40
▷ Minimum method complexity1.00
▷ Maximum method complexity61.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods35
▷ Static methods00.00%
▷ Public methods35100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected