83% unlimited-addon-for-elementor

Code Review | Unlimited Addon For Elementor

WordPress plugin Unlimited Addon For Elementor scored83%from 54 tests.

About plugin

  • Plugin page: unlimited-addon-f...
  • Plugin version: 2.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 16, 2020
  • Latest release: Aug 15, 2023
  • Number of updates: 19
  • Update frequency: every 57.7 days
  • Top authors: nayon46 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

800+ active /8,052 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

An overview of server-side resources used by Unlimited Addon For Elementor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.49 ▼1.64
Dashboard /wp-admin3.32 ▲0.0254.26 ▼1.90
Posts /wp-admin/edit.php3.37 ▲0.0253.28 ▼3.52
Add New Post /wp-admin/post-new.php5.90 ▲0.0289.21 ▼26.03
Media Library /wp-admin/upload.php3.24 ▲0.0241.56 ▲1.78

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

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

Browser metrics Passed 4 tests

Unlimited Addon For Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4514.36 ▲0.091.82 ▲0.1243.98 ▲0.03
Dashboard /wp-admin2,215 ▲355.63 ▼0.0286.76 ▼2.0641.94 ▲2.57
Posts /wp-admin/edit.php2,117 ▲141.96 ▼0.0441.00 ▼3.8036.41 ▲0.79
Add New Post /wp-admin/post-new.php1,540 ▲623.33 ▲5.14652.35 ▼34.0456.42 ▼13.80
Media Library /wp-admin/upload.php1,414 ▲204.26 ▲0.15102.10 ▼13.5545.36 ▼8.64

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 12× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-card.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-heading.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function UnlimitedMianAddon\\add_action() in wp-content/plugins/unlimited-addon-for-elementor/plugin.php:268
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-flipbox.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-interactive-banner.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-card-carousel.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-table.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-business-hour.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-testimonials.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/unlimited-addon-for-elementor/widgets/uae-addon-timeline.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
  • Screenshots: Add descriptions for screenshots #26, #27, #28, #29, #30 in unlimited-addon-for-elementor/assets to your readme.txt
Please take inspiration from this readme.txt

unlimited-addon-for-elementor/unlimited-addon-for-elementor.php 92% from 13 tests

The main file in "Unlimited Addon For Elementor" v. 2.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected30,836 lines of code in 55 files:
LanguageFilesBlank linesComment linesLines of code
CSS790218020,959
PHP391,5693,2059,265
JavaScript989149612

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.08
Average class complexity3.95
▷ Minimum class complexity1.00
▷ Maximum class complexity15.00
Average method complexity1.37
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes37
▷ Abstract classes00.00%
▷ Concrete classes37100.00%
▷ Final classes12.70%
Methods297
▷ Static methods10.34%
▷ Public methods19164.31%
▷ Protected methods10535.35%
▷ Private methods10.34%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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