Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.97ms] Passed 4 tests
Analyzing server-side resources used by Layouts for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 33.76 ▼2.84 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.96 ▼6.03 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 45.46 ▼3.54 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.06 | 90.96 ▼11.45 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 34.63 ▼0.07 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Layouts for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.24 ▼0.38 | 1.66 ▲0.03 | 41.63 ▲1.15 |
Dashboard /wp-admin | 2,208 ▲34 | 5.64 ▲0.01 | 83.90 ▼0.53 | 39.90 ▼1.45 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.14 ▲0.18 | 37.53 ▼1.97 | 33.35 ▼4.84 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.44 ▲0.48 | 620.56 ▼50.38 | 46.96 ▼9.84 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.16 ▲0.01 | 97.76 ▲0.01 | 42.07 ▼4.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\TemplateLibrary\\Source_Remote' not found in wp-content/plugins/layouts-for-elementor/includes/class-layout-importer.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/layouts-for-elementor/includes/layouts.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
9 plugin tags: elementor website templates, readymade templates, free elementor layouts, elementor template kits, elementor addon...
layouts-for-elementor/layouts-for-elementor.php Passed 13 tests
The main PHP file in "Layouts for Elementor" ver. 1.6 adds more information about the plugin and also serves as the entry point for this plugin
85 characters long description:
Beautifully designed, Free templates, Handcrafted for popular Elementor page builder.
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
Success! There were no dangerous files found in this plugin1,526 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 21 | 11 | 747 |
JavaScript | 2 | 70 | 73 | 392 |
PHP | 4 | 92 | 118 | 387 |
PHP code Passed 2 tests
A short review 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 code | 0.29 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 4 | 50.00% |
▷ Class constants | 4 | 50.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/lfe-logo.png | 5.21KB | 2.49KB | ▼ 52.23% |
assets/images/layouts-for-elementor.png | 1.14KB | 0.42KB | ▼ 62.97% |