83% awesome-addons

Code Review | Awesome Addons for Elementor Page Builder

WordPress plugin Awesome Addons for Elementor Page Builder scored83%from 54 tests.

About plugin

  • Plugin page: awesome-addons
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.8
  • WordPress version: 6.3.1
  • First release: Dec 31, 2019
  • Latest release: Jul 22, 2021
  • Number of updates: 7
  • Update frequency: every 81.3 days
  • Top authors: themebing (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /839 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼5.34ms] Passed 4 tests

An overview of server-side resources used by Awesome Addons for Elementor Page Builder
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.87 ▼0.91
Dashboard /wp-admin3.31 ▼0.0445.73 ▼14.43
Posts /wp-admin/edit.php3.36 ▲0.0045.48 ▲3.32
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.02 ▼7.02
Media Library /wp-admin/upload.php3.23 ▲0.0033.87 ▲1.01

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Awesome Addons for Elementor Page Builder
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲7213.22 ▼1.061.61 ▲0.0239.93 ▲1.02
Dashboard /wp-admin2,224 ▲334.85 ▼0.04108.09 ▲8.3940.95 ▼3.11
Posts /wp-admin/edit.php2,106 ▲172.00 ▼0.0339.79 ▲5.0536.98 ▲3.50
Add New Post /wp-admin/post-new.php1,555 ▲3618.68 ▼4.36609.15 ▼17.0754.79 ▲5.73
Media Library /wp-admin/upload.php1,403 ▲184.26 ▲0.0899.29 ▲6.6142.27 ▲1.14

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: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% 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 items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Awesome_Addons\\add_action() in wp-content/plugins/awesome-addons/plugin.php:139

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% 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
Attributes that need to be fixed:
  • Screenshots: Please add an image for screenshot #1 (Accordion widget)
The official readme.txt is a good inspiration

awesome-addons/awesome-addones.php 85% from 13 tests

The principal PHP file in "Awesome Addons for Elementor Page Builder" v. 1.0.2 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("awesome-addons.php" instead of "awesome-addones.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,227 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PHP132881991,397
CSS413950789
JavaScript793841

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity3.67
▷ Minimum class complexity1.00
▷ Maximum class complexity9.00
Average method complexity1.44
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes18.33%
Methods72
▷ Static methods11.39%
▷ Public methods5170.83%
▷ Protected methods2027.78%
▷ Private methods11.39%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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
PNG images were not found in this plugin