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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.76ms] Passed 4 tests
Server-side resources used by OneElements - Best Elementor Addons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.08 ▲1.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.97 ▼4.92 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.90 ▼4.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.34 ▼11.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.50 ▲2.86 |
Server storage [IO: ▲2.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 173 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for OneElements - Best Elementor Addons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲89 | 13.17 ▼1.21 | 1.60 ▼0.23 | 40.58 ▼11.95 |
Dashboard /wp-admin | 2,227 ▲39 | 4.86 ▼0.01 | 110.30 ▼23.10 | 45.99 ▼2.32 |
Posts /wp-admin/edit.php | 2,116 ▲23 | 2.02 ▼0.04 | 42.40 ▼7.83 | 37.72 ▲1.75 |
Add New Post /wp-admin/post-new.php | 1,555 ▲35 | 23.25 ▲0.09 | 612.36 ▼24.94 | 56.82 ▲6.27 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.20 ▲0.05 | 104.83 ▼1.38 | 44.61 ▲1.57 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/oneelements-ultimate-addons-for-elementor/includes/controls/one-elements-hover-animations.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function OneElements\\Includes\\add_action() in wp-content/plugins/oneelements-ultimate-addons-for-elementor/includes/class-one-elements-upgrader.php:35
- > PHP Fatal error
Uncaught Error: Class 'OneElements\\Includes\\Widgets\\QueryControl\\Classes\\Elementor_Post_Query' not found in wp-content/plugins/oneelements-ultimate-addons-for-elementor/includes/widgets/query-control/classes/elementor-related-query.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/oneelements-ultimate-addons-for-elementor/includes/widgets/contact-form-7/contact-form-7.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function OneElements\\Admin\\Partials\\_e() in wp-content/plugins/oneelements-ultimate-addons-for-elementor/admin/partials/one-elements-admin-display.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/oneelements-ultimate-addons-for-elementor/includes/controls/one-elements-entrance-animations.php:43
- > PHP Fatal error
Trait 'OneElements\\Includes\\Traits\\One_Elements_Icon_Trait' not found in wp-content/plugins/oneelements-ultimate-addons-for-elementor/includes/traits/trait-one-elements-button.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
oneelements-ultimate-addons-for-elementor/one-elements-elementor.php 85% from 13 tests
The principal PHP file in "OneElements - Best Elementor Addons" v. 1.3.7 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("oneelements-ultimate-addons-for-elementor.php" instead of "one-elements-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin36,913 lines of code in 144 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 128 | 6,310 | 4,068 | 30,647 |
CSS | 4 | 863 | 98 | 4,118 |
JavaScript | 11 | 1,181 | 271 | 2,147 |
SVG | 1 | 0 | 0 | 1 |
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.34 |
Average class complexity | 17.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 43 | |
Interfaces | 0 | |
Traits | 10 | |
Classes | 110 | |
▷ Abstract classes | 3 | 2.73% |
▷ Concrete classes | 107 | 97.27% |
▷ Final classes | 0 | 0.00% |
Methods | 1,067 | |
▷ Static methods | 48 | 4.50% |
▷ Public methods | 602 | 56.42% |
▷ Protected methods | 336 | 31.49% |
▷ Private methods | 129 | 12.09% |
Functions | 44 | |
▷ Named functions | 34 | 77.27% |
▷ Anonymous functions | 10 | 22.73% |
Constants | 32 | |
▷ Global constants | 18 | 56.25% |
▷ Class constants | 14 | 43.75% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
22 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/icon-box/layout_9.png | 0.63KB | 0.27KB | ▼ 56.81% |
admin/assets/img/icon-box/layout_1.png | 0.65KB | 0.25KB | ▼ 62.13% |
admin/assets/img/counter/layout_5.png | 1.50KB | 0.70KB | ▼ 53.49% |
admin/assets/img/counter/layout_3.png | 1.39KB | 0.59KB | ▼ 57.33% |
admin/assets/img/counter/layout_1.png | 1.45KB | 0.59KB | ▼ 59.05% |