78% wp-ultimate-review

Code Review | Wp Ultimate Review

WordPress plugin Wp Ultimate Review scored 78% from 54 tests.

About plugin

  • Plugin page: wp-ultimate-review
  • Plugin version: 2.2.4
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: May 6, 2019
  • Latest release: Aug 7, 2023
  • Number of updates: 50
  • Update frequency: every 31.1 days
  • Top authors: ataurr (100%)

Code review

54 tests

User reviews

15 reviews

Install metrics

10,000+ active / 207,689 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.92 ▲0.4649.09 ▲9.88
Dashboard /wp-admin3.66 ▲0.3648.21 ▼0.90
Posts /wp-admin/edit.php3.78 ▲0.4255.33 ▲7.27
Add New Post /wp-admin/post-new.php6.29 ▲0.4098.68 ▲3.13
Media Library /wp-admin/upload.php3.59 ▲0.3540.43 ▲4.81
Settings /wp-admin/edit.php?post_type=xs_review&page=xs_settings3.8737.87
All Reviews /wp-admin/edit.php?post_type=xs_review3.6339.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,936 ▲16513.90 ▼0.476.16 ▲4.1437.73 ▼0.90
Dashboard /wp-admin2,222 ▲345.25 ▲0.38117.03 ▲3.4064.20 ▲21.92
Posts /wp-admin/edit.php2,136 ▲442.40 ▲0.3944.81 ▲2.1333.28 ▼2.07
Add New Post /wp-admin/post-new.php1,574 ▲3923.38 ▲0.33726.44 ▲95.1736.12 ▼15.90
Media Library /wp-admin/upload.php1,449 ▲614.53 ▲0.2292.80 ▼17.1287.28 ▲43.78
Settings /wp-admin/edit.php?post_type=xs_review&page=xs_settings1,3232.2231.3237.44
All Reviews /wp-admin/edit.php?post_type=xs_review1,1462.4038.9430.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP261,2858184,301
Sass3412112,181
CSS5205871,292
JavaScript5181158702
SVG805246
JSON1001

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 code0.48
Average class complexity20.12
▷ Minimum class complexity1.00
▷ Maximum class complexity136.00
Average method complexity3.83
▷ Minimum method complexity1.00
▷ Maximum method complexity52.00
Code structure
Namespaces7
Interfaces0
Traits3
Classes14
▷ Abstract classes17.14%
▷ Concrete classes1392.86%
▷ Final classes00.00%
Methods116
▷ Static methods3933.62%
▷ Public methods10287.93%
▷ Protected methods00.00%
▷ Private methods1412.07%
Functions6
▷ Named functions350.00%
▷ Anonymous functions350.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
assets/images/review-score/movie.png1.32KB0.76KB▼ 42.07%
assets/images/Review_UI_dark.png247.33KB116.70KB▼ 52.81%
assets/images/Review_UI.png455.85KB263.09KB▼ 42.28%
assets/images/review-score/star.png1.94KB1.06KB▼ 45.54%
assets/admin/img/icon-menu.png1.82KB1.17KB▼ 35.73%