Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼9.20ms] Passed 4 tests
This is a short check of server-side resources used by miniBB Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.82 ▼5.65 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.83 ▼9.37 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 53.41 ▼1.83 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 84.69 ▼19.93 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.00 ▲0.03 |
miniBB Widget /wp-admin/tools.php?page=minibb_widget | 3.32 | 36.16 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
kuo_minibb_widget_url_scheme |
widget_recent-posts |
widget_recent-comments |
widget_minibb_widget |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for miniBB Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.75 ▲0.56 | 1.83 ▼0.43 | 39.50 ▼5.56 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▲0.00 | 97.27 ▲4.60 | 41.58 ▲0.29 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.07 | 41.14 ▲4.15 | 36.47 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 22.99 ▲5.33 | 641.77 ▼52.21 | 49.77 ▼7.19 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.20 ▼0.10 | 99.38 ▲1.93 | 43.02 ▼1.57 |
miniBB Widget /wp-admin/tools.php?page=minibb_widget | 955 | 2.18 | 29.68 | 31.10 |
Uninstaller [IO: ▲0.04MB] [DB: ▲0.00MB] 25% 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
- > Error in wp-includes/option.php+2485
Uncaught ArgumentCountError: Too few arguments to function unregister_setting(), 1 passed in wp-content/plugins/minibb-widget/minibb_widget.php on line 116 and at least 2 expected in wp-includes/option.php:2485
Stack trace:
#0 wp-content/plugins/minibb-widget/minibb_widget.php(116): unregister_setting()
#1 wp-includes/class-wp-hook.php(310): kuo_minibb_widget_uninstall()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(1269): do_action()
#5 wp-admin/includes/plugin.php(960): uninstall_plugin() - This plugin has failed uninstalling correctly, leaving 3 files (0.04MB) in the plugin directory
- (new file) README.txt
- (new file) index.php
- (new file) minibb_widget.php
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_minibb_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/tools.php?page=minibb_widget
- > Warning in wp-content/plugins/minibb-widget/minibb_widget.php+233
mysqli_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: YES)
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== minibb-widget ===
)
minibb-widget/minibb_widget.php 92% from 13 tests
The main PHP file in "miniBB Widget" ver. 0.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("minibb-widget.php" instead of "minibb_widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin560 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 108 | 181 | 560 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 56.00 |
▷ Minimum class complexity | 56.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 9.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin