84% riovizual

Code Review | RioVizual - WordPress Gutenberg Table Blocks Plugin

WordPress plugin RioVizual - WordPress Gutenberg Table Blocks Plugin scored84%from 54 tests.

About plugin

  • Plugin page: riovizual
  • Plugin version: 2.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.1-6.4
  • WordPress version: 6.3.1
  • First release: May 23, 2023
  • Latest release: Nov 6, 2023
  • Number of updates: 21
  • Update frequency: every 8.1 days
  • Top authors: wprio (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

90+ active /987 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▲1.72ms] Passed 4 tests

A check of server-side resources used by RioVizual - WordPress Gutenberg Table Blocks Plugin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1142.20 ▲1.67
Dashboard /wp-admin3.40 ▲0.1048.02 ▼3.11
Posts /wp-admin/edit.php3.51 ▲0.1649.75 ▲5.62
Add New Post /wp-admin/post-new.php6.00 ▲0.1185.29 ▲2.71
Media Library /wp-admin/upload.php3.32 ▲0.0951.06 ▲18.07

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

RioVizual - WordPress Gutenberg Table Blocks Plugin: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3314.67 ▲0.271.75 ▲0.0143.84 ▼1.38
Dashboard /wp-admin2,192 ▲125.48 ▼0.1687.30 ▼12.4139.34 ▼5.34
Posts /wp-admin/edit.php2,100 ▼32.01 ▲0.0137.35 ▲0.1433.99 ▼0.59
Add New Post /wp-admin/post-new.php1,662 ▲13325.10 ▲1.90866.68 ▲100.9139.95 ▼19.81
Media Library /wp-admin/upload.php1,400 ▲64.26 ▲0.11108.49 ▲11.3647.00 ▲4.91

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/riovizual/riovizual.php:30

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: You are using too many tags: 15 tag instead of maximum 10
You can look at the official readme.txt

riovizual/riovizual.php 92% from 13 tests

The principal PHP file in "RioVizual - WordPress Gutenberg Table Blocks Plugin" v. 2.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 145 characters long)

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
Success! There were no dangerous files found in this plugin550 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP10104220358
JSON200184
CSS4005
JavaScript3003

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity19.67
▷ Minimum class complexity1.00
▷ Maximum class complexity57.00
Average method complexity3.95
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods21
▷ Static methods314.29%
▷ Public methods2095.24%
▷ Protected methods00.00%
▷ Private methods14.76%
Functions6
▷ Named functions350.00%
▷ Anonymous functions350.00%
Constants6
▷ Global constants6100.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
build/images/rv_placeholder.6af3c56e.png1.08KB0.51KB▼ 52.31%