Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.28ms] Passed 4 tests
An overview of server-side resources used by Multisite Enhancements
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.45 ▼3.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.19 ▼0.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.77 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.07 ▼14.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.10 ▲0.17 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Multisite Enhancements: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 14.47 ▲0.10 | 1.63 ▼0.24 | 42.62 ▼2.09 |
Dashboard /wp-admin | 2,203 ▲15 | 4.85 ▼0.05 | 107.41 ▲2.63 | 40.94 ▼5.70 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.03 | 39.82 ▼2.39 | 37.02 ▲2.27 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.14 ▲4.86 | 581.33 ▼20.24 | 63.78 ▲8.35 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.14 ▼0.05 | 98.11 ▼11.19 | 42.43 ▼1.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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
The following issues need your attention
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-add-plugin-list.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-add-theme-list.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-add-site-status-labels.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-add-blog-id.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-change-footer-text.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-core.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-multisite-add-new-plugin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function Bueltge\\Admin_Bar_Tweaks\\add_action() in wp-content/plugins/multisite-enhancements/src/class-admin-bar-tweaks.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-enhancements/src/class-add-admin-favicon.php:25
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: multisite, administration, network, admin bar
multisite-enhancements/multisite-enhancements.php 92% from 13 tests
"Multisite Enhancements" version 1.6.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected1,202 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 298 | 1,086 | 1,167 |
JavaScript | 2 | 2 | 3 | 19 |
CSS | 2 | 4 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis 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.32 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 16 | 19.75% |
▷ Public methods | 79 | 97.53% |
▷ Protected methods | 1 | 1.23% |
▷ Private methods | 1 | 1.23% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.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