Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > 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.01MB] [CPU: ▼8.84ms] Passed 4 tests
A check of server-side resources used by DreamBox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.91 ▼5.48 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.97 ▼9.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.24 ▲2.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.16 ▼20.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.93 ▲0.15 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
dreambox |
Browser metrics Passed 4 tests
DreamBox: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.27 ▲0.12 | 1.79 ▲0.05 | 36.13 ▼1.07 |
Dashboard /wp-admin | 2,192 ▲15 | 5.61 ▲0.02 | 85.28 ▼1.95 | 36.51 ▼3.07 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.08 | 36.17 ▲0.15 | 34.80 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.16 ▲5.03 | 596.17 ▼36.94 | 50.87 ▼27.81 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.19 ▲0.03 | 98.49 ▼7.01 | 41.61 ▼0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dreambox/dreambox.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dreambox/1.1/dreambox.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
- Screenshots: Please add an image for screenshot #1 (2.)
dreambox/dreambox.php Passed 13 tests
Analyzing the main PHP file in "DreamBox" version 2.0
92 characters long description:
Make nice notes, alerts,downloads, important and many more icon with Dream Box in your post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected95 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 18 | 12 | 49 |
PHP | 2 | 12 | 16 | 46 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/download.png | 2.46KB | 1.63KB | ▼ 33.81% |
images/help.png | 2.53KB | 1.72KB | ▼ 31.88% |
1.1/images/help.png | 2.53KB | 1.72KB | ▼ 31.88% |
1.1/images/download.png | 2.46KB | 1.63KB | ▼ 33.81% |