83% creative-addons-for-elementor

Code Review | Creative Addons for Elementor

WordPress plugin Creative Addons for Elementor scored83%from 54 tests.

About plugin

  • Plugin page: creative-addons-f...
  • Plugin version: 1.5.8
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-6.4
  • WordPress version: 6.3.1
  • First release: Oct 16, 2020
  • Latest release: Nov 2, 2023
  • Number of updates: 38
  • Update frequency: every 30.4 days
  • Top authors: echoplugins (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /14,080 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Creative Addons for Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.57 ▼2.98
Dashboard /wp-admin3.31 ▲0.0148.74 ▼4.58
Posts /wp-admin/edit.php3.36 ▲0.0151.19 ▼0.07
Add New Post /wp-admin/post-new.php5.89 ▲0.0195.27 ▼1.94
Media Library /wp-admin/upload.php3.23 ▲0.0136.66 ▲1.08

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Creative Addons for Elementor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲8114.18 ▼0.201.90 ▲0.3039.71 ▲0.69
Dashboard /wp-admin2,208 ▲365.58 ▼0.1491.85 ▼32.5838.64 ▼9.06
Posts /wp-admin/edit.php2,113 ▲132.05 ▲0.0240.25 ▼0.3736.78 ▼0.24
Add New Post /wp-admin/post-new.php1,534 ▼223.48 ▲5.37677.24 ▲63.1653.77 ▼8.62
Media Library /wp-admin/upload.php1,413 ▲134.17 ▲0.0098.79 ▼3.4944.44 ▼1.96

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Please fix the following items
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/creative-addons-for-elementor/includes/system/plugin-links.php:22
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/creative-addons-for-elementor/includes/system/plugin-setup.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: builder, articles, documents, elementor addons, elementor widgets...

creative-addons-for-elementor/creative-addons-for-elementor.php 85% from 13 tests

The principal PHP file in "Creative Addons for Elementor" v. 1.5.8 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Domain Path: The domain path should use only dashes and lowercase characters ("languages")
  • Domain Path: The domain path should be prefixed with a forward slash character ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin41,949 lines of code in 103 files:
LanguageFilesBlank linesComment linesLines of code
PHP444,3793,84125,618
CSS361,67648711,007
SVG3002,767
JavaScript198122332,439
XML100118

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity30.75
▷ Minimum class complexity2.00
▷ Maximum class complexity194.00
Average method complexity3.51
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces9
Interfaces0
Traits0
Classes40
▷ Abstract classes12.50%
▷ Concrete classes3997.50%
▷ Final classes12.56%
Methods475
▷ Static methods14730.95%
▷ Public methods26656.00%
▷ Protected methods15232.00%
▷ Private methods5712.00%
Functions13
▷ Named functions1076.92%
▷ Anonymous functions323.08%
Constants42
▷ Global constants1126.19%
▷ Class constants3173.81%
▷ Public constants31100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
54 PNG files occupy 1.51MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/presets/advanced-heading/advanced-heading-black-design-4.png12.37KB8.18KB▼ 33.87%
assets/images/presets/kb-categories/kb-categories-design-7.png21.99KB9.64KB▼ 56.15%
assets/images/presets/advanced-heading/advanced-heading-black-design-9.png30.54KB14.70KB▼ 51.87%
assets/images/presets/advanced-heading/advanced-heading-black-design-3.png13.27KB8.50KB▼ 35.97%
assets/images/presets/notification-box/notification-box-design-6.png53.64KB16.80KB▼ 68.68%