78% make-builder

Code Review | Your Friendly Drag and Drop Page Builder — Make Builder

WordPress plugin Your Friendly Drag and Drop Page Builder — Make Builder scored78%from 54 tests.

About plugin

  • Plugin page: make-builder
  • Plugin version: 1.1.10
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.3
  • WordPress version: 6.3.1
  • First release: Oct 11, 2017
  • Latest release: Jan 30, 2020
  • Number of updates: 152
  • Update frequency: every 5.5 days
  • Top authors: thethemefoundry (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /12,012 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.37MB] [CPU: ▼7.90ms] Passed 4 tests

This is a short check of server-side resources used by Your Friendly Drag and Drop Page Builder — Make Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.64 ▲0.1838.29 ▲3.13
Dashboard /wp-admin3.55 ▲0.2546.32 ▼3.00
Posts /wp-admin/edit.php3.66 ▲0.3148.24 ▲1.24
Add New Post /wp-admin/post-new.php3.75 ▼2.1460.01 ▼32.96
Media Library /wp-admin/upload.php3.47 ▲0.2438.87 ▲6.52

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 149 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Your Friendly Drag and Drop Page Builder — Make Builder
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,933 ▲18713.65 ▼0.926.47 ▲4.8438.23 ▼1.69
Dashboard /wp-admin2,219 ▲334.86 ▼1.02106.22 ▼3.1544.89 ▲2.57
Posts /wp-admin/edit.php2,102 ▲132.01 ▼0.0239.26 ▲1.6336.94 ▲4.24
Add New Post /wp-admin/post-new.php3,261 ▲1,7477.66 ▼9.77196.71 ▼465.5478.84 ▲27.31
Media Library /wp-admin/upload.php1,398 ▲74.22 ▼0.01107.80 ▲8.6047.37 ▲4.14

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for 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
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/make-builder/inc/builder/core/templates/overlay-footer.php
    • > /wp-content/plugins/make-builder/inc/builder/core/templates/section-footer.php
  • 52× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ttfmake_get_section_field() in wp-content/plugins/make-builder/inc/sections/gallery/frontend-template.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function do_action() in wp-content/plugins/make-builder/inc/builder/core/templates/overlay-header.php:24
    • > PHP Fatal error
      Uncaught Error: Interface 'MAKE_Setup_L10nInterface' not found in wp-content/plugins/make-builder/inc/setup/l10n.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/make-builder/inc/builder/core/templates/section-header.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ttfmake_get_section_field() in wp-content/plugins/make-builder/inc/sections/banner/frontend-template.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'MAKE_Util_Modules' not found in wp-content/plugins/make-builder/inc/api.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/make-builder/inc/sections/gallery/builder-template-item.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/make-builder/make-builder.php:30
    • > PHP Fatal error
      Uncaught Error: Interface 'MAKE_Util_ModulesInterface' not found in wp-content/plugins/make-builder/inc/settings/sanitizeinterface.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ttfmake_load_section_header() in wp-content/plugins/make-builder/inc/sections/gallery/builder-template.php:8

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 93% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in make-builder/assets to your readme.txt
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
The official readme.txt is a good inspiration

make-builder/make-builder.php Passed 13 tests

The main PHP script in "Your Friendly Drag and Drop Page Builder — Make Builder" version 1.1.10 is automatically included on every request by WordPress
85 characters long description:
Your friendly drag and drop page builder for WordPress. Simple, fast and easy to use.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin28,176 lines of code in 112 files:
LanguageFilesBlank linesComment linesLines of code
PO File72,8884,1176,573
PHP681,3044,7185,698
JavaScript261,0871,0534,877
CSS8911814,582
JSON1003,734
SVG1002,671
Markdown115041

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity14.39
▷ Minimum class complexity1.00
▷ Maximum class complexity88.00
Average method complexity3.24
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces0
Interfaces19
Traits0
Classes25
▷ Abstract classes14.00%
▷ Concrete classes2496.00%
▷ Final classes1145.83%
Methods307
▷ Static methods72.28%
▷ Public methods27689.90%
▷ Protected methods41.30%
▷ Private methods278.79%
Functions69
▷ Named functions69100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/builder/sections/images/text.png0.15KB0.15KB0.00%
css/builder/core/images/arrows-2x.png0.62KB0.69KB0.00%
css/builder/core/images/happyforms.png68.44KB71.05KB0.00%
css/builder/core/images/arrows.png0.24KB0.24KB0.00%
css/builder/core/images/section-icons-hover.png2.05KB0.93KB▼ 54.61%