84% super-addons-for-elementor

Code Review | Super Addons for Elementor

WordPress plugin Super Addons for Elementor scored 84% from 54 tests.

About plugin

  • Plugin page: super-addons-for-...
  • Plugin version: 1.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.5
  • WordPress version: 6.3.1
  • First release: Oct 11, 2020
  • Latest release: Oct 13, 2020
  • Number of updates: 13
  • Update frequency: every 0.5 days
  • Top authors: riponhossain (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 590 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼1.88ms] Passed 4 tests

This is a short check of server-side resources used by Super Addons for Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0538.15 ▼4.37
Dashboard /wp-admin3.35 ▲0.0544.58 ▼4.44
Posts /wp-admin/edit.php3.40 ▲0.0546.62 ▲1.01
Add New Post /wp-admin/post-new.php5.93 ▲0.0592.50 ▲0.28
Media Library /wp-admin/upload.php3.27 ▲0.0537.71 ▲2.48

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

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

Browser metrics Passed 4 tests

Super Addons for Elementor: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,844 ▲8713.21 ▼1.172.05 ▲0.0336.61 ▼9.70
Dashboard /wp-admin2,221 ▲335.89 ▼0.16108.23 ▼10.8142.69 ▼7.65
Posts /wp-admin/edit.php2,103 ▲352.05 ▲0.0541.89 ▲5.5840.60 ▲5.88
Add New Post /wp-admin/post-new.php1,552 ▲3323.16 ▲0.09648.70 ▼42.1051.75 ▲1.46
Media Library /wp-admin/upload.php1,406 ▲184.25 ▲0.0295.66 ▼15.0042.22 ▼4.33

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 8× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/blog-post.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/safe-cta.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/section-title.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/button.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/logo-carousel.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/icon-box.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/team-member.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/super-addons-for-elementor/addons/widgets/owl-slider.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 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
10 plugin tags: elementor page builder, wordpress page builder, elementor addon, elementor, addons...

super-addons-for-elementor/safe-core.php 85% from 13 tests

This is the main PHP file of "Super Addons for Elementor" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • 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
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("super-addons-for-elementor.php" instead of "safe-core.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin6,986 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
PHP116543275,467
CSS9218651,236
JavaScript21420283

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity20.89
▷ Minimum class complexity7.00
▷ Maximum class complexity45.00
Average method complexity3.21
▷ Minimum method complexity1.00
▷ Maximum method complexity42.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
Methods81
▷ Static methods11.23%
▷ Public methods6074.07%
▷ Protected methods2125.93%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants562.50%
▷ Class constants337.50%
▷ 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