Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.78ms] Passed 4 tests
This is a short check of server-side resources used by Designer - Addons for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.88 ▼1.53 |
Dashboard /wp-admin | 3.33 ▼0.01 | 46.48 ▼16.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.93 ▼3.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 84.15 ▼21.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.79 ▼0.26 |
Server storage [IO: ▲3.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 129 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Designer - Addons for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲12 | 14.37 ▼0.37 | 1.78 ▼0.13 | 51.02 ▲7.68 |
Dashboard /wp-admin | 2,204 ▲29 | 5.61 ▼0.16 | 90.20 ▼24.00 | 42.87 ▼0.39 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.07 ▲0.12 | 39.22 ▼1.26 | 36.57 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 23.51 ▼1.69 | 647.17 ▲37.05 | 54.65 ▼11.54 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.17 ▼0.06 | 95.16 ▼9.14 | 42.28 ▼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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/designer/widgets/process/snippets/layout-vertical.php
- > /wp-content/plugins/designer/widgets/process/snippets/layout-horizontal.php
- > /wp-content/plugins/designer/framework/library/breadcrumbs.php
- 52× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-5.php on line 4
- > PHP Notice
Undefined variable: settings in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-1.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-4.php on line 6
- > PHP Fatal error
Trait 'Designer\\Traits\\Singleton' not found in wp-content/plugins/designer/includes/helper.php on line 7
- > PHP Notice
Undefined variable: settings in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-1.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/designer/widgets/team-card/snippets/layout-4.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-6.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-cards/snippets/layout-1.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/designer/widgets/team-card/snippets/layout-3.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/designer/widgets/posts-grid/snippets/posts-grid.php on line 6
- > PHP Notice
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 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
6 plugin tags: elementor, codegearthemes, page builder, sites, import...
designer/designer.php Passed 13 tests
The main PHP script in "Designer - Addons for Elementor" version 1.2.5 is automatically included on every request by WordPress
50 characters long description:
Designer is the most-complete addon for Elementor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected49,253 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 58 | 3,765 | 2,537 | 27,767 |
JavaScript | 26 | 2,781 | 459 | 14,006 |
CSS | 23 | 1,382 | 327 | 7,439 |
SVG | 5 | 0 | 0 | 41 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 14.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 44 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 44 | 100.00% |
▷ Final classes | 2 | 4.55% |
Methods | 550 | |
▷ Static methods | 9 | 1.64% |
▷ Public methods | 316 | 57.45% |
▷ Protected methods | 217 | 39.45% |
▷ Private methods | 17 | 3.09% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/src/post-block/block3.png | 1.21KB | 0.25KB | ▼ 79.03% |
assets/src/post-block/block0.png | 1.15KB | 0.23KB | ▼ 80.05% |
assets/src/post-block/block4.png | 1.18KB | 0.28KB | ▼ 76.62% |
assets/src/icon.png | 2.40KB | 0.87KB | ▼ 63.66% |
assets/src/post-block/block1.png | 1.21KB | 0.24KB | ▼ 80.37% |