Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.21ms] Passed 4 tests
This is a short check of server-side resources used by Simple Woo Reviews Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.92 ▼6.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.60 ▼8.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.32 ▼8.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.62 ▼17.40 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.47 ▲6.72 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Woo Reviews Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.25 ▼1.13 | 5.33 ▲3.52 | 40.45 ▼4.88 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼1.05 | 98.90 ▼28.05 | 41.17 ▼1.71 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.00 | 32.86 ▼3.76 | 35.47 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,533 ▼3 | 22.99 ▼0.22 | 640.21 ▼26.68 | 56.54 ▼6.88 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.29 ▲0.08 | 95.35 ▼16.26 | 42.31 ▼6.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/simple-woo-reviews-lite/uninstall.php+25
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simple-woo-reviews-lite/public/partials/simple-woo-reviews-shortcodes-manager.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-woo-reviews-lite/public/partials/simple-woo-reviews-wc-review-form-manager.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-woo-reviews-lite/admin/partials/class-simple-woo-reviews-admin-settings.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-woo-reviews-lite/public/partials/simple-woo-reviews-wc-account-manager.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-woo-reviews-lite/admin/partials/class-simple-woo-reviews-posttype.php:36
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: A description for screenshot #7 is required in simple-woo-reviews-lite/assets to your readme.txt
simple-woo-reviews-lite/simple-woo-reviews.php 77% from 13 tests
"Simple Woo Reviews Lite" version 1.0.3'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:
- Description: Please don't use more than 140 characters for the plugin description (currently 205 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-woo-reviews-lite.php" instead of "simple-woo-reviews.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected5,544 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 536 | 1,201 | 2,531 |
CSS | 8 | 98 | 51 | 2,105 |
JavaScript | 7 | 246 | 117 | 860 |
SVG | 3 | 1 | 0 | 48 |
PHP code Passed 2 tests
This is a very shot review 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.29 |
Average class complexity | 25.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 115 | |
▷ Static methods | 3 | 2.61% |
▷ Public methods | 109 | 94.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 5.22% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin