78% dynamik-website-builder-and-beaver-builder-integration

Code Review | Dynamik Website Builder and Beaver Builder Integration

WordPress plugin Dynamik Website Builder and Beaver Builder Integration scored 78% from 54 tests.

About plugin

  • Plugin page: dynamik-website-b...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.1
  • WordPress version: 6.3.1
  • First release: Apr 3, 2015
  • Latest release: Apr 3, 2015
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: mcostales84 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active / 3,123 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼0.50ms] Passed 4 tests

Analyzing server-side resources used by Dynamik Website Builder and Beaver Builder Integration
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.57 ▲0.12
Dashboard /wp-admin3.31 ▲0.0045.36 ▲2.00
Posts /wp-admin/edit.php3.36 ▲0.0044.03 ▼4.25
Add New Post /wp-admin/post-new.php5.89 ▲0.0096.11 ▲7.87
Media Library /wp-admin/upload.php3.23 ▲0.0032.14 ▲0.12

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Dynamik Website Builder and Beaver Builder Integration: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.24 ▼1.351.92 ▲0.0343.85 ▼1.37
Dashboard /wp-admin2,203 ▲155.83 ▼0.02102.63 ▼9.5938.43 ▼1.56
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0034.59 ▼4.7231.98 ▼4.12
Add New Post /wp-admin/post-new.php1,522 ▼2017.78 ▼0.56641.84 ▲32.5455.53 ▼3.27
Media Library /wp-admin/upload.php1,388 ▲34.20 ▼0.0394.22 ▼2.5238.98 ▼4.52

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 0% 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 items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/dynamik-website-builder-and-beaver-builder-integration/dwbandbbintegration.php
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dynamik-website-builder-and-beaver-builder-integration/beaver-builder.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dynamik-website-builder-and-beaver-builder-integration/beaver-builder-landing.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: beaver builder, page template, beaver landing page, dynamik website builder

dynamik-website-builder-and-beaver-builder-integration/dwbandbbintegration.php 85% from 13 tests

The main PHP file in "Dynamik Website Builder and Beaver Builder Integration" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("dynamik-website-builder-and-beaver-builder-integration.php" instead of "dwbandbbintegration.php")
  • Description: The description should be shorter than 140 characters (currently 150 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin172 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP33474133
CSS14239

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods125.00%
▷ Public methods375.00%
▷ Protected methods00.00%
▷ Private methods125.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin