Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/seo-x/inc/functions.php+44
Trying to access array offset on value of type bool
Server metrics [RAM: ▲1.79MB] [CPU: ▲18.55ms] Passed 4 tests
Analyzing server-side resources used by SEOX
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.41 ▲1.91 | 65.64 ▲22.75 |
Dashboard /wp-admin | 5.11 ▲1.77 | 71.57 ▲23.32 |
Posts /wp-admin/edit.php | 5.25 ▲1.85 | 68.61 ▲19.25 |
Add New Post /wp-admin/post-new.php | 7.72 ▲1.79 | 103.31 ▲8.87 |
Media Library /wp-admin/upload.php | 5.04 ▲1.76 | 72.00 ▲40.15 |
General /wp-admin/admin.php?page=seox-dashboard | 5.00 | 53.27 |
Redirects /wp-admin/admin.php?page=seox-redirects | 5.01 | 51.98 |
Tools /wp-admin/admin.php?page=seox-tools | 5.00 | 49.31 |
Server storage [IO: ▲1.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 179 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_seox_redirects |
New WordPress options |
---|
seox-dashboard |
seox-ihf |
seox |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SEOX
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲73 | 14.72 ▲0.37 | 1.78 ▼0.47 | 41.58 ▲1.63 |
Dashboard /wp-admin | 2,248 ▲74 | 5.56 ▼0.08 | 91.35 ▼8.29 | 85.91 ▲44.43 |
Posts /wp-admin/edit.php | 2,363 ▲260 | 3.65 ▲1.70 | 73.75 ▲37.77 | 54.79 ▲18.00 |
Add New Post /wp-admin/post-new.php | 6,570 ▲4,891 | 23.37 ▲1.63 | 976.83 ▲289.59 | 45.70 ▼9.74 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.19 ▲0.12 | 92.06 ▼6.80 | 86.27 ▲42.53 |
General /wp-admin/admin.php?page=seox-dashboard | 869 | 1.73 | 20.98 | 25.96 |
Redirects /wp-admin/admin.php?page=seox-redirects | 996 | 2.04 | 24.20 | 23.91 |
Tools /wp-admin/admin.php?page=seox-tools | 871 | 2.01 | 24.87 | 28.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_seox_redirects
- This plugin does not fully uninstall, leaving 9 options in the database
- db_upgraded
- can_compress_scripts
- seox-dashboard
- theysaidso_admin_options
- seox-ihf
- seox
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_unslash() in wp-content/plugins/seo-x/inc/functions.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-x/admin/pages/redirects.php:37
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/seo-x/inc/class-seox-list-table.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'SEOX_PATH/admin/pages/general.php' (include_path='.:/usr/share/php') in wp-content/plugins/seo-x/inc/dashboard.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-x/inc/seox-redirects-functions.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-x/inc/insert-header-footer.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-x/admin/sitemap/sitemap.php:40
- > PHP Warning
require_once(SEOX_PATH/admin/pages/general.php): failed to open stream: No such file or directory in wp-content/plugins/seo-x/inc/dashboard.php on line 5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-x/inc/class-seox-list-table.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-x/inc/webmaster-tools.php:31
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=seox-dashboard
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=hoverIntent,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 3:1808 Uncaught TypeError: Cannot set properties of undefined (setting 'wrap')
- > GET request to /wp-admin/admin.php?page=seox-dashboard
- > Javascript (severe) in unknown
/wp-includes/js/dist/i18n.min.js?ver=7701b0c3857f914212ef 1:9103 Uncaught TypeError: Cannot read properties of undefined (reading 'hooks')
- > GET request to /wp-admin/admin.php?page=seox-dashboard
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=seox-dashboard 189:0 Uncaught ReferenceError: wp is not defined
- > GET request to /wp-admin/admin.php?page=seox-dashboard
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:61 Uncaught ReferenceError: wp is not defined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in seo-x/assets to your readme.txt
seo-x/seox.php 85% from 13 tests
The main PHP script in "SEOX" version 1.0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("seo-x.php" instead of "seox.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected41,513 lines of code in 154 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 103 | 3,944 | 2,289 | 17,767 |
JavaScript | 6 | 1,295 | 494 | 6,555 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 969 | 3 | 5,667 |
CSS | 5 | 407 | 519 | 4,974 |
SVG | 3 | 0 | 1 | 29 |
JSON | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 26.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 5.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 0 | 0.00% |
Methods | 352 | |
▷ Static methods | 43 | 12.22% |
▷ Public methods | 316 | 89.77% |
▷ Protected methods | 6 | 1.70% |
▷ Private methods | 30 | 8.52% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |