Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.74MB] [CPU: ▼54.18ms] Passed 4 tests
Analyzing server-side resources used by Sukellos Dashboard Bar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.24 ▼1.22 | 5.88 ▼36.92 |
Dashboard /wp-admin | 2.26 ▼1.04 | 9.47 ▼44.12 |
Posts /wp-admin/edit.php | 2.27 ▼1.09 | 7.38 ▼43.52 |
Add New Post /wp-admin/post-new.php | 2.26 ▼3.62 | 7.49 ▼92.14 |
Media Library /wp-admin/upload.php | 2.26 ▼0.96 | 7.05 ▼30.47 |
Tools /wp-admin/admin.php?page=wp_sukellos_fw_tools | 2.26 | 7.89 |
Sukellos Fw /wp-admin/admin.php?page=wp_sukellos_fw_dashboard | 2.26 | 7.12 |
Server storage [IO: ▲3.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 320 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Sukellos Dashboard Bar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.42 ▲0.02 | 1.22 ▼0.88 | 40.55 ▲0.21 |
Dashboard /wp-admin | 2,371 ▲193 | 6.30 ▲0.63 | 125.78 ▲18.85 | 41.70 ▼3.18 |
Posts /wp-admin/edit.php | 2,302 ▲202 | 3.40 ▲1.37 | 51.27 ▲8.97 | 31.28 ▼6.80 |
Add New Post /wp-admin/post-new.php | 1,714 ▲185 | 22.50 ▼0.62 | 600.26 ▼22.99 | 37.60 ▼12.90 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.22 ▲0.04 | 93.36 ▼8.17 | 47.34 ▲3.85 |
Tools /wp-admin/admin.php?page=wp_sukellos_fw_tools | 1,071 | 3.13 | 45.76 | 35.45 |
Sukellos Fw /wp-admin/admin.php?page=wp_sukellos_fw_dashboard | 1,294 | 3.24 | 45.32 | 43.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- wp_sukellos_fw_edd_licenses
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_sukellos_fw_dashboard
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_sukellos_fw_dashboard
- > Warning in wp-content/plugins/sukellos-dashboard-bar/includes/managers/class-dashboard-bar-manager.php+65
Invalid argument supplied for foreach()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_sukellos_fw_tools
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
- 96× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\FingersCrossed\\ActivationStrategyInterface' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php:41
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php:41
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/NullHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php:31
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/GroupHandler.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\HandlerInterface' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/Handler.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php:25
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/BufferHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Processor\\MemoryProcessor' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-dashboard-bar/vendor/monolog/monolog/src/Monolog/Handler/ElasticaHandler.php:37
- > 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 90% 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
8 plugin tags: option, custom admin panel, admin, post meta, user meta...
sukellos-dashboard-bar/sukellos-dashboard-bar.php 77% from 13 tests
"Sukellos Dashboard Bar" version 1.1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.2")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin16,749 lines of code in 301 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 4,499 | 9,929 | 12,736 |
JavaScript | 86 | 299 | 507 | 2,426 |
CSS | 13 | 44 | 103 | 716 |
Markdown | 4 | 192 | 0 | 604 |
JSON | 4 | 0 | 0 | 267 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 13 | |
Traits | 10 | |
Classes | 163 | |
▷ Abstract classes | 27 | 16.56% |
▷ Concrete classes | 136 | 83.44% |
▷ Final classes | 3 | 2.21% |
Methods | 1,128 | |
▷ Static methods | 104 | 9.22% |
▷ Public methods | 813 | 72.07% |
▷ Protected methods | 232 | 20.57% |
▷ Private methods | 83 | 7.36% |
Functions | 23 | |
▷ Named functions | 1 | 4.35% |
▷ Anonymous functions | 22 | 95.65% |
Constants | 136 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 136 | 100.00% |
▷ Public constants | 114 | 83.82% |
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