Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼263.75ms] Passed 4 tests
An overview of server-side resources used by Business Template Blocks for WPBakery (Visual Composer) Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.11 | 33.76 ▲13.26 |
Dashboard /wp-admin | 3.06 ▲0.00 | 44.09 ▼4.45 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 41.01 ▼4.79 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 91.14 ▼1,035.21 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 29.51 ▼10.54 |
Server storage [IO: ▲4.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 170 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Business Template Blocks for WPBakery (Visual Composer) Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲68 | 16.23 ▲0.79 | 7.78 ▲0.48 | 45.44 ▼4.12 |
Dashboard /wp-admin | 2,934 ▲84 | 6.12 ▲0.11 | 141.23 ▲8.16 | 105.16 ▼1.43 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.70 ▲0.01 | 64.74 ▼1.16 | 90.57 ▼10.20 |
Add New Post /wp-admin/post-new.php | 1,851 ▲198 | 17.75 ▼0.94 | 361.94 ▼7.83 | 101.77 ▼8.34 |
Media Library /wp-admin/upload.php | 1,769 ▼3 | 5.08 ▲0.05 | 155.31 ▼4.33 | 109.77 ▼9.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/templates-addon-vc.php
- 45× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/service-v3.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/latest-post-grid-v2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/contact-section-v1.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/parallax-section-v2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/call-to-action-v1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/team-member-v1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/service-v1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/pricing-table-v2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/admin/params/slider/slider-params.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/templates-and-addons-for-wpbakery-page-builder/modules/service-v2.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #3 in templates-and-addons-for-wpbakery-page-builder/assets to your readme.txt
- Tags: Please delete some tags, you are using 24 tag instead of maximum 10
templates-and-addons-for-wpbakery-page-builder/templates-addon-vc.php 85% from 13 tests
The main PHP file in "Business Template Blocks for WPBakery (Visual Composer) Page Builder" ver. 1.3.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("templates-and-addons-for-wpbakery-page-builder.php" instead of "templates-addon-vc.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 detected56,372 lines of code in 141 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 17,050 |
CSS | 17 | 1,835 | 519 | 15,068 |
PHP | 93 | 1,789 | 1,134 | 10,632 |
JavaScript | 13 | 1,998 | 1,821 | 7,980 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 6 | 341 | 0 | 2,089 |
PO File | 7 | 306 | 334 | 705 |
Markdown | 2 | 24 | 0 | 177 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 13.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 5.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 2 | 5.41% |
▷ Concrete classes | 35 | 94.59% |
▷ Final classes | 0 | 0.00% |
Methods | 106 | |
▷ Static methods | 6 | 5.66% |
▷ Public methods | 104 | 98.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.89% |
Functions | 99 | |
▷ Named functions | 99 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/framework/assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
admin/img/hover_effects_icon.png | 2.06KB | 1.21KB | ▼ 41.43% |
inc/framework/assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
inc/framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
admin/img/tavc-icon.png | 38.64KB | 16.72KB | ▼ 56.72% |