94% white-label-branding-elementor

Code Review | White Label Branding for Elementor Page Builder

WordPress plugin White Label Branding for Elementor Page Builder scored 94% from 54 tests.

About plugin

  • Plugin page: white-label-brand...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-5.3
  • WordPress version: 5.8.1
  • First release: Dec 29, 2018
  • Latest release: Dec 2, 2019
  • Number of updates: 27
  • Update frequency: every 12.9 days
  • Top authors: ozancanakli (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

7,000+ active / 12,269 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼140.68ms] Passed 4 tests

An overview of server-side resources used by White Label Branding for Elementor Page Builder
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.90 ▲0.1739.69 ▲16.65
Dashboard /wp-admin3.12 ▲0.0646.47 ▲2.24
Posts /wp-admin/edit.php3.17 ▲0.0648.00 ▲2.89
Add New Post /wp-admin/post-new.php5.49 ▲0.0594.91 ▼573.03
Media Library /wp-admin/upload.php3.07 ▲0.0541.36 ▲5.20
White Label Branding /wp-admin/admin.php?page=el-wl-branding3.0534.54

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for White Label Branding for Elementor Page Builder
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,750 ▲15416.25 ▲0.728.41 ▼2.5849.55 ▲2.86
Dashboard /wp-admin3,017 ▲866.51 ▲0.53139.16 ▼11.60102.83 ▼5.25
Posts /wp-admin/edit.php2,787 ▲482.79 ▲0.0867.33 ▲0.94100.01 ▲11.49
Add New Post /wp-admin/post-new.php1,718 ▼15418.80 ▼0.38380.84 ▲16.26126.48 ▲14.33
Media Library /wp-admin/upload.php1,858 ▲515.17 ▲0.13132.38 ▼12.22119.56 ▼0.02
White Label Branding /wp-admin/admin.php?page=el-wl-branding1,6722.9380.3379.97

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/white-label-branding-elementor/includes/admin-settings.php:6
    • > PHP Fatal error
      Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/white-label-branding-elementor/assets/css/styles.css.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: elementor branding, page builder, elementor, elementor white label, elementor skin

white-label-branding-elementor/white-label-branding-elementor.php 92% from 13 tests

The entry point to "White Label Branding for Elementor Page Builder" version 1.0.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected383 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP5114137383

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity54.00
▷ Minimum class complexity54.00
▷ Maximum class complexity54.00
Average method complexity3.94
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods18
▷ Static methods18100.00%
▷ Public methods1794.44%
▷ Protected methods00.00%
▷ Private methods15.56%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin