Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.84ms] Passed 4 tests
Server-side resources used by Wordpress Countdown Timer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.16 ▼5.68 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.13 ▼2.63 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.29 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 87.64 ▼7.23 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.95 ▲0.19 |
WP Countdown Timer /wp-admin/options-general.php?page=wordpress-countdown-timer | 3.26 | 32.90 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Wordpress Countdown Timer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 13.66 ▼0.60 | 5.58 ▲3.67 | 42.21 ▼2.16 |
Dashboard /wp-admin | 2,225 ▲22 | 4.87 ▼0.03 | 108.69 ▼13.20 | 36.87 ▼6.31 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.06 | 39.26 ▲1.64 | 35.05 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,548 ▼8 | 23.79 ▲5.74 | 685.02 ▼2.54 | 54.87 ▼0.63 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.15 ▼0.08 | 106.21 ▼0.04 | 45.67 ▼2.18 |
WP Countdown Timer /wp-admin/options-general.php?page=wordpress-countdown-timer | 850 | 2.07 | 24.37 | 25.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-countdown-timer/public/views/public.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-countdown-timer/admin/views/admin.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: There are too many tags (51 tag instead of maximum 10)
- Donate link: Please fix this invalid url: ""
wp-countdown-timer/wordpress-countdown-timer.php 92% from 13 tests
The main file in "Wordpress Countdown Timer" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-countdown-timer.php" instead of "wordpress-countdown-timer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin300 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 113 | 302 | 256 |
JavaScript | 2 | 6 | 1 | 25 |
CSS | 2 | 3 | 2 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 7 | 30.43% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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.16MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 137.96KB | 40.06KB | ▼ 70.96% |
assets/banner-1544x500.png | 14.68KB | 13.29KB | ▼ 9.45% |
assets/banner-772x250.png | 10.45KB | 9.46KB | ▼ 9.44% |