Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.14ms] Passed 4 tests
An overview of server-side resources used by Better Elementor Addons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.01 ▼1.71 |
Dashboard /wp-admin | 3.45 ▲0.15 | 48.74 ▼0.83 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 44.48 ▼2.33 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 85.73 ▼7.70 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.38 ▼0.58 |
Documentation /wp-admin/admin.php?page=better_el_addons_documentation | 3.14 | 25.65 |
Settings /wp-admin/admin.php?page=better_el_addons | 3.36 | 31.46 |
Server storage [IO: ▲6.55MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 287 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Better Elementor Addons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲117 | 14.43 ▲0.18 | 1.85 ▲0.14 | 43.54 ▼3.19 |
Dashboard /wp-admin | 2,256 ▲76 | 5.83 ▲0.21 | 88.54 ▼11.12 | 39.86 ▼9.05 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.36 ▲0.36 | 36.75 ▲0.41 | 30.42 ▼5.43 |
Add New Post /wp-admin/post-new.php | 1,578 ▲52 | 23.51 ▲0.52 | 688.69 ▲79.15 | 36.52 ▼13.20 |
Media Library /wp-admin/upload.php | 1,467 ▲73 | 4.48 ▲0.27 | 98.62 ▲1.02 | 42.43 ▲1.32 |
Documentation /wp-admin/admin.php?page=better_el_addons_documentation | 2,449 | 3.74 | 82.96 | 100.84 |
Settings /wp-admin/admin.php?page=better_el_addons | 1,648 | 2.24 | 30.73 | 44.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=better_el_addons_documentation
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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 items
- 53× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/better-elementor-addons/widgets/slider/styles/style9.php
- > /wp-content/plugins/better-elementor-addons/widgets/heading/styles/style6.php
- > /wp-content/plugins/better-elementor-addons/widgets/team/styles/style2.php
- > /wp-content/plugins/better-elementor-addons/widgets/heading/styles/style4.php
- > /wp-content/plugins/better-elementor-addons/widgets/slider/styles/style8.php
- > /wp-content/plugins/better-elementor-addons/widgets/woo/tags.php
- > /wp-content/plugins/better-elementor-addons/widgets/nav/styles/style2.php
- > /wp-content/plugins/better-elementor-addons/widgets/testimonial-carousel/styles/style5.php
- > /wp-content/plugins/better-elementor-addons/widgets/heading/styles/style5.php
- > /wp-content/plugins/better-elementor-addons/widgets/menu-list/styles/style1.php
- 374× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/better-elementor-addons/widgets/portfolio/styles/style6.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/better-elementor-addons/widgets/portfolio/styles/style5.php on line 4
- > PHP Notice
Undefined variable: settings in wp-content/plugins/better-elementor-addons/widgets/button/styles/style5.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/better-elementor-addons/widgets/services/styles/style4.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/better-elementor-addons/widgets/portfolio/styles/style7.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/better-elementor-addons/widgets/team/styles/style5.php on line 22
- > PHP Notice
Undefined variable: settings in wp-content/plugins/better-elementor-addons/widgets/image/styles/style2.php on line 2
- > PHP Notice
Undefined variable: better_heading_sub_title in wp-content/plugins/better-elementor-addons/widgets/heading/styles/style4.php on line 7
- > PHP Notice
Undefined variable: settings in wp-content/plugins/better-elementor-addons/widgets/info-box/styles/style5.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/better-elementor-addons/widgets/menu-list/styles/style2.php on line 7
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=better_el_addons_documentation
- > Network (severe)
https://addons.kitsway.com/?wc-ajax=get_refreshed_fragments - Failed to load resource: the server responded with a status of 406 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: elementor, elementor addons, addons, elementor addon, elementor widget
better-elementor-addons/better-addons.php 85% from 13 tests
The main PHP file in "Better Elementor Addons" ver. 1.3.7 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: The text domain is optional since WordPress version 4.6; if you do specify it, 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 ("better-elementor-addons.php" instead of "better-addons.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin66,682 lines of code in 256 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 183 | 2,837 | 4,361 | 22,395 |
CSS | 14 | 2,702 | 386 | 19,037 |
Sass | 12 | 1,971 | 7 | 13,084 |
SVG | 9 | 0 | 13 | 9,389 |
JavaScript | 38 | 603 | 391 | 2,777 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 62 | 100.00% |
▷ Final classes | 1 | 1.61% |
Methods | 449 | |
▷ Static methods | 1 | 0.22% |
▷ Public methods | 295 | 65.70% |
▷ Protected methods | 152 | 33.85% |
▷ Private methods | 2 | 0.45% |
Functions | 18 | |
▷ Named functions | 17 | 94.44% |
▷ Anonymous functions | 1 | 5.56% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/dots.png | 0.10KB | 0.10KB | 0.00% |
admin/assets/images/logo-dark.png | 5.63KB | 1.89KB | ▼ 66.40% |
assets/img/patern.png | 105.44KB | 43.40KB | ▼ 58.84% |
assets/img/forward-arrow.png | 8.38KB | 5.91KB | ▼ 29.52% |
assets/img/dotz.png | 3.32KB | 1.64KB | ▼ 50.59% |