Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.94ms] Passed 4 tests
Server-side resources used by Smart Countdown FX Easy Recurring Events
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.18 ▼9.52 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.59 ▼2.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.78 ▲0.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.74 ▼16.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.54 ▲3.17 |
Easy Recurring Events /wp-admin/options-general.php?page=scd-easy-recurrence-settings | 3.23 | 32.83 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 10 new options
New WordPress options |
---|
scd_easy_recurrence_settings_4 |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
scd_easy_recurrence_settings_2 |
can_compress_scripts |
scd_easy_recurrence_settings_3 |
widget_recent-comments |
scd_easy_recurrence_settings_1 |
Browser metrics Passed 4 tests
A check of browser resources used by Smart Countdown FX Easy Recurring Events
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.36 ▼1.01 | 4.22 ▲2.23 | 42.90 ▼2.92 |
Dashboard /wp-admin | 2,212 ▲24 | 4.90 ▼0.02 | 112.61 ▼3.31 | 43.03 ▼8.78 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.05 ▲0.03 | 37.09 ▼1.74 | 33.76 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 22.92 ▼0.15 | 653.19 ▼11.11 | 74.19 ▲12.73 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.29 ▲0.09 | 96.44 ▼6.17 | 40.17 ▼6.25 |
Easy Recurring Events /wp-admin/options-general.php?page=scd-easy-recurrence-settings | 4,966 | 1.83 | 33.75 | 32.93 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: widget, counter, recurring, count down, smart countdown fx...
smart-countdown-fx-easy-recurring-events/smartcdeasyrecurrence.php 85% from 13 tests
This is the main PHP file of "Smart Countdown FX Easy Recurring Events" version 2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("smart-countdown-fx-easy-recurring-events.php" instead of "smartcdeasyrecurrence.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,311 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 33 | 50 | 1,142 |
PHP | 3 | 93 | 106 | 700 |
PO File | 2 | 204 | 321 | 400 |
JavaScript | 1 | 5 | 14 | 69 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 47.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 5.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 22 | |
▷ Static methods | 15 | 68.18% |
▷ Public methods | 13 | 59.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 40.91% |
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
PNG files should be compressed to save space and minimize bandwidth usage
19 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
admin/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
admin/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |
admin/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |