Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲4.46MB] [CPU: ▼276.15ms] Passed 4 tests
Analyzing server-side resources used by Livemesh Addons for Beaver Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.36 ▲4.85 | 80.09 ▲28.75 |
Dashboard /wp-admin | 8.38 ▲4.98 | 57.32 ▲24.71 |
Posts /wp-admin/edit.php | 8.38 ▲4.74 | 58.13 ▲18.73 |
Add New Post /wp-admin/post-new.php | 10.23 ▲3.26 | 116.50 ▼1,163.38 |
Media Library /wp-admin/upload.php | 8.38 ▲5.09 | 44.29 ▲15.34 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.38 | 44.13 |
Server storage [IO: ▲6.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 408 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
fs_gdpr |
fs_debug_mode |
Browser metrics Passed 4 tests
Checking browser requirements for Livemesh Addons for Beaver Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,963 ▲208 | 15.60 ▼0.01 | 9.52 ▲3.47 | 2.28 ▼0.49 |
Dashboard /wp-admin | 2,942 ▲84 | 6.19 ▲0.01 | 115.57 ▼23.60 | 189.23 ▲28.66 |
Posts /wp-admin/edit.php | 2,739 ▲51 | 3.11 ▼0.13 | 65.16 ▲1.39 | 157.02 ▲12.08 |
Add New Post /wp-admin/post-new.php | 1,682 ▼8 | 22.79 ▲1.14 | 399.25 ▼36.54 | 168.29 ▲6.31 |
Media Library /wp-admin/upload.php | 1,728 ▲30 | 5.55 ▲0.11 | 128.78 ▼19.75 | 223.25 ▲38.76 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,415 | 2.51 | 55.19 | 112.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/addons-for-beaver-builder/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 4 options in the database
- fs_accounts
- fs_debug_mode
- fs_gdpr
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 8× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-posts-carousel/includes/frontend.js.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-testimonials-slider/includes/frontend.js.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-piecharts/includes/frontend.js.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/fields/ui-field-labb-number.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-portfolio/includes/frontend.js.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-odometers/includes/frontend.js.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-stats-bar/includes/frontend.js.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-carousel/includes/frontend.js.php
- 146× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-odometers/includes/frontend.css.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-testimonials-slider/labb-testimonials-slider.php:10
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderFonts' not found in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-heading/includes/frontend.css.php:4
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderFonts' not found in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-piecharts/includes/frontend.css.php:5
- > PHP Notice
Undefined variable: id in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-pricing-table/includes/frontend.css.php on line 2
- > PHP Notice
Undefined variable: id in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-stats-bar/includes/frontend.css.php on line 1
- > PHP Notice
Undefined variable: id in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-testimonials-slider/includes/frontend.css.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/addons-for-beaver-builder/includes/fields/ui-field-labb-toggle-button.php:20
- > PHP Notice
Undefined variable: settings in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-posts-carousel/includes/frontend.css.php on line 11
- > PHP Notice
Trying to get property 'tablet_gutter' of non-object in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-carousel/includes/frontend.css.php on line 6
- > PHP Notice
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 90% from 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
8 plugin tags: beaver builder extensions, page builder, carousel, beaver builder, beaver builder modules...
addons-for-beaver-builder/addons-for-beaver-builder.php 77% from 13 tests
The principal PHP file in "Livemesh Addons for Beaver Builder" v. 2.8.4 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- 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 review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin81,745 lines of code in 328 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 171 | 8,959 | 16,592 | 40,691 |
PO File | 15 | 9,415 | 14,009 | 20,203 |
JavaScript | 54 | 2,043 | 2,095 | 7,286 |
Sass | 47 | 921 | 79 | 7,000 |
CSS | 35 | 793 | 97 | 6,268 |
Markdown | 1 | 61 | 0 | 192 |
SVG | 1 | 0 | 0 | 40 |
JSON | 2 | 0 | 0 | 37 |
YAML | 2 | 2 | 0 | 28 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 64.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 65 | |
▷ Abstract classes | 3 | 4.62% |
▷ Concrete classes | 62 | 95.38% |
▷ Final classes | 2 | 3.23% |
Methods | 1,208 | |
▷ Static methods | 174 | 14.40% |
▷ Public methods | 852 | 70.53% |
▷ Protected methods | 27 | 2.24% |
▷ Private methods | 329 | 27.24% |
Functions | 121 | |
▷ Named functions | 120 | 99.17% |
▷ Anonymous functions | 1 | 0.83% |
Constants | 135 | |
▷ Global constants | 110 | 81.48% |
▷ Class constants | 25 | 18.52% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/addons-for-elementor.png | 19.75KB | 7.41KB | ▼ 62.48% |
admin/assets/images/logo-shape.png | 1.64KB | 1.41KB | ▼ 14.00% |
admin/assets/images/logo-dark.png | 5.92KB | 2.91KB | ▼ 50.77% |
admin/assets/images/logo-shape16.png | 0.66KB | 0.72KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |