Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.60ms] Passed 4 tests
This is a short check of server-side resources used by Monkee-Boy Essentials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.81 ▲0.96 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.07 ▼3.73 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.32 ▼2.90 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.54 ▼19.18 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.20 ▼0.60 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Monkee-Boy Essentials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,782 ▲25 | 13.64 ▼0.74 | 1.72 ▼0.26 | 41.49 ▼3.86 |
Dashboard /wp-admin | 2,201 ▲16 | 5.86 ▲1.00 | 100.01 ▼6.35 | 35.99 ▼9.53 |
Posts /wp-admin/edit.php | 2,078 ▼14 | 1.96 ▼0.06 | 36.97 ▼5.35 | 28.53 ▼9.41 |
Add New Post /wp-admin/post-new.php | 1,529 ▼13 | 23.70 ▲5.28 | 670.51 ▲2.43 | 59.85 ▲4.93 |
Media Library /wp-admin/upload.php | 1,380 ▼8 | 4.24 ▲0.01 | 98.56 ▼2.36 | 37.51 ▼7.91 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function MonkeeBoy\\Essentials\\add_action() in wp-content/plugins/monkee-boy-wp-essentials/include/theme.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function MonkeeBoy\\Essentials\\add_action() in wp-content/plugins/monkee-boy-wp-essentials/include/admin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function MonkeeBoy\\Essentials\\add_action() in wp-content/plugins/monkee-boy-wp-essentials/include/search.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
1 plugin tags: essentials
monkee-boy-wp-essentials/mbwp-essentials.php 92% from 13 tests
"Monkee-Boy Essentials" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("monkee-boy-wp-essentials.php" instead of "mbwp-essentials.php")
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 detected146 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 44 | 96 | 120 |
Markdown | 1 | 11 | 0 | 26 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
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 | 1 | |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected