Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.73ms] Passed 4 tests
An overview of server-side resources used by Simple event list for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 49.28 ▲4.16 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.55 ▼6.28 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.19 ▼9.61 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.73 ▼10.55 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.20 ▲3.51 |
Simple Events /wp-admin/options-general.php?page=miga_simple_events-page | 3.30 | 39.53 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_miga_simple_events |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
miga_simple_events_db_version |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple event list for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.69 ▲0.41 | 1.99 ▼0.03 | 41.90 ▼2.71 |
Dashboard /wp-admin | 2,205 ▲25 | 5.51 ▼0.13 | 86.70 ▼6.43 | 39.37 ▼5.19 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 2.00 ▼0.01 | 36.14 ▼5.90 | 32.12 ▼6.14 |
Add New Post /wp-admin/post-new.php | 1,538 ▲3 | 23.10 ▲4.98 | 698.57 ▲65.72 | 59.25 ▼1.44 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.16 ▼0.03 | 100.81 ▼3.20 | 42.45 ▼2.93 |
Simple Events /wp-admin/options-general.php?page=miga_simple_events-page | 1,099 | 2.03 | 24.41 | 27.34 |
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
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_miga_simple_events
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- miga_simple_events_db_version
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-event-list-for-elementor/widget/includes/backend_page_help.php
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/simple-event-list-for-elementor/widget/includes/theme2.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/simple-event-list-for-elementor/widget/includes/table_class.php:8
- > PHP Warning
Use of undefined constant TABLE_NAME_MIGA_SIMPLE_EVENTS - assumed 'TABLE_NAME_MIGA_SIMPLE_EVENTS' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-event-list-for-elementor/widget/includes/backend_input.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/simple-event-list-for-elementor/widget/includes/backend_input.php:20
- > PHP Warning
Use of undefined constant TABLE_NAME_MIGA_SIMPLE_EVENTS - assumed 'TABLE_NAME_MIGA_SIMPLE_EVENTS' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-event-list-for-elementor/widget/includes/theme1.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/simple-event-list-for-elementor/widget/includes/constants.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/simple-event-list-for-elementor/widget/includes/backend_page.php:6
- > PHP Warning
Use of undefined constant TABLE_NAME_MIGA_SIMPLE_EVENTS - assumed 'TABLE_NAME_MIGA_SIMPLE_EVENTS' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-event-list-for-elementor/widget/includes/theme2.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/simple-event-list-for-elementor/widget/includes/theme1.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/simple-event-list-for-elementor/widget/simple_events.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
4 plugin tags: event list, events, elementor, calendar
simple-event-list-for-elementor/miga_simple_events.php 85% from 13 tests
"Simple event list for Elementor" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "5.2")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-event-list-for-elementor.php" instead of "miga_simple_events.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,333 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 125 | 85 | 1,048 |
PO File | 1 | 111 | 163 | 147 |
CSS | 4 | 13 | 0 | 86 |
JavaScript | 1 | 2 | 0 | 52 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 76.47% |
▷ Protected methods | 3 | 17.65% |
▷ Private methods | 1 | 5.88% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin