Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.24ms] Passed 4 tests
Server-side resources used by WP Delay Cron
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.59 ▲0.89 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.84 ▲0.42 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.63 ▲2.36 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.49 ▼4.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.89 ▲3.30 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpdelaycron_current_count |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
wpdelaycron_delay_count |
Browser metrics Passed 4 tests
A check of browser resources used by WP Delay Cron
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.75 ▲0.39 | 1.73 ▼0.37 | 45.24 ▼1.84 |
Dashboard /wp-admin | 2,222 ▲31 | 5.88 ▲0.96 | 94.89 ▼15.26 | 41.11 ▼0.10 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▼0.00 | 36.21 ▼5.85 | 35.58 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,546 ▲8 | 23.35 ▲0.02 | 685.64 ▲59.24 | 66.13 ▲9.19 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.24 ▼0.00 | 96.69 ▼4.01 | 41.69 ▲0.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- wpdelaycron_delay_count
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- wpdelaycron_current_count
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpdelaycron/wpdelaycron.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: high, cron, delay, traffic
wpdelaycron/wpdelaycron.php Passed 13 tests
The entry point to "WP Delay Cron" version 0.0.6 is a PHP file that has certain tags in its header comment area
54 characters long description:
Prevent wordpress from running cron on each page view.
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
No dangerous file extensions were detected66 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 69 | 66 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin