Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.57MB] [CPU: ▲6.58ms] Passed 4 tests
An overview of server-side resources used by Unlimited Elements For Elementor (Free Widgets, Addons, Templates)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.86 ▲1.40 | 48.46 ▲7.36 |
Dashboard /wp-admin | 4.94 ▲1.64 | 56.68 ▲3.26 |
Posts /wp-admin/edit.php | 4.99 ▲1.63 | 56.35 ▲4.96 |
Add New Post /wp-admin/post-new.php | 7.48 ▲1.59 | 98.12 ▲12.59 |
Media Library /wp-admin/upload.php | 4.86 ▲1.63 | 43.94 ▲10.72 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 5.05 | 40.91 |
Server storage [IO: ▲18.23MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 1,278 new files
Database: 2 new tables, 11 new options
New tables |
---|
wp_addonlibrary_addons |
wp_addonlibrary_categories |
New WordPress options |
---|
unlimited_elements_notices |
theysaidso_admin_options |
fs_debug_mode |
fs_active_plugins |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
fs_accounts |
widget_theysaidso_widget |
unitecreator_db_version |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Unlimited Elements For Elementor (Free Widgets, Addons, Templates)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲74 | 14.24 ▼0.00 | 1.88 ▲0.30 | 34.02 ▼9.73 |
Dashboard /wp-admin | 2,241 ▲64 | 5.69 ▲0.11 | 94.57 ▼0.59 | 93.19 ▲49.08 |
Posts /wp-admin/edit.php | 2,149 ▲46 | 2.00 ▲0.06 | 39.73 ▼4.93 | 37.33 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,555 ▲20 | 22.60 ▼2.52 | 729.39 ▲118.98 | 57.56 ▼9.81 |
Media Library /wp-admin/upload.php | 1,440 ▲46 | 4.21 ▲0.03 | 98.57 ▼0.43 | 73.88 ▲29.23 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,093 | 1.66 | 26.17 | 31.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/unlimited-elements-for-elementor/provider/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_addonlibrary_addons
- wp_addonlibrary_categories
- Zombie WordPress options detected upon uninstall: 11 options
- theysaidso_admin_options
- unlimited_elements_notices
- fs_accounts
- can_compress_scripts
- widget_recent-posts
- unitecreator_db_version
- fs_debug_mode
- db_upgraded
- widget_recent-comments
- fs_active_plugins
- ...
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
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 203× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/unlimited-elements-for-elementor/views/email-test.php
- > /wp-content/plugins/unlimited-elements-for-elementor/provider/functions_wordpress.class.php
- > /wp-content/plugins/unlimited-elements-for-elementor/views/testsettings.php
- > /wp-content/plugins/unlimited-elements-for-elementor/views/layouts_settings.php
- > /wp-content/plugins/unlimited-elements-for-elementor/provider/provider_layout.class.php
- > /wp-content/plugins/unlimited-elements-for-elementor/provider/core/plugins/unlimited_elements/plugin.php
- > /wp-content/plugins/unlimited-elements-for-elementor/provider/pods_integrate.class.php
- > /wp-content/plugins/unlimited-elements-for-elementor/inc_php/plugins/unitecreator_plugins.class.php
- > /wp-content/plugins/unlimited-elements-for-elementor/provider/provider_manager_addons.class.php
- > /wp-content/plugins/unlimited-elements-for-elementor/inc_php/layouts/unitecreator_layout_config_base.class.php
- 200× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/src/TokenParser/BlockTokenParser.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Twig_FilterInterface' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/lib/Twig/Filter.php:25
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/src/Node/Expression/ConstantExpression.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Error\\Error' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/src/Sandbox/SecurityError.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\Loader\\LoaderInterface' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/src/Loader/FilesystemLoader.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/src/Node/Expression/Binary/AndBinary.php:17
- > PHP Fatal error
Uncaught Error: Class 'BloxViewLayoutOuter' not found in wp-content/plugins/unlimited-elements-for-elementor/provider/views/layout_outer.php:3
- > PHP Fatal error
Uncaught Error: Class 'Twig_Function' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/lib/Twig/Function/Function.php:24
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/src/TokenParser/SandboxTokenParser.php:32
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/unlimited-elements-for-elementor/vendor/twig/twig/src/Node/Expression/Binary/GreaterEqualBinary.php:16
- > PHP Fatal error
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 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in unlimited-elements-for-elementor/assets to your readme.txt
unlimited-elements-for-elementor/unlimited_elements.php 92% from 13 tests
The principal PHP file in "Unlimited Elements For Elementor (Free Widgets, Addons, Templates)" v. 1.5.87 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("unlimited-elements-for-elementor.php" instead of "unlimited_elements.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected241,971 lines of code in 1,019 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 790 | 47,447 | 39,266 | 114,713 |
JavaScript | 94 | 31,302 | 17,896 | 86,053 |
CSS | 64 | 4,457 | 528 | 24,207 |
SVG | 30 | 0 | 26 | 12,624 |
XML | 21 | 521 | 34 | 2,388 |
Markdown | 5 | 217 | 0 | 868 |
HTML | 9 | 115 | 1 | 725 |
JSON | 5 | 0 | 0 | 383 |
reStructuredText | 1 | 8 | 5 | 10 |
PHP code 0% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 199)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 23.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 199.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 27 | |
Traits | 0 | |
Classes | 637 | |
▷ Abstract classes | 23 | 3.61% |
▷ Concrete classes | 614 | 96.39% |
▷ Final classes | 57 | 9.28% |
Methods | 6,304 | |
▷ Static methods | 1,084 | 17.20% |
▷ Public methods | 3,842 | 60.95% |
▷ Protected methods | 726 | 11.52% |
▷ Private methods | 1,736 | 27.54% |
Functions | 295 | |
▷ Named functions | 268 | 90.85% |
▷ Anonymous functions | 27 | 9.15% |
Constants | 970 | |
▷ Global constants | 112 | 11.55% |
▷ Class constants | 858 | 88.45% |
▷ Public constants | 857 | 99.88% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
131 PNG files occupy 0.47MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets_libraries/unitegallery/skins/default/icon_zoom_plus.png | 0.33KB | 0.24KB | ▼ 29.12% |
images/transparent.png | 0.19KB | 0.09KB | ▼ 49.74% |
js/farbtastic/marker.png | 0.64KB | 0.71KB | 0.00% |
images/icon-16-blox.png | 0.61KB | 0.66KB | 0.00% |
images/transtiled.png | 0.29KB | 0.11KB | ▼ 61.90% |