72% uix-page-builder

Code Review | Uix Page Builder - Compatible with Gutenberg

WordPress plugin Uix Page Builder - Compatible with Gutenberg scored 72% from 54 tests.

About plugin

  • Plugin page: uix-page-builder
  • Plugin version: 1.7.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-6.1
  • WordPress version: 6.3.1
  • First release: Jan 14, 2017
  • Latest release: Nov 13, 2022
  • Number of updates: 291
  • Update frequency: every 7.3 days
  • Top authors: uiuxlab (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 13,036 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: ▲1.10MB] [CPU: ▲2.47ms] Passed 4 tests

This is a short check of server-side resources used by Uix Page Builder - Compatible with Gutenberg
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /4.18 ▲0.7243.04 ▲0.14
Dashboard /wp-admin4.53 ▲1.2352.05 ▲1.00
Posts /wp-admin/edit.php4.64 ▲1.2957.26 ▲13.45
Add New Post /wp-admin/post-new.php7.11 ▲1.2295.74 ▼1.14
Media Library /wp-admin/upload.php4.45 ▲1.2241.35 ▲9.88
How to use? /wp-admin/admin.php?page=uix-page-builder-helper&tab=usage4.48248.31
Template Files /wp-admin/admin.php?page=uix-page-builder-helper&tab=temp4.4851.50
For Theme Developer /wp-admin/admin.php?page=uix-page-builder-helper&tab=for-developer4.4838.68
Settings /wp-admin/admin.php?page=uix-page-builder-helper&tab=general-settings4.4840.66
Custom CSS /wp-admin/admin.php?page=uix-page-builder-helper&tab=custom-css4.7445.90
Helper /wp-admin/admin.php?page=uix-page-builder-helper4.4839.35

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 456 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Uix Page Builder - Compatible with Gutenberg
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,966 ▲23113.80 ▼0.649.09 ▲7.2037.53 ▼7.16
Dashboard /wp-admin2,249 ▲614.89 ▼0.00105.27 ▼13.7340.51 ▼7.07
Posts /wp-admin/edit.php2,129 ▲402.03 ▼0.1040.12 ▲1.3434.44 ▲0.55
Add New Post /wp-admin/post-new.php1,546 ▲617.76 ▼5.45670.59 ▲13.9561.05 ▲2.89
Media Library /wp-admin/upload.php1,422 ▲404.21 ▲0.0397.01 ▼1.3740.92 ▼1.24
How to use? /wp-admin/admin.php?page=uix-page-builder-helper&tab=usage1,6039.29309.9877.60
Template Files /wp-admin/admin.php?page=uix-page-builder-helper&tab=temp8642.0728.9931.77
For Theme Developer /wp-admin/admin.php?page=uix-page-builder-helper&tab=for-developer9232.1923.9242.12
Settings /wp-admin/admin.php?page=uix-page-builder-helper&tab=general-settings8722.0825.1026.08
Custom CSS /wp-admin/admin.php?page=uix-page-builder-helper&tab=custom-css9912.0826.4334.46
Helper /wp-admin/admin.php?page=uix-page-builder-helper1,1072.0323.4535.74

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
  • 10× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/uix-page-builder/includes/uixpbform/fontawesome/font-awesome-custom.php
    • > /wp-content/plugins/uix-page-builder/helper/tabs/general-settings.php
    • > /wp-content/plugins/uix-page-builder/includes/uixpbform/fontawesome/font-awesome-social.php
    • > /wp-content/plugins/uix-page-builder/helper/tabs/credits.php
    • > /wp-content/plugins/uix-page-builder/helper/tabs/about.php
    • > /wp-content/plugins/uix-page-builder/helper/tabs/usage.php
    • > /wp-content/plugins/uix-page-builder/includes/uixpbform/functions/google-map.php
    • > /wp-content/plugins/uix-page-builder/helper/tabs/temp.php
    • > /wp-content/plugins/uix-page-builder/helper/tabs/for-developer.php
    • > /wp-content/plugins/uix-page-builder/helper/tabs/custom-css.php
  • 24× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/list-clone.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/uix-page-builder/uixpb_templates/tmpl-uix_page_builder.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/multiselect.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/color.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/margin-padding.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/uix-page-builder/includes/uixpbform/fontawesome/font-awesome-custom.php:474
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/note.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/editor.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/short-text.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'UixPBFormCore' not found in wp-content/plugins/uix-page-builder/includes/uixpbform/controls/image.php:2

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/admin.php?page=uix-page-builder-helper&tab=usage
    • > Other (warning) in unknown
    /wp-admin/admin.php?page=uix-page-builder-helper&tab=usage 181 Unrecognized feature: 'web-share'.

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: builder, visual composer, visual builder, blocks, page builder...

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

"Uix Page Builder - Compatible with Gutenberg" version 1.7.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
81 characters long description:
Uix Page Builder is a design system that it is simple content creation interface.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin66,762 lines of code in 204 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript845,1735,80728,157
CSS315,77476016,017
PHP836,1463,49813,912
SVG3008,611
XML119059
HTML2006

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity24.95
▷ Minimum class complexity1.00
▷ Maximum class complexity175.00
Average method complexity6.00
▷ Minimum method complexity1.00
▷ Maximum method complexity51.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes42
▷ Abstract classes00.00%
▷ Concrete classes42100.00%
▷ Final classes00.00%
Methods201
▷ Static methods17185.07%
▷ Public methods19295.52%
▷ Protected methods00.00%
▷ Private methods94.48%
Functions28
▷ Named functions28100.00%
▷ Anonymous functions00.00%
Constants12
▷ Global constants325.00%
▷ Class constants975.00%
▷ Public constants9100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
172 PNG files occupy 0.65MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/uixpbform/images/social/color/Vine.png2.82KB1.29KB▼ 54.30%
includes/uixpbform/images/social/color/Linkedin.png2.14KB1.02KB▼ 52.33%
uixpb_templates/images/UixPageBuilderTmpl/social/blank/Facebook.png1.88KB0.95KB▼ 49.48%
includes/uixpbform/images/column-style3/3_4-1_4.png0.23KB0.23KB0.00%
uixpb_templates/images/UixPageBuilderTmpl/social/color/Dribbble.png3.56KB1.38KB▼ 61.18%