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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.91ms] Passed 4 tests
This is a short check of server-side resources used by Events Widgets For Elementor And The Events Calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 42.67 ▼3.92 |
Dashboard /wp-admin | 3.41 ▲0.06 | 46.59 ▼15.30 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.00 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.09 | 84.13 ▼2.92 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 35.07 ▼1.49 |
Server storage [IO: ▲1.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 125 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
ectbe-v |
ectbe-type |
ectbe-installDate |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Events Widgets For Elementor And The Events Calendar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲76 | 14.26 ▼0.45 | 1.83 ▼0.18 | 39.05 ▼4.14 |
Dashboard /wp-admin | 2,225 ▲47 | 5.64 ▼0.06 | 91.40 ▼14.77 | 39.36 ▼4.20 |
Posts /wp-admin/edit.php | 2,137 ▲40 | 2.03 ▲0.08 | 41.08 ▲3.51 | 39.29 ▲7.15 |
Add New Post /wp-admin/post-new.php | 1,552 ▲21 | 23.58 ▲0.78 | 673.46 ▲82.41 | 53.00 ▲5.13 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.25 ▲0.05 | 99.71 ▲3.44 | 50.23 ▲8.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- ectbe-v
- ectbe-installDate
- can_compress_scripts
- ectbe-type
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/events-widgets-for-elementor-and-the-events-calendar/admin/events-addon-page/includes/cool_plugins_downloader.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/events-widgets-for-elementor-and-the-events-calendar/widgets/layouts/ectbe-calendar.php:4
- > PHP Notice
Undefined variable: style in wp-content/plugins/events-widgets-for-elementor-and-the-events-calendar/widgets/layouts/ectbe-list.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/events-widgets-for-elementor-and-the-events-calendar/widgets/layouts/ectbe-list.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/events-widgets-for-elementor-and-the-events-calendar/widgets/ectbe-widget.php:9
- > PHP Notice
Undefined variable: layout in wp-content/plugins/events-widgets-for-elementor-and-the-events-calendar/widgets/layouts/ectbe-list.php on line 2
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #5, #6 in events-widgets-for-elementor-and-the-events-calendar/assets to your readme.txt
events-widgets-for-elementor-and-the-events-calendar/events-widgets-for-elementor-and-the-events-calendar.php 85% from 13 tests
The principal PHP file in "Events Widgets For Elementor And The Events Calendar" v. 1.6.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 201 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin21,178 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 76 | 517 | 890 | 16,614 |
CSS | 13 | 178 | 176 | 2,268 |
PHP | 13 | 208 | 300 | 2,209 |
SVG | 10 | 65 | 0 | 87 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 2 | 28.57% |
Methods | 52 | |
▷ Static methods | 5 | 9.62% |
▷ Public methods | 44 | 84.62% |
▷ Protected methods | 2 | 3.85% |
▷ Private methods | 6 | 11.54% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.18MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/events-addon-page/assets/images/events-calendar-pro.png | 11.89KB | 12.61KB | 0.00% |
assets/images/event-temp-icon.png | 4.67KB | 1.19KB | ▼ 74.57% |
admin/events-addon-page/assets/coolplugins-logo.png | 8.40KB | 3.14KB | ▼ 62.61% |
assets/images/event-template-bg.png | 146.91KB | 156.24KB | 0.00% |
assets/images/events-widgets-elementor-logo.png | 17.33KB | 3.28KB | ▼ 81.08% |