Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.05MB] [CPU: ▲6.86ms] Passed 4 tests
Analyzing server-side resources used by LA-Studio Element Kit for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.96 | 48.92 ▲10.71 |
Dashboard /wp-admin | 4.42 ▲1.11 | 59.41 ▲6.37 |
Posts /wp-admin/edit.php | 4.47 ▲1.11 | 59.53 ▲2.40 |
Add New Post /wp-admin/post-new.php | 6.96 ▲1.07 | 102.37 ▲7.94 |
Media Library /wp-admin/upload.php | 4.28 ▲1.05 | 50.43 ▲14.44 |
Server storage [IO: ▲21.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 931 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for LA-Studio Element Kit for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.30 ▼0.90 | 2.27 ▲0.66 | 52.30 ▲9.54 |
Dashboard /wp-admin | 2,261 ▲58 | 4.91 ▲0.03 | 116.87 ▲14.90 | 45.12 ▲1.42 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 2.16 ▲0.17 | 40.48 ▲3.39 | 38.20 ▲1.86 |
Add New Post /wp-admin/post-new.php | 1,551 ▲11 | 23.45 ▲0.25 | 645.56 ▼54.91 | 55.53 ▼2.42 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.26 ▲0.05 | 112.42 ▲0.97 | 50.85 ▲4.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 44× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/lastudio-element-kit/templates/animated-text/global/animated-text-loop-start.php
- > /wp-content/plugins/lastudio-element-kit/includes/framework/vue-ui/components/popup.php
- > /wp-content/plugins/lastudio-element-kit/includes/framework/vue-ui/components/colorpicker.php
- > /wp-content/plugins/lastudio-element-kit/templates/pricing-table/global/features-loop-start.php
- > /wp-content/plugins/lastudio-element-kit/includes/framework/vue-ui/components/button.php
- > /wp-content/plugins/lastudio-element-kit/templates/price-list/global/price-list-loop-start.php
- > /wp-content/plugins/lastudio-element-kit/templates/timeline-vertical/global/timeline-loop-end.php
- > /wp-content/plugins/lastudio-element-kit/includes/framework/vue-ui/components/tabs-panel.php
- > /wp-content/plugins/lastudio-element-kit/templates/timeline-horizontal/global/list-bottom-loop-start.php
- > /wp-content/plugins/lastudio-element-kit/includes/framework/vue-ui/components/list-table-heading.php
- 115× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/templates/banner/global/index.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/templates/timeline-horizontal/global/index.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/lastudio-element-kit/templates/timeline-horizontal/global/card.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_cache_get() in wp-content/plugins/lastudio-element-kit/templates/register-frm/global/messages.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/templates/timeline-horizontal/global/card.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/includes/extensions/events/widget-templates/events/global/loop-item.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/templates/subscribe-form/global/index.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/templates/progress-bar/global/types/type-6.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/templates/pricing-table/global/button.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lastudio-element-kit/templates/countdown-timer/global/00-days.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Plugin Settings), #2 (Plugin Settings), #3 (Add New Template), #4 (Add New Conditions)
lastudio-element-kit/lastudio-element-kit.php 92% from 13 tests
The main PHP file in "LA-Studio Element Kit for Elementor" ver. 1.3.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin227,855 lines of code in 888 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 505 | 16,297 | 8,993 | 109,714 |
JavaScript | 160 | 11,612 | 7,632 | 64,990 |
JSON | 26 | 0 | 0 | 29,265 |
CSS | 104 | 120 | 15 | 17,871 |
SVG | 54 | 0 | 3 | 3,406 |
Sass | 39 | 168 | 3 | 2,609 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 59 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 329 | |
▷ Abstract classes | 22 | 6.69% |
▷ Concrete classes | 307 | 93.31% |
▷ Final classes | 2 | 0.65% |
Methods | 2,859 | |
▷ Static methods | 220 | 7.69% |
▷ Public methods | 2,124 | 74.29% |
▷ Protected methods | 593 | 20.74% |
▷ Private methods | 142 | 4.97% |
Functions | 77 | |
▷ Named functions | 12 | 15.58% |
▷ Anonymous functions | 65 | 84.42% |
Constants | 56 | |
▷ Global constants | 4 | 7.14% |
▷ Class constants | 52 | 92.86% |
▷ Public constants | 52 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 compressed PNG files occupy 0.46MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 49.48KB | 55.33KB | 0.00% |
screenshot-1.png | 54.05KB | 57.80KB | 0.00% |
includes/framework/dashboard/assets/images/banner-light-bg-1.png | 8.08KB | 7.96KB | ▼ 1.52% |
screenshot-3.png | 101.58KB | 101.63KB | 0.00% |
screenshot-2.png | 60.17KB | 66.29KB | 0.00% |