Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.12ms] Passed 4 tests
Server-side resources used by WPX Cron Manager Light
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.26 ▼3.00 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.02 ▼4.97 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 46.11 ▲1.59 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.77 ▲2.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.30 ▲1.91 |
Server storage [IO: ▲15.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 122 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
wpx_cron_manager_light_slug |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WPX Cron Manager Light
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.79 ▲0.04 | 1.66 ▼0.29 | 40.88 ▼4.71 |
Dashboard /wp-admin | 2,222 ▲37 | 4.88 ▼0.03 | 107.94 ▲2.93 | 50.47 ▲3.42 |
Posts /wp-admin/edit.php | 2,102 ▲16 | 1.97 ▲0.01 | 35.16 ▼1.98 | 29.86 ▼3.31 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.49 ▼0.01 | 660.98 ▼18.14 | 45.77 ▼9.47 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.22 ▼0.04 | 96.10 ▼15.52 | 41.22 ▼6.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- wpx_cron_manager_light_slug
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
- 23× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPXCronManagerLight\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/wpx-cron-manager-light/vendor/wpbones/wpbones/src/Html/HtmlTagA.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPXCronManagerLight\\WPBones\\Foundation\\WordPressAjaxServiceProvider' not found in wp-content/plugins/wpx-cron-manager-light/plugin/Ajax/WPXCronManagerLightAjax.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPXCronManagerLight\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/wpx-cron-manager-light/vendor/wpbones/wpbones/src/Html/HtmlTagOptGroup.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPXCronManagerLight\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/wpx-cron-manager-light/vendor/wpbones/wpbones/src/Html/HtmlTagSelect.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPXCronManagerLight\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/wpx-cron-manager-light/vendor/wpbones/wpbones/src/Html/HtmlTagForm.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPXCronManagerLight\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/wpx-cron-manager-light/vendor/wpbones/wpbones/src/Html/HtmlTagTextArea.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPXCronManagerLight\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/wpx-cron-manager-light/vendor/wpbones/wpbones/src/Html/HtmlTagButton.php:5
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpx-cron-manager-light/plugin/Http/Controllers/Dashboard/CronListTable.php on line 6
- > 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/wpx-cron-manager-light/plugin/Http/Controllers/Dashboard/CronListTable.php on line 6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpx-cron-manager-light/plugin/Http/Controllers/Dashboard/CronListTable.php on line 6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: cron, core, cron job, job, event...
wpx-cron-manager-light/index.php 77% from 13 tests
"WPX Cron Manager Light" version 2.4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/localization")
- Domain Path: Use only dashes and lowercase characters for the domain path ("localization")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wpx-cron-manager-light.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin6,456 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 67 | 1,424 | 2,597 | 5,041 |
CSS | 9 | 0 | 12 | 386 |
Markdown | 6 | 109 | 0 | 253 |
LESS | 4 | 43 | 18 | 249 |
PO File | 2 | 92 | 126 | 193 |
JSON | 4 | 0 | 0 | 189 |
JavaScript | 3 | 36 | 26 | 145 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 10.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 21 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 10 | 22.73% |
▷ Concrete classes | 34 | 77.27% |
▷ Final classes | 2 | 5.88% |
Methods | 261 | |
▷ Static methods | 52 | 19.92% |
▷ Public methods | 209 | 80.08% |
▷ Protected methods | 41 | 15.71% |
▷ Private methods | 11 | 4.21% |
Functions | 20 | |
▷ Named functions | 13 | 65.00% |
▷ Anonymous functions | 7 | 35.00% |
Constants | 11 | |
▷ Global constants | 2 | 18.18% |
▷ Class constants | 9 | 81.82% |
▷ Public constants | 9 | 100.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
3 PNG files occupy 0.23MB with 0.15MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 180.23KB | 48.38KB | ▼ 73.16% |
assets/icon-128x128.png | 17.29KB | 6.36KB | ▼ 63.20% |
assets/icon-256x256.png | 37.75KB | 13.13KB | ▼ 65.23% |