Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲5.04MB] [CPU: ▲24.88ms] 75% from 4 tests
Analyzing server-side resources used by Livemesh Addons for Beaver Builder
Please have a look at the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.04MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.89 ▲5.42 | 65.08 ▲22.70 |
Dashboard /wp-admin | 8.91 ▲5.60 | 70.16 ▲21.20 |
Posts /wp-admin/edit.php | 8.91 ▲5.55 | 74.33 ▲30.44 |
Add New Post /wp-admin/post-new.php | 9.47 ▲3.57 | 109.27 ▲25.19 |
Media Library /wp-admin/upload.php | 8.91 ▲5.67 | 66.92 ▲32.90 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 8.91 | 58.44 |
Server storage [IO: ▲6.82MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 448 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_debug_mode |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
fs_active_plugins |
fs_accounts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of 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 / | 2,912 ▲151 | 13.89 ▼0.76 | 8.49 ▲6.69 | 27.69 ▼14.79 |
Dashboard /wp-admin | 2,212 ▲38 | 5.53 ▼0.18 | 92.46 ▲0.37 | 77.28 ▲27.86 |
Posts /wp-admin/edit.php | 2,136 ▲39 | 2.00 ▼0.01 | 34.87 ▼1.60 | 36.68 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 21.94 ▼0.92 | 744.43 ▲127.25 | 66.09 ▲12.67 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.17 ▼0.03 | 98.87 ▼0.26 | 69.63 ▲27.98 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,087 | 1.66 | 24.99 | 30.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/addons-for-beaver-builder/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 9 options in the database
- fs_active_plugins
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- fs_accounts
- widget_recent-comments
- widget_recent-posts
- fs_debug_mode
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-portfolio/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-carousel/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/modules/labb-testimonials-slider/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-posts-carousel/includes/frontend.js.php
- > /wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-odometers/includes/frontend.js.php
- 155× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addons-for-beaver-builder/includes/fields/labb-number/labb-number.php:12
- > PHP Notice
Undefined variable: settings in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-posts-carousel/includes/frontend.css.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-odometers/includes/frontend.php:8
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-clients/labb-clients.php:10
- > PHP Notice
Trying to get property 'tablet_gutter' of non-object in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-posts-carousel/includes/frontend.css.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-heading/labb-heading.php:10
- > PHP Notice
Undefined variable: taxonomies in wp-content/plugins/addons-for-beaver-builder/templates/post-meta/taxonomy-info.php on line 5
- > PHP Notice
Undefined variable: id in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-posts-carousel/includes/frontend.js.php on line 11
- > PHP Notice
Undefined variable: id in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-clients/includes/frontend.css.php on line 1
- > PHP Notice
Undefined variable: id in wp-content/plugins/addons-for-beaver-builder/includes/modules/labb-heading/includes/frontend.css.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: carousel, beaver builder modules, beaver builder, portfolio, posts grid...
addons-for-beaver-builder/addons-for-beaver-builder.php 77% from 13 tests
The main PHP file in "Livemesh Addons for Beaver Builder" ver. 3.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- 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
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin85,381 lines of code in 364 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 191 | 9,750 | 17,838 | 43,938 |
PO File | 15 | 9,415 | 14,009 | 20,203 |
JavaScript | 54 | 2,171 | 2,098 | 7,473 |
Sass | 47 | 930 | 79 | 7,043 |
CSS | 37 | 797 | 97 | 6,310 |
Markdown | 1 | 68 | 0 | 214 |
SVG | 14 | 22 | 0 | 119 |
JSON | 2 | 0 | 0 | 37 |
YAML | 2 | 2 | 0 | 28 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 67.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 3 | 4.41% |
▷ Concrete classes | 65 | 95.59% |
▷ Final classes | 2 | 3.08% |
Methods | 1,335 | |
▷ Static methods | 199 | 14.91% |
▷ Public methods | 929 | 69.59% |
▷ Protected methods | 29 | 2.17% |
▷ Private methods | 377 | 28.24% |
Functions | 127 | |
▷ Named functions | 126 | 99.21% |
▷ Anonymous functions | 1 | 0.79% |
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
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/addons-for-beaver-builder.png | 42.59KB | 12.26KB | ▼ 71.22% |
admin/assets/images/logo-light.png | 6.11KB | 3.00KB | ▼ 50.85% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
admin/assets/images/logo-shape16.png | 0.66KB | 0.72KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |