89% web-disrupt-elementor-extended-template-library

Code Review | Elementor Library Unlimited

WordPress plugin Elementor Library Unlimited scored 89% from 54 tests.

About plugin

  • Plugin page: web-disrupt-eleme...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.3.2
  • WordPress version: 5.8.1
  • First release: Oct 11, 2018
  • Latest release: Jan 2, 2020
  • Number of updates: 10
  • Update frequency: every 44.7 days
  • Top authors: therealwebdisrupt (100%)

Code review

54 tests

User reviews

1 review

Install metrics

80+ active / 2,015 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.10MB] [CPU: ▼139.17ms] Passed 4 tests

Server-side resources used by Elementor Library Unlimited
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.92 ▲0.2134.51 ▲16.75
Dashboard /wp-admin3.15 ▲0.0945.38 ▼0.51
Posts /wp-admin/edit.php3.26 ▲0.1541.64 ▲4.44
Add New Post /wp-admin/post-new.php5.51 ▲0.0895.59 ▼554.71
Media Library /wp-admin/upload.php3.09 ▲0.0832.53 ▼5.89

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 1 new option
New WordPress options
ELU__current_version

Browser metrics Passed 4 tests

An overview of browser requirements for Elementor Library Unlimited
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8316.32 ▲0.289.08 ▼1.1148.73 ▲2.76
Dashboard /wp-admin2,967 ▲335.91 ▼0.06141.90 ▲0.61114.73 ▼10.92
Posts /wp-admin/edit.php2,736 ▼32.72 ▼0.0163.16 ▲0.1888.64 ▼4.16
Add New Post /wp-admin/post-new.php1,672 ▼418.87 ▲0.09390.07 ▲17.25108.56 ▲1.27
Media Library /wp-admin/upload.php1,807 ▼05.00 ▼0.03143.93 ▼7.24118.10 ▼5.98

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • ELU__current_version

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% 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
10 plugin tags: blocks, library, sales pages, sections, template...

web-disrupt-elementor-extended-template-library/web-disrupt-elementor-library-unlimited.php 77% from 13 tests

Analyzing the main PHP file in "Elementor Library Unlimited" version 1.0.4
Please take the time to fix the following:
  • 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("web-disrupt-elementor-extended-template-library.php" instead of "web-disrupt-elementor-library-unlimited.php")
  • Description: The description should be shorter than 140 characters (currently 150 characters long)

Code Analysis Passed 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 detected985 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
LESS152419
PHP350146398
JavaScript12421165
JSON2002
CSS1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity25.00
▷ Minimum class complexity1.00
▷ Maximum class complexity49.00
Average method complexity2.78
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods27
▷ Static methods13.70%
▷ Public methods2074.07%
▷ Protected methods00.00%
▷ Private methods725.93%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.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
4 PNG files occupy 0.20MB with 0.12MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/image/funnelmentals-pro.png31.32KB12.96KB▼ 58.61%
assets/image/funnelmentals.png41.47KB18.40KB▼ 55.64%
assets/image/empty.png6.19KB1.97KB▼ 68.25%
assets/image/elementor-pro.png123.83KB44.74KB▼ 63.87%