Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼4.48ms] Passed 4 tests
Server-side resources used by ElementsKit Elementor addons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 36.88 ▼4.25 |
Dashboard /wp-admin | 3.76 ▲0.41 | 46.74 ▼14.16 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 47.97 ▲1.10 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 89.18 ▼0.62 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 35.65 ▲2.37 |
Server storage [IO: ▲12.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 452 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
elementskit-lite__plugin_activated |
Browser metrics Passed 4 tests
ElementsKit Elementor addons: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲60 | 14.29 ▼0.05 | 1.43 ▼0.30 | 35.96 ▼3.22 |
Dashboard /wp-admin | 2,227 ▲49 | 5.58 ▼0.11 | 91.28 ▼22.86 | 40.39 ▼5.34 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 2.15 ▲0.17 | 36.85 ▲0.60 | 35.87 ▲4.47 |
Add New Post /wp-admin/post-new.php | 1,561 ▲26 | 23.31 ▼1.88 | 673.70 ▲58.42 | 50.97 ▼6.40 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.20 ▲0.02 | 99.92 ▼6.45 | 41.14 ▼1.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- elementskit-lite__plugin_activated
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/elementskit-lite/widgets/team/parts/social-list.php
- 195× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: ekit_video_popup_video_type in wp-content/plugins/elementskit-lite/widgets/video/parts/video-button.php on line 10
- > PHP Notice
Undefined index: link in wp-content/plugins/elementskit-lite/modules/onepage-scroll/nav-styles/line-grow.php on line 7
- > PHP Notice
Undefined variable: classlist in wp-content/plugins/elementskit-lite/modules/onepage-scroll/nav-styles/line-fill.php on line 6
- > PHP Notice
Undefined index: link in wp-content/plugins/elementskit-lite/modules/onepage-scroll/nav-styles/circle-stroke.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'ElementsKit_Lite\\Config\\Module_List' not found in wp-content/plugins/elementskit-lite/libs/framework/views/settings-sections/modules.php:2
- > PHP Fatal error
Uncaught Error: Class 'ElementsKit_Lite\\Core\\Handler_Widget' not found in wp-content/plugins/elementskit-lite/widgets/faq/faq-handler.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/elementskit-lite/modules/onepage-scroll/nav-styles/line-fill.php:30
- > PHP Fatal error
Uncaught Error: Class 'ElementsKit_Lite\\Core\\Handler_Widget' not found in wp-content/plugins/elementskit-lite/widgets/post-tab/post-tab-handler.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elementskit-lite/widgets/testimonial/style/style1.php:1
- > PHP Notice
Undefined variable: nav_pos in wp-content/plugins/elementskit-lite/modules/onepage-scroll/nav-styles/line-move.php on line 17
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5, #6, #7, #8, #9 in elementskit-lite/assets to your readme.txt
- Tags: You are using too many tags: 11 tag instead of maximum 10
elementskit-lite/elementskit-lite.php 92% from 13 tests
"ElementsKit Elementor addons" version 3.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 153 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
Everything looks great! No dangerous files found in this plugin77,095 lines of code in 335 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 265 | 8,495 | 2,428 | 60,961 |
PO File | 4 | 5,992 | 13,416 | 12,110 |
SVG | 16 | 0 | 1 | 3,139 |
XML | 1 | 1 | 0 | 816 |
JavaScript | 25 | 4 | 141 | 45 |
CSS | 22 | 0 | 9 | 22 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 2 | |
Traits | 3 | |
Classes | 204 | |
▷ Abstract classes | 3 | 1.47% |
▷ Concrete classes | 201 | 98.53% |
▷ Final classes | 1 | 0.50% |
Methods | 1,342 | |
▷ Static methods | 418 | 31.15% |
▷ Public methods | 1,126 | 83.90% |
▷ Protected methods | 149 | 11.10% |
▷ Private methods | 67 | 4.99% |
Functions | 15 | |
▷ Named functions | 5 | 33.33% |
▷ Anonymous functions | 10 | 66.67% |
Constants | 29 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 29 | 100.00% |
▷ Public constants | 29 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
96 compressed PNG files occupy 1.43MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/heading/assets/imagechoose/6.png | 5.02KB | 5.33KB | 0.00% |
libs/framework/assets/images/onboard/shape-14.png | 0.55KB | 0.34KB | ▼ 37.72% |
widgets/blog-posts/assets/imagechoose/floating-date-1.png | 4.26KB | 4.35KB | 0.00% |
widgets/heading/assets/imagechoose/8.png | 6.58KB | 7.00KB | 0.00% |
libs/framework/assets/images/onboard/tutorial-banner.png | 26.71KB | 28.26KB | 0.00% |