Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.08ms] Passed 4 tests
Server-side resources used by MU Plugins Tool
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.71 ▲1.73 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.61 ▼4.84 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.66 ▼1.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.53 ▼9.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.97 ▼1.38 |
MU Plugins Tool /wp-admin/plugins.php?page=mu-plugins-tool | 3.24 | 29.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- There were 1 file (0.23KB) illegally modified outside of "wp-content/plugins/mu-plugins-tool/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/admin_footer_quote.php.OFF
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by MU Plugins Tool
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.10 | 1.80 ▲0.19 | 43.40 ▲3.85 |
Dashboard /wp-admin | 2,210 ▲21 | 4.84 ▼0.29 | 108.89 ▲1.69 | 41.33 ▼1.35 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.00 ▼0.07 | 40.91 ▲6.47 | 32.72 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.31 ▲5.72 | 639.30 ▼11.37 | 64.47 ▲20.95 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.17 ▼0.03 | 94.45 ▼5.59 | 44.21 ▲1.68 |
MU Plugins Tool /wp-admin/plugins.php?page=mu-plugins-tool | 820 | 1.68 | 24.10 | 33.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Please fix the following items
- 7× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant MPT_MENU_SLUG - assumed 'MPT_MENU_SLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/mu-plugins-tool/page.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/mu-plugins-tool/defines.php:24
- > PHP Warning
Use of undefined constant MPT_TITLE - assumed 'MPT_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/mu-plugins-tool/page.php on line 2
- > PHP Warning
Use of undefined constant MPT_PARENT_SLUG - assumed 'MPT_PARENT_SLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/mu-plugins-tool/page.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/mu-plugins-tool/page.php:10
- > PHP Warning
Use of undefined constant MPT_MENU_PARENT - assumed 'MPT_MENU_PARENT' (this will throw an Error in a future version of PHP) in wp-content/plugins/mu-plugins-tool/functions.php on line 142
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/mu-plugins-tool/defines.php:24
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: deactivate, mu, wordpress, activate, must-use...
mu-plugins-tool/mu-plugins-tool.php Passed 13 tests
The primary PHP file in "MU Plugins Tool" version 0.2.0 is used by WordPress to initiate all plugin functionality
108 characters long description:
Activate or deactivate any MU (must-use) plugins that are installed - on an individual basis or all at once.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected328 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 102 | 99 | 235 |
CSS | 1 | 16 | 0 | 76 |
JavaScript | 1 | 8 | 8 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.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
No PNG images were found in this plugin