79% designer

Code Review | Designer - Addons for Elementor

WordPress plugin Designer - Addons for Elementor scored79%from 54 tests.

About plugin

  • Plugin page: designer
  • Plugin version: 1.2.5
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.3
  • WordPress version: 6.3.1
  • First release: Oct 1, 2022
  • Latest release: Nov 27, 2023
  • Number of updates: 24
  • Update frequency: every 17.6 days
  • Top authors: codegearthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,033 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼10.78ms] Passed 4 tests

This is a short check of server-side resources used by Designer - Addons for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0238.88 ▼1.53
Dashboard /wp-admin3.33 ▼0.0146.48 ▼16.29
Posts /wp-admin/edit.php3.38 ▲0.0347.93 ▼3.88
Add New Post /wp-admin/post-new.php5.91 ▲0.0384.15 ▼21.40
Media Library /wp-admin/upload.php3.26 ▲0.0334.79 ▼0.26

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 129 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Designer - Addons for Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,799 ▲1214.37 ▼0.371.78 ▼0.1351.02 ▲7.68
Dashboard /wp-admin2,204 ▲295.61 ▼0.1690.20 ▼24.0042.87 ▼0.39
Posts /wp-admin/edit.php2,110 ▲72.07 ▲0.1239.22 ▼1.2636.57 ▼0.93
Add New Post /wp-admin/post-new.php1,535 ▼023.51 ▼1.69647.17 ▲37.0554.65 ▼11.54
Media Library /wp-admin/upload.php1,409 ▲64.17 ▼0.0695.16 ▼9.1442.28 ▼4.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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 3× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/designer/widgets/process/snippets/layout-vertical.php
    • > /wp-content/plugins/designer/widgets/process/snippets/layout-horizontal.php
    • > /wp-content/plugins/designer/framework/library/breadcrumbs.php
  • 52× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-5.php on line 4
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-1.php on line 6
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-4.php on line 6
    • > PHP Fatal error
      Trait 'Designer\\Traits\\Singleton' not found in wp-content/plugins/designer/includes/helper.php on line 7
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-1.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/designer/widgets/team-card/snippets/layout-4.php:1
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-6.php on line 3
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-1.php on line 6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/designer/widgets/team-card/snippets/layout-3.php:1
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-grid/snippets/posts-grid.php on line 6

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: elementor, codegearthemes, page builder, sites, import...

designer/designer.php Passed 13 tests

The main PHP script in "Designer - Addons for Elementor" version 1.2.5 is automatically included on every request by WordPress
50 characters long description:
Designer is the most-complete addon for Elementor.

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 detected49,253 lines of code in 112 files:
LanguageFilesBlank linesComment linesLines of code
PHP583,7652,53727,767
JavaScript262,78145914,006
CSS231,3823277,439
SVG50041

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity14.36
▷ Minimum class complexity1.00
▷ Maximum class complexity116.00
Average method complexity2.06
▷ Minimum method complexity1.00
▷ Maximum method complexity52.00
Code structure
Namespaces40
Interfaces0
Traits1
Classes44
▷ Abstract classes00.00%
▷ Concrete classes44100.00%
▷ Final classes24.55%
Methods550
▷ Static methods91.64%
▷ Public methods31657.45%
▷ Protected methods21739.45%
▷ Private methods173.09%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/src/post-block/block3.png1.21KB0.25KB▼ 79.03%
assets/src/post-block/block0.png1.15KB0.23KB▼ 80.05%
assets/src/post-block/block4.png1.18KB0.28KB▼ 76.62%
assets/src/icon.png2.40KB0.87KB▼ 63.66%
assets/src/post-block/block1.png1.21KB0.24KB▼ 80.37%