Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.31ms] Passed 4 tests
An overview of server-side resources used by Evergreen Countdown Timer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 46.58 ▲4.91 |
Dashboard /wp-admin | 3.47 ▲0.17 | 77.39 ▲24.95 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 51.39 ▼0.43 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.97 ▼10.21 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.36 ▼3.50 |
Server storage [IO: ▲4.06MB] [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: 186 new files
Database: no new tables, 13 new options
New WordPress options |
---|
EC_PluginInstallDate[intelly-countdown] |
db_upgraded |
EC_PluginUpdateDate[intelly-countdown] |
widget_recent-comments |
EC_ShowActivationNotice |
EC_ShowWhatsNew |
widget_recent-posts |
EC_TrackingEnable |
widget_theysaidso_widget |
EC_TrackingLastSend[intelly-countdown] |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Evergreen Countdown Timer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.66 ▼0.55 | 9.90 ▲8.13 | 43.35 ▼1.02 |
Dashboard /wp-admin | 2,207 ▲19 | 5.86 ▼0.02 | 101.59 ▼4.67 | 41.48 ▲0.70 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.05 | 36.11 ▼1.14 | 32.81 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.06 ▼5.12 | 640.70 ▼54.35 | 55.66 ▼2.74 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.18 ▼0.11 | 96.63 ▼18.61 | 43.38 ▼7.88 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 14 options in the database
- EC_TrackingEnable
- widget_recent-posts
- EC_Active
- theysaidso_admin_options
- widget_recent-comments
- EC_PluginFirstInstall
- can_compress_scripts
- EC_ShowActivationNotice
- widget_theysaidso_widget
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 take a closer look at the following
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/intelly-countdown/includes/install.php:2
- > PHP Fatal error
Uncaught Error: Class 'ICP_Recursive_ArrayAccess' not found in wp-content/plugins/intelly-countdown/includes/classes/session/class-session.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/intelly-countdown/includes/classes/session/session.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/intelly-countdown/index.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/intelly-countdown/includes/core.php:11
- > PHP Fatal error
Uncaught Error: Class 'ICP_Options' not found in wp-content/plugins/intelly-countdown/includes/classes/utils/PluginOptions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/intelly-countdown/includes/uninstall.php:2
- > PHP Fatal error
Uncaught Error: Class 'ICP_AbstractDetect' not found in wp-content/plugins/intelly-countdown/includes/classes/core/detect/CookieDetect.php:2
- > PHP Fatal error
Uncaught Error: Class 'ICP_AbstractDetect' not found in wp-content/plugins/intelly-countdown/includes/classes/core/detect/IpAddressDetect.php:2
- > 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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (A simple manager to create, manage and edit every countdown, plus get the shortcodes.), #2 (The essential settings to create the perfect scarcity timer), #3 (Modify the look and feel of your countdown in seconds)
intelly-countdown/index.php 92% from 13 tests
The primary PHP file in "Evergreen Countdown Timer" version 2.0.8 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("intelly-countdown.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected61,826 lines of code in 131 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 149 | 1,898 | 30,848 |
JavaScript | 74 | 3,785 | 2,346 | 19,330 |
PHP | 38 | 610 | 632 | 8,493 |
SVG | 2 | 0 | 0 | 2,959 |
PO File | 6 | 48 | 0 | 196 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 61.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 517.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 1 | 3.85% |
▷ Concrete classes | 25 | 96.15% |
▷ Final classes | 1 | 4.00% |
Methods | 482 | |
▷ Static methods | 1 | 0.21% |
▷ Public methods | 421 | 87.34% |
▷ Protected methods | 24 | 4.98% |
▷ Private methods | 37 | 7.68% |
Functions | 36 | |
▷ Named functions | 35 | 97.22% |
▷ Anonymous functions | 1 | 2.78% |
Constants | 49 | |
▷ Global constants | 37 | 75.51% |
▷ Class constants | 12 | 24.49% |
▷ Public constants | 12 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.63MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/repeat.png | 0.87KB | 0.47KB | ▼ 45.51% |
screenshot-1.png | 90.64KB | 27.82KB | ▼ 69.30% |
assets/images/select-all.png | 0.68KB | 0.37KB | ▼ 45.45% |
assets/images/internet.png | 0.83KB | 0.79KB | ▼ 4.91% |
assets/images/tick.png | 0.80KB | 0.64KB | ▼ 19.02% |