Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▼0.64MB] [CPU: ▼22.41ms] Passed 4 tests
Analyzing server-side resources used by WP Controller
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.00 ▼3.66 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.08 ▼16.71 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 46.75 ▼6.53 |
Add New Post /wp-admin/post-new.php | 3.30 ▼2.58 | 36.32 ▼62.73 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.72 ▲0.48 |
Server storage [IO: ▲2.43MB] [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: 177 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wp_management_controller_version |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
wpmc_api_setting |
Browser metrics Passed 4 tests
WP Controller: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲26 | 14.18 ▼0.22 | 2.34 ▲0.34 | 42.92 ▼1.04 |
Dashboard /wp-admin | 2,211 ▲40 | 5.56 ▼0.10 | 85.25 ▼11.13 | 35.64 ▼7.16 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.02 ▲0.02 | 40.94 ▲5.52 | 35.24 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.40 ▼0.31 | 659.73 ▼1.67 | 63.45 ▲14.95 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.23 ▲0.07 | 100.80 ▼4.04 | 43.38 ▼4.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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
Good news, no errors were detected
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
Please fix the following items
- 77× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
constant(): Couldn't find constant ParagonIE_Sodium_Compat::VERSION_STRING in wp-content/plugins/wp-management-controller/vendor/paragonie/sodium_compat/lib/php72compat.php on line 72
- > PHP Warning
constant(): Couldn't find constant ParagonIE_Sodium_Compat::LIBRARY_VERSION_MAJOR in wp-content/plugins/wp-management-controller/vendor/paragonie/sodium_compat/lib/php72compat.php on line 72
- > PHP Fatal error
Uncaught UnexpectedValueException: creating archive "wp-content/plugins/wp-management-controller/vendor/paragonie/random_compat/dist/random_compat.phar" disabled by the php.ini setting phar.readonly in /var/www/wordpress/wp-content/plugins/wp-management-controller/vendor/paragonie/random_compat/other/build_phar.php:12
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core_Curve25519_H' not found in wp-content/plugins/wp-management-controller/vendor/paragonie/sodium_compat/src/Core/Curve25519.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/wp-management-controller/views/piwik_settings.php:8
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core_Util' not found in wp-content/plugins/wp-management-controller/vendor/paragonie/sodium_compat/src/Core/ChaCha20.php:10
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core_Util' not found in wp-content/plugins/wp-management-controller/vendor/paragonie/sodium_compat/namespaced/Core/Util.php:4
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core32_Curve25519' not found in wp-content/plugins/wp-management-controller/vendor/paragonie/sodium_compat/src/Core32/X25519.php:10
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core32_ChaCha20' not found in wp-content/plugins/wp-management-controller/vendor/paragonie/sodium_compat/src/Core32/HChaCha20.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/wp-management-controller/inc/class-wpmc-rest-controller.php:8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (2.), #3 (4.), #5 ()
wp-management-controller/wp-management-controller.php 92% from 13 tests
The main PHP script in "WP Controller" version 3.2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected40,326 lines of code in 158 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 143 | 5,922 | 21,690 | 39,677 |
JSON | 5 | 0 | 0 | 267 |
Markdown | 2 | 71 | 0 | 242 |
XML | 2 | 0 | 0 | 47 |
JavaScript | 2 | 3 | 0 | 34 |
make | 1 | 9 | 4 | 26 |
YAML | 1 | 2 | 0 | 25 |
Bourne Shell | 2 | 4 | 1 | 8 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 142)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 39.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 604.00 |
Average method complexity | 4.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 142.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 21 | 17.36% |
▷ Concrete classes | 100 | 82.64% |
▷ Final classes | 0 | 0.00% |
Methods | 1,233 | |
▷ Static methods | 428 | 34.71% |
▷ Public methods | 1,165 | 94.48% |
▷ Protected methods | 59 | 4.79% |
▷ Private methods | 9 | 0.73% |
Functions | 151 | |
▷ Named functions | 148 | 98.01% |
▷ Anonymous functions | 3 | 1.99% |
Constants | 431 | |
▷ Global constants | 237 | 54.99% |
▷ Class constants | 194 | 45.01% |
▷ Public constants | 194 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin