84% reevioo

Code Review | REEVIOO customer reviews

WordPress plugin REEVIOO customer reviews scored84%from 54 tests.

About plugin

  • Plugin page: reevioo
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.0+
  • WordPress version: 6.3.1
  • First release: Sep 29, 2017
  • Latest release: Sep 29, 2017
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: theshopbuilders (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /480 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.35ms] Passed 4 tests

This is a short check of server-side resources used by REEVIOO customer reviews
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.02274.29 ▲238.12
Dashboard /wp-admin3.32 ▲0.0244.54 ▼1.91
Posts /wp-admin/edit.php3.37 ▲0.0246.90 ▼2.39
Add New Post /wp-admin/post-new.php5.90 ▲0.0283.78 ▼1.28
Media Library /wp-admin/upload.php3.24 ▲0.0231.84 ▼3.81
Reevioo /wp-admin/options-general.php?page=reevioo3.2134.77

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
reevioo
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by REEVIOO customer reviews
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲8413.32 ▼1.086.75 ▲5.0147.82 ▲8.85
Dashboard /wp-admin2,210 ▲224.90 ▲0.0199.31 ▼20.2740.67 ▼4.12
Posts /wp-admin/edit.php2,093 ▲42.02 ▼0.0133.60 ▼2.5632.72 ▼0.63
Add New Post /wp-admin/post-new.php1,517 ▼1617.50 ▼5.64670.05 ▼19.8956.88 ▼8.88
Media Library /wp-admin/upload.php1,392 ▲74.20 ▼0.0193.95 ▼4.5541.99 ▼1.92
Reevioo /wp-admin/options-general.php?page=reevioo7832.0623.8523.77

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • db_upgraded
    • reevioo
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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 items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/reevioo/reevioo.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Contributors: The plugin contributors field is not present
You can look at the official readme.txt

reevioo/reevioo.php Passed 13 tests

The main PHP file in "REEVIOO customer reviews" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
40 characters long description:
Insert JSON LD rich snippet from Reevioo

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin103 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1138103

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin