Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.48MB] [CPU: ▼2.18ms] Passed 4 tests
An overview of server-side resources used by Reviews Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 44.66 ▲2.50 |
Dashboard /wp-admin | 3.88 ▲0.53 | 52.34 ▼5.91 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 50.40 ▲2.74 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 84.93 ▼8.04 |
Media Library /wp-admin/upload.php | 3.75 ▲0.51 | 40.43 ▲5.13 |
Reviews /wp-admin/options-general.php?page=ic_reviews | 3.72 | 32.21 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Reviews Plus
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲144 | 13.63 ▼0.72 | 9.12 ▲7.03 | 39.67 ▼4.57 |
Dashboard /wp-admin | 2,222 ▲45 | 4.97 ▼0.57 | 99.23 ▲10.83 | 40.05 ▲0.53 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 2.43 ▲0.46 | 42.24 ▲0.75 | 53.06 ▲16.73 |
Add New Post /wp-admin/post-new.php | 1,742 ▲214 | 24.82 ▲1.56 | 579.26 ▼69.83 | 37.41 ▼20.48 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 4.56 ▲0.39 | 94.98 ▼8.63 | 39.50 ▼4.22 |
Reviews /wp-admin/options-general.php?page=ic_reviews | 1,177 | 2.37 | 44.27 | 42.03 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
reviews-plus/reviews-plus.php Passed 13 tests
"Reviews Plus" version 1.3.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
95 characters long description:
Add rich reviews to posts, pages or any custom post type. Reviews summary compatible with SERP.
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
No dangerous file extensions were detected3,091 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 452 | 810 | 2,582 |
CSS | 4 | 69 | 25 | 327 |
JavaScript | 6 | 37 | 33 | 182 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 62.50% |
▷ Protected methods | 6 | 37.50% |
▷ Private methods | 0 | 0.00% |
Functions | 135 | |
▷ Named functions | 135 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
7 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/implecode.png | 11.70KB | 5.04KB | ▼ 56.91% |
css/images/ready.png | 7.41KB | 2.52KB | ▼ 65.99% |
css/images/info.png | 2.21KB | 1.70KB | ▼ 22.85% |
css/images/doc.png | 4.91KB | 1.64KB | ▼ 66.49% |
css/images/warning.png | 1.64KB | 1.48KB | ▼ 9.80% |