84% colibri-page-builder

Code Review | Colibri Page Builder

WordPress plugin Colibri Page Builder scored84%from 54 tests.

About plugin

  • Plugin page: colibri-page-builder
  • Plugin version: 1.0.239
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.4
  • WordPress version: 6.3.1
  • First release: Jul 31, 2019
  • Latest release: Nov 6, 2023
  • Number of updates: 55
  • Update frequency: every 28.4 days
  • Top authors: extendthemes (100%)

Code review

54 tests

User reviews

49 reviews

Install metrics

100,000+ active /2,018,055 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.38ms] Passed 4 tests

Server-side resources used by Colibri Page Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0235.31 ▼8.21
Dashboard /wp-admin3.33 ▼0.0247.12 ▼15.11
Posts /wp-admin/edit.php3.38 ▲0.0247.88 ▲1.61
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.57 ▼11.82
Media Library /wp-admin/upload.php3.25 ▲0.0234.71 ▲2.24

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 316 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Colibri Page Builder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲4314.67 ▲0.271.81 ▲0.0436.75 ▼10.44
Dashboard /wp-admin2,192 ▲145.51 ▼0.1689.41 ▼23.2239.34 ▼3.55
Posts /wp-admin/edit.php2,103 ▲32.07 ▲0.1237.60 ▼3.3834.83 ▼1.48
Add New Post /wp-admin/post-new.php1,526 ▼523.61 ▲0.89719.42 ▲54.1052.63 ▼1.50
Media Library /wp-admin/upload.php1,400 ▼04.21 ▲0.0197.00 ▼5.3641.88 ▼0.23

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

Smoke tests 75% 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 50% 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 fix the following
  • 136× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ExtendBuilder\\load_file_value() in wp-content/plugins/colibri-page-builder/extend-builder/data/import-3/partials/main/404.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/colibri-page-builder/demo-importer/loop.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ExtendBuilder\\add_action() in wp-content/plugins/colibri-page-builder/extend-builder/shortcodes/menu-1.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/colibri-page-builder/src/OCDI/WPCLICommands.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ExtendBuilder\\add_shortcode() in wp-content/plugins/colibri-page-builder/extend-builder/shortcodes/contact-form.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ExtendBuilder\\add_filter() in wp-content/plugins/colibri-page-builder/extend-builder/integrations/woocommerce/filters.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ExtendBuilder\\load_file_value() in wp-content/plugins/colibri-page-builder/extend-builder/data/import-2/partials/footer/post.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/colibri-page-builder/extend-builder/integrations/sg-optimizer.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ExtendBuilder\\add_shortcode() in wp-content/plugins/colibri-page-builder/extend-builder/shortcodes/blog/loop.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'ProteusThemes\\WPContentImporter2\\WPImporterLoggerCLI' not found in wp-content/plugins/colibri-page-builder/src/OCDI/Logger.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
You can take inspiration from this readme.txt

colibri-page-builder/colibri-page-builder.php Passed 13 tests

"Colibri Page Builder" version 1.0.239's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
90 characters long description:
Colibri Page Builder adds drag and drop page builder functionality to the ColibriWP theme.

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
There were no executable files found in this plugin207,791 lines of code in 232 files:
LanguageFilesBlank linesComment linesLines of code
PHP1945,0985,117145,556
CSS1316,92550449,803
JavaScript205812,27712,211
JSON300109
SVG10093
Markdown113019

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity23.37
▷ Minimum class complexity1.00
▷ Maximum class complexity289.00
Average method complexity3.29
▷ Minimum method complexity1.00
▷ Maximum method complexity46.00
Code structure
Namespaces14
Interfaces0
Traits0
Classes67
▷ Abstract classes11.49%
▷ Concrete classes6698.51%
▷ Final classes11.52%
Methods641
▷ Static methods15824.65%
▷ Public methods50879.25%
▷ Protected methods548.42%
▷ Private methods7912.32%
Functions510
▷ Named functions32263.14%
▷ Anonymous functions18836.86%
Constants25
▷ Global constants1144.00%
▷ Class constants1456.00%
▷ Public constants14100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/colibri.png0.89KB1.00KB0.00%
assets/colibri-logo.png0.47KB0.49KB0.00%