Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/mushraider-bridge/mushraider-bridge.php+38
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.87ms] Passed 4 tests
An overview of server-side resources used by MushRaider Bridge
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.03 ▼36.98 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.64 ▼39.84 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.39 ▼41.11 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.94 ▼93.53 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.66 ▼28.14 |
Bridge settings /wp-admin/admin.php?page=mushraider-bridge/mushraider-bridge.php | 2.05 | 6.88 |
Roles mapping /wp-admin/admin.php?page=mushraider-bridge/mushraider-bridge-roles.php | 2.05 | 4.37 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
mushraider_css |
can_compress_scripts |
db_upgraded |
widget_mushraider_bridge_events_widget |
widget_theysaidso_widget |
widget_recent-posts |
mushraider_api_key |
mushraider_api_url |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
MushRaider Bridge: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.25 ▼1.34 | 1.94 ▲0.30 | 41.49 ▼5.83 |
Dashboard /wp-admin | 2,232 ▲47 | 5.86 ▼0.10 | 97.58 ▼3.40 | 67.87 ▲25.76 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.02 ▲0.00 | 39.34 ▼0.40 | 34.29 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,554 ▲21 | 18.06 ▼5.10 | 708.36 ▲40.52 | 57.54 ▼5.64 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.17 ▼0.02 | 115.63 ▲17.23 | 51.24 ▲3.62 |
Bridge settings /wp-admin/admin.php?page=mushraider-bridge/mushraider-bridge.php | 882 | 2.02 | 23.53 | 28.48 |
Roles mapping /wp-admin/admin.php?page=mushraider-bridge/mushraider-bridge-roles.php | 1,022 | 2.01 | 23.82 | 22.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/mushraider-bridge/mushraider-bridge.php+38
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 11 options
- mushraider_css
- can_compress_scripts
- mushraider_roles_mapping
- mushraider_api_key
- mushraider_api_url
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_mushraider_bridge_events_widget
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mushraider-bridge/mushraider-bridge-roles.php
- > Deprecated in wp-content/plugins/mushraider-bridge/mushraider-bridge.php+38
Function create_function() is deprecated
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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mushraider-bridge/src/widget_events.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mushraider-bridge/src/widget_events.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
mushraider-bridge/mushraider-bridge.php Passed 13 tests
Analyzing the main PHP file in "MushRaider Bridge" version 1.0.6
68 characters long description:
MushRaider Bridge allows you to integrate MushRaider into wordpress.
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
Good job! No executable or dangerous file extensions detected525 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 58 | 66 | 413 |
PO File | 1 | 38 | 43 | 112 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 6.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icone.png | 1.53KB | 1.09KB | ▼ 28.71% |