83% responsive-ui-for-beaver-builder

Code Review | Responsive UI for Beaver Builder

WordPress plugin Responsive UI for Beaver Builder scored83%from 54 tests.

About plugin

  • Plugin page: responsive-ui-for...
  • Plugin version: 1.0.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-6.0.2
  • WordPress version: 6.3.1
  • First release: Nov 13, 2020
  • Latest release: Sep 16, 2022
  • Number of updates: 19
  • Update frequency: every 35.5 days
  • Top authors: readysteadywebsites (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

300+ active /3,169 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
This plugin's installer ran successfully

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

Analyzing server-side resources used by Responsive UI for Beaver Builder
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.12 ▼4.03
Dashboard /wp-admin3.31 ▲0.0152.53 ▼1.42
Posts /wp-admin/edit.php3.36 ▲0.0148.06 ▼6.31
Add New Post /wp-admin/post-new.php5.89 ▲0.0185.37 ▼19.71
Media Library /wp-admin/upload.php3.24 ▲0.0134.17 ▼2.38

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Responsive UI for Beaver Builder
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲2914.46 ▲0.231.69 ▼0.3243.96 ▼1.20
Dashboard /wp-admin2,218 ▲155.85 ▲0.96112.00 ▲7.8741.81 ▼4.85
Posts /wp-admin/edit.php2,100 ▼02.01 ▼0.0036.40 ▼4.0336.52 ▼1.26
Add New Post /wp-admin/post-new.php1,526 ▼1817.68 ▼5.37684.83 ▲25.9954.27 ▼7.50
Media Library /wp-admin/upload.php1,400 ▲94.25 ▲0.0995.04 ▼12.9841.87 ▼3.81

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 2× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/responsive-ui-for-beaver-builder/public/partials/rsw-bb-responsive-ui-public-display.php
    • > /wp-content/plugins/responsive-ui-for-beaver-builder/admin/partials/rsw-bb-responsive-ui-admin-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 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
9 plugin tags: ui, page builder, beaver builder, tablet, responsive ui...

responsive-ui-for-beaver-builder/rsw-bb-responsive-ui.php 77% from 13 tests

The entry point to "Responsive UI for Beaver Builder" version 1.0.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 195 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("responsive-ui-for-beaver-builder.php" instead of "rsw-bb-responsive-ui.php")

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
Everything looks great! No dangerous files found in this plugin428 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
CSS2518203
PHP13116536179
Markdown119034
JavaScript22512

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity2.00
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.30
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods23
▷ Static methods28.70%
▷ Public methods1878.26%
▷ Protected methods00.00%
▷ Private methods521.74%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin