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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.77ms] Passed 4 tests
Analyzing server-side resources used by MyCustomStyleCssManager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.07 ▼0.77 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.06 ▼5.82 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.97 ▼0.62 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.66 ▼7.86 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.14 ▼0.41 |
Add New /wp-admin/post-new.php?post_type=mch_mcscm_pt | 3.34 | 44.17 |
style.css Manage /wp-admin/options-general.php?page=my-custom-style-css-manager/mch-my-custom-style-css-manager.php | 3.28 | 32.83 |
style.css Manage /wp-admin/edit.php?post_type=mch_mcscm_pt | 3.32 | 36.30 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 144 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by MyCustomStyleCssManager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.23 ▼1.15 | 1.67 ▼0.09 | 43.63 ▼0.84 |
Dashboard /wp-admin | 2,237 ▲49 | 5.77 ▼0.09 | 95.63 ▼21.12 | 39.30 ▼12.10 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▼0.02 | 38.90 ▲1.50 | 34.43 ▲1.31 |
Add New Post /wp-admin/post-new.php | 1,560 ▲26 | 23.12 ▼0.04 | 661.54 ▼17.13 | 53.45 ▼20.10 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.14 ▼0.16 | 95.05 ▼3.82 | 44.58 ▼0.43 |
Add New /wp-admin/post-new.php?post_type=mch_mcscm_pt | 1,763 | 3.25 | 62.09 | 46.52 |
style.css Manage /wp-admin/options-general.php?page=my-custom-style-css-manager/mch-my-custom-style-css-manager.php | 830 | 2.06 | 25.18 | 25.88 |
style.css Manage /wp-admin/edit.php?post_type=mch_mcscm_pt | 1,125 | 1.94 | 29.72 | 29.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/my-custom-style-css-manager/ui/input_form_main_memo.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/my-custom-style-css-manager/ui/input-form-main.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/my-custom-style-css-manager/ui/input_form_side_option.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/my-custom-style-css-manager/ui/setting-form.php:4
- > PHP Fatal error
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 96% from 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
3 plugin tags: custom, stylecss, css
my-custom-style-css-manager/mch-my-custom-style-css-manager.php 92% from 13 tests
The primary PHP file in "MyCustomStyleCssManager" version 0.0.9 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("my-custom-style-css-manager.php" instead of "mch-my-custom-style-css-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected19,598 lines of code in 142 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 66 | 1,981 | 1,409 | 16,123 |
CSS | 66 | 428 | 279 | 2,384 |
PHP | 6 | 232 | 230 | 688 |
HTML | 4 | 84 | 0 | 403 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 30 | 81.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 18.92% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 18 | |
▷ Global constants | 1 | 5.56% |
▷ Class constants | 17 | 94.44% |
▷ Public constants | 17 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin