89% gum-elementor-addon

Code Review | Gum Elementor Addon

WordPress plugin Gum Elementor Addon scored89%from 54 tests.

About plugin

  • Plugin page: gum-elementor-addon
  • Plugin version: 1.3.0
  • PHP compatiblity: 5.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-6.3.1
  • WordPress version: 6.3.1
  • First release: Feb 6, 2021
  • Latest release: Oct 12, 2023
  • Number of updates: 49
  • Update frequency: every 20.0 days
  • Top authors: celomitan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

5,000+ active /24,657 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Server-side resources used by Gum Elementor Addon
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0033.07 ▼5.79
Dashboard /wp-admin3.31 ▼0.0447.24 ▼8.79
Posts /wp-admin/edit.php3.36 ▲0.0043.90 ▼3.48
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.77 ▼10.08
Media Library /wp-admin/upload.php3.23 ▲0.0033.73 ▲0.33

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Gum Elementor Addon
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.24 ▼0.111.61 ▼0.0443.67 ▲5.02
Dashboard /wp-admin2,195 ▲175.53 ▼0.0883.07 ▼16.7236.94 ▼3.01
Posts /wp-admin/edit.php2,100 ▼31.97 ▼0.0135.31 ▲0.1634.37 ▼0.52
Add New Post /wp-admin/post-new.php1,526 ▼023.39 ▲0.44688.79 ▲28.7457.88 ▼2.12
Media Library /wp-admin/upload.php1,403 ▲34.19 ▲0.0094.41 ▲2.3642.11 ▼1.22

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

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

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were 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
These attributes need to be fixed:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

gum-elementor-addon/gum-elementor-addon.php 92% from 13 tests

Analyzing the main PHP file in "Gum Elementor Addon" version 1.3.0
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 228 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin26,171 lines of code in 34 files:
LanguageFilesBlank linesComment linesLines of code
PHP264,4301,37324,463
CSS216272902
JavaScript517782805
HTML1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity23.77
▷ Minimum class complexity1.00
▷ Maximum class complexity86.00
Average method complexity3.47
▷ Minimum method complexity1.00
▷ Maximum method complexity67.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes30
▷ Abstract classes00.00%
▷ Concrete classes30100.00%
▷ Final classes26.67%
Methods277
▷ Static methods124.33%
▷ Public methods19871.48%
▷ Protected methods7828.16%
▷ Private methods10.36%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin