10% bridgedd

Code Review | BridgeDD

WordPress plugin BridgeDD scored10%from 54 tests.

About plugin

  • Plugin page: bridgedd
  • Plugin version: 1.4.1.7
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-6.0
  • WordPress version: 6.3.1
  • First release: Mar 17, 2014
  • Latest release: Nov 19, 2022
  • Number of updates: 293
  • Update frequency: every 10.9 days
  • Top authors: DionDesigns (100%)

Code review

54 tests

User reviews

21 reviews

Install metrics

60+ active /17,442 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
  • The plugin did not install without errors
    • > Deprecated in wp-content/plugins/bridgedd/bridgedd_driver.min.addon+6
    Methods with the same name as their class will not be constructors in a future version of PHP; bridgedd_user has a deprecated constructor

Server metrics [RAM: ▼1.96MB] [CPU: ▼49.15ms] Passed 4 tests

Analyzing server-side resources used by BridgeDD
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.437.11 ▼32.35
Dashboard /wp-admin2.05 ▼1.266.10 ▼42.91
Posts /wp-admin/edit.php2.05 ▼1.317.15 ▼41.77
Add New Post /wp-admin/post-new.php2.05 ▼3.847.02 ▼79.58
Media Library /wp-admin/upload.php2.05 ▼1.188.36 ▼24.73

Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] 67% from 3 tests

Input-output and database impact of this plugin
Please fix the following
  • The plugin illegally modified 5 files (17.17KB) outside of "wp-content/plugins/bridgedd/" and "wp-content/uploads/"
    • (new file) bridgedd/bridgedd_check.php
    • (new file) bridgedd/xpost.php
    • (new file) bridgedd/index.html
    • (new file) bridgedd/bridgedd.mod
    • (new file) bridgedd/bridgedd_uninstall.php
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
bridgedd_config
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for BridgeDD
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲7013.15 ▼1.454.63 ▲2.7643.48 ▼0.37
Dashboard /wp-admin2,208 ▲205.76 ▼0.0797.68 ▼17.3741.23 ▼2.96
Posts /wp-admin/edit.php2,097 ▲82.06 ▲0.0939.97 ▲0.8934.00 ▼0.22
Add New Post /wp-admin/post-new.php1,532 ▲1223.35 ▲0.18648.64 ▼42.3362.92 ▲6.95
Media Library /wp-admin/upload.php1,390 ▲24.26 ▲0.0796.13 ▼15.2942.87 ▼1.55
BridgeDD /wp-admin/bridgedd.php260.440.0812.54

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
  • This plugin cannot be uninstalled
    • > Warning in wp-content/plugins/bridgedd/bridgedd_driver.min.addon+6
    copy(wp-content/plugins/bridgedd/bridgedd_check.min.dd): failed to open stream: No such file or directory
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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
The following issues need your attention
  • 3× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/bridgedd/bridgedd_config.php
    • > /wp-content/plugins/bridgedd/uninstall.php
    • > /wp-content/plugins/bridgedd/bridgedd.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
    • > GET request to /wp-admin/bridgedd.php
    • > Network (severe)
    wp-admin/bridgedd.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: phpbb, integration, bridge

bridgedd/bridgedd.php Passed 13 tests

The main PHP file in "BridgeDD" ver. 1.4.1.7 adds more information about the plugin and also serves as the entry point for this plugin
44 characters long description:
Creates a bridge between phpBB and WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin24 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3116624

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.31
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin