Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
Server metrics [RAM: ▼0.92MB] [CPU: ▼40.00ms] Passed 4 tests
An overview of server-side resources used by mybbSync
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.69 ▼2.72 |
Dashboard /wp-admin | 3.03 ▼0.31 | 24.16 ▼41.02 |
Posts /wp-admin/edit.php | 3.03 ▼0.32 | 24.23 ▼23.53 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.85 | 24.45 ▼82.09 |
Media Library /wp-admin/upload.php | 3.03 ▼0.19 | 25.34 ▼13.35 |
Mybb Sync /wp-admin/options-general.php?page=mybbsync/mybbSync.php | 3.03 | 25.04 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 12 new options
New WordPress options |
---|
mbsync_tableprefix |
mbsync_mybbroot |
can_compress_scripts |
mbsync_host |
widget_recent-posts |
theysaidso_admin_options |
mbsync_db_password |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for mybbSync
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.15 ▼1.23 | 2.03 ▲0.36 | 42.57 ▼3.01 |
Dashboard /wp-admin | 2,210 ▲22 | 5.89 ▲0.84 | 100.52 ▼1.99 | 40.17 ▼0.91 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.98 ▼0.02 | 40.02 ▼2.34 | 34.04 ▼4.57 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 23.76 ▲5.54 | 683.77 ▲65.87 | 59.34 ▲5.77 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.14 ▼0.05 | 110.40 ▲12.18 | 47.06 ▲1.97 |
Mybb Sync /wp-admin/options-general.php?page=mybbsync/mybbSync.php | 861 | 2.07 | 22.89 | 24.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
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
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mybbsync/mybbSync.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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 items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mybbsync/mybbSync.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== mybbsync ===
) - Screenshots: Screenshot #1 (options.png) image not found
mybbsync/mybbSync.php 85% from 13 tests
"mybbSync" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Name the main plugin file the same as the plugin slug ("mybbsync.php" instead of "mybbSync.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected176 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 16 | 136 |
PO File | 1 | 48 | 88 | 40 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin