Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/s2bd-bridge/s2bd-bridge.php+79
Undefined variable: option_name
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.52ms] Passed 4 tests
An overview of server-side resources used by S2BD Bridge
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.04 ▼0.83 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.70 ▼5.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.70 ▲1.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.58 ▼17.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.99 ▲0.94 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_sbd_options |
wp_sbd_relations |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
S2BD Bridge: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.36 ▲0.16 | 1.63 ▼0.07 | 41.28 ▼7.19 |
Dashboard /wp-admin | 2,198 ▲24 | 5.65 ▲0.12 | 91.88 ▼6.40 | 39.36 ▼3.14 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.03 | 39.43 ▲4.04 | 36.46 ▲2.14 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.71 ▲0.43 | 666.79 ▼20.81 | 51.66 ▼1.47 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.08 | 100.02 ▼4.91 | 46.21 ▲0.83 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_sbd_options
- wp_sbd_relations
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 9× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/s2bd-bridge/inscribe-members.php
- > /wp-content/plugins/s2bd-bridge/fields-settings.php
- > /wp-content/plugins/s2bd-bridge/general-settings.php
- > /wp-content/plugins/s2bd-bridge/forums-settings.php
- > /wp-content/plugins/s2bd-bridge/s2bd-bridge.php
- > /wp-content/plugins/s2bd-bridge/s2bd-bridge-manager.php
- > /wp-content/plugins/s2bd-bridge/forums-subscriptions-stats.php
- > /wp-content/plugins/s2bd-bridge/forums-per-member.php
- > /wp-content/plugins/s2bd-bridge/fields-per-member.php
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
s2bd-bridge/s2bd-bridge.php 92% from 13 tests
The main file in "S2BD Bridge" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,251 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 81 | 158 | 907 |
PO File | 1 | 134 | 143 | 344 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin