Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.86ms] Passed 4 tests
Server-side resources used by CBX 5 Star Rating & Review
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.58 ▼2.20 |
Dashboard /wp-admin | 3.31 ▼0.04 | 51.49 ▼13.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.29 ▲3.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.13 ▼14.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.08 ▲3.17 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 233 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
CBX 5 Star Rating & Review: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.29 ▲0.00 | 1.81 ▲0.18 | 44.95 ▲3.82 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.10 | 89.36 ▲1.65 | 42.07 ▲1.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.00 | 35.50 ▼4.90 | 36.00 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.25 ▲0.18 | 668.56 ▲20.85 | 59.39 ▼4.45 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▲0.00 | 97.75 ▼6.22 | 49.16 ▲3.87 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 97% 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 to be fixed:
- Screenshots: Add descriptions for screenshots #21, #22, #23 in cbxscratingreview/assets to your readme.txt
cbxscratingreview/cbxscratingreview.php Passed 13 tests
This is the main PHP file of "CBX 5 Star Rating & Review" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Quick 5 star single Criteria Rating & Review for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected29,683 lines of code in 170 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 76 | 3,417 | 1,410 | 14,235 |
PHP | 63 | 2,962 | 4,243 | 9,452 |
CSS | 13 | 186 | 108 | 3,884 |
Sass | 7 | 370 | 24 | 1,953 |
SVG | 11 | 0 | 6 | 159 |
PHP code Passed 2 tests
A brief analysis 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.31 |
Average class complexity | 27.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 255.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 376 | |
▷ Static methods | 91 | 24.20% |
▷ Public methods | 323 | 85.90% |
▷ Protected methods | 26 | 6.91% |
▷ Private methods | 27 | 7.18% |
Functions | 38 | |
▷ Named functions | 37 | 97.37% |
▷ Anonymous functions | 1 | 2.63% |
Constants | 14 | |
▷ Global constants | 5 | 35.71% |
▷ Class constants | 9 | 64.29% |
▷ Public constants | 9 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
40 PNG files occupy 0.22MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon_delete_red_16.png | 0.33KB | 0.33KB | 0.00% |
assets/images/upload_ph.png | 0.30KB | 0.28KB | ▼ 6.47% |
assets/images/widget_icons/icon_common.png | 0.55KB | 0.78KB | 0.00% |
assets/vendors/jquery-ui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |
(invalid) assets/images/thumb-down-filled.png | 0.75KB | 0.00KB | ▼ 100.00% |