89% essential-classy-addons-for-elementor

Code Review | Essential Classy Addons For Elementor | EC Addons

WordPress plugin Essential Classy Addons For Elementor | EC Addons scored89%from 54 tests.

About plugin

  • Plugin page: essential-classy-...
  • Plugin version: 3.0.9
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7.0-6.4
  • WordPress version: 6.3.1
  • First release: Dec 14, 2021
  • Latest release: Nov 8, 2023
  • Number of updates: 29
  • Update frequency: every 24.1 days
  • Top authors: kapasias (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

50+ active /3,139 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
Install script ran successfully

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

A check of server-side resources used by Essential Classy Addons For Elementor | EC Addons
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.77 ▼8.96
Dashboard /wp-admin3.32 ▲0.0247.03 ▼1.27
Posts /wp-admin/edit.php3.37 ▲0.0250.97 ▼2.24
Add New Post /wp-admin/post-new.php5.90 ▲0.0296.26 ▲2.91
Media Library /wp-admin/upload.php3.24 ▲0.0236.78 ▲6.68

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 297 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Essential Classy Addons For Elementor | EC Addons
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4214.23 ▼0.111.61 ▼0.6538.42 ▼3.45
Dashboard /wp-admin2,209 ▲295.62 ▼0.0394.95 ▼10.8943.62 ▲1.71
Posts /wp-admin/edit.php2,117 ▲172.04 ▲0.0440.35 ▲3.2438.10 ▲4.97
Add New Post /wp-admin/post-new.php1,535 ▲923.30 ▲0.17615.78 ▼35.2550.95 ▼2.06
Media Library /wp-admin/upload.php1,414 ▲174.15 ▼0.1298.08 ▼6.8142.55 ▲0.80

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
You can take inspiration from this readme.txt

essential-classy-addons-for-elementor/essential-classy-addons-for-elementor.php 92% from 13 tests

The entry point to "Essential Classy Addons For Elementor | EC Addons" version 3.0.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 283 characters long)

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
Good job! No executable or dangerous file extensions detected78,737 lines of code in 289 files:
LanguageFilesBlank linesComment linesLines of code
PHP1482,99364771,076
CSS962101086,135
JavaScript44112321,266
XML100260

PHP code 50% from 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
  • Method cyclomatic complexity has to be reduced to less than 100 (currently 142)
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity16.73
▷ Minimum class complexity1.00
▷ Maximum class complexity142.00
Average method complexity2.76
▷ Minimum method complexity1.00
▷ Maximum method complexity142.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes126
▷ Abstract classes00.00%
▷ Concrete classes126100.00%
▷ Final classes10.79%
Methods1,071
▷ Static methods393.64%
▷ Public methods79874.51%
▷ Protected methods25623.90%
▷ Private methods171.59%
Functions17
▷ Named functions635.29%
▷ Anonymous functions1164.71%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.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
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/ec.png23.57KB9.73KB▼ 58.72%
assets/images/whitelabel.png30.43KB8.37KB▼ 72.50%
assets/images/placeholder.png9.94KB8.86KB▼ 10.83%