Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲5.23MB] [CPU: ▲26.46ms] 75% from 4 tests
An overview of server-side resources used by Livemesh Addons for WPBakery Page Builder
Please fix the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.23MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.89 ▲5.42 | 72.47 ▲32.77 |
Dashboard /wp-admin | 8.91 ▲5.60 | 75.24 ▲28.77 |
Posts /wp-admin/edit.php | 8.91 ▲5.55 | 72.32 ▲25.71 |
Add New Post /wp-admin/post-new.php | 10.22 ▲4.33 | 110.58 ▲18.58 |
Media Library /wp-admin/upload.php | 8.91 ▲5.67 | 73.05 ▲38.96 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 8.91 | 58.80 |
Server storage [IO: ▲5.62MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 448 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
fs_accounts |
widget_recent-posts |
widget_theysaidso_widget |
fs_debug_mode |
fs_active_plugins |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Livemesh Addons for WPBakery Page Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,021 ▲260 | 14.08 ▼0.27 | 12.11 ▲10.37 | 31.41 ▼12.78 |
Dashboard /wp-admin | 2,230 ▲53 | 5.88 ▲0.22 | 86.28 ▲0.04 | 81.29 ▲39.65 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 2.30 ▲0.27 | 43.79 ▲4.16 | 36.38 ▲1.73 |
Add New Post /wp-admin/post-new.php | 1,565 ▲34 | 18.14 ▼4.85 | 709.51 ▼13.49 | 54.76 ▼11.70 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.43 ▲0.23 | 98.68 ▼12.25 | 66.09 ▲15.35 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,112 | 1.95 | 36.90 | 29.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/addons-for-visual-composer/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-comments
- fs_active_plugins
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- fs_accounts
- fs_debug_mode
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% 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 50% 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
Almost there! Just fix the following items
- 37× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-visual-composer/includes/addons/spacer/class-lvca-spacer.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-visual-composer/includes/addons/piecharts/class-lvca-piecharts.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_comments_number() in wp-content/plugins/addons-for-visual-composer/templates/post-meta/comments-link.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-visual-composer/includes/addons/posts-carousel/class-lvca-posts-carousel.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-visual-composer/includes/params/datetimepicker/class-lvca-datetimepicker-param.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-visual-composer/includes/addons/services/class-lvca-services.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-visual-composer/includes/addons/testimonials/class-lvca-testimonials.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-visual-composer/includes/addons/heading/class-lvca-heading.php:17
- > PHP Notice
Undefined variable: facebook_url in wp-content/plugins/addons-for-visual-composer/includes/addons/team/social-profile.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_comments_number() in wp-content/plugins/addons-for-visual-composer/templates/post-meta/comments-number.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
addons-for-visual-composer/addons-for-visual-composer.php 69% from 13 tests
"Livemesh Addons for WPBakery Page Builder" version 3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- 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
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected67,522 lines of code in 288 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 164 | 9,722 | 17,844 | 40,851 |
JavaScript | 55 | 2,443 | 2,356 | 9,180 |
CSS | 40 | 957 | 174 | 8,252 |
Sass | 23 | 664 | 2 | 5,906 |
PO File | 2 | 1,641 | 3,048 | 3,247 |
SVG | 1 | 0 | 0 | 42 |
YAML | 2 | 2 | 0 | 28 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 46.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 101 | |
▷ Abstract classes | 3 | 2.97% |
▷ Concrete classes | 98 | 97.03% |
▷ Final classes | 2 | 2.04% |
Methods | 1,407 | |
▷ Static methods | 199 | 14.14% |
▷ Public methods | 1,007 | 71.57% |
▷ Protected methods | 25 | 1.78% |
▷ Private methods | 375 | 26.65% |
Functions | 127 | |
▷ Named functions | 127 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 158 | |
▷ Global constants | 111 | 70.25% |
▷ Class constants | 47 | 29.75% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
85 PNG files occupy 0.20MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/admin/generic-carousel.png | 1.88KB | 0.55KB | ▼ 70.61% |
admin/assets/images/admin/sliders.png | 0.56KB | 0.29KB | ▼ 47.92% |
assets/img/admin/piecharts.png | 2.26KB | 0.72KB | ▼ 67.99% |
includes/params/datetimepicker/css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
admin/assets/images/admin/gallery.png | 2.60KB | 1.58KB | ▼ 39.19% |