Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.43ms] Passed 4 tests
This is a short check of server-side resources used by Delivery Countdown Timer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.44 ▲1.42 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.19 ▲1.19 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.56 ▲1.33 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 97.51 ▼13.66 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.30 ▲2.66 |
Countdown Timer /wp-admin/options-general.php?page=countdown-timer | 3.28 | 32.72 |
Server storage [IO: ▲0.04MB] [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: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
ct_settings |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Delivery Countdown Timer: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.57 ▼0.99 | 5.80 ▲4.01 | 40.68 ▼0.17 |
Dashboard /wp-admin | 2,210 ▲28 | 4.89 ▼0.09 | 97.63 ▼6.68 | 39.97 ▼4.00 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.00 | 39.85 ▼1.04 | 34.63 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.45 ▲0.25 | 628.45 ▼8.30 | 51.24 ▼1.10 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▲0.02 | 95.05 ▼7.98 | 42.20 ▼2.81 |
Countdown Timer /wp-admin/options-general.php?page=countdown-timer | 1,227 | 2.03 | 23.49 | 27.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/delivery-countdown-timer/countdown-timer.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
delivery-countdown-timer/countdown-timer.php 92% from 13 tests
The entry point to "Delivery Countdown Timer" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("delivery-countdown-timer.php" instead of "countdown-timer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected394 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 32 | 31 | 348 |
CSS | 1 | 5 | 1 | 45 |
JavaScript | 1 | 4 | 6 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 80.00 |
▷ Minimum class complexity | 80.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 7.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.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 | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
No PNG images were found in this plugin