84% inverite-ibv-integration

Code Review | Inverite IBV Integration for Wordpress

WordPress plugin Inverite IBV Integration for Wordpress scored84%from 54 tests.

About plugin

  • Plugin page: inverite-ibv-inte...
  • Plugin version: 1.0.7
  • PHP compatiblity: 7.4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 7.0.0-6.3.0
  • WordPress version: 6.3.1
  • First release: Nov 10, 2021
  • Latest release: Jul 25, 2023
  • Number of updates: 6
  • Update frequency: every 103.7 days
  • Top authors: pycvalade (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /326 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.03ms] Passed 4 tests

A check of server-side resources used by Inverite IBV Integration for Wordpress
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.81 ▼2.35
Dashboard /wp-admin3.31 ▲0.0057.60 ▲11.28
Posts /wp-admin/edit.php3.36 ▲0.0045.15 ▼3.35
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.07 ▼7.11
Media Library /wp-admin/upload.php3.23 ▲0.0034.08 ▲0.70

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Inverite IBV Integration for Wordpress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼1.184.77 ▲3.0040.57 ▼0.97
Dashboard /wp-admin2,209 ▲245.85 ▼0.0497.67 ▼13.1039.93 ▼1.62
Posts /wp-admin/edit.php2,089 ▼32.02 ▲0.0440.05 ▲2.7035.50 ▼1.18
Add New Post /wp-admin/post-new.php1,533 ▲1423.07 ▼0.14606.13 ▼51.9447.06 ▼12.43
Media Library /wp-admin/upload.php1,388 ▼04.17 ▼0.0496.41 ▼3.1241.47 ▼3.20

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 add_action() in wp-content/plugins/inverite-ibv-integration/inverite-ibv-integration.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 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
3 plugin tags: ibv, integrations, inverite

inverite-ibv-integration/inverite-ibv-integration.php 92% from 13 tests

The main PHP script in "Inverite IBV Integration for Wordpress" version 1.0.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("4.6.0" instead of "7.0.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected114 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP162256
CSS11938
PO File20020

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.67
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin