Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.03ms] Passed 4 tests
This is a short check of server-side resources used by WP Ultimate Reviews FREE
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.76 ▼4.01 |
Dashboard /wp-admin | 3.35 ▲0.00 | 58.07 ▼4.41 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 56.59 ▲0.82 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.06 ▼16.51 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.68 ▲4.75 |
Remove Review /wp-admin/admin.php?page=wpurf_remove_review_page | 3.25 | 36.61 |
Activate Review /wp-admin/admin.php?page=wpurf_act_review | 3.25 | 37.09 |
Deactivate Review /wp-admin/admin.php?page=wpurf_deact_review | 3.25 | 36.16 |
Shortcode Generator /wp-admin/admin.php?page=wpurf_shortcodes | 3.28 | 38.66 |
WP Ultimate Reviews /wp-admin/admin.php?page=wpurf | 3.22 | 30.72 |
Create a Review /wp-admin/admin.php?page=wpurf_add_reviews | 3.27 | 37.97 |
View All Reviews /wp-admin/admin.php?page=wpurf_view_reviews | 3.22 | 32.19 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 37 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wpur_reviews |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Ultimate Reviews FREE
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲236 | 14.36 ▲0.16 | 1.90 ▼0.13 | 49.38 ▲8.19 |
Dashboard /wp-admin | 2,366 ▲186 | 6.18 ▲0.59 | 110.06 ▲16.35 | 41.63 ▼1.25 |
Posts /wp-admin/edit.php | 2,291 ▲191 | 3.32 ▲1.33 | 50.86 ▲11.00 | 35.48 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,551 ▲22 | 23.45 ▼0.10 | 634.30 ▼19.27 | 36.14 ▼20.89 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.19 ▼0.02 | 84.69 ▼14.33 | 43.36 ▲0.12 |
Remove Review /wp-admin/admin.php?page=wpurf_remove_review_page | 972 | 3.00 | 36.35 | 23.09 |
Activate Review /wp-admin/admin.php?page=wpurf_act_review | 1,935 | 4.56 | 42.26 | 45.76 |
Deactivate Review /wp-admin/admin.php?page=wpurf_deact_review | 1,935 | 4.58 | 41.91 | 41.66 |
Shortcode Generator /wp-admin/admin.php?page=wpurf_shortcodes | 1,170 | 2.99 | 40.31 | 63.73 |
WP Ultimate Reviews /wp-admin/admin.php?page=wpurf | 1,260 | 3.02 | 40.16 | 69.41 |
Create a Review /wp-admin/admin.php?page=wpurf_add_reviews | 1,117 | 3.00 | 39.44 | 63.60 |
View All Reviews /wp-admin/admin.php?page=wpurf_view_reviews | 1,257 | 3.02 | 38.64 | 67.02 |
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
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_wpur_reviews
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+33
Undefined index: wpurf_add
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+43
Undefined index: del
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+47
Undefined index: dels
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+51
Undefined index: edit
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/functions/admin.php+63
Undefined index: filter-email
- 16 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/functions/admin.php+71
Undefined index: filter-status
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/functions/admin.php+161
Undefined variable: total
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+55
Undefined index: act
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+59
Undefined index: acts
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+63
Undefined index: deact
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+67
Undefined index: deacts
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+75
Undefined index: pg
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/functions/admin.php+59
Undefined index: filter-name
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/functions/admin.php+67
Undefined index: filter-rating
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/functions/admin.php+76
Undefined index: filter-sort
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpurf_view_reviews
- > Notice in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php+78
Undefined index: filter-ascdesc
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-ultimate-reviews-free/wp-ultimate-reviews.php
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-create-review.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-view-all-reviews.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-ultimate-reviews-free/template/wpurf_average.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ultimate-reviews-free/functions/admin.php:4
- > PHP Notice
Undefined variable: the_reviews in wp-content/plugins/wp-ultimate-reviews-free/template/wpurf_display.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-ultimate-reviews-free/admin/wpurf-shortcode-generator.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_image_size() in wp-content/plugins/wp-ultimate-reviews-free/functions/setup.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-ultimate-reviews-free/template/wpurf_create.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-ultimate-reviews-free/template/wpurf_display.php:15
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/wp-ultimate-reviews-free/template/wpurf_display.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== WP Ultimate Reviews FREE===
) - Contributors: The plugin contributors field is not present
wp-ultimate-reviews-free/wp-ultimate-reviews.php 92% from 13 tests
The primary PHP file in "WP Ultimate Reviews FREE" version 1.0.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-ultimate-reviews-free.php" instead of "wp-ultimate-reviews.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,985 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 8 | 2,260 |
PHP | 11 | 356 | 75 | 965 |
CSS | 6 | 41 | 32 | 602 |
JavaScript | 4 | 43 | 5 | 158 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 17.90KB | 6.31KB | ▼ 64.78% |