Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼5.91ms] Passed 4 tests
Analyzing server-side resources used by ElementInvader Addons for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 39.56 ▼0.37 |
Dashboard /wp-admin | 3.53 ▲0.18 | 48.56 ▼12.66 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 52.39 ▲3.69 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 84.74 ▼12.75 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 38.44 ▲2.15 |
Newsletter /wp-admin/tools.php?page=eli-mails | 3.47 | 36.05 |
Server storage [IO: ▲7.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 155 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_eli_newsletters |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
eli_db_version |
widget_recent-comments |
Browser metrics Passed 4 tests
ElementInvader Addons for Elementor: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲136 | 14.79 ▲0.51 | 5.39 ▲3.79 | 39.29 ▼1.24 |
Dashboard /wp-admin | 2,212 ▲35 | 5.63 ▼0.06 | 89.20 ▲2.74 | 41.11 ▼2.45 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.02 ▲0.01 | 38.64 ▲4.09 | 34.59 ▼6.84 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.62 ▲0.53 | 664.63 ▲10.24 | 55.15 ▼1.66 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.17 ▼0.10 | 94.77 ▲0.73 | 42.35 ▼1.01 |
Newsletter /wp-admin/tools.php?page=eli-mails | 977 | 2.03 | 24.68 | 27.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_eli_newsletters
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- eli_db_version
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 38× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/elementinvader-addons-for-elementor/views/map/map_layout.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/elementinvader-addons-for-elementor/views/map/map_layout.php:51
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/elementinvader-addons-for-elementor/views/map/map_layout.php on line 8
- > PHP Notice
Undefined variable: settings in wp-content/plugins/elementinvader-addons-for-elementor/views/map/map_layout.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/elementinvader-addons-for-elementor/views/blog_grid/widget_layout.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/elementinvader-addons-for-elementor/shortcodes/shortcode-eli_option_value.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/elementinvader-addons-for-elementor/views/map/map_layout.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/elementinvader-addons-for-elementor/views/map/map_layout.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elementinvader-addons-for-elementor/views/form/fields/checkbox.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/elementinvader-addons-for-elementor/views/slider/widget_layout.php:1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Donate link: Invalid url: "elementinvader.com"
- Screenshots: These screenshots require images: #1 (Simple Menu for Elementor with many styles options), #2 (Simple Contact Form for Elementor with many styles options), #3 (Open Street Maps for Elementor with many styling options), #4 (Simple Newsletter for Elementor, with mailchimp api, email alerts for admin and export msigned maillist option.)
elementinvader-addons-for-elementor/elementinvader-addons-for-elementor.php Passed 13 tests
This is the main PHP file of "ElementInvader Addons for Elementor" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Ready to use Elementor Addon Elements like Menu, Forms, Maps, Newsletter with many styling options
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected63,866 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 3,950 | 4,808 | 19,470 |
CSS | 34 | 3,593 | 260 | 19,119 |
PHP | 39 | 1,659 | 975 | 12,002 |
SVG | 6 | 1 | 12 | 11,742 |
Sass | 6 | 257 | 0 | 1,533 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 25.87 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 8 | 4.88% |
▷ Public methods | 109 | 66.46% |
▷ Protected methods | 42 | 25.61% |
▷ Private methods | 13 | 7.93% |
Functions | 46 | |
▷ Named functions | 38 | 82.61% |
▷ Anonymous functions | 8 | 17.39% |
Constants | 11 | |
▷ Global constants | 4 | 36.36% |
▷ Class constants | 7 | 63.64% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/cancel.png | 0.36KB | 0.29KB | ▼ 19.95% |
assets/libs/leaflet/images/marker-shadow.png | 0.47KB | 0.50KB | 0.00% |
assets/img/mark_content_bac.png | 15.89KB | 0.73KB | ▼ 95.43% |
assets/libs/leaflet/images/marker-icon-2x.png | 1.89KB | 1.96KB | 0.00% |
assets/img/wl_content.png | 50.38KB | 0.43KB | ▼ 99.14% |