Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.67ms] Passed 4 tests
An overview of server-side resources used by Simple Display For Woocommerce Reviews
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.50 ▼1.40 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.07 ▼0.98 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 42.57 ▼5.40 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 82.90 ▼14.90 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 35.47 ▲0.06 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_sdfwr_simpledisplay |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Display For Woocommerce Reviews
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.31 ▼1.50 | 4.29 ▲2.59 | 37.30 ▼13.29 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼0.02 | 101.81 ▼10.75 | 39.00 ▼11.43 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.01 | 33.56 ▼2.51 | 33.41 ▼2.33 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.69 ▼5.40 | 655.62 ▼0.46 | 51.38 ▼2.35 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.04 | 99.20 ▼13.17 | 41.35 ▼7.32 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_sdfwr_simpledisplay
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: widget, categories, authors, tags, review...
simple-display-for-woocommerce-reviews/simple-display-for-woocommerce-reviews.php 92% from 13 tests
The principal PHP file in "Simple Display For Woocommerce Reviews" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.6.1" instead of "3.0.0")
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
There were no executable files found in this plugin710 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 52 | 360 |
CSS | 1 | 39 | 0 | 286 |
JavaScript | 1 | 3 | 0 | 39 |
PO File | 1 | 3 | 4 | 24 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 37.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 10.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
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
No PNG files were detected