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
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.14ms] Passed 4 tests
An overview of server-side resources used by Feature Box Addon for WPBakery Page Builder (formerly Visual Composer)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 31.21 ▼9.07 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.50 ▼19.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.74 ▼0.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.36 ▼1.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.89 ▼1.74 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Feature Box Addon for WPBakery Page Builder (formerly Visual Composer): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.41 ▼0.97 | 1.94 ▼0.20 | 41.43 ▼1.18 |
Dashboard /wp-admin | 2,209 ▲24 | 5.88 ▼0.16 | 109.16 ▼4.40 | 40.42 ▲2.40 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.03 | 38.63 ▼1.26 | 34.14 ▼5.10 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.24 ▼5.02 | 581.28 ▼99.88 | 50.66 ▼3.79 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.08 | 95.93 ▼13.85 | 41.85 ▼4.55 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/feature-box-addon-for-wpbakery-page-builder/feature-box-addon-vc.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/feature-box-addon-for-wpbakery-page-builder/modules/style-three.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/feature-box-addon-for-wpbakery-page-builder/modules/style-one.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/feature-box-addon-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/feature-box-addon-for-wpbakery-page-builder/modules/style-two.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/feature-box-addon-for-wpbakery-page-builder/modules/style-four.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/feature-box-addon-for-wpbakery-page-builder/modules/style-five.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/feature-box-addon-for-wpbakery-page-builder/admin/params/slider/slider-params.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (screenshot one.), #2 (screenshot three.)
- Tags: You are using too many tags: 14 tag instead of maximum 10
feature-box-addon-for-wpbakery-page-builder/feature-box-addon-vc.php 85% from 13 tests
The main PHP file in "Feature Box Addon for WPBakery Page Builder (formerly Visual Composer)" ver. 2.0.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("feature-box-addon-for-wpbakery-page-builder.php" instead of "feature-box-addon-vc.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 detected9,901 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 915 | 1,026 | 3,398 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 10 | 123 | 58 | 2,282 |
CSS | 4 | 85 | 29 | 1,550 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 8.50 |
▷ Minimum method complexity | 5.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/tavc-icon.png | 0.61KB | 0.46KB | ▼ 24.20% |