78% xpro-elementor-addons

Code Review | 130+ Widgets | Best Addons For Elementor - FREE

WordPress plugin 130+ Widgets | Best Addons For Elementor - FREE scored78%from 54 tests.

About plugin

  • Plugin page: xpro-elementor-ad...
  • Plugin version: 1.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Mar 22, 2022
  • Latest release: Nov 24, 2023
  • Number of updates: 85
  • Update frequency: every 7.2 days
  • Top authors: xpro (100%)

Code review

54 tests

User reviews

21 reviews

Install metrics

8,000+ active /57,846 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲1.33MB] [CPU: ▲1.65ms] 75% from 4 tests

Analyzing server-side resources used by 130+ Widgets | Best Addons For Elementor - FREE
Please take the time to fix the following items
  • CPU: The total CPU usage must kept under 500.00ms (currently 712.14ms on /wp-admin/admin.php?page=xpro-elementor-addons-starter-sites)
PageMemory (MB)CPU Time (ms)
Home /4.81 ▲1.3442.66 ▼1.41
Dashboard /wp-admin4.64 ▲1.2957.31 ▼6.41
Posts /wp-admin/edit.php4.75 ▲1.3956.30 ▲6.38
Add New Post /wp-admin/post-new.php7.24 ▲1.34102.82 ▲8.02
Media Library /wp-admin/upload.php4.56 ▲1.3345.96 ▲12.67
General /wp-admin/admin.php?page=xpro-elementor-addons4.6450.10
Starter Sites /wp-admin/admin.php?page=xpro-elementor-addons-starter-sites4.66712.14
Demo Export /wp-admin/admin.php?page=xpro-elementor-addons-demo-export4.5339.62
Ai ChatGPT /wp-admin/admin.php?page=xpro-auto-content4.5941.12

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 387 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for 130+ Widgets | Best Addons For Elementor - FREE
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲7514.35 ▼0.011.57 ▼0.0837.32 ▼6.83
Dashboard /wp-admin2,230 ▲535.63 ▲0.0393.81 ▼3.0375.39 ▲31.71
Posts /wp-admin/edit.php2,147 ▲472.00 ▼0.0337.70 ▼1.8334.89 ▼1.01
Add New Post /wp-admin/post-new.php1,721 ▲19522.18 ▼0.69682.18 ▲36.7549.60 ▲0.40
Media Library /wp-admin/upload.php1,447 ▲504.19 ▲0.02101.80 ▲4.3868.43 ▲26.68
General /wp-admin/admin.php?page=xpro-elementor-addons3,9602.2554.75123.58
Starter Sites /wp-admin/admin.php?page=xpro-elementor-addons-starter-sites2,1743.8390.04118.72
Demo Export /wp-admin/admin.php?page=xpro-elementor-addons-demo-export1,2511.6931.5345.23
Ai ChatGPT /wp-admin/admin.php?page=xpro-auto-content1,1622.1827.6732.73

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 50% 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 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
Please fix the following
  • 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
    • > /wp-content/plugins/xpro-elementor-addons/widgets/table/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/business-hours/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/pie-chart/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/social-icon/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/counter/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/simple-gallery/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/testimonial/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/pricing/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/logo-grid/layout/frontend.php
    • > /wp-content/plugins/xpro-elementor-addons/widgets/hot-spot/layout/frontend.php
  • 401× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-elementor-addons/widgets/testimonial/layout/frontend.php on line 74
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/xpro-elementor-addons/widgets/image-scroller/layout/frontend.php on line 11
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/xpro-elementor-addons/widgets/testimonial/layout/frontend.php on line 2
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-elementor-addons/widgets/testimonial/layout/frontend.php on line 8
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-elementor-addons/widgets/promo-box/layout/frontend.php on line 34
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-elementor-addons/widgets/testimonial/layout/frontend.php on line 83
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/xpro-elementor-addons/widgets/team/layout/frontend.php on line 7
    • > PHP Fatal error
      Uncaught Error: Class 'XproElementorAddons\\Inc\\Xpro_Elementor_Widget_List' not found in wp-content/plugins/xpro-elementor-addons/libs/dashboard/views/settings-widgets.php:8
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/xpro-elementor-addons/widgets/author-box/layout/frontend.php on line 43
    • > PHP Notice
      Trying to get property 'post_type' of non-object in wp-content/plugins/xpro-elementor-addons/widgets/woo-product-price/layout/frontend.php on line 4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Requires php: Invalid plugin version format
The official readme.txt is a good inspiration

xpro-elementor-addons/xpro-elementor-addons.php Passed 13 tests

The primary PHP file in "130+ Widgets | Best Addons For Elementor - FREE" version 1.4.1 is used by WordPress to initiate all plugin functionality
140 characters long description:
A complete Elementor Addons Pack to enhance your web designing experience. Create amazing websites with 50+ FREE Widgets, Extensions & more.

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin72,723 lines of code in 338 files:
LanguageFilesBlank linesComment linesLines of code
PHP1857,9167,36759,733
SVG630129,432
CSS321,465283,130
JSON100295
JavaScript569107132
Markdown1001

PHP code 50% from 2 tests

A short review of cyclomatic complexity and code structure
Please tend to the following items
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 103)
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity12.58
▷ Minimum class complexity1.00
▷ Maximum class complexity402.00
Average method complexity2.59
▷ Minimum method complexity1.00
▷ Maximum method complexity103.00
Code structure
Namespaces11
Interfaces0
Traits0
Classes118
▷ Abstract classes00.00%
▷ Concrete classes118100.00%
▷ Final classes10.85%
Methods860
▷ Static methods9811.40%
▷ Public methods66877.67%
▷ Protected methods15718.26%
▷ Private methods354.07%
Functions39
▷ Named functions3692.31%
▷ Anonymous functions37.69%
Constants27
▷ Global constants1037.04%
▷ Class constants1762.96%
▷ Public constants17100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 compressed PNG files occupy 0.27MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/admin/images/featured-bg-1.png25.42KB25.46KB0.00%
assets/admin/images/support-image-1.png18.55KB18.58KB0.00%
assets/admin/images/xpro.png3.76KB3.74KB▼ 0.62%
assets/admin/images/xpro-logo-dark.png3.60KB3.59KB0.27%
assets/admin/images/xpro-assistant.png6.12KB2.44KB▼ 60.14%