78% enteraddons

Code Review | Enter Addons - Ultimate Template Builder for Elementor

WordPress plugin Enter Addons - Ultimate Template Builder for Elementor scored78%from 54 tests.

About plugin

  • Plugin page: enteraddons
  • Plugin version: 2.1.2
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 25, 2022
  • Latest release: Nov 9, 2023
  • Number of updates: 41
  • Update frequency: every 12.3 days
  • Top authors: themelooks (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active /10,735 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼7.99ms] Passed 4 tests

A check of server-side resources used by Enter Addons - Ultimate Template Builder for Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1838.10 ▼4.15
Dashboard /wp-admin3.48 ▲0.1445.29 ▼10.22
Posts /wp-admin/edit.php3.60 ▲0.2449.09 ▲4.93
Add New Post /wp-admin/post-new.php6.06 ▲0.1881.64 ▼18.38
Media Library /wp-admin/upload.php3.41 ▲0.1835.69 ▲0.81

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 593 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
enteraddons_widgets_activation
elementor_load_fa4_shim
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Enter Addons - Ultimate Template Builder for Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲4914.68 ▲0.391.55 ▼0.2136.97 ▼7.32
Dashboard /wp-admin2,219 ▲455.63 ▲0.0693.74 ▲3.0638.33 ▼1.06
Posts /wp-admin/edit.php2,125 ▲252.12 ▲0.1139.54 ▼0.4338.01 ▼0.90
Add New Post /wp-admin/post-new.php1,542 ▲1623.08 ▼0.24599.94 ▼15.3955.32 ▼2.03
Media Library /wp-admin/upload.php1,424 ▲214.20 ▼0.03101.97 ▲2.7645.11 ▲3.93

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: 8 options
    • widget_recent-posts
    • widget_recent-comments
    • enteraddons_widgets_activation
    • elementor_load_fa4_shim
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • 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)
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/enteraddons/core/libs/editor/view/template-library-preview.php
  • 80× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Trait 'Enteraddons\\Widgets\\Content_Ticker\\Traits\\Templates_Components' not found in wp-content/plugins/enteraddons/widgets/content_ticker/Content_Ticker_Template.php on line 14
    • > PHP Fatal error
      Trait 'Enteraddons\\Widgets\\Testimonial_Grid\\Traits\\Templates_Components' not found in wp-content/plugins/enteraddons/widgets/testimonial_grid/Testimonial_Grid_Template.php on line 14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/enteraddons/enteraddons.php:47
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/enteraddons/core/libs/editor/view/template-library-preview-header.php:7
    • > PHP Fatal error
      Trait 'Enteraddons\\Widgets\\Video_Button\\Traits\\Templates_Components' not found in wp-content/plugins/enteraddons/widgets/video-button/Video_Button_Template.php on line 14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/enteraddons/core/libs/editor/view/template-library-header.php:6
    • > PHP Fatal error
      Trait 'Enteraddons\\Widgets\\Advanced_Tabs\\Traits\\Templates_Components' not found in wp-content/plugins/enteraddons/widgets/advanced_tabs/Advanced_Tabs_Template.php on line 14
    • > PHP Fatal error
      Trait 'Enteraddons\\Admin\\Header' not found in wp-content/plugins/enteraddons/admin/admin-templates/Admin_Templates_Map.php on line 17
    • > PHP Fatal error
      Trait 'Enteraddons\\Widgets\\Recent_Posts\\Traits\\Templates_Components' not found in wp-content/plugins/enteraddons/widgets/recent_posts/Recent_Posts_Template.php on line 14
    • > PHP Fatal error
      Uncaught Error: Class 'Enteraddons\\Classes\\Meta_Base' not found in wp-content/plugins/enteraddons/classes/Post_Type_Meta_Base.php:15

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 81% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in enteraddons/assets to your readme.txt
  • Requires php: Invalid version format
  • Requires at least: Invalid version format
Please take inspiration from this readme.txt

enteraddons/enteraddons.php Passed 13 tests

Analyzing the main PHP file in "Enter Addons - Ultimate Template Builder for Elementor" version 2.1.2
39 characters long description:
Ultimate Template Builder 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 detected107,651 lines of code in 502 files:
LanguageFilesBlank linesComment linesLines of code
PHP3265,5646,07469,827
JavaScript278732,44117,183
SVG961512,188
CSS1394831608,449
INI1004

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity5.04
▷ Minimum class complexity1.00
▷ Maximum class complexity58.00
Average method complexity1.93
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces136
Interfaces0
Traits152
Classes164
▷ Abstract classes31.83%
▷ Concrete classes16198.17%
▷ Final classes10.62%
Methods1,371
▷ Static methods69450.62%
▷ Public methods93768.34%
▷ Protected methods34625.24%
▷ Private methods886.42%
Functions3
▷ Named functions133.33%
▷ Anonymous functions266.67%
Constants19
▷ Global constants1789.47%
▷ Class constants210.53%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
37 PNG files occupy 0.23MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/vandor/images/prettyPhoto/light_rounded/btnPrevious.png1.41KB1.19KB▼ 15.74%
assets/vandor/images/prettyPhoto/light_square/sprite.png3.42KB2.13KB▼ 37.67%
assets/icon_s.png2.40KB1.85KB▼ 23.01%
assets/vandor/images/prettyPhoto/facebook/contentPatternRight.png0.13KB0.10KB▼ 24.26%
assets/vandor/images/prettyPhoto/facebook/contentPatternBottom.png0.14KB0.11KB▼ 21.13%