WordPress plugin Revyooz scored78%from 54 tests.

About plugin

  • Plugin page: revyooz-review-an...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.1-3.8
  • WordPress version: 6.3.1
  • First release: Nov 26, 2013
  • Latest release: Dec 12, 2013
  • Number of updates: 9
  • Update frequency: every 1.9 days
  • Top authors: jmayoff (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,172 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▼0.66MB] [CPU: ▼18.84ms] Passed 4 tests

Analyzing server-side resources used by Revyooz
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.33 ▼0.73
Dashboard /wp-admin3.37 ▲0.0247.20 ▼9.99
Posts /wp-admin/edit.php3.42 ▲0.0645.77 ▲0.87
Add New Post /wp-admin/post-new.php3.15 ▼2.7335.59 ▼65.52
Media Library /wp-admin/upload.php3.29 ▲0.0634.57 ▲4.15
Revyooz /wp-admin/options-general.php?page=revyooz-options3.2331.32

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 14 new options
New WordPress options
revyooz_stars_cat5_name
widget_recent-posts
revyooz_currency_symbol
revyooz_stars_cat4_name
revyooz_stars_cat3_name
revyooz_display_side
widget_recent-comments
db_upgraded
revyooz_stars_overall_name
can_compress_scripts
...

Browser metrics Passed 4 tests

An overview of browser requirements for Revyooz
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5814.74 ▲0.131.76 ▼0.1943.92 ▲4.04
Dashboard /wp-admin2,210 ▲195.91 ▲0.01112.59 ▲10.0042.94 ▲6.08
Posts /wp-admin/edit.php2,093 ▲42.03 ▼0.0233.43 ▼3.5734.77 ▼1.88
Add New Post /wp-admin/post-new.php6,571 ▲5,03326.00 ▲2.56922.92 ▲236.8663.43 ▲6.80
Media Library /wp-admin/upload.php1,386 ▲44.22 ▲0.05101.37 ▼1.5444.34 ▲3.23
Revyooz /wp-admin/options-general.php?page=revyooz-options9332.1726.2831.12

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 14 options
    • revyooz_stars_overall_name
    • revyooz_stars_cat5_name
    • revyooz_stars_cat3_name
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • revyooz_display_side
    • widget_recent-comments
    • revyooz_currency_symbol
    • revyooz_stars_cat1_name
    • ...

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=revyooz-options
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=revyooz-options
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% 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
  • 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revyooz-review-and-rating-plugin/rvz_admin.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/revyooz-review-and-rating-plugin/rvz_add_to_post.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/revyooz-review-and-rating-plugin/revyooz.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revyooz-review-and-rating-plugin/rvz_options.php:26

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)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === revyooz-review-and-rating-plugin === )
Please take inspiration from this readme.txt

revyooz-review-and-rating-plugin/revyooz.php 92% from 13 tests

"Revyooz" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("revyooz-review-and-rating-plugin.php" instead of "revyooz.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected410 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP412547358
CSS115452

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/bluestar.png0.54KB0.42KB▼ 22.62%