Benchmarks
Plugin footprint 65% 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.93MB] [CPU: ▼35.65ms] Passed 4 tests
This is a short check of server-side resources used by HelloBox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.24 ▼1.65 |
Dashboard /wp-admin | 3.02 ▼0.28 | 24.63 ▼23.47 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 23.75 ▼24.38 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 22.46 ▼80.50 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 21.77 ▼14.26 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by HelloBox
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.31 ▼1.07 | 1.77 ▲0.09 | 38.51 ▼1.22 |
Dashboard /wp-admin | 2,228 ▲42 | 5.85 ▼0.07 | 98.64 ▼7.94 | 83.87 ▲42.12 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 1.99 ▼0.02 | 38.68 ▲1.43 | 34.18 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.48 ▼4.70 | 647.26 ▼27.80 | 63.58 ▲1.19 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.20 ▲0.00 | 117.77 ▲15.96 | 43.61 ▼0.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > 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.
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/hellobox/views/options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hellobox/hellobar.php:163
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (The HelloBox for WordPress interface. A dead simple place to put your HelloBox code.) image required
- Tags: You are using too many tags: 12 tag instead of maximum 10
hellobox/hellobar.php 92% from 13 tests
The main PHP file in "HelloBox" ver. 0.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("hellobox.php" instead of "hellobar.php")
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
Success! There were no dangerous files found in this plugin133 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 21 | 133 |
CSS | 1 | 0 | 3 | 0 |
JavaScript | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 33.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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/icon.png | 3.32KB | 0.73KB | ▼ 78.00% |