84% wooaddons-for-elementor

Code Review | Wooaddons For Elementor

WordPress plugin Wooaddons For Elementor scored84%from 54 tests.

About plugin

  • Plugin page: wooaddons-for-ele...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.3.2
  • WordPress version: 6.3.1
  • First release: Feb 15, 2020
  • Latest release: Feb 15, 2020
  • Number of updates: 4
  • Update frequency: every 0.5 days
  • Top authors: elementpress (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /787 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼7.06ms] Passed 4 tests

Server-side resources used by Wooaddons For Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0441.86 ▼3.02
Dashboard /wp-admin3.35 ▲0.0448.29 ▼3.90
Posts /wp-admin/edit.php3.40 ▲0.0452.63 ▼2.30
Add New Post /wp-admin/post-new.php5.93 ▲0.0484.82 ▼17.42
Media Library /wp-admin/upload.php3.27 ▲0.0436.98 ▼3.90

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

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

Browser metrics Passed 4 tests

Wooaddons For Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲4614.26 ▼0.121.71 ▼0.0744.58 ▲1.54
Dashboard /wp-admin2,216 ▲365.64 ▲0.0786.62 ▼5.2642.74 ▼0.69
Posts /wp-admin/edit.php2,118 ▲152.04 ▲0.0434.99 ▼9.9737.13 ▲0.63
Add New Post /wp-admin/post-new.php1,539 ▲1323.17 ▲0.17663.60 ▲36.1852.57 ▼6.57
Media Library /wp-admin/upload.php1,418 ▲184.24 ▲0.0699.40 ▼10.4250.08 ▲4.28

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wooaddons-for-elementor/includes/widgets/products-grid.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed: The official readme.txt is a good inspiration

wooaddons-for-elementor/wooaddons-for-elementor.php Passed 13 tests

"Wooaddons For Elementor" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
53 characters long description:
Awesome Elementor page builder addons for woocommerce

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
No dangerous file extensions were detected4,523 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
CSS5543313,017
PHP32382781,465
JavaScript311741

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity25.50
▷ Minimum class complexity12.00
▷ Maximum class complexity39.00
Average method complexity3.45
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods20
▷ Static methods15.00%
▷ Public methods1785.00%
▷ Protected methods315.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants240.00%
▷ Class constants360.00%
▷ Public constants3100.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
There were not PNG files found in your plugin