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.09MB] [CPU: ▼1.66ms] Passed 4 tests
Analyzing server-side resources used by Auto Rotator For Woocommerce Reviews
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.22 ▼1.05 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.70 ▼4.15 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 47.30 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 94.77 ▼2.20 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 38.45 ▲2.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_arfwr_autorotator |
Browser metrics Passed 4 tests
A check of browser resources used by Auto Rotator 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.72 ▼0.92 | 1.58 ▼0.12 | 38.84 ▲2.01 |
Dashboard /wp-admin | 2,209 ▲21 | 5.89 ▲1.01 | 96.70 ▼3.92 | 39.96 ▼4.10 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.03 | 40.33 ▼0.18 | 35.86 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 18.37 ▲0.69 | 625.19 ▼42.37 | 56.19 ▲6.80 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.18 ▼0.03 | 95.72 ▼1.19 | 39.47 ▼4.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_arfwr_autorotator
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP 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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: authors, woocommerce, widget, tags, categories...
auto-rotator-for-woocommerce-reviews/auto-rotator-for-woocommerce-reviews.php 92% from 13 tests
The main PHP file in "Auto Rotator For Woocommerce Reviews" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: The required version number must 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected621 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 21 | 52 | 323 |
CSS | 1 | 27 | 0 | 220 |
JavaScript | 1 | 10 | 1 | 59 |
PO File | 1 | 1 | 1 | 18 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 7.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin