67% addons-for-beaver-builder

Code Review | Livemesh Addons for Beaver Builder

WordPress plugin Livemesh Addons for Beaver Builder scored 67% from 54 tests.

About plugin

  • Plugin page: addons-for-beaver...
  • Plugin version: 2.8.4
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 5.9.2
  • First release: Jun 29, 2017
  • Latest release: Mar 7, 2022
  • Number of updates: 72
  • Update frequency: every 23.8 days
  • Top authors: livemesh (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

5,000+ active / 71,866 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /8.36 ▲4.8580.09 ▲28.75
Dashboard /wp-admin8.38 ▲4.9857.32 ▲24.71
Posts /wp-admin/edit.php8.38 ▲4.7458.13 ▲18.73
Add New Post /wp-admin/post-new.php10.23 ▲3.26116.50 ▼1,163.38
Media Library /wp-admin/upload.php8.38 ▲5.0944.29 ▲15.34
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius8.3844.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

Browser metrics Passed 4 tests

Checking browser requirements for Livemesh Addons for Beaver Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,963 ▲20815.60 ▼0.019.52 ▲3.472.28 ▼0.49
Dashboard /wp-admin2,942 ▲846.19 ▲0.01115.57 ▼23.60189.23 ▲28.66
Posts /wp-admin/edit.php2,739 ▲513.11 ▼0.1365.16 ▲1.39157.02 ▲12.08
Add New Post /wp-admin/post-new.php1,682 ▼822.79 ▲1.14399.25 ▼36.54168.29 ▲6.31
Media Library /wp-admin/upload.php1,728 ▲305.55 ▲0.11128.78 ▼19.75223.25 ▲38.76
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius1,4152.5155.19112.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

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


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:
LanguageFilesBlank linesComment linesLines of code
PO File159,41514,00920,203

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 code0.60
Average class complexity64.22
▷ Minimum class complexity1.00
▷ Maximum class complexity2,910.00
Average method complexity4.50
▷ Minimum method complexity1.00
▷ Maximum method complexity86.00
Code structure
▷ Abstract classes34.62%
▷ Concrete classes6295.38%
▷ Final classes23.23%
▷ Static methods17414.40%
▷ Public methods85270.53%
▷ Protected methods272.24%
▷ Private methods32927.24%
▷ Named functions12099.17%
▷ Anonymous functions10.83%
▷ Global constants11081.48%
▷ Class constants2518.52%
▷ Public constants25100.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
FileSize - originalSize - compressedSavings
freemius/assets/img/addons-for-elementor.png19.75KB7.41KB▼ 62.48%
admin/assets/images/logo-shape.png1.64KB1.41KB▼ 14.00%
admin/assets/images/logo-dark.png5.92KB2.91KB▼ 50.77%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%