Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.26MB] [CPU: ▼7.67ms] Passed 4 tests
A check of server-side resources used by Ultimate Reviews Rocket
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 38.74 ▼0.19 |
Dashboard /wp-admin | 3.65 ▲0.30 | 51.37 ▼12.15 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 55.74 ▲9.19 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 83.34 ▼16.60 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.09 ▼1.72 |
Ultimate Reviews Rocket /wp-admin/options-general.php?page=ultimate_reviews_rocket | 3.54 | 47.77 |
Server storage [IO: ▲2.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 45 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_urr_form_submissions |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Reviews Rocket
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,026 ▲255 | 15.05 ▲0.84 | 5.80 ▲3.85 | 38.59 ▼5.39 |
Dashboard /wp-admin | 2,350 ▲162 | 6.46 ▲1.63 | 133.77 ▲31.93 | 37.82 ▼2.37 |
Posts /wp-admin/edit.php | 2,256 ▲167 | 3.40 ▲1.39 | 54.68 ▲17.35 | 34.39 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.46 ▲5.84 | 646.73 ▼53.42 | 36.61 ▼8.41 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.13 ▼0.03 | 83.98 ▼18.18 | 42.66 ▼3.46 |
Ultimate Reviews Rocket /wp-admin/options-general.php?page=ultimate_reviews_rocket | 1,106 | 3.38 | 46.04 | 49.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/ultimate-reviews-rocket/uninstall.php+44
Trying to get property 'ID' of non-object
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function flush_rewrite_rules() in wp-content/plugins/ultimate-reviews-rocket/admin/partials/ultimate-reviews-rocket-admin-display.php:27
- > PHP Fatal error
Uncaught Error: Class 'ultimate_reviews_rocket_Admin' not found in wp-content/plugins/ultimate-reviews-rocket/admin/settings/class-ultimate-reviews-rocket-setting-settings.php:9
- > PHP Fatal error
Uncaught Error: Class 'ultimate_reviews_rocket_Admin' not found in wp-content/plugins/ultimate-reviews-rocket/admin/settings/class-ultimate-reviews-rocket-enable-settings.php:9
- > PHP Fatal error
Uncaught Error: Class 'ultimate_reviews_rocket_Admin' not found in wp-content/plugins/ultimate-reviews-rocket/admin/settings/class-ultimate-reviews-rocket-social-media-settings.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=ultimate_reviews_rocket
- > Network (severe)
wp-content/plugins/ultimate-reviews-rocket/admin/images/tools-img.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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 your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png), #4 (screenshot-4.png), #5 (screenshot-5.png)
ultimate-reviews-rocket/ultimate-reviews-rocket.php 92% from 13 tests
"Ultimate Reviews Rocket" version 1.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 267 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected8,159 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 174 | 61 | 3,591 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 12 | 332 | 672 | 1,296 |
JavaScript | 4 | 106 | 32 | 601 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 2 | 3.12% |
▷ Public methods | 59 | 92.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.81% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.40MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/threshold.png | 5.58KB | 2.99KB | ▼ 46.41% |
screenshot-5.png | 45.49KB | 18.05KB | ▼ 60.32% |
screenshot-2.png | 111.94KB | 42.25KB | ▼ 62.25% |
screenshot-4.png | 137.38KB | 47.66KB | ▼ 65.30% |
screenshot-3.png | 52.69KB | 20.19KB | ▼ 61.68% |