78% xpro-addons-beaver-builder-elementor

Code Review | Xpro Addons For Beaver Builder - Lite

WordPress plugin Xpro Addons For Beaver Builder - Lite scored78%from 54 tests.

About plugin

  • Plugin page: xpro-addons-beave...
  • Plugin version: 1.5.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Feb 23, 2021
  • Latest release: Aug 16, 2023
  • Number of updates: 64
  • Update frequency: every 14.1 days
  • Top authors: xpro (70.31%)bbadonstnit (31.25%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /4,051 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.15ms] Passed 4 tests

An overview of server-side resources used by Xpro Addons For Beaver Builder - Lite
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0246.44 ▲2.72
Dashboard /wp-admin3.33 ▲0.0246.63 ▼4.58
Posts /wp-admin/edit.php3.38 ▲0.0246.94 ▲0.46
Add New Post /wp-admin/post-new.php5.91 ▲0.0282.76 ▼19.20
Media Library /wp-admin/upload.php3.25 ▲0.0236.09 ▲4.44

Server storage [IO: ▲4.01MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 263 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Xpro Addons For Beaver Builder - Lite: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.79 ▲0.421.73 ▼0.3843.41 ▲1.80
Dashboard /wp-admin2,206 ▲215.87 ▲0.88103.97 ▼1.9637.51 ▼6.57
Posts /wp-admin/edit.php2,089 ▼32.03 ▲0.0737.06 ▼4.5936.00 ▲0.33
Add New Post /wp-admin/post-new.php1,533 ▲1923.08 ▲5.56672.38 ▲23.3857.82 ▼1.36
Media Library /wp-admin/upload.php1,391 ▲34.29 ▲0.0895.50 ▲0.8643.55 ▲0.19

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

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 no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-icon-list/includes/frontend.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-woo-related-product/includes/frontend.js.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-woo-product-grid/includes/frontend.js.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-progress-bar/includes/frontend.js.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-photo/includes/frontend.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-pricing-table/includes/frontend.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-woo-cross-sells/includes/frontend.js.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-hover-card/includes/frontend.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-woo-upsells/includes/frontend.js.php
    • > /wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-search-form/includes/frontend.php
  • 338× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-post-navigation/xpro-post-navigation.php:9
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-pricing-table/includes/frontend.php on line 32
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-simple-heading/includes/frontend.php on line 4
    • > PHP Fatal error
      Uncaught Error: Class 'FLBuilderCSS' not found in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-hover-card/includes/frontend.css.php:4
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-info-list/includes/frontend.css.php on line 40
    • > PHP Fatal error
      Uncaught Error: Class 'FLBuilderCSS' not found in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-testimonial/includes/frontend.css.php:3
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-button/includes/frontend.php on line 19
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-advanced-menu/includes/frontend.php on line 8
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/xpro-advance-heading/includes/frontend.php on line 5
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-addons-beaver-builder-elementor/modules/tnit-flipbox/includes/frontend.php on line 22

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, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt is a good inspiration

xpro-addons-beaver-builder-elementor/xpro-addons-beaver-builder-elementor.php Passed 13 tests

The main PHP file in "Xpro Addons For Beaver Builder - Lite" ver. 1.5.1 adds more information about the plugin and also serves as the entry point for this plugin
113 characters long description:
Extend your Beaver builder functionality with several creative, content, media, social, and woo-commerce modules.

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 detected54,142 lines of code in 221 files:
LanguageFilesBlank linesComment linesLines of code
PHP1252,9142,30943,083
CSS451,0611299,427
JavaScript203541471,301
SVG3100331

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity10.71
▷ Minimum class complexity1.00
▷ Maximum class complexity156.00
Average method complexity3.97
▷ Minimum method complexity1.00
▷ Maximum method complexity64.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes48
▷ Abstract classes00.00%
▷ Concrete classes48100.00%
▷ Final classes12.08%
Methods157
▷ Static methods3824.20%
▷ Public methods157100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants375.00%
▷ Class constants125.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
13 compressed PNG files occupy 0.14MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/position.png1.63KB1.62KB▼ 0.66%
assets/images/scale.png0.78KB0.82KB0.00%
assets/images/MAP.png28.98KB29.00KB0.00%
assets/images/portfolio-section.png45.31KB45.13KB0.39%
assets/images/Bg-element.png3.97KB4.04KB0.00%