Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.31MB] [CPU: ▲1.64ms] Passed 4 tests
An overview of server-side resources used by KitIcon WordPress Gutenberg Icon Block.
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.88 ▲1.41 | 52.16 ▲3.40 |
Dashboard /wp-admin | 5.10 ▲1.79 | 69.14 ▲24.34 |
Posts /wp-admin/edit.php | 5.13 ▲1.77 | 64.28 ▲12.74 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 62.45 ▼28.17 |
Media Library /wp-admin/upload.php | 4.94 ▲1.71 | 51.90 ▲18.58 |
Server storage [IO: ▲8.80MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 994 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by KitIcon WordPress Gutenberg Icon Block.
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,061 ▲315 | 18.54 ▲4.15 | 1.68 ▼0.25 | 39.60 ▼2.99 |
Dashboard /wp-admin | 2,476 ▲294 | 9.34 ▲3.53 | 184.49 ▲76.53 | 41.67 ▼0.50 |
Posts /wp-admin/edit.php | 2,392 ▲303 | 6.21 ▲4.15 | 78.39 ▲39.03 | 32.89 ▼2.90 |
Add New Post /wp-admin/post-new.php | 6,466 ▲4,929 | 23.80 ▲0.77 | 1,035.93 ▲434.75 | 48.46 ▼1.16 |
Media Library /wp-admin/upload.php | 1,547 ▲156 | 6.72 ▲2.52 | 108.95 ▲12.78 | 42.95 ▼0.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 212× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/htmlburger/carbon-fields/core/Widget/Widget.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Post_Meta_Datastore' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/htmlburger/carbon-fields/core/Datastore/Nav_Menu_Item_Datastore.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installer\\LibraryInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/Installer.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/kiticon-icon-block/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in kiticon-icon-block/assets to your readme.txt
kiticon-icon-block/kiticon.php 85% from 13 tests
"KitIcon WordPress Gutenberg Icon Block." version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kiticon-icon-block.php" instead of "kiticon.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected30,720 lines of code in 947 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 172 | 5,189 | 8,450 | 12,925 |
PHP | 246 | 2,794 | 6,942 | 10,561 |
Sass | 48 | 334 | 0 | 1,746 |
CSS | 9 | 325 | 1,142 | 1,665 |
PO File | 20 | 610 | 779 | 1,652 |
SVG | 443 | 0 | 0 | 1,475 |
JSON | 5 | 0 | 0 | 625 |
Markdown | 4 | 26 | 0 | 71 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 220 | |
▷ Abstract classes | 12 | 5.45% |
▷ Concrete classes | 208 | 94.55% |
▷ Final classes | 1 | 0.48% |
Methods | 985 | |
▷ Static methods | 91 | 9.24% |
▷ Public methods | 777 | 78.88% |
▷ Protected methods | 199 | 20.20% |
▷ Private methods | 9 | 0.91% |
Functions | 111 | |
▷ Named functions | 25 | 22.52% |
▷ Anonymous functions | 86 | 77.48% |
Constants | 36 | |
▷ Global constants | 10 | 27.78% |
▷ Class constants | 26 | 72.22% |
▷ Public constants | 26 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 104.95KB | 37.26KB | ▼ 64.50% |