84% epic-addons-for-elementor

Code Review | Epic Addons for Elementor

WordPress plugin Epic Addons for Elementor scored84%from 54 tests.

About plugin

  • Plugin page: epic-addons-for-e...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.5
  • WordPress version: 6.3.1
  • First release: Aug 25, 2020
  • Latest release: Dec 14, 2020
  • Number of updates: 11
  • Update frequency: every 10.2 days
  • Top authors: epicaddons (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /910 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 gracefully, with no errors

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

This is a short check of server-side resources used by Epic Addons for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0133.29 ▼5.81
Dashboard /wp-admin3.32 ▼0.0244.18 ▼14.28
Posts /wp-admin/edit.php3.37 ▲0.0246.57 ▲1.89
Add New Post /wp-admin/post-new.php5.90 ▲0.0290.51 ▼1.88
Media Library /wp-admin/upload.php3.25 ▲0.0232.05 ▼0.75

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Epic Addons for Elementor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲6314.44 ▲0.061.78 ▼0.3541.49 ▼4.68
Dashboard /wp-admin2,215 ▲245.10 ▼0.79108.97 ▼8.8444.38 ▲0.49
Posts /wp-admin/edit.php2,097 ▲112.03 ▲0.0539.26 ▲4.0336.32 ▲0.37
Add New Post /wp-admin/post-new.php1,542 ▲623.27 ▲0.11576.66 ▼87.1051.16 ▼8.06
Media Library /wp-admin/upload.php1,397 ▲124.22 ▼0.0195.50 ▼0.7242.12 ▲1.15

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

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
The smoke test was a success, however most plugin functionality was not tested

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
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'ElementorStarter\\Base\\Module_Base' not found in wp-content/plugins/epic-addons-for-elementor/modules/starter/module.php:6

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots require images: #1 (Screenshots 1), #2 (Screenshots 2), #3 (Screenshots 3), #4 (Screenshots 4), #5 (Screenshots 5)
You can look at the official readme.txt

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

The primary PHP file in "Epic Addons for Elementor" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)

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
There were no executable files found in this plugin392 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP8124111389
JavaScript2002
CSS1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity5.60
▷ Minimum class complexity1.00
▷ Maximum class complexity15.00
Average method complexity1.61
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes5
▷ Abstract classes120.00%
▷ Concrete classes480.00%
▷ Final classes125.00%
Methods39
▷ Static methods37.69%
▷ Public methods3179.49%
▷ Protected methods410.26%
▷ Private methods410.26%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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