Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.69ms] Passed 4 tests
Server-side resources used by Black Friday and Cyber Monday Deals for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.13 ▼0.40 |
Dashboard /wp-admin | 3.32 ▼0.02 | 42.99 ▼20.24 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 45.73 ▲2.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.47 ▲0.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.01 ▲1.55 |
Server storage [IO: ▲1.62MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Black Friday and Cyber Monday Deals for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.72 ▲0.37 | 1.79 ▲0.12 | 38.33 ▼6.80 |
Dashboard /wp-admin | 2,198 ▲23 | 5.61 ▼0.04 | 85.90 ▼32.94 | 39.35 ▼9.66 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.09 ▲0.06 | 39.77 ▲2.59 | 34.44 ▼0.96 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.02 ▼0.02 | 624.82 ▼41.48 | 54.89 ▼1.48 |
Media Library /wp-admin/upload.php | 1,394 ▼0 | 4.29 ▲0.08 | 98.33 ▼2.71 | 42.79 ▲0.81 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6, #7, #8, #9 in pw-black-friday/assets to your readme.txt
pw-black-friday/pw-black-friday.php 92% from 13 tests
"Black Friday and Cyber Monday Deals for WooCommerce" version 1.72's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("4.5" instead of "4.0")
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
There were no executable files found in this plugin9,236 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 1,157 | 1,208 | 3,141 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 17 | 501 | 98 | 2,614 |
CSS | 4 | 94 | 14 | 438 |
JavaScript | 1 | 81 | 2 | 372 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 375.00 |
▷ Minimum class complexity | 375.00 |
▷ Maximum class complexity | 375.00 |
Average method complexity | 5.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 75 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 75 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 8 | 66.67% |
▷ Anonymous functions | 4 | 33.33% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
assets/images/pimwick.png | 2.74KB | 2.49KB | ▼ 9.09% |
assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
assets/css/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/images/pimwick-icon-120x120.png | 3.89KB | 1.99KB | ▼ 48.71% |