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: ▲0.58MB] [CPU: ▼1.35ms] Passed 4 tests
A check of server-side resources used by Toucan - Gutenberg Color Palette
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.36 | 35.60 ▼0.75 |
Dashboard /wp-admin | 3.96 ▲0.62 | 47.88 ▼11.81 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 48.97 ▲3.82 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 92.48 ▲3.34 |
Media Library /wp-admin/upload.php | 3.89 ▲0.66 | 38.43 ▲7.09 |
Toucan Colors /wp-admin/options-general.php?page=toucan_color_palette | 4.14 | 37.16 |
Server storage [IO: ▲3.35MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 411 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Toucan - Gutenberg Color Palette
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.35 ▼0.08 | 1.67 ▲0.02 | 38.91 ▼2.89 |
Dashboard /wp-admin | 2,204 ▲27 | 5.59 ▼0.06 | 82.73 ▼5.12 | 38.92 ▲0.76 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.08 ▲0.14 | 41.59 ▲6.76 | 36.36 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 18.62 ▼4.63 | 616.48 ▼53.68 | 65.24 ▼2.62 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.26 ▲0.03 | 96.78 ▼1.31 | 40.08 ▼1.18 |
Toucan Colors /wp-admin/options-general.php?page=toucan_color_palette | 1,080 | 2.61 | 44.71 | 32.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/apigen/hook-docs.php
- 42× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/toucan-color-palette/vendor/cmb2/cmb2/init.php:126
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: color picker, color palette, theme support, gutenberg
toucan-color-palette/toucan.php 92% from 13 tests
"Toucan - Gutenberg Color Palette" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("toucan-color-palette.php" instead of "toucan.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected53,057 lines of code in 235 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 65 | 2,208 | 6,277 | 7,548 |
CSS | 14 | 1,271 | 1,164 | 5,098 |
JSON | 3 | 0 | 0 | 3,562 |
JavaScript | 12 | 469 | 647 | 2,431 |
Sass | 16 | 300 | 25 | 1,379 |
Markdown | 5 | 243 | 0 | 716 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 18.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 8 | 11.27% |
▷ Concrete classes | 63 | 88.73% |
▷ Final classes | 0 | 0.00% |
Methods | 551 | |
▷ Static methods | 95 | 17.24% |
▷ Public methods | 456 | 82.76% |
▷ Protected methods | 89 | 16.15% |
▷ Private methods | 6 | 1.09% |
Functions | 37 | |
▷ Named functions | 36 | 97.30% |
▷ Anonymous functions | 1 | 2.70% |
Constants | 10 | |
▷ Global constants | 3 | 30.00% |
▷ Class constants | 7 | 70.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
22 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/apigen/theme-bootstrap/src/resources/tree-last.png | 0.17KB | 0.11KB | ▼ 36.05% |
vendor/cmb2/cmb2/apigen/theme-bootstrap/src/resources/inherit.png | 0.15KB | 0.10KB | ▼ 29.61% |
vendor/cmb2/cmb2/apigen/theme-bootstrap/src/resources/tree-cleaner.png | 0.12KB | 0.08KB | ▼ 33.33% |
vendor/cmb2/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/cmb2/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |