Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
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.75MB] [CPU: ▼49.90ms] Passed 4 tests
A check of server-side resources used by Sukellos Image Formats
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.24 ▼1.22 | 6.47 ▼31.91 |
Dashboard /wp-admin | 2.26 ▼1.08 | 7.92 ▼54.78 |
Posts /wp-admin/edit.php | 2.26 ▼1.09 | 7.09 ▼36.67 |
Add New Post /wp-admin/post-new.php | 2.26 ▼3.62 | 8.05 ▼76.24 |
Media Library /wp-admin/upload.php | 2.26 ▼0.96 | 9.18 ▼23.63 |
Tools /wp-admin/admin.php?page=wp_sukellos_fw_tools | 2.26 | 6.44 |
Sukellos Fw /wp-admin/admin.php?page=wp_sukellos_fw_dashboard | 2.26 | 7.75 |
Server storage [IO: ▲3.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 322 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Sukellos Image Formats
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲232 | 14.76 ▲0.46 | 1.66 ▼0.10 | 37.69 ▼6.47 |
Dashboard /wp-admin | 2,385 ▲200 | 6.47 ▲1.61 | 137.53 ▲20.81 | 43.93 ▼2.04 |
Posts /wp-admin/edit.php | 2,288 ▲202 | 3.42 ▲1.38 | 53.98 ▲18.76 | 32.71 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,549 ▲11 | 23.25 ▲0.07 | 566.05 ▼122.65 | 34.22 ▼21.09 |
Media Library /wp-admin/upload.php | 1,427 ▲42 | 4.15 ▼0.07 | 82.95 ▼32.23 | 42.44 ▼3.92 |
Tools /wp-admin/admin.php?page=wp_sukellos_fw_tools | 1,088 | 3.28 | 39.42 | 31.02 |
Sukellos Fw /wp-admin/admin.php?page=wp_sukellos_fw_dashboard | 1,282 | 3.16 | 43.24 | 43.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > 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
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- wp_sukellos_fw_edd_licenses
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 96× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Processor\\MemoryProcessor' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\HandlerInterface' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php:34
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractSyslogHandler' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/SyslogHandler.php:29
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/NullHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/PsrHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/CubeHandler.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Processor/GitProcessor.php:26
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/ProcessHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/RollbarHandler.php:34
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sukellos-image-formats/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: user meta, post meta, option, admin, admin builder...
sukellos-image-formats/sukellos-image-formats.php 77% from 13 tests
The main file in "Sukellos Image Formats" v. 1.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "7.2")
- 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 folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin16,733 lines of code in 301 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 4,486 | 9,920 | 12,720 |
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
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
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,127 | |
▷ Static methods | 104 | 9.23% |
▷ Public methods | 812 | 72.05% |
▷ Protected methods | 232 | 20.59% |
▷ Private methods | 83 | 7.36% |
Functions | 23 | |
▷ Named functions | 1 | 4.35% |
▷ Anonymous functions | 22 | 95.65% |
Constants | 137 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 137 | 100.00% |
▷ Public constants | 115 | 83.94% |
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
1 compressed PNG file occupies 0.10MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 106.49KB | 106.45KB | 0.04% |