Benchmarks
Plugin footprint 82% 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: ▲2.40MB] [CPU: ▲12.63ms] 75% from 4 tests
A check of server-side resources used by WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 2,110.65ms on /wp-admin/edit.php?post_type=event_listing&page=event-manager-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.29 ▲1.83 | 48.48 ▲8.20 |
Dashboard /wp-admin | 5.91 ▲2.56 | 68.89 ▲9.05 |
Posts /wp-admin/edit.php | 5.97 ▲2.61 | 62.11 ▲13.94 |
Add New Post /wp-admin/post-new.php | 8.93 ▲3.04 | 114.25 ▲19.33 |
Media Library /wp-admin/upload.php | 5.85 ▲2.62 | 59.50 ▲29.91 |
Add-ons /wp-admin/edit.php?post_type=event_listing&page=event-manager-addons | 6.28 | 2,110.65 |
Settings /wp-admin/edit.php?post_type=event_listing&page=event-manager-settings | 5.83 | 57.01 |
Shortcodes /wp-admin/edit.php?post_type=event_listing&page=event-manager-shortcodes | 5.75 | 47.54 |
Setup /wp-admin/index.php?page=event-manager-setup | 5.75 | 46.14 |
Field Editor /wp-admin/edit.php?post_type=event_listing&page=event-manager-form-editor | 6.55 | 82.36 |
Add New /wp-admin/post-new.php?post_type=event_listing | 9.21 | 135.31 |
All Events /wp-admin/edit.php?post_type=event_listing | 5.98 | 64.43 |
Server storage [IO: ▲11.45MB] [DB: ▲0.06MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 337 new files
Database: no new tables, 60 new options
New WordPress options |
---|
event_manager_view_date_format |
event_manager_hide_expired_content |
event_manager_enable_event_ticket_prices |
event_manager_hide_cancelled_events |
event_manager_timepicker_format |
event_manager_date_time_format_separator |
event_manager_enable_event_types |
event_manager_enable_default_category_multiselect |
event_manager_per_page |
event_manager_submission_expire_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,995 ▲223 | 13.57 ▼0.78 | 9.67 ▲7.54 | 39.33 ▼4.25 |
Dashboard /wp-admin | 2,273 ▲96 | 5.66 ▲0.05 | 89.42 ▼9.61 | 41.06 ▲0.42 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.05 ▲0.10 | 37.76 ▼0.04 | 35.43 ▲2.68 |
Add New Post /wp-admin/post-new.php | 1,589 ▲63 | 23.39 ▲0.28 | 696.91 ▲63.88 | 50.00 ▼0.61 |
Media Library /wp-admin/upload.php | 1,475 ▲72 | 4.22 ▲0.01 | 103.12 ▲3.80 | 42.91 ▼0.51 |
Add-ons /wp-admin/edit.php?post_type=event_listing&page=event-manager-addons | 2,736 | 1.32 | 30.23 | 60.22 |
Settings /wp-admin/edit.php?post_type=event_listing&page=event-manager-settings | 1,964 | 1.93 | 32.73 | 40.85 |
Shortcodes /wp-admin/edit.php?post_type=event_listing&page=event-manager-shortcodes | 1,064 | 1.83 | 22.80 | 32.93 |
Setup /wp-admin/index.php?page=event-manager-setup | 909 | 1.73 | 25.36 | 39.38 |
Field Editor /wp-admin/edit.php?post_type=event_listing&page=event-manager-form-editor | 8,172 | 4.36 | 117.36 | 84.33 |
Add New /wp-admin/post-new.php?post_type=event_listing | 3,383 | 16.98 | 1,223.22 | 62.12 |
All Events /wp-admin/edit.php?post_type=event_listing | 1,547 | 2.30 | 40.35 | 37.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 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
- The uninstall procedure has failed, leaving 15 options in the database
- widget_theysaidso_widget
- wpem_email_from_address
- widget_widget_upcoming_events
- widget_widget_featured_events
- widget_recent-comments
- widget_recent-posts
- event_manager_enable_event_ticket_prices_filter
- can_compress_scripts
- db_upgraded
- event_listing_category_children
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-event-manager/external/visual-composer/index.php
- > /wp-content/plugins/wp-event-manager/templates/event-listings-end.php
- 101× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-event-manager/admin/wp-event-manager-field-editor.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-event-manager/external/wpml.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-event-manager/external/jetpack.php:20
- > PHP Notice
Undefined variable: field in wp-content/plugins/wp-event-manager/templates/form-fields/radio-field.php on line 17
- > PHP Notice
Undefined variable: key in wp-content/plugins/wp-event-manager/templates/form-fields/term-select-field.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/wp-event-manager/templates/venue/content-single-event_venue.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-event-manager/templates/event-dashboard.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-event-manager/templates/form-fields/repeated-field.php:64
- > PHP Notice
Undefined variable: value in wp-content/plugins/wp-event-manager/templates/form-fields/uploaded-file-html.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-event-manager/templates/event-registration-url.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #15, #16, #17, #18, #19, #20, #21, #22, #23 in wp-event-manager/assets to your readme.txt
wp-event-manager/wp-event-manager.php Passed 13 tests
The entry point to "WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce" version 3.1.39 is a PHP file that has certain tags in its header comment area
133 characters long description:
Lightweight, scalable and full-featured event listings & management plugin for managing event listings from the Frontend and Backend.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected96,911 lines of code in 266 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 35 | 26,451 | 36,216 | 56,516 |
PHP | 132 | 2,618 | 5,754 | 19,656 |
JavaScript | 52 | 4,530 | 1,239 | 9,661 |
CSS | 21 | 179 | 94 | 9,406 |
SVG | 13 | 1 | 9 | 1,004 |
Sass | 2 | 27 | 5 | 262 |
LESS | 1 | 11 | 5 | 152 |
JSON | 8 | 0 | 0 | 143 |
XML | 1 | 7 | 0 | 103 |
Ruby | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 34.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 283.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 1 | 1.69% |
▷ Concrete classes | 58 | 98.31% |
▷ Final classes | 0 | 0.00% |
Methods | 549 | |
▷ Static methods | 91 | 16.58% |
▷ Public methods | 425 | 77.41% |
▷ Protected methods | 97 | 17.67% |
▷ Private methods | 27 | 4.92% |
Functions | 188 | |
▷ Named functions | 185 | 98.40% |
▷ Anonymous functions | 3 | 1.60% |
Constants | 16 | |
▷ Global constants | 13 | 81.25% |
▷ Class constants | 3 | 18.75% |
▷ Public constants | 3 | 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
16 PNG files occupy 0.42MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/jquery-ui/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
assets/js/jquery-ui/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
assets/images/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
external/visual-composer/eventDashboard/eventDashboard/public/event-dashboard-preview.png | 49.87KB | 12.77KB | ▼ 74.38% |
assets/js/jquery-ui/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |