Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- 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.75MB] [CPU: ▼51.57ms] Passed 4 tests
A check of server-side resources used by Sukellos Login Style
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.24 ▼1.22 | 6.23 ▼28.81 |
Dashboard /wp-admin | 2.26 ▼1.08 | 6.65 ▼53.45 |
Posts /wp-admin/edit.php | 2.27 ▼1.09 | 7.34 ▼37.64 |
Add New Post /wp-admin/post-new.php | 2.26 ▼3.62 | 7.81 ▼86.38 |
Media Library /wp-admin/upload.php | 2.26 ▼0.97 | 7.66 ▼27.84 |
Tools /wp-admin/admin.php?page=wp_sukellos_fw_tools | 2.26 | 6.84 |
Sukellos Fw /wp-admin/admin.php?page=wp_sukellos_fw_dashboard | 2.26 | 7.57 |
Server storage [IO: ▲3.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 320 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sukellos Login Style
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲227 | 14.38 ▼0.22 | 1.89 ▲0.39 | 41.58 ▲3.24 |
Dashboard /wp-admin | 2,374 ▲197 | 6.16 ▲0.51 | 115.77 ▲29.23 | 36.83 ▼4.34 |
Posts /wp-admin/edit.php | 2,305 ▲208 | 3.33 ▲1.36 | 54.58 ▲19.61 | 34.49 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 22.11 ▼1.04 | 660.04 ▲9.12 | 37.47 ▼17.49 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.14 ▼0.09 | 77.68 ▼22.56 | 44.00 ▼0.15 |
Tools /wp-admin/admin.php?page=wp_sukellos_fw_tools | 1,091 | 3.31 | 39.60 | 32.81 |
Sukellos Fw /wp-admin/admin.php?page=wp_sukellos_fw_dashboard | 1,300 | 3.24 | 38.38 | 39.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- 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.)
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- wp_sukellos_fw_edd_licenses
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 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.)
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
- 96× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\HandlerInterface' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php:34
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php:31
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/LogmaticHandler.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/CubeHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/SamplingHandler.php:33
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Formatter/ElasticsearchFormatter.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-login-style/vendor/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: admin, option, login style, post meta, custom admin panel...
sukellos-login-style/sukellos-login-style.php 77% from 13 tests
The main PHP script in "Sukellos Login Style" version 1.1.6 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "7.2")
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
Success! There were no dangerous files found in this plugin16,880 lines of code in 301 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 4,509 | 9,951 | 12,867 |
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
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.59 |
▷ 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,130 | |
▷ Static methods | 104 | 9.20% |
▷ Public methods | 815 | 72.12% |
▷ Protected methods | 232 | 20.53% |
▷ Private methods | 83 | 7.35% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected