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.00MB] [CPU: ▼8.33ms] Passed 4 tests
An overview of server-side resources used by Feefo Ratings & Reviews for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.24 ▼6.21 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.69 ▼8.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.72 ▼0.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.32 ▼18.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.15 ▲0.66 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
feefo_wc_wp_just_installed |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Feefo Ratings & Reviews for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.64 ▲0.24 | 1.69 ▼0.19 | 43.87 ▲0.19 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.14 | 108.58 ▼9.00 | 40.77 ▼3.98 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.05 | 39.29 ▲3.06 | 34.50 ▼4.07 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.24 ▲0.40 | 660.19 ▼9.87 | 56.06 ▼4.97 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.28 ▲0.05 | 95.04 ▼8.12 | 40.47 ▼2.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- feefo_wc_wp_just_installed
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
feefo-ratings-reviews-for-woocommerce/feefo-ratings-and-reviews.php 77% from 13 tests
The main PHP file in "Feefo Ratings & Reviews for WooCommerce" ver. 1.0.8 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("feefo-ratings-reviews-for-woocommerce.php" instead of "feefo-ratings-and-reviews.php")
- Description: Keep the plugin description shorter than 140 characters (currently 237 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; 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 considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected488 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 159 | 129 | 446 |
CSS | 3 | 4 | 2 | 41 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/menu_icon28x28.png | 0.57KB | 0.63KB | 0.00% |