79% modules-kit

Code Review | Modules Kit - Beaver Builder Modules

WordPress plugin Modules Kit - Beaver Builder Modules scored79%from 54 tests.

About plugin

  • Plugin page: modules-kit
  • Plugin version: 1.0.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.3.1
  • WordPress version: 6.3.1
  • First release: Feb 4, 2020
  • Latest release: Oct 5, 2023
  • Number of updates: 10
  • Update frequency: every 134.0 days
  • Top authors: techeshta (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /1,693 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

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

This is a short check of server-side resources used by Modules Kit - Beaver Builder Modules
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0234.16 ▼5.12
Dashboard /wp-admin3.33 ▲0.0244.04 ▼1.08
Posts /wp-admin/edit.php3.38 ▲0.0246.48 ▼1.85
Add New Post /wp-admin/post-new.php5.91 ▲0.0282.95 ▼9.21
Media Library /wp-admin/upload.php3.26 ▲0.0236.76 ▲1.89

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Modules Kit - Beaver Builder Modules: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,799 ▲3814.20 ▼0.371.55 ▼0.1743.05 ▲0.40
Dashboard /wp-admin2,205 ▲355.55 ▼0.0584.29 ▼12.3339.39 ▼3.03
Posts /wp-admin/edit.php2,110 ▲102.10 ▲0.1639.40 ▼0.2236.99 ▼0.69
Add New Post /wp-admin/post-new.php1,536 ▲1023.14 ▼0.07662.46 ▼16.5954.24 ▼2.38
Media Library /wp-admin/upload.php1,410 ▲104.20 ▼0.0494.28 ▼21.2843.04 ▼5.33

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
The following issues need your attention
  • 9× PHP files output text when accessed directly:
    • > /wp-content/plugins/modules-kit/modules/dual-button/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/infobox/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/flipbox/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/our-team/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/progress-bar/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/pull-quotes/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/testimonial/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/call-to-action/includes/frontend.php
    • > /wp-content/plugins/modules-kit/modules/pricing-table/includes/frontend.php
  • 210× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/modules-kit/modules/pull-quotes/pull-quotes.php:3
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/modules-kit/modules/flipbox/includes/frontend.css.php on line 12
    • > PHP Warning
      Use of undefined constant MKBB_URL - assumed 'MKBB_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/modules-kit/modules/infobox/includes/frontend.php on line 8
    • > PHP Notice
      Trying to get property 'mkbb_currency_symbol_pt' of non-object in wp-content/plugins/modules-kit/modules/pricing-table/includes/frontend.php on line 8
    • > PHP Notice
      Trying to get property 'mkbb_button_text_pt' of non-object in wp-content/plugins/modules-kit/modules/pricing-table/includes/frontend.php on line 51
    • > PHP Notice
      Trying to get property 'mkbb_skin_pq' of non-object in wp-content/plugins/modules-kit/modules/pull-quotes/includes/frontend.php on line 7
    • > PHP Notice
      Trying to get property 'mkbb_back_bg_image_Size_flpb' of non-object in wp-content/plugins/modules-kit/modules/flipbox/includes/frontend.css.php on line 13
    • > PHP Notice
      Trying to get property 'mkbb_feature_pt' of non-object in wp-content/plugins/modules-kit/modules/pricing-table/includes/frontend.php on line 6
    • > PHP Notice
      Trying to get property 'mkbb_box_transform_style_flpb' of non-object in wp-content/plugins/modules-kit/modules/flipbox/includes/frontend.css.php on line 15
    • > PHP Fatal error
      Uncaught Error: Class 'FLBuilderCSS' not found in wp-content/plugins/modules-kit/modules/dual-button/includes/frontend.css.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: modules kit, beaver, beaver builder modules, page builder, beaver builder

modules-kit/modules-kit.php Passed 13 tests

Analyzing the main PHP file in "Modules Kit - Beaver Builder Modules" version 1.0.7
139 characters long description:
Modules Kit is a bunch of additional beaver builder modules for Editors, Content Writers and freelancers (to provide all possible options).

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin6,417 lines of code in 47 files:
LanguageFilesBlank linesComment linesLines of code
PHP291954465,838
CSS949359
SVG906220

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity1.55
▷ Minimum class complexity1.00
▷ Maximum class complexity6.00
Average method complexity1.32
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods19
▷ Static methods421.05%
▷ Public methods19100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/default.png6.00KB5.03KB▼ 16.19%