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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.83ms] Passed 4 tests
A check of server-side resources used by WP Cron Cleaner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.76 ▼2.95 |
Dashboard /wp-admin | 3.34 ▼0.01 | 50.83 ▼16.58 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.44 ▼2.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.88 ▼1.21 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.07 ▲0.98 |
WP Cron Cleaner /wp-admin/tools.php?page=wp_cron_cleaner | 3.28 | 36.61 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Cron Cleaner
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.41 ▲0.01 | 1.96 ▲0.19 | 43.18 ▲3.74 |
Dashboard /wp-admin | 2,202 ▲22 | 5.60 ▼0.10 | 87.67 ▼12.45 | 40.25 ▼2.09 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.06 ▲0.01 | 34.70 ▼8.02 | 35.30 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.17 ▼0.31 | 644.94 ▼45.63 | 58.80 ▲4.55 |
Media Library /wp-admin/upload.php | 1,401 ▲7 | 4.26 ▲0.03 | 101.17 ▲0.85 | 45.22 ▼0.54 |
WP Cron Cleaner /wp-admin/tools.php?page=wp_cron_cleaner | 1,468 | 2.59 | 54.54 | 37.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WPCC_PLUGIN_VERSION - assumed 'WPCC_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-cron-cleaner/includes/sidebar.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-cron-cleaner/includes/premium_page.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/wp-cron-cleaner/includes/class_clean_cron.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-cron-cleaner/includes/sidebar.php:3
- > PHP Warning
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
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
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (View and clean scheduled tasks (Free version)), #2 (Detect orphan tasks, plugins tasks, themes tasks and WP tasks (Pro version))
- Tags: Please reduce the number of tags, currently 31 tag instead of maximum 10
wp-cron-cleaner/wp-cron-cleaner.php Passed 13 tests
The primary PHP file in "WP Cron Cleaner" version 1.0.2 is used by WordPress to initiate all plugin functionality
73 characters long description:
View the list of all your cron scheduled tasks, then clean what you want.
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
No dangerous file extensions were detected821 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 63 | 118 | 434 |
CSS | 1 | 4 | 43 | 330 |
JavaScript | 1 | 7 | 1 | 57 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.19MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/check_ok.png | 0.54KB | 0.46KB | ▼ 15.19% |
images/warning.png | 0.70KB | 0.93KB | 0.00% |
images/features.png | 3.80KB | 2.42KB | ▼ 36.34% |
screenshot-1.png | 81.95KB | 29.42KB | ▼ 64.11% |
images/notice.png | 0.56KB | 0.55KB | ▼ 2.10% |