78% wpx-seo-master

Code Review | WPX SEO Manager

WordPress plugin WPX SEO Manager scored 78% from 54 tests.

About plugin

  • Plugin page: wpx-seo-master
  • Plugin version: 0.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9-3.4
  • WordPress version: 6.3.1
  • First release: Feb 10, 2012
  • Latest release: Jun 27, 2012
  • Number of updates: 8
  • Update frequency: every 17.2 days
  • Top authors: wpxprt (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,592 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼1.31ms] Passed 4 tests

A check of server-side resources used by WPX SEO Manager
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.25 ▼5.67
Dashboard /wp-admin3.32 ▲0.0245.39 ▲1.78
Posts /wp-admin/edit.php3.37 ▲0.0148.01 ▲1.52
Add New Post /wp-admin/post-new.php5.90 ▲0.0290.23 ▲1.00
Media Library /wp-admin/upload.php3.24 ▲0.0133.60 ▼2.10
Webmaster /wp-admin/admin.php?page=wpx-seo-webmaster3.1827.81
Tracking /wp-admin/admin.php?page=wpx-seo-tracking3.1826.56
SEO Manager /wp-admin/admin.php?page=wpx_seo_manager_dashboard3.1831.36

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 12 new options
New WordPress options
theysaidso_admin_options
wpx_seo_alexa_webmaster
wpx_seo_google_analytics
widget_recent-posts
widget_recent-comments
wpx_seo_google_webmaster
sitemap_URL
wpx_seo_quantcast_analytics
db_upgraded
widget_theysaidso_widget
...

Browser metrics Passed 4 tests

An overview of browser requirements for WPX SEO Manager
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲9614.47 ▲0.051.65 ▼0.2643.85 ▼1.40
Dashboard /wp-admin2,237 ▲525.88 ▲0.9698.26 ▼2.4238.23 ▼6.00
Posts /wp-admin/edit.php2,123 ▲312.02 ▲0.0539.18 ▼5.3334.49 ▼0.18
Add New Post /wp-admin/post-new.php1,567 ▲3418.39 ▼4.45599.58 ▼44.5053.30 ▲2.46
Media Library /wp-admin/upload.php1,419 ▲284.12 ▼0.0693.35 ▲0.1340.13 ▼1.52
Webmaster /wp-admin/admin.php?page=wpx-seo-webmaster9522.0226.0127.35
Tracking /wp-admin/admin.php?page=wpx-seo-tracking9382.0224.9326.37
SEO Manager /wp-admin/admin.php?page=wpx_seo_manager_dashboard9242.1428.1027.90

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
  • This plugin does not fully uninstall, leaving 12 options in the database
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • wpx_seo_alexa_webmaster
    • wpx_seo_bing_webmaster
    • can_compress_scripts
    • wpx_seo_quantcast_analytics
    • sitemap_URL
    • wpx_seo_google_webmaster
    • ...

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpx_seo_manager_dashboard
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpx_seo_manager_dashboard
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/admin.php?page=wpx_seo_manager_dashboard
    • > Notice in wp-content/plugins/wpx-seo-master/wpx-seo-master.php+212
    Undefined variable: show_sitemap

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wpx-seo-master/wpx-seo-master.php:31

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Screenshots: These screenshots require images: #1 (Sitemap submission display), #2 (Site verification display), #3 (Site tracking display)
The official readme.txt might help

wpx-seo-master/wpx-seo-master.php Passed 13 tests

The entry point to "WPX SEO Manager" version 0.2.1 is a PHP file that has certain tags in its header comment area
46 characters long description:
Everything SEO bundled into one great package.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin445 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17129445

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-3.png17.67KB8.92KB▼ 49.52%
screenshot-2.png18.37KB9.21KB▼ 49.85%
screenshot-1.png17.45KB8.83KB▼ 49.37%