Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/mybb-cross-postalicious/mybb-cross-postalicious.php+47
Function create_function() is deprecated
Server metrics [RAM: ▼1.76MB] [CPU: ▼53.23ms] Passed 4 tests
An overview of server-side resources used by MyBB Cross-Postalicious
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.24 | 5.63 ▼36.25 |
Dashboard /wp-admin | 2.25 ▼1.06 | 7.56 ▼44.77 |
Posts /wp-admin/edit.php | 2.25 ▼1.11 | 7.59 ▼43.60 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.64 | 9.42 ▼88.31 |
Media Library /wp-admin/upload.php | 2.25 ▼0.98 | 6.73 ▼29.40 |
MyBBXP /wp-admin/options-general.php?page=mybbxp_settings_page | 2.25 | 6.67 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
mybbxp_options |
widget_recent-comments |
can_compress_scripts |
widget_mybbxp_recent_topics_widget |
Browser metrics Passed 4 tests
MyBB Cross-Postalicious: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▲0.11 | 1.74 ▼0.12 | 40.62 ▼1.02 |
Dashboard /wp-admin | 2,202 ▲25 | 5.58 ▲0.03 | 88.40 ▼9.51 | 40.42 ▼3.39 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.94 ▼0.08 | 39.23 ▼4.15 | 37.91 ▲0.98 |
Add New Post /wp-admin/post-new.php | 6,276 ▲4,747 | 18.68 ▼4.29 | 923.58 ▲250.33 | 56.15 ▼3.15 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▲0.05 | 100.08 ▼15.17 | 44.01 ▼8.25 |
MyBBXP /wp-admin/options-general.php?page=mybbxp_settings_page | 1,009 | 2.00 | 22.92 | 29.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/mybb-cross-postalicious/mybb-cross-postalicious.php+47
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_mybbxp_recent_topics_widget
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=mybbxp_settings_page
- > Deprecated in wp-content/plugins/mybb-cross-postalicious/mybb-cross-postalicious.php+47
Function create_function() is deprecated
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mybb-cross-postalicious/view-response.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mybb-cross-postalicious/mybbxp-recent-topics-widget.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mybb-cross-postalicious/mybbxp-recent-topics-widget.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: forum, mybb, cross, comments, cross-posting...
mybb-cross-postalicious/mybb-cross-postalicious.php Passed 13 tests
"MyBB Cross-Postalicious" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
48 characters long description:
Allows cross-posting between wordpress and MyBB.
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
Good job! No executable or dangerous file extensions detected749 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 152 | 188 | 749 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 19.40 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 1 | 1.69% |
▷ Public methods | 55 | 93.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.78% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected