78% builderius

Code Review | Builderius Site Builder

WordPress plugin Builderius Site Builder scored78%from 54 tests.

About plugin

  • Plugin page: builderius
  • Plugin version: 0.14.2
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-6.3
  • WordPress version: 6.3.1
  • First release: Dec 4, 2019
  • Latest release: Oct 2, 2023
  • Number of updates: 65
  • Update frequency: every 21.5 days
  • Top authors: builderius (61.54%)moomooagency (40%)

Code review

54 tests

User reviews

9 reviews

Install metrics

50+ active /4,004 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲2.70MB] [CPU: ▲51.51ms] Passed 4 tests

Server-side resources used by Builderius Site Builder
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /6.15 ▲2.69103.35 ▲64.79
Dashboard /wp-admin6.03 ▲2.72123.62 ▲72.60
Posts /wp-admin/edit.php6.09 ▲2.73112.65 ▲63.06
Add New Post /wp-admin/post-new.php8.60 ▲2.72154.58 ▲50.17
Media Library /wp-admin/upload.php5.89 ▲2.6662.46 ▲28.01

Server storage [IO: ▲26.38MB] [DB: ▲0.20MB] 67% from 3 tests

Input-output and database impact of this plugin
Just a few items left to fix
  • Try to limit filesystem usage to 25MB (currently using 26.38MB)
Filesystem: 3,096 new files
Database: no new tables, 9 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
test_cron
widget_theysaidso_widget
widget_recent-posts
builderiuscached-plugin-versions
can_compress_scripts
builderius_loaded_migrations_version

Browser metrics Passed 4 tests

A check of browser resources used by Builderius Site Builder
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,896 ▲13514.33 ▼0.023.09 ▲1.4737.60 ▼3.96
Dashboard /wp-admin2,274 ▲975.62 ▲0.0991.64 ▼0.3692.23 ▲51.55
Posts /wp-admin/edit.php2,185 ▲822.05 ▲0.0634.56 ▼3.9036.62 ▲1.28
Add New Post /wp-admin/post-new.php1,762 ▲21323.50 ▲5.28757.21 ▲122.6362.23 ▼15.23
Media Library /wp-admin/upload.php1,470 ▲674.19 ▼0.06102.18 ▼4.2578.39 ▲33.66

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 9 options
    • db_upgraded
    • builderius_loaded_migrations_version
    • test_cron
    • can_compress_scripts
    • builderiuscached-plugin-versions
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/builderius/vendor-prefixed/symfony/expression-language/Resources/bin/generate_operator_regex.php
  • 2011× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'Builderius\\MooMoo\\Platform\\Bundle\\MigrationBundle\\Migration\\Migration' not found in wp-content/plugins/builderius/src/Bundle/TemplateBundle/Migrations/v0_11_2/BuilderiusTemplateBundleMigration.php:15
    • > PHP Fatal error
      Uncaught Error: Interface 'Builderius\\Mustache\\Loader' not found in wp-content/plugins/builderius/vendor-prefixed/builderius/mustache/src/Loader/CascadingLoader.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Builderius\\GraphQL\\Validator\\Rules\\ValidationRule' not found in wp-content/plugins/builderius/vendor-prefixed/webonyx/graphql-php/src/Validator/Rules/UniqueVariableNames.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Builderius\\Zend\\Code\\Scanner\\ClassScanner' not found in wp-content/plugins/builderius/vendor-prefixed/zendframework/zend-code/src/Scanner/DerivedClassScanner.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Builderius\\MooMoo\\Platform\\Bundle\\TaxonomyBundle\\Model\\AbstractTaxonomy' not found in wp-content/plugins/builderius/src/Bundle/SavedFragmentBundle/Registration/BuilderiusSavedFragmentTagTaxonomy.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Builderius\\ProxyManager\\Factory\\RemoteObject\\Adapter\\BaseAdapter' not found in wp-content/plugins/builderius/vendor-prefixed/ocramius/proxy-manager/src/ProxyManager/Factory/RemoteObject/Adapter/XmlRpc.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'Builderius\\MooMoo\\Platform\\Bundle\\PostBundle\\PostType\\PostTypeInterface' not found in wp-content/plugins/builderius/src/Bundle/TemplateBundle/Registration/BuilderiusTemplatePostType.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Builderius\\Symfony\\Contracts\\EventDispatcher\\Event' not found in wp-content/plugins/builderius/src/Bundle/TemplateBundle/Event/ObjectContainingEvent.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Builderius\\Bundle\\SettingBundle\\Model\\BuilderiusSettingValue' not found in wp-content/plugins/builderius/src/Bundle/SettingBundle/Model/BuilderiusSettingCssValue.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Builderius\\Respect\\Validation\\Rules\\AbstractComparison' not found in wp-content/plugins/builderius/vendor-prefixed/respect/validation/library/Rules/Min.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: These screenshots need descriptions #6, #7 in builderius/assets to your readme.txt
The official readme.txt is a good inspiration

builderius/builderius.php Passed 13 tests

The principal PHP file in "Builderius Site Builder" v. 0.14.2 is loaded by WordPress automatically on each request
109 characters long description:
Professional site builder for WordPress. Create astonishing designs with easy to use drag and drop interface.

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin186,923 lines of code in 3,067 files:
LanguageFilesBlank linesComment linesLines of code
PHP2,71912,32364,542135,381
YAML1511,9886538,799
JSON3004,093
Twig52198402,059
PO File47839151,804
SVG120111,600
CSS12231101,460
Markdown611501,345
XSD1271278
JavaScript10703104

PHP code 50% from 2 tests

This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 140)
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity8.47
▷ Minimum class complexity1.00
▷ Maximum class complexity531.00
Average method complexity2.96
▷ Minimum method complexity1.00
▷ Maximum method complexity140.00
Code structure
Namespaces574
Interfaces393
Traits45
Classes2,270
▷ Abstract classes1145.02%
▷ Concrete classes2,15694.98%
▷ Final classes46521.57%
Methods10,981
▷ Static methods8237.49%
▷ Public methods9,31084.78%
▷ Protected methods6195.64%
▷ Private methods1,0529.58%
Functions906
▷ Named functions13514.90%
▷ Anonymous functions77185.10%
Constants1,260
▷ Global constants90.71%
▷ Class constants1,25199.29%
▷ Public constants1,17994.24%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/transparent-dark.png0.94KB0.09KB▼ 90.21%
assets/img/line.png1.00KB0.11KB▼ 88.88%
assets/img/line-dark.png1.00KB0.11KB▼ 88.87%
assets/img/transparent.png0.94KB0.09KB▼ 90.22%