Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.84MB] [CPU: ▼31.02ms] Passed 4 tests
A check of server-side resources used by WP Cron Viewer and Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.97 ▼3.39 |
Dashboard /wp-admin | 3.10 ▼0.20 | 23.93 ▼18.19 |
Posts /wp-admin/edit.php | 3.10 ▼0.25 | 23.43 ▼23.48 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.78 | 25.51 ▼73.37 |
Media Library /wp-admin/upload.php | 3.10 ▼0.13 | 23.07 ▼9.04 |
WP Cron Viewer and Manager /wp-admin/options-general.php?page=klick_cvm | 3.10 | 25.72 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Cron Viewer and Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.30 ▼1.07 | 1.70 ▼0.27 | 44.20 ▼7.30 |
Dashboard /wp-admin | 2,219 ▲28 | 5.88 ▼0.02 | 98.11 ▼1.71 | 42.28 ▲0.56 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.02 ▼0.04 | 36.06 ▼4.92 | 32.70 ▼4.05 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.24 ▲4.78 | 682.35 ▲61.70 | 54.22 ▲2.34 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.20 ▲0.01 | 96.45 ▼6.39 | 42.75 ▼5.12 |
WP Cron Viewer and Manager /wp-admin/options-general.php?page=klick_cvm | 1,508 | 2.03 | 23.22 | 29.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=klick_cvm
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 15× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wp-cron-viewer-and-manager/wp-cron-viewer-and-manager.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/notices/xxxxx-klick-cvm-rate-us.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/templates/klick-cvm-tab-change-log.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/notices/xxxxx-klick-cvm-no-config.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/includes/class-klick-cvm-abstract-notice.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/includes/class-klick-cvm-commands.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/templates/klick-cvm-tabs-header.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/includes/class-klick-cvm-notifier.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/includes/class-klick-cvm-logger.php
- > /wp-content/plugins/wp-cron-viewer-and-manager/includes/class-klick-cvm-abstract-logger.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _get_cron_array() in wp-content/plugins/wp-cron-viewer-and-manager/templates/klick-cvm-tab-information.php:14
- > PHP Warning
Use of undefined constant KLICK_CVM_PLUGIN_URL - assumed 'KLICK_CVM_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-cron-viewer-and-manager/templates/klick-cvm-tab-our-other-plugins.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-cron-viewer-and-manager/templates/klick-cvm-tab-our-other-plugins.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=klick_cvm
- > Network (severe)
wp-content/plugins/wp-cron-viewer-and-manager//images/our-more-plugins/APV.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=klick_cvm
- > Network (severe)
wp-content/plugins/wp-cron-viewer-and-manager//images/our-more-plugins/ATS.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: activity tracker, logger, user
wp-cron-viewer-and-manager/wp-cron-viewer-and-manager.php 92% from 13 tests
Analyzing the main PHP file in "WP Cron Viewer and Manager" version 0.0.3
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin1,612 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 274 | 434 | 783 |
SVG | 11 | 0 | 11 | 521 |
CSS | 4 | 13 | 7 | 202 |
JavaScript | 2 | 12 | 38 | 47 |
Markdown | 1 | 23 | 0 | 42 |
PO File | 1 | 2 | 3 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 2 | 18.18% |
▷ Concrete classes | 9 | 81.82% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 5 | 7.94% |
▷ Public methods | 62 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.59% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
7 PNG files occupy 0.25MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/notices/cvm_notice_icon.png | 20.74KB | 1.79KB | ▼ 91.39% |
images/notices/cvm_notice_icon3.png | 30.17KB | 6.04KB | ▼ 79.98% |
images/klick-on-it.png | 6.51KB | 4.02KB | ▼ 38.23% |
images/small_icon.png | 18.12KB | 0.45KB | ▼ 97.52% |
images/cvm-banner.png | 83.97KB | 31.62KB | ▼ 62.35% |