Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.68ms] Passed 4 tests
Server-side resources used by HelpBox Information
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.25 ▼2.78 |
Dashboard /wp-admin | 3.38 ▲0.07 | 53.60 ▼4.55 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 53.43 ▲3.72 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 91.01 ▼4.06 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.32 ▼3.31 |
All Questions /wp-admin/edit.php?post_type=helpbox_questions | 3.34 | 40.86 |
Add New /wp-admin/post-new.php?post_type=helpbox_questions | 3.39 | 52.94 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HelpBox Information
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲149 | 13.59 ▼0.62 | 9.62 ▲7.42 | 39.94 ▼6.85 |
Dashboard /wp-admin | 2,224 ▲50 | 5.54 ▼0.00 | 90.86 ▼11.41 | 34.93 ▼10.91 |
Posts /wp-admin/edit.php | 2,138 ▲35 | 2.06 ▲0.10 | 41.34 ▲5.78 | 36.65 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.01 ▲1.90 | 649.02 ▼64.73 | 50.34 ▼0.00 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.37 ▲0.19 | 96.94 ▼11.87 | 46.64 ▲1.32 |
All Questions /wp-admin/edit.php?post_type=helpbox_questions | 1,099 | 1.97 | 34.76 | 28.08 |
HB Settings /wp-admin/helpbox.php | 26 | 0.42 | 0.08 | 13.54 |
Add New /wp-admin/post-new.php?post_type=helpbox_questions | 2,170 | 7.56 | 175.32 | 61.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/helpbox-information/helpbox.php:45
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/helpbox.php
- > Network (severe)
wp-admin/helpbox.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: info box, help box, information box, help
helpbox-information/helpbox.php 85% from 13 tests
The main PHP file in "HelpBox Information" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("helpbox-information.php" instead of "helpbox.php")
- Description: The description should be shorter than 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin363 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 38 | 305 |
CSS | 2 | 0 | 0 | 47 |
JavaScript | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 9 | |
▷ Named functions | 9 | 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
There are no PNG files in this plugin