Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.37MB] [CPU: ▲2.38ms] Passed 4 tests
This is a short check of server-side resources used by Wiremo - Product Reviews for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.34 | 49.13 ▲7.83 |
Dashboard /wp-admin | 3.77 ▲0.42 | 56.92 ▲8.23 |
Posts /wp-admin/edit.php | 3.82 ▲0.42 | 58.24 ▲6.68 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.36 | 91.61 ▼13.22 |
Media Library /wp-admin/upload.php | 3.63 ▲0.36 | 45.19 ▲10.70 |
Server storage [IO: ▲3.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 79 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Wiremo - Product Reviews for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.72 ▲0.19 | 2.15 ▲0.37 | 44.42 ▼0.08 |
Dashboard /wp-admin | 2,217 ▲43 | 5.62 ▼0.02 | 85.96 ▼4.92 | 42.34 ▼0.80 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.95 ▼0.03 | 36.36 ▼6.41 | 36.77 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.12 ▼0.22 | 692.08 ▼18.64 | 63.83 ▲8.22 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.18 ▼0.06 | 110.73 ▲7.21 | 48.55 ▲2.09 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/woo-reviews-by-wiremo/config.php:4
- > PHP Fatal error
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 83% 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
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Wiremo review widget.), #2 (Wiremo review widget mobile view.), #3 (Pop-up trigger in action.), #4 (Wiremo Review Carousel.), #5 (Wiremo Triggers (Pop-up, Open a conversation, Auto-reply).), #6 (Automated Review Request Campaign.), #7 (Automated Review Request Campaign Settings.), #8 (Automated Review Request Settings in the plugin.), #9 (Past Review Request Settings in the plugin.)
woo-reviews-by-wiremo/function.php 69% from 13 tests
The principal PHP file in "Wiremo - Product Reviews for WooCommerce" v. 1.4.98 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 200 characters long)
- Git Repository: An alternative Git repository was detected
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("woo-reviews-by-wiremo.php" instead of "function.php")
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
No dangerous file extensions were detected9,070 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 793 | 724 | 5,744 |
SVG | 2 | 0 | 0 | 2,683 |
JavaScript | 5 | 6 | 9 | 393 |
Markdown | 3 | 85 | 0 | 208 |
JSON | 2 | 0 | 0 | 34 |
CSS | 7 | 1 | 12 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 26.70 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 1 | 0.85% |
▷ Public methods | 82 | 70.09% |
▷ Protected methods | 6 | 5.13% |
▷ Private methods | 29 | 24.79% |
Functions | 106 | |
▷ Named functions | 103 | 97.17% |
▷ Anonymous functions | 3 | 2.83% |
Constants | 6 | |
▷ Global constants | 6 | 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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
css/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |