68% vbulletin-integration-bridge

Code Review | vBuletin integration bridge

WordPress plugin vBuletin integration bridge scored68%from 54 tests.

About plugin

  • Plugin page: vbulletin-integra...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.5.1
  • WordPress version: 6.3.1
  • First release: Apr 10, 2013
  • Latest release: Apr 10, 2013
  • Number of updates: 2
  • Update frequency: every 1.0 days
  • Top authors: obscurecloud (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,715 total downloads

Benchmarks

Plugin footprint 65% 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.91MB] [CPU: ▼35.26ms] Passed 4 tests

A check of server-side resources used by vBuletin integration bridge
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0148.69 ▲9.87
Dashboard /wp-admin3.03 ▼0.2725.76 ▼27.32
Posts /wp-admin/edit.php3.03 ▼0.3225.49 ▼22.91
Add New Post /wp-admin/post-new.php3.03 ▼2.8522.49 ▼81.01
Media Library /wp-admin/upload.php3.03 ▼0.2026.85 ▼9.79
WP-vB Integration Lite /wp-admin/options-general.php?page=wp-vb3.0322.55

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for vBuletin integration bridge
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.16 ▼0.191.92 ▲0.2643.66 ▲2.16
Dashboard /wp-admin2,202 ▲225.59 ▼0.0293.35 ▲2.3142.23 ▲3.12
Posts /wp-admin/edit.php2,101 ▲12.01 ▼0.0334.04 ▼1.4234.67 ▼1.16
Add New Post /wp-admin/post-new.php1,529 ▼823.42 ▲5.16660.27 ▲12.3758.01 ▼9.76
Media Library /wp-admin/upload.php1,404 ▲14.26 ▲0.0699.29 ▼3.0646.70 ▼0.25
WP-vB Integration Lite /wp-admin/options-general.php?page=wp-vb9822.0125.6029.68

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-content/plugins/vbulletin-integration-bridge/GlobalController.php+32
    Array and string offset access syntax with curly braces is deprecated
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=wp-vb
    • > Deprecated in wp-content/plugins/vbulletin-integration-bridge/GlobalController.php+32
    Array and string offset access syntax with curly braces is deprecated

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
Please fix the following
  • 7× 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/vbulletin-integration-bridge/admin/controllers/AdminController.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/vbulletin-integration-bridge/admin/controllers/AdminController.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/vbulletin-integration-bridge/post_sync/controllers/PostSyncController.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/vbulletin-integration-bridge/post_sync/controllers/PostSyncController.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vbulletin-integration-bridge/wp-vb.php:18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/vbulletin-integration-bridge/admin/views/admin_page.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/vbulletin-integration-bridge/GlobalController.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: wordpress vbulletin integration bridge, vbulletin bridge

vbulletin-integration-bridge/wp-vb.php 92% from 13 tests

This is the main PHP file of "vBuletin integration bridge" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("vbulletin-integration-bridge.php" instead of "wp-vb.php")

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
There were no executable files found in this plugin298 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP76259275
Markdown12023

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity4.40
▷ Minimum class complexity1.00
▷ Maximum class complexity12.00
Average method complexity3.83
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods350.00%
▷ Protected methods350.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants9
▷ Global constants9100.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
PNG images were not found in this plugin