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: ▲0.06MB] [CPU: ▼3.52ms] Passed 4 tests
Server-side resources used by HT Mega – Absolute Addons for WPBakery Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.50 ▼2.11 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.64 ▼7.19 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.28 ▼0.92 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.11 ▼3.84 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.01 ▲3.51 |
Server storage [IO: ▲2.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 128 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for HT Mega – Absolute Addons for WPBakery Page Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.28 ▼1.47 | 1.60 ▼0.26 | 41.48 ▼9.98 |
Dashboard /wp-admin | 2,218 ▲30 | 4.86 ▼0.08 | 106.59 ▼8.89 | 41.26 ▼2.48 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.01 ▼0.04 | 41.68 ▲1.85 | 37.52 ▲5.25 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 23.13 ▼0.15 | 604.95 ▼106.41 | 48.53 ▼9.46 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.13 ▼0.09 | 100.34 ▲0.82 | 40.48 ▼6.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 29× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/mailchimp-for-wp/htmegavc-mailchimp-for-wp.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/brands/htmegavc-brands.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/popover/htmegavc-popover.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/business-hours/htmegavc-business-hours.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/lightbox/htmegavc-lightbox.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/slider-thumb-gallery/htmegavc-slider-thumb-gallery.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/team/hemegavc-team.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/progress-bar/hemegavc-progress-bar.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/image-magnifier/htmegavc-image-magnifier.php
- > /wp-content/plugins/ht-mega-for-wpbakery/addons/pricing-table/htmegavc-pricing-table.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/ht-mega-for-wpbakery/init.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ht-mega-for-wpbakery/inc/helper-functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ht-mega-for-wpbakery/inc/activation-notice.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% 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: wpbakery, mega addons, wpbakery page builder, wpbakery addons
ht-mega-for-wpbakery/init.php 77% from 13 tests
The entry point to "HT Mega – Absolute Addons for WPBakery Page Builder" version 1.0.8 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ht-mega-for-wpbakery.php" instead of "init.php")
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 78 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected32,132 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 38 | 1,943 | 478 | 15,389 |
PHP | 36 | 1,925 | 1,092 | 14,047 |
JavaScript | 33 | 273 | 308 | 2,696 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 4.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 156 | 99.36% |
▷ Protected methods | 1 | 0.64% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
16 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
addons/testimonial/images/clint-shape.png | 1.06KB | 0.11KB | ▼ 90.04% |
addons/pricing-table/images/pricing-2-icon.png | 2.39KB | 1.55KB | ▼ 35.40% |
addons/business-hours/images/business-shape.png | 6.46KB | 3.32KB | ▼ 48.70% |
addons/business-hours/images/business-shape-line-3.png | 1.02KB | 0.15KB | ▼ 85.13% |
addons/business-hours/images/business-shape-line-2.png | 1.11KB | 0.24KB | ▼ 78.09% |