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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.75ms] Passed 4 tests
Server-side resources used by Simple countdown timer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.79 ▼0.85 |
Dashboard /wp-admin | 3.35 ▼0.00 | 49.65 ▼20.99 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.50 ▼4.30 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.28 ▼4.85 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.74 ▼0.83 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_urj_countdown_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple countdown timer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▲0.06 | 1.91 ▼0.01 | 46.85 ▲5.94 |
Dashboard /wp-admin | 2,192 ▲12 | 5.54 ▼0.12 | 87.13 ▼3.95 | 38.97 ▼2.32 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.03 | 36.49 ▼4.19 | 33.81 ▼4.37 |
Add New Post /wp-admin/post-new.php | 1,526 ▼8 | 23.60 ▲5.57 | 696.35 ▲68.36 | 63.50 ▼9.83 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.06 | 103.67 ▼4.79 | 45.63 ▼1.54 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- widget_urj_countdown_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-custom-countdown-timer/simple-custom-countdown-timer.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: timer, countdown
simple-custom-countdown-timer/simple-custom-countdown-timer.php Passed 13 tests
The entry point to "Simple countdown timer" version 1.0 is a PHP file that has certain tags in its header comment area
20 characters long description:
URJ Countdown Widget
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
Success! There were no dangerous files found in this plugin3,006 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 212 | 288 | 1,720 |
CSS | 3 | 39 | 49 | 1,132 |
PHP | 1 | 17 | 11 | 154 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
14 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.26KB | 0.11KB | ▼ 56.06% |
css/images/ui-icons_cd0a0a_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |
css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.31KB | 0.18KB | ▼ 39.81% |
css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.38KB | 0.15KB | ▼ 59.69% |
css/images/ui-icons_454545_256x240.png | 6.81KB | 4.20KB | ▼ 38.28% |