Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.41MB] [CPU: ▼289.11ms] Passed 4 tests
An overview of server-side resources used by Advanced Cron Manager - debug & control
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.45 | 58.11 ▲5.02 |
Dashboard /wp-admin | 3.80 ▲0.39 | 41.04 ▲7.82 |
Posts /wp-admin/edit.php | 4.08 ▲0.44 | 38.45 ▲2.95 |
Add New Post /wp-admin/post-new.php | 7.32 ▲0.35 | 101.08 ▼1,160.62 |
Media Library /wp-admin/upload.php | 3.74 ▲0.45 | 24.36 ▼3.79 |
Cron Manager /wp-admin/tools.php?page=advanced-cron-manager | 3.82 | 30.39 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 63 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Cron Manager - debug & control
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲34 | 16.01 ▲0.40 | 6.26 ▲0.25 | 2.42 ▼0.04 |
Dashboard /wp-admin | 2,897 ▲39 | 6.12 ▼0.07 | 116.21 ▼20.64 | 156.73 ▼5.31 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.24 ▲0.02 | 62.48 ▼1.16 | 139.69 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,664 ▲29 | 16.19 ▼2.02 | 389.46 ▼23.66 | 152.01 ▼5.99 |
Media Library /wp-admin/upload.php | 1,700 ▲5 | 5.55 ▲0.06 | 143.82 ▲4.95 | 190.84 ▲4.04 |
Cron Manager /wp-admin/tools.php?page=advanced-cron-manager | 4,269 | 3.63 | 74.68 | 212.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advanced-cron-manager/views/elements/slidebar.php
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/advanced-cron-manager/advanced-cron-manager.php:22
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/advanced-cron-manager/views/parts/schedules/row.php:9
- > PHP Fatal error
Uncaught Error: Class 'underDEV\\Utils\\Cache\\Cache' not found in wp-content/plugins/advanced-cron-manager/vendor/underdev/utils/src/Cache/Transient.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/advanced-cron-manager/views/parts/events/tabs/schedule.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/advanced-cron-manager/views/parts/searchbox.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/advanced-cron-manager/views/wrapper.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/advanced-cron-manager/views/forms/schedule/edit.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/advanced-cron-manager/views/elements/add-schedule-button.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/advanced-cron-manager/views/parts/events/row.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/advanced-cron-manager/views/misc/notification-promo.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: cron jobs, manager, cron manager, crontrol, cron...
advanced-cron-manager/advanced-cron-manager.php Passed 13 tests
The principal PHP file in "Advanced Cron Manager - debug & control" v. 2.4.2 is loaded by WordPress automatically on each request
49 characters long description:
View, pause, remove, edit and add WP Cron events.
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
Everything looks great! No dangerous files found in this plugin3,168 lines of code in 78 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 1,046 | 1,957 | 2,556 |
PO File | 6 | 59 | 92 | 296 |
Markdown | 2 | 71 | 0 | 181 |
JSON | 1 | 0 | 0 | 84 |
XML | 1 | 5 | 3 | 41 |
JavaScript | 4 | 0 | 8 | 8 |
CSS | 2 | 1 | 16 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 182 | |
▷ Static methods | 19 | 10.44% |
▷ Public methods | 175 | 96.15% |
▷ Protected methods | 2 | 1.10% |
▷ Private methods | 5 | 2.75% |
Functions | 27 | |
▷ Named functions | 2 | 7.41% |
▷ Anonymous functions | 25 | 92.59% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin