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.26MB] [CPU: ▼1.57ms] Passed 4 tests
Analyzing server-side resources used by Countdown Timer - Widget Countdown
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 40.95 ▼3.99 |
Dashboard /wp-admin | 3.57 ▲0.26 | 48.63 ▼2.84 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 57.10 ▲7.61 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 98.20 ▲0.93 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.05 ▼0.36 |
Countdown /wp-admin/admin.php?page=Countdown | 3.46 | 35.33 |
Featured Plugins /wp-admin/admin.php?page=countdown-featured-plugins | 3.46 | 33.54 |
Server storage [IO: ▲1.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 112 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_wpdevart_countdown |
Browser metrics Passed 4 tests
Countdown Timer - Widget Countdown: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲200 | 13.58 ▼0.77 | 9.01 ▲6.66 | 40.54 ▼4.12 |
Dashboard /wp-admin | 2,249 ▲78 | 5.77 ▲0.19 | 83.81 ▼11.50 | 88.77 ▲43.95 |
Posts /wp-admin/edit.php | 2,163 ▲81 | 2.30 ▲0.27 | 37.68 ▼2.35 | 36.79 ▲1.84 |
Add New Post /wp-admin/post-new.php | 6,416 ▲4,890 | 27.78 ▲4.70 | 907.04 ▲278.22 | 35.86 ▼14.45 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.40 ▲0.27 | 102.39 ▼0.94 | 88.88 ▲42.93 |
Countdown /wp-admin/admin.php?page=Countdown | 895 | 1.94 | 27.84 | 69.51 |
Featured Plugins /wp-admin/admin.php?page=countdown-featured-plugins | 1,143 | 1.96 | 25.66 | 40.87 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_wpdevart_countdown
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/widget-countdown/includes/widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/widget-countdown/wpdevart-countdown.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Screenshots: Screenshot #5 (Back-end) image required
widget-countdown/wpdevart-countdown.php 92% from 13 tests
The main PHP file in "Countdown Timer - Widget Countdown" ver. 2.6.9 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("widget-countdown.php" instead of "wpdevart-countdown.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,072 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 371 | 74 | 3,276 |
PHP | 6 | 203 | 74 | 1,471 |
PO File | 34 | 11,628 | 25,194 | 850 |
JavaScript | 4 | 43 | 1 | 475 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 4 | 10.81% |
▷ Public methods | 32 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.51% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
19 PNG files occupy 0.19MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 2.57KB | 2.06KB | ▼ 19.93% |
images/timer.png | 0.72KB | 0.94KB | 0.00% |
images/featured_plugins/chart-featured.png | 9.09KB | 4.30KB | ▼ 52.70% |
images/featured_plugins/youtube.png | 14.53KB | 5.69KB | ▼ 60.85% |
images/featured_plugins/lightbox.png | 10.00KB | 4.64KB | ▼ 53.64% |