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 gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.31ms] Passed 4 tests
Server-side resources used by Advanced Comments Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 43.26 ▲1.35 |
Dashboard /wp-admin | 3.43 ▲0.13 | 52.64 ▲0.06 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 51.81 ▼3.36 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 97.97 ▼7.30 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 38.06 ▲1.44 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_acw-recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Comments Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.35 ▲0.15 | 1.75 ▼0.12 | 45.19 ▲5.99 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▲0.01 | 94.87 ▲9.06 | 42.18 ▼1.43 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.03 ▼0.08 | 37.76 ▼4.47 | 36.79 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,532 ▼3 | 23.23 ▲4.94 | 594.60 ▼54.34 | 49.26 ▼22.46 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.27 ▲0.05 | 100.80 ▼0.07 | 43.03 ▼1.76 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- widget_acw-recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #4 is required in advanced-comments-widget/assets to your readme.txt
advanced-comments-widget/advanced-comments-widget.php 92% from 13 tests
"Advanced Comments Widget" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/lang" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected686 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 213 | 510 | 623 |
Markdown | 1 | 20 | 0 | 35 |
JavaScript | 1 | 10 | 6 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 24 | 68.57% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.72MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 1.96KB | 1.30KB | ▼ 33.30% |
assets/screenshot-1.png | 76.60KB | 31.63KB | ▼ 58.70% |
assets/screenshot-3.png | 106.88KB | 42.28KB | ▼ 60.44% |
assets/banner-772x250.png | 2.40KB | 1.73KB | ▼ 27.98% |
assets/icon-128x128.png | 1.08KB | 0.85KB | ▼ 20.96% |