Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲5.05MB] [CPU: ▲22.32ms] 75% from 4 tests
A check of server-side resources used by Events Addon for Elementor
It is recommended to improve the following
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.05MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 68.33 ▲30.17 |
Dashboard /wp-admin | 8.90 ▲5.60 | 73.16 ▲22.81 |
Posts /wp-admin/edit.php | 8.90 ▲5.55 | 73.26 ▲27.64 |
Add New Post /wp-admin/post-new.php | 9.50 ▲3.62 | 105.94 ▲8.67 |
Media Library /wp-admin/upload.php | 8.90 ▲5.68 | 66.76 ▲32.78 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 55.20 |
Server storage [IO: ▲8.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 337 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_accounts |
can_compress_scripts |
fs_debug_mode |
fs_active_plugins |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Events Addon for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,119 ▲348 | 14.21 ▼0.17 | 21.43 ▲19.39 | 28.12 ▼15.80 |
Dashboard /wp-admin | 2,260 ▲72 | 4.88 ▼0.96 | 111.75 ▼5.65 | 43.85 ▼2.23 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.03 ▲0.01 | 36.08 ▲0.07 | 32.59 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 23.21 ▲5.66 | 622.83 ▼54.80 | 53.16 ▼12.19 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 4.27 ▲0.15 | 101.48 ▼12.27 | 43.97 ▼4.65 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,081 | 1.73 | 22.26 | 26.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/events-addon-for-elementor/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- fs_active_plugins
- can_compress_scripts
- fs_accounts
- widget_recent-posts
- widget_recent-comments
- fs_debug_mode
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% 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 50% 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
- 68× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/event/naevents-aoec-call-action.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/basic/nabasic-slider.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/event/naevents-eo-info-box.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/basic/nabasic-video.php:9
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/events-addon-for-elementor/events-addon-for-elementor.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/event-unique/naevents-unique-pricing.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/basic/nabasic-blog.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/basic/nabasic-team.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/event/naevents-ee-ticket-selector.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/events-addon-for-elementor/elementor/widgets/event-unique/naevents-unique-info-box.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: addons, events, concert, elements, elementor widget...
events-addon-for-elementor/events-addon-for-elementor.php 92% from 13 tests
"Events Addon for Elementor" version 2.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 409 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin110,537 lines of code in 258 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 191 | 10,058 | 19,298 | 73,504 |
CSS | 31 | 1,540 | 218 | 17,918 |
JavaScript | 25 | 3,531 | 3,962 | 17,287 |
SVG | 9 | 7 | 0 | 1,826 |
JSON | 2 | 0 | 0 | 2 |
PHP code 0% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 137)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 57.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 137.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 114 | |
▷ Abstract classes | 2 | 1.75% |
▷ Concrete classes | 112 | 98.25% |
▷ Final classes | 0 | 0.00% |
Methods | 1,666 | |
▷ Static methods | 205 | 12.30% |
▷ Public methods | 1,151 | 69.09% |
▷ Protected methods | 143 | 8.58% |
▷ Private methods | 372 | 22.33% |
Functions | 132 | |
▷ Named functions | 128 | 96.97% |
▷ Anonymous functions | 4 | 3.03% |
Constants | 149 | |
▷ Global constants | 100 | 67.11% |
▷ Class constants | 49 | 32.89% |
▷ Public constants | 49 | 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
8 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/events-addon-for-elementor.png | 8.38KB | 4.78KB | ▼ 42.97% |
assets/images/placeholder.png | 6.00KB | 5.03KB | ▼ 16.19% |
assets/images/logo.png | 5.01KB | 2.60KB | ▼ 48.03% |
freemius/assets/img/primary-addon-for-elementor.png | 3.89KB | 1.42KB | ▼ 63.51% |
assets/images/icon.png | 1.71KB | 1.28KB | ▼ 25.23% |