Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/easy-event-calendar/src/functions.php+1215
Undefined index: settings-updated
Server metrics [RAM: ▼0.42MB] [CPU: ▼186.25ms] Passed 4 tests
An overview of server-side resources used by Easy Event calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.21 ▲0.49 | 14.00 ▼10.37 |
Dashboard /wp-admin | 3.22 ▲0.17 | 15.10 ▼35.67 |
Posts /wp-admin/edit.php | 3.23 ▲0.12 | 13.24 ▼33.58 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.21 | 12.99 ▼652.17 |
Media Library /wp-admin/upload.php | 3.22 ▲0.22 | 13.28 ▼23.57 |
Settings /wp-admin/admin.php?page=coreftCalendar-settings | 3.23 | 10.34 |
Color Settings /wp-admin/admin.php?page=coreftCalendar-special | 3.23 | 10.98 |
Calendars /wp-admin/admin.php?page=coreftCalendar-admin | 3.23 | 12.96 |
Venues /wp-admin/edit.php?post_type=coreft-venues | 3.23 | 13.17 |
Events /wp-admin/edit.php?post_type=coreft-events | 3.23 | 12.33 |
Shortcodes /wp-admin/admin.php?page=coreftCalendar-custom-shortcodes | 3.23 | 11.74 |
Organizers /wp-admin/edit.php?post_type=coreft-organizers | 3.23 | 10.83 |
Categories /wp-admin/edit-tags.php?taxonomy=coreft_events_category | 3.23 | 12.61 |
Server storage [IO: ▲3.37MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 179 new files
Database: 6 new tables, 6 new options
New tables |
---|
wp_coreftcalendar_special_dates_calendar |
wp_coreftcalendar_special_dates |
wp_coreftcalendar_calendars |
wp_coreftcalendar_subscribers_calendar |
wp_coreftcalendar_booking |
wp_coreftCalendar_booking |
New WordPress options |
---|
widget_eventscalendaraccordion |
widget_eventscalendar |
coreftCalendar_options |
widget_eventscalendaraddevents |
widget_eventscalendartodayevents |
widget_eventscalendarupcomingevents |
Browser metrics Passed 4 tests
Easy Event calendar: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,942 ▲346 | 16.11 ▲0.51 | 9.91 ▼0.44 | 44.90 ▼5.28 |
Dashboard /wp-admin | 3,121 ▲190 | 7.15 ▲1.02 | 153.74 ▼10.61 | 103.08 ▼17.16 |
Posts /wp-admin/edit.php | 2,873 ▲134 | 2.79 ▲0.09 | 77.61 ▲4.76 | 121.68 ▲27.43 |
Add New Post /wp-admin/post-new.php | 1,687 ▲93 | 22.49 ▲3.68 | 288.33 ▼106.89 | 158.10 ▲43.17 |
Media Library /wp-admin/upload.php | 1,943 ▲136 | 5.60 ▲0.58 | 141.74 ▼21.87 | 145.98 ▲17.30 |
Settings /wp-admin/admin.php?page=coreftCalendar-settings | 3,784 | 8.14 | 191.31 | 113.47 |
Color Settings /wp-admin/admin.php?page=coreftCalendar-special | 1,993 | 6.01 | 132.20 | 108.65 |
Calendars /wp-admin/admin.php?page=coreftCalendar-admin | 1,698 | 5.16 | 98.31 | 120.13 |
Venues /wp-admin/edit.php?post_type=coreft-venues | 1,960 | 5.71 | 111.85 | 138.95 |
Events /wp-admin/edit.php?post_type=coreft-events | 2,064 | 5.61 | 118.76 | 138.31 |
Shortcodes /wp-admin/admin.php?page=coreftCalendar-custom-shortcodes | 3,078 | 6.07 | 137.81 | 121.97 |
Organizers /wp-admin/edit.php?post_type=coreft-organizers | 1,909 | 5.37 | 125.00 | 136.76 |
Categories /wp-admin/edit-tags.php?taxonomy=coreft_events_category | 1,917 | 3.07 | 67.56 | 93.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/easy-event-calendar/src/functions.php+1215
Undefined index: settings-updated
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_coreftcalendar_booking
- wp_coreftcalendar_special_dates_calendar
- wp_coreftcalendar_calendars
- wp_coreftcalendar_subscribers_calendar
- wp_coreftcalendar_special_dates
- Zombie WordPress options were found after uninstall: 5 options
- widget_eventscalendar
- widget_eventscalendartodayevents
- widget_eventscalendaraddevents
- widget_eventscalendarupcomingevents
- widget_eventscalendaraccordion
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 11 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=coreft_events_category
- > Notice in wp-content/plugins/easy-event-calendar/src/functions.php+1215
Undefined index: settings-updated
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+209
Undefined index: days_reminders
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+228
Undefined index: terms_conditions
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+248
Undefined index: pagination
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+262
Undefined index: max_file_size
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+318
Undefined index: google_map_zoom
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+484
Undefined index: remove_expired_status
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+501
Undefined index: remove_expired_completly
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+516
Undefined index: remove_expired_days
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+536
Undefined index: event_single_enable
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+584
Undefined index: custom_fields_counter
- > GET request to /wp-admin/admin.php?page=coreftCalendar-settings
- > Notice in wp-content/plugins/easy-event-calendar/views/admin/settings.php+671
Undefined index: booking_custom_fields_counter
- > GET request to /wp-admin/admin.php?page=coreftCalendar-admin
- > Notice in wp-content/plugins/easy-event-calendar/src/calendars.php+761
Trying to get property 'counter' of non-object
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
- 20× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Helpers\\FacebookSignedRequestFromInputHelper' not found in wp-content/plugins/easy-event-calendar/src/Facebook/Helpers/FacebookJavaScriptLoginHelper.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/easy-event-calendar/src/Facebook/Exceptions/FacebookRequestException.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\HttpClients\\FacebookHttpClientInterface' not found in wp-content/plugins/easy-event-calendar/src/Facebook/HttpClients/FacebookGuzzleHttpClient.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookRequestException' not found in wp-content/plugins/easy-event-calendar/src/Facebook/Exceptions/FacebookThrottleException.php:30
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookRequestException' not found in wp-content/plugins/easy-event-calendar/src/Facebook/Exceptions/FacebookServerException.php:30
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/easy-event-calendar/src/ical_parser.php on line 262
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookRequestException' not found in wp-content/plugins/easy-event-calendar/src/Facebook/Exceptions/FacebookPermissionException.php:30
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookRequestException' not found in wp-content/plugins/easy-event-calendar/src/Facebook/Exceptions/FacebookOtherException.php:30
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphObject' not found in wp-content/plugins/easy-event-calendar/src/Facebook/GraphNodes/GraphAlbum.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Helpers\\FacebookCanvasLoginHelper' not found in wp-content/plugins/easy-event-calendar/src/Facebook/Helpers/FacebookPageTabHelper.php:31
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=coreftCalendar-special
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load%5Bchunk_1%5D=ui-controlgroup,jquery-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=5.8.1 1:31592 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/easy-event-calendar/js/admin_settings.js?ver=5.8.1:141:35)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load%5Bchunk_1%5D=ui-controlgroup,jquery-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load%5Bchunk_1%5D=ui-controlgroup,jquery-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=5.8.1:2:30340)" undefined
- > GET request to /wp-admin/admin.php?page=coreftCalendar-special
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load%5Bchunk_1%5D=ui-controlgroup,jquery-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=5.8.1 1:31702 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: event calendar, event, calendar
easy-event-calendar/coreftCalendar.php 77% from 13 tests
"Easy Event calendar" version 1.0'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:
- Description: The description should be shorter than 140 characters (currently 152 characters long)
- Domain Path: The domain path folder was not found ("/langs")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-event-calendar.php" instead of "coreftCalendar.php")
Code Analysis 0% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
It is important to fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/easy-event-calendar/src/Facebook/fb_ca_chain_bundle.crt
- ☣ wp-content/plugins/easy-event-calendar/src/Facebook/HttpClients/fb_ca_chain_bundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 4,903 | 5,057 | 21,538 |
CSS | 20 | 1,286 | 226 | 10,919 |
JavaScript | 11 | 1,260 | 971 | 4,982 |
SVG | 1 | 0 | 0 | 655 |
JSON | 1 | 0 | 0 | 1 |
PHP code 0% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,724)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 375)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 54.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,724.00 |
Average method complexity | 6.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 375.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 2 | 4.55% |
▷ Concrete classes | 42 | 95.45% |
▷ Final classes | 0 | 0.00% |
Methods | 416 | |
▷ Static methods | 53 | 12.74% |
▷ Public methods | 353 | 84.86% |
▷ Protected methods | 56 | 13.46% |
▷ Private methods | 7 | 1.68% |
Functions | 138 | |
▷ Named functions | 138 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 30 | |
▷ Global constants | 12 | 40.00% |
▷ Class constants | 18 | 60.00% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
75 PNG files occupy 0.17MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/colorpicker/custom_rgb_g.png | 1.04KB | 0.80KB | ▼ 23.67% |
images/colorpicker/colorpicker_hsb_b.png | 0.95KB | 0.76KB | ▼ 19.48% |
images/calendar_loader_dark2.png | 2.58KB | 1.94KB | ▼ 25.03% |
images/icons_dark/search.png | 1.10KB | 0.27KB | ▼ 75.84% |
images/icons/search2.png | 1.31KB | 0.62KB | ▼ 52.43% |