Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.33MB] [CPU: ▲2.03ms] Passed 4 tests
Server-side resources used by BlossomThemes Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.80 ▲1.34 | 47.94 ▲7.19 |
Dashboard /wp-admin | 4.60 ▲1.30 | 57.56 ▲6.02 |
Posts /wp-admin/edit.php | 4.75 ▲1.39 | 56.21 ▲4.99 |
Add New Post /wp-admin/post-new.php | 7.32 ▲1.43 | 97.70 ▼10.08 |
Media Library /wp-admin/upload.php | 4.53 ▲1.30 | 46.70 ▲11.79 |
Portfolios Categories /wp-admin/edit-tags.php?taxonomy=blossom_portfolio_categories&post_type=blossom-portfolio | 4.55 | 45.58 |
Add New /wp-admin/post-new.php?post_type=blossom-portfolio | 7.31 | 88.53 |
All Portfolios /wp-admin/edit.php?post_type=blossom-portfolio | 4.61 | 49.86 |
Server storage [IO: ▲4.35MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 74 new files
Database: no new tables, 27 new options
New WordPress options |
---|
widget_blossomthemes_stat_counter_widget |
widget_bttk_description_widget |
db_upgraded |
widget_blossom_client_logo_widget |
widget_bttk_advertisement_widget |
widget_bttk_author_bio |
bttk_queue_flush_rewrite_rules |
widget_bttk_contact_social_links |
widget_bttk_facebook_page_widget |
widget_bttk_social_links |
... |
Browser metrics Passed 4 tests
A check of browser resources used by BlossomThemes Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,062 ▲1,327 | 17.36 ▲2.98 | 39.55 ▲37.59 | 45.06 ▼0.07 |
Dashboard /wp-admin | 3,291 ▲1,099 | 5.02 ▲0.07 | 107.90 ▼3.55 | 38.88 ▼1.31 |
Posts /wp-admin/edit.php | 5,147 ▲3,055 | 7.89 ▲5.88 | 161.12 ▲120.07 | 35.27 ▼1.78 |
Add New Post /wp-admin/post-new.php | 3,473 ▲1,929 | 26.02 ▲7.82 | 752.11 ▲125.46 | 34.84 ▼18.80 |
Media Library /wp-admin/upload.php | 2,473 ▲1,085 | 4.28 ▼0.13 | 79.23 ▼30.24 | 41.50 ▼3.21 |
Portfolios Categories /wp-admin/edit-tags.php?taxonomy=blossom_portfolio_categories&post_type=blossom-portfolio | 4,320 | 7.38 | 111.04 | 26.81 |
Add New /wp-admin/post-new.php?post_type=blossom-portfolio | 3,478 | 19.81 | 997.02 | 34.05 |
All Portfolios /wp-admin/edit.php?post_type=blossom-portfolio | 4,121 | 7.66 | 115.88 | 33.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 27 options in the database
- widget_bttk_custom_categories
- widget_bttk_posts_category_slider_widget
- widget_bttk_advertisement_widget
- widget_recent-posts
- widget_bttk_contact_social_links
- widget_recent-comments
- widget_blossom_client_logo_widget
- db_upgraded
- widget_blossomthemes_stat_counter_widget
- widget_bttk_image_text_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
Even though everything seems fine, this is not 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
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/blossomthemes-toolkit/public/partials/blossomthemes-toolkit-public-display.php
- > /wp-content/plugins/blossomthemes-toolkit/admin/partials/blossomthemes-toolkit-admin-display.php
- 23× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-testimonial.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-stat-counter.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-facebook-page.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-author-bio.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-image-text.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-contact.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-posts-category-slider.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-pinterest.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-socialmedia.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossomthemes-toolkit/includes/widgets/widget-client-logo.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: blossom, toolkit
blossomthemes-toolkit/blossomthemes-toolkit.php Passed 13 tests
This is the main PHP file of "BlossomThemes Toolkit" version 2.2.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
87 characters long description:
BlossomThemes Toolkit provides you necessary widgets for better and effective blogging.
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
Everything looks great! No dangerous files found in this plugin18,231 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 1,670 | 469 | 10,194 |
PHP | 36 | 776 | 1,465 | 6,400 |
CSS | 9 | 260 | 62 | 1,629 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 31.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 6.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 2 | 1.25% |
▷ Public methods | 155 | 96.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.12% |
Functions | 31 | |
▷ Named functions | 30 | 96.77% |
▷ Anonymous functions | 1 | 3.23% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/image/no-featured-img.png | 4.16KB | 1.39KB | ▼ 66.51% |
admin/css/chosen-sprite.png | 0.51KB | 0.88KB | 0.00% |
admin/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
public/css/image/no-featured-blank-img.png | 1.39KB | 0.10KB | ▼ 92.75% |