Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼6.72ms] Passed 4 tests
Server-side resources used by Sale Booster Product Offer Countdown Timer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 28.84 ▼10.26 |
Dashboard /wp-admin | 3.53 ▲0.22 | 48.54 ▼4.18 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 51.96 ▼0.49 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 85.70 ▼11.93 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 40.94 ▲4.65 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sale Booster Product Offer Countdown Timer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,478 ▼268 | 14.41 ▲0.14 | 0.86 ▼0.85 | 12.86 ▼28.77 |
Dashboard /wp-admin | 2,209 ▲30 | 4.88 ▼0.08 | 102.23 ▼2.52 | 39.76 ▼3.38 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.05 ▼0.01 | 39.51 ▼1.51 | 34.55 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.41 ▲0.36 | 661.80 ▲26.40 | 65.60 ▲0.96 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.23 ▼0.01 | 105.52 ▲5.71 | 48.09 ▲3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Requires php: The plugin version is formatted incorrectly
sales-booster/sales-booster.php 92% from 13 tests
The entry point to "Sale Booster Product Offer Countdown Timer" version 2.0.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,655 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 215 | 147 | 1,278 |
JavaScript | 7 | 57 | 41 | 370 |
JSON | 1 | 0 | 0 | 4 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 31 | 73.81% |
▷ Public methods | 41 | 97.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.38% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There were not PNG files found in your plugin