Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.56MB] [CPU: ▲7.91ms] Passed 4 tests
This is a short check of server-side resources used by Style Manager - Auto-magical system to style your entire WordPress site
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.78 ▲3.32 | 44.22 ▲7.42 |
Dashboard /wp-admin | 7.20 ▲3.90 | 73.07 ▲32.26 |
Posts /wp-admin/edit.php | 7.20 ▲3.84 | 60.20 ▲17.39 |
Add New Post /wp-admin/post-new.php | 9.05 ▲3.17 | 89.59 ▼2.57 |
Media Library /wp-admin/upload.php | 7.20 ▲3.97 | 43.08 ▲9.38 |
Style Manager /wp-admin/options-general.php?page=style-manager | 7.20 | 43.12 |
Server storage [IO: ▲13.01MB] [DB: ▲0.15MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 857 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
style_manager_design_assets_timestamp |
pixelgrade_style_manager_customizer_opt_name_timestamp |
widget_recent-comments |
pixelgrade_style_manager_options_details_timestamp |
pixelgrade_style_manager_customizer_config_timestamp |
widget_recent-posts |
pixelgrade_style_manager_options_minimal_details |
style_manager_design_assets |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Style Manager - Auto-magical system to style your entire WordPress site
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,220 ▲485 | 18.79 ▲4.53 | 5.91 ▲4.22 | 35.28 ▼4.15 |
Dashboard /wp-admin | 2,497 ▲305 | 9.22 ▲4.26 | 186.10 ▲67.19 | 41.45 ▼4.68 |
Posts /wp-admin/edit.php | 2,409 ▲320 | 6.13 ▲4.16 | 85.31 ▲50.77 | 33.21 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,609 ▲89 | 20.00 ▼3.23 | 740.50 ▲65.48 | 39.28 ▼22.67 |
Media Library /wp-admin/upload.php | 1,536 ▲148 | 6.58 ▲2.35 | 107.13 ▲9.20 | 45.34 ▲0.44 |
Style Manager /wp-admin/options-general.php?page=style-manager | 1,394 | 6.78 | 101.79 | 49.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.15MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 15 options in the database
- widget_recent-comments
- pixelgrade_style_manager_settings
- style_manager_design_assets_timestamp
- pixelgrade_style_manager_options_details_timestamp
- db_upgraded
- style_manager_design_assets
- pixelgrade_style_manager_options_minimal_details
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/style-manager/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 191× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Pixelgrade\\StyleManager\\Vendor\\Cedaro\\WP\\Plugin\\AbstractHookProvider' not found in wp-content/plugins/style-manager/src/Customize/ThemeConfigs.php:24
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Event\\PersistentListener' not found in wp-content/plugins/style-manager/vendor/htmlburger/carbon-fields/core/Event/SingleEventListener.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/style-manager/vendor/htmlburger/carbon-fields/templates/Container/post_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/style-manager/vendor/htmlburger/carbon-fields/core/Service/Legacy_Storage_Service_v_1_5.php:15
- > PHP Fatal error
Uncaught Error: Class 'Pixelgrade\\StyleManager\\Vendor\\Cedaro\\WP\\Plugin\\AbstractHookProvider' not found in wp-content/plugins/style-manager/src/Integration/TheEventsCalendar.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Pixelgrade\\StyleManager\\Vendor\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/style-manager/vendor_prefixed/psr/container/src/NotFoundExceptionInterface.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Datastore' not found in wp-content/plugins/style-manager/src/Provider/PluginSettingsCFDatastore.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/style-manager/vendor/htmlburger/carbon-fields/core/Container/Broken_Container.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Pixelgrade\\StyleManager\\Vendor\\Psr\\Log\\LoggerInterface' not found in wp-content/plugins/style-manager/vendor_prefixed/psr/log/Psr/Log/AbstractLogger.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/style-manager/vendor/htmlburger/carbon-fields/templates/Container/comment_meta.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: colors, customizer, global styles, gutenberg, fonts...
style-manager/style-manager.php Passed 13 tests
The main file in "Style Manager - Auto-magical system to style your entire WordPress site" v. 2.2.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
Auto-magical system to style your entire WordPress site.
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
No dangerous file extensions were detected65,009 lines of code in 788 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 411 | 9,015 | 9,765 | 28,507 |
PHP | 270 | 5,258 | 13,999 | 23,921 |
JSON | 11 | 6 | 0 | 5,868 |
CSS | 14 | 381 | 1,139 | 2,343 |
PO File | 26 | 819 | 1,020 | 2,202 |
Sass | 48 | 339 | 0 | 1,769 |
Markdown | 4 | 121 | 0 | 395 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 12.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 243.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 46 | |
Interfaces | 18 | |
Traits | 5 | |
Classes | 213 | |
▷ Abstract classes | 14 | 6.57% |
▷ Concrete classes | 199 | 93.43% |
▷ Final classes | 7 | 3.52% |
Methods | 1,511 | |
▷ Static methods | 205 | 13.57% |
▷ Public methods | 1,155 | 76.44% |
▷ Protected methods | 339 | 22.44% |
▷ Private methods | 17 | 1.13% |
Functions | 283 | |
▷ Named functions | 154 | 54.42% |
▷ Anonymous functions | 129 | 45.58% |
Constants | 86 | |
▷ Global constants | 22 | 25.58% |
▷ Class constants | 64 | 74.42% |
▷ Public constants | 63 | 98.44% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/default_radio_image.png | 2.62KB | 1.89KB | ▼ 27.94% |