90% lazy-load-control-for-elementor

Code Review | Lazy Load Control For Elementor - Remove the Lazy Load attribute from specific images in Elementor

WordPress plugin Lazy Load Control For Elementor - Remove the Lazy Load attribute from specific images in Elementor scored90%from 54 tests.

About plugin

  • Plugin page: lazy-load-control...
  • Plugin version: 0.0.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Jan 6, 2023
  • Latest release: Aug 9, 2023
  • Number of updates: 15
  • Update frequency: every 14.3 days
  • Top authors: giuse (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

2,000+ active /4,057 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

Analyzing server-side resources used by Lazy Load Control For Elementor - Remove the Lazy Load attribute from specific images in Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0042.22 ▼5.66
Dashboard /wp-admin3.31 ▼0.0452.72 ▼15.59
Posts /wp-admin/edit.php3.36 ▲0.0046.40 ▼6.35
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.30 ▼26.27
Media Library /wp-admin/upload.php3.23 ▲0.0037.57 ▼3.83

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

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

Browser metrics Passed 4 tests

Lazy Load Control For Elementor - Remove the Lazy Load attribute from specific images in Elementor: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.60 ▼0.801.83 ▲0.0547.67 ▲1.21
Dashboard /wp-admin2,209 ▲185.91 ▲1.04106.63 ▼4.0537.05 ▼4.88
Posts /wp-admin/edit.php2,092 ▼02.06 ▲0.0738.31 ▼4.0033.48 ▼0.74
Add New Post /wp-admin/post-new.php1,514 ▼017.46 ▼0.17616.15 ▼11.2258.54 ▲6.51
Media Library /wp-admin/upload.php1,391 ▲34.17 ▼0.0296.78 ▼0.3239.98 ▼2.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 were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: largest contentful paint, lcp, performance, speed optimization

lazy-load-control-for-elementor/lazy-load-control-for-elementor.php 92% from 13 tests

The main file in "Lazy Load Control For Elementor - Remove the Lazy Load attribute from specific images in Elementor" v. 0.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Domain Path: The domain path folder does not exist ("/languages/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected31 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP232031

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants0
▷ Global constants00.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
No PNG files were detected