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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 7.11 ▼32.35 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.10 ▼42.91 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 7.15 ▼41.77 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 7.02 ▼79.58 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 8.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 13.15 ▼1.45 | 4.63 ▲2.76 | 43.48 ▼0.37 |
Dashboard /wp-admin | 2,208 ▲20 | 5.76 ▼0.07 | 97.68 ▼17.37 | 41.23 ▼2.96 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.06 ▲0.09 | 39.97 ▲0.89 | 34.00 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,532 ▲12 | 23.35 ▲0.18 | 648.64 ▼42.33 | 62.92 ▲6.95 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.26 ▲0.07 | 96.13 ▼15.29 | 42.87 ▼1.55 |
BridgeDD /wp-admin/bridgedd.php | 26 | 0.44 | 0.08 | 12.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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 11 | 66 | 24 |
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 code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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