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.38MB] [CPU: ▲3.58ms] Passed 4 tests
Server-side resources used by Wp Ultimate Review
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 49.09 ▲9.88 |
Dashboard /wp-admin | 3.66 ▲0.36 | 48.21 ▼0.90 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 55.33 ▲7.27 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 98.68 ▲3.13 |
Media Library /wp-admin/upload.php | 3.59 ▲0.35 | 40.43 ▲4.81 |
Settings /wp-admin/edit.php?post_type=xs_review&page=xs_settings | 3.87 | 37.87 |
All Reviews /wp-admin/edit.php?post_type=xs_review | 3.63 | 39.27 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 69 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Wp Ultimate Review
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲165 | 13.90 ▼0.47 | 6.16 ▲4.14 | 37.73 ▼0.90 |
Dashboard /wp-admin | 2,222 ▲34 | 5.25 ▲0.38 | 117.03 ▲3.40 | 64.20 ▲21.92 |
Posts /wp-admin/edit.php | 2,136 ▲44 | 2.40 ▲0.39 | 44.81 ▲2.13 | 33.28 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,574 ▲39 | 23.38 ▲0.33 | 726.44 ▲95.17 | 36.12 ▼15.90 |
Media Library /wp-admin/upload.php | 1,449 ▲61 | 4.53 ▲0.22 | 92.80 ▼17.12 | 87.28 ▲43.78 |
Settings /wp-admin/edit.php?post_type=xs_review&page=xs_settings | 1,323 | 2.22 | 31.32 | 37.44 |
All Reviews /wp-admin/edit.php?post_type=xs_review | 1,146 | 2.40 | 38.94 | 30.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-ultimate-review/autoloader.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Trait 'WurReview\\Utilities\\Singleton' not found in wp-content/plugins/wp-ultimate-review/app/license/license.php on line 9
- > PHP Fatal error
Trait 'WurReview\\App\\Updater\\Updater_Request' not found in wp-content/plugins/wp-ultimate-review/app/updater/pro-plugin-updater.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-ultimate-review/views/public/meta-box-author-review.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: product review, rating, wp ultimate review, review, review plugin...
wp-ultimate-review/wp-ultimate-review.php Passed 13 tests
This is the main PHP file of "Wp Ultimate Review" version 2.2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
41 characters long description:
The most advanced WordPress Review Plugin
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
Good job! No executable or dangerous file extensions detected8,723 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 1,285 | 818 | 4,301 |
Sass | 3 | 412 | 11 | 2,181 |
CSS | 5 | 205 | 87 | 1,292 |
JavaScript | 5 | 181 | 158 | 702 |
SVG | 8 | 0 | 5 | 246 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 20.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 39 | 33.62% |
▷ Public methods | 102 | 87.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 12.07% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 0.71MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/review-score/movie.png | 1.32KB | 0.76KB | ▼ 42.07% |
assets/images/Review_UI_dark.png | 247.33KB | 116.70KB | ▼ 52.81% |
assets/images/Review_UI.png | 455.85KB | 263.09KB | ▼ 42.28% |
assets/images/review-score/star.png | 1.94KB | 1.06KB | ▼ 45.54% |
assets/admin/img/icon-menu.png | 1.82KB | 1.17KB | ▼ 35.73% |