Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼294.97ms] Passed 4 tests
A check of server-side resources used by Advanced Widgets for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 56.07 ▲5.76 |
Dashboard /wp-admin | 3.43 ▲0.03 | 33.39 ▼0.74 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.24 ▼2.82 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.07 | 93.07 ▼1,180.71 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 28.50 ▲4.39 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Widgets for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲51 | 15.98 ▼0.07 | 5.77 ▼0.99 | 2.90 ▲0.58 |
Dashboard /wp-admin | 2,892 ▲31 | 6.18 ▼0.04 | 115.24 ▼25.74 | 153.63 ▼117.35 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.24 ▲0.00 | 61.81 ▼7.67 | 138.76 ▼11.44 |
Add New Post /wp-admin/post-new.php | 1,752 ▲84 | 20.96 ▲2.84 | 432.72 ▲39.35 | 156.26 ▼0.50 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.55 ▲0.08 | 146.74 ▲5.27 | 180.63 ▲0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
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 | 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 a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: advanced custom fields, advanced, template, acf, form...
advanced-elementor/functions.php 85% from 13 tests
The primary PHP file in "Advanced Widgets for Elementor" version 1.0.7 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, 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 ("advanced-elementor.php" instead of "functions.php")
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
No dangerous file extensions were detected2,102 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 371 | 816 | 2,102 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 1 | 5.56% |
▷ Concrete classes | 17 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 3 | 2.86% |
▷ Public methods | 51 | 48.57% |
▷ Protected methods | 28 | 26.67% |
▷ Private methods | 26 | 24.76% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected