Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▼0.33ms] 75% from 4 tests
Server-side resources used by WP-Cron Status Checker
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,994.39ms on /wp-admin/options-general.php?page=wcsc-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 44.72 ▲3.63 |
Dashboard /wp-admin | 4.53 ▲1.22 | 57.35 ▲9.62 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 52.42 ▼3.14 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.54 | 92.73 ▼11.29 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 42.89 ▲9.46 |
WP Cron Status /wp-admin/options-general.php?page=wcsc-options | 3.91 | 1,994.39 |
WP Cron Status /wp-admin/tools.php?page=wcsc_status | 4.30 | 43.13 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.04 | 39.34 |
Server storage [IO: ▲3.24MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 197 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_wcsc_error_logs |
wp_wcsc_logs |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
fs_accounts |
fs_debug_mode |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
fs_active_plugins |
_wcsc_version |
Browser metrics Passed 4 tests
Checking browser requirements for WP-Cron Status Checker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲135 | 14.42 ▼0.14 | 1.83 ▲0.03 | 32.48 ▼9.59 |
Dashboard /wp-admin | 2,299 ▲122 | 5.61 ▲0.03 | 89.09 ▼0.70 | 41.06 ▼2.24 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.98 ▼0.02 | 34.97 ▼5.72 | 34.42 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.23 ▼0.02 | 681.72 ▼10.59 | 52.40 ▼2.52 |
Media Library /wp-admin/upload.php | 1,425 ▲28 | 4.12 ▼0.03 | 113.37 ▼6.54 | 46.95 ▼0.72 |
WP Cron Status /wp-admin/options-general.php?page=wcsc-options | 985 | 1.65 | 25.67 | 61.08 |
WP Cron Status /wp-admin/tools.php?page=wcsc_status | 1,203 | 1.77 | 32.41 | 42.03 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,080 | 1.66 | 23.37 | 27.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-cron-status-checker/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 2 tables
- wp_wcsc_error_logs
- wp_wcsc_logs
- The uninstall procedure has failed, leaving 10 options in the database
- can_compress_scripts
- fs_active_plugins
- widget_recent-posts
- theysaidso_admin_options
- fs_debug_mode
- fs_accounts
- db_upgraded
- widget_recent-comments
- _wcsc_version
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-cron-status-checker/views/options-page.php
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: wcsc in wp-content/plugins/wp-cron-status-checker/views/status-page-by-cron.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-cron-status-checker/inc/cron-checker.php:39
- > PHP Fatal error
Uncaught Error: Call to a member function summarize_logs_by_cron() on null in wp-content/plugins/wp-cron-status-checker/views/status-page-by-cron-errors.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function summarize_logs_by_hooks() on null in wp-content/plugins/wp-cron-status-checker/views/status-page-by-hooks-errors.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-cron-status-checker/inc/cron-checker.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-cron-status-checker/views/status-page.php:9
- > PHP Notice
Undefined variable: wcsc in wp-content/plugins/wp-cron-status-checker/views/status-page-by-hooks-errors.php on line 2
- > PHP Notice
Undefined variable: wcsc in wp-content/plugins/wp-cron-status-checker/views/status-page-by-cron-errors.php on line 2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/wp-cron-status-checker/views/status-page-by-cron-base.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-cron-status-checker/views/dashboard.php:9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
wp-cron-status-checker/wp-cron-status-checker.php Passed 13 tests
Analyzing the main PHP file in "WP-Cron Status Checker" version 1.2.5
83 characters long description:
If WP-Cron runs important things for you, you better make sure WP-Cron always runs!
Code Analysis 97% from 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 plugin35,760 lines of code in 153 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 133 | 8,263 | 17,630 | 35,549 |
JavaScript | 5 | 34 | 59 | 196 |
CSS | 15 | 0 | 0 | 15 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 91.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 2 | 4.00% |
▷ Concrete classes | 48 | 96.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,295 | |
▷ Static methods | 226 | 17.45% |
▷ Public methods | 898 | 69.34% |
▷ Protected methods | 17 | 1.31% |
▷ Private methods | 380 | 29.34% |
Functions | 155 | |
▷ Named functions | 144 | 92.90% |
▷ Anonymous functions | 11 | 7.10% |
Constants | 163 | |
▷ Global constants | 106 | 65.03% |
▷ Class constants | 57 | 34.97% |
▷ Public constants | 57 | 100.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.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/wp-cron-status-checker.png | 32.02KB | 16.88KB | ▼ 47.30% |