89% langle-addons-for-elementor

Code Review | Langle Addons for Elementor

WordPress plugin Langle Addons for Elementor scored89%from 54 tests.

About plugin

  • Plugin page: langle-addons-for...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1
  • WordPress version: 6.3.1
  • First release: Jan 21, 2023
  • Latest release: Jan 21, 2023
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: autocircle (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /121 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
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼8.81ms] Passed 4 tests

An overview of server-side resources used by Langle Addons for Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0739.78 ▼3.17
Dashboard /wp-admin3.38 ▲0.0748.67 ▼4.53
Posts /wp-admin/edit.php3.43 ▲0.0747.12 ▼2.66
Add New Post /wp-admin/post-new.php5.96 ▲0.0781.74 ▼24.86
Media Library /wp-admin/upload.php3.30 ▲0.0737.13 ▲0.37

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Langle Addons for Elementor: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7314.81 ▲0.251.77 ▲0.0445.09 ▼0.70
Dashboard /wp-admin2,225 ▲375.87 ▲0.83100.58 ▼15.8243.15 ▼1.74
Posts /wp-admin/edit.php2,107 ▲212.02 ▼0.0035.39 ▼0.8935.35 ▲1.18
Add New Post /wp-admin/post-new.php1,537 ▲2023.25 ▲5.70636.91 ▼26.5056.35 ▲7.60
Media Library /wp-admin/upload.php1,407 ▲164.27 ▲0.0993.76 ▼6.2040.76 ▼3.06

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

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 83% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: elementor, elementor addons, elementor widget, elementor addon

langle-addons-for-elementor/init.php 62% from 13 tests

The main file in "Langle Addons for Elementor" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 196 characters long)
  • Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "4.0")
  • Domain Path: The domain path folder does not exist ("/languages/")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Main file name: The principal plugin file should be the same as the plugin slug ("langle-addons-for-elementor.php" instead of "init.php")

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
Success! There were no dangerous files found in this plugin18,644 lines of code in 55 files:
LanguageFilesBlank linesComment linesLines of code
PHP301,67599313,721
CSS19590204,147
JavaScript6193116776

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity11.54
▷ Minimum class complexity1.00
▷ Maximum class complexity46.00
Average method complexity2.19
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces4
Interfaces0
Traits3
Classes25
▷ Abstract classes14.00%
▷ Concrete classes2496.00%
▷ Final classes00.00%
Methods250
▷ Static methods187.20%
▷ Public methods9939.60%
▷ Protected methods14959.60%
▷ Private methods20.80%
Functions20
▷ Named functions1995.00%
▷ Anonymous functions15.00%
Constants10
▷ Global constants880.00%
▷ Class constants220.00%
▷ Public constants2100.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
No PNG files were detected