Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.88ms] Passed 4 tests
Analyzing server-side resources used by Smart Countdown FX
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.04 | 37.70 ▼8.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.76 ▼4.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.36 ▼3.63 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 96.10 ▼2.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.92 ▲2.65 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 100 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_smartcountdown |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Smart Countdown FX: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲168 | 13.73 ▼0.67 | 6.89 ▲5.12 | 40.18 ▼4.60 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼1.01 | 100.25 ▼14.59 | 39.51 ▼13.30 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.08 | 36.72 ▲1.70 | 35.52 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,547 ▲13 | 18.27 ▼4.94 | 598.12 ▼43.25 | 64.74 ▲10.81 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.22 ▼0.01 | 94.51 ▼7.78 | 41.00 ▼2.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
smart-countdown-fx/smartcountdownfx.php 85% from 13 tests
The entry point to "Smart Countdown FX" version 1.5.5 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("smart-countdown-fx.php" instead of "smartcountdownfx.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected7,540 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 16 | 918 | 1,446 | 2,783 |
PHP | 5 | 238 | 347 | 1,546 |
CSS | 4 | 38 | 68 | 1,303 |
JavaScript | 10 | 182 | 424 | 1,232 |
XML | 14 | 18 | 18 | 675 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 114.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 9.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 22 | 81.48% |
▷ Public methods | 20 | 74.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 25.93% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
21 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.34KB | 0.16KB | ▼ 54.02% |
admin/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |
admin/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
admin/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
admin/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |