Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.07ms] Passed 4 tests
A check of server-side resources used by CBX Multi Criteria Rating & Review System
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.55 ▼0.46 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.95 ▼20.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.62 ▼4.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.72 ▼18.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.41 ▲2.31 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 129 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for CBX Multi Criteria Rating & Review System
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.05 | 1.69 ▼0.08 | 44.73 ▲1.41 |
Dashboard /wp-admin | 2,195 ▲27 | 5.61 ▲0.02 | 86.28 ▼4.22 | 41.61 ▼0.84 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.03 | 35.82 ▼5.88 | 35.74 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.55 ▲0.42 | 671.60 ▲53.33 | 63.85 ▲8.01 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.19 ▼0.03 | 99.41 ▼8.42 | 45.18 ▼0.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 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 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
The SRP test was a success
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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #21, #22, #23 in cbxmcratingreview/assets to your readme.txt
cbxmcratingreview/cbxmcratingreview.php Passed 13 tests
The main PHP script in "CBX Multi Criteria Rating & Review System" version 1.0.3 is automatically included on every request by WordPress
51 characters long description:
Multi Criteria Rating & Review System for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected19,813 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 3,560 | 4,350 | 10,074 |
JavaScript | 14 | 929 | 651 | 5,149 |
CSS | 12 | 353 | 133 | 4,575 |
SVG | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 63.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 391.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 329 | |
▷ Static methods | 110 | 33.43% |
▷ Public methods | 302 | 91.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 27 | 8.21% |
Functions | 39 | |
▷ Named functions | 38 | 97.44% |
▷ Anonymous functions | 1 | 2.56% |
Constants | 19 | |
▷ Global constants | 10 | 52.63% |
▷ Class constants | 9 | 47.37% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
37 compressed PNG files occupy 0.21MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/images/icon_upload.png | 0.32KB | 0.32KB | 0.00% |
assets/css/ui-lightness/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/images/icon_delete_red_32.png | 0.50KB | 0.50KB | ▼ 0.58% |
assets/images/icon_upload_32.png | 0.87KB | 0.88KB | 0.00% |