Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▼1.83MB] [CPU: ▼51.51ms] Passed 4 tests
Server-side resources used by Events Handler - The Events Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 5.87 ▼37.06 |
Dashboard /wp-admin | 2.18 ▼1.12 | 6.51 ▼45.53 |
Posts /wp-admin/edit.php | 2.18 ▼1.17 | 9.74 ▼44.47 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.70 | 5.92 ▼78.99 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 7.08 ▼32.13 |
Tickets /wp-admin/admin.php?page=tickets | 2.18 | 6.83 |
/wp-admin/admin.php?page=booking | 2.18 | 7.38 |
Events Handler /wp-admin/admin.php?page=eventshandler | 2.18 | 5.45 |
Short Codes /wp-admin/admin.php?page=shortcode | 2.18 | 6.86 |
/wp-admin/admin.php?page=add_ticket | 2.18 | 5.91 |
Calendar /wp-admin/admin.php?page=calendar | 2.18 | 7.15 |
/wp-admin/admin.php?page=editticket | 2.18 | 5.79 |
Customers /wp-admin/admin.php?page=customers | 2.18 | 8.30 |
/wp-admin/admin.php?page=bookingdetails | 2.18 | 6.58 |
/wp-admin/admin.php?page=edit_event | 2.18 | 6.32 |
Server storage [IO: ▲2.07MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 479 new files
Database: 8 new tables, 6 new options
New tables |
---|
wp_eh_templates |
wp_eh_settings |
wp_eh_add_customers |
wp_eh_currency |
wp_eh_add_event |
wp_eh_countries |
wp_eh_add_tickets |
wp_eh_add_booking |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Events Handler - The Events Plugin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,218 ▲457 | 15.39 ▲1.01 | 13.29 ▲11.38 | 42.39 ▼2.33 |
Dashboard /wp-admin | 2,349 ▲149 | 5.73 ▼0.14 | 107.02 ▼8.74 | 93.09 ▲48.78 |
Posts /wp-admin/edit.php | 2,249 ▲149 | 2.40 ▲0.40 | 44.31 ▲5.90 | 55.12 ▲20.78 |
Add New Post /wp-admin/post-new.php | 1,813 ▲268 | 23.23 ▲0.02 | 667.07 ▼23.34 | 37.44 ▼18.19 |
Media Library /wp-admin/upload.php | 1,534 ▲134 | 4.91 ▲0.75 | 103.91 ▼17.41 | 86.70 ▲37.37 |
Tickets /wp-admin/admin.php?page=tickets | 1,306 | 2.63 | 53.59 | 90.49 |
/wp-admin/admin.php?page=booking | 1,354 | 2.35 | 38.39 | 67.35 |
Events Handler /wp-admin/admin.php?page=eventshandler | 1,329 | 2.63 | 46.43 | 68.81 |
Short Codes /wp-admin/admin.php?page=shortcode | 1,246 | 2.35 | 39.84 | 60.21 |
/wp-admin/admin.php?page=add_ticket | 2,056 | 7.49 | 149.29 | 122.40 |
Calendar /wp-admin/admin.php?page=calendar | 1,658 | 2.95 | 62.01 | 62.28 |
/wp-admin/admin.php?page=editticket | 2,041 | 7.35 | 165.56 | 124.16 |
Customers /wp-admin/admin.php?page=customers | 1,293 | 2.62 | 47.09 | 72.57 |
/wp-admin/admin.php?page=bookingdetails | 1,307 | 2.65 | 44.53 | 74.33 |
/wp-admin/admin.php?page=edit_event | 3,796 | 7.74 | 143.73 | 157.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 112 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_event
- > POST request to /wp-admin/admin-ajax.php
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- 112 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_event
- > POST request to /wp-admin/admin-ajax.php
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
- > GET request to /wp-admin/admin.php?page=editticket
- > Notice in wp-content/plugins/events-handler/views/editticket.php+2
Undefined index: tid
- > GET request to /wp-admin/admin.php?page=editticket
- > Notice in wp-content/plugins/events-handler/views/editticket.php+101
Trying to get property 'TicketName' of non-object
- > GET request to /wp-admin/admin.php?page=editticket
- > Notice in wp-content/plugins/events-handler/views/editticket.php+110
Trying to get property 'TicketDesc' of non-object
- > GET request to /wp-admin/admin.php?page=editticket
- > Notice in wp-content/plugins/events-handler/views/editticket.php+130
Trying to get property 'TicketPrice' of non-object
- > GET request to /wp-admin/admin.php?page=editticket
- > Notice in wp-content/plugins/events-handler/views/editticket.php+138
Trying to get property 'TicketAvail' of non-object
- > GET request to /wp-admin/admin.php?page=editticket
- > Notice in wp-content/plugins/events-handler/views/editticket.php+146
Trying to get property 'TicketMinReq' of non-object
- > GET request to /wp-admin/admin.php?page=editticket
- > Notice in wp-content/plugins/events-handler/views/editticket.php+154
Trying to get property 'TicketMaxReq' of non-object
- > GET request to /wp-admin/admin.php?page=bookingdetails
- > Notice in wp-content/plugins/events-handler/views/bookings_detail.php+56
Undefined index: bid
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+3
Undefined index: eid
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+111
Trying to get property 'EventFrom' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+119
Trying to get property 'EventTo' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+63
Trying to get property 'EventColorCode' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+71
Trying to get property 'EventName' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+79
Trying to get property 'EventDescription' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+621
Trying to get property 'EventFullDay' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+128
Trying to get property 'EventSTotalTime' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+134
Trying to get property 'EventETotalTime' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+338
Trying to get property 'EventLocName' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+432
Trying to get property 'EventLocAddress' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+354
Trying to get property 'EventLocCity' of non-object
- 275 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_event
- > Notice in wp-content/plugins/events-handler/views/editEvent.php+433
Trying to get property 'EventLocCountry' of non-object
- > GET request to /wp-admin/admin.php?page=edit_event
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/events-handler/lib/event-class.php+160
Trying to get property 'CountryName' 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 items
- 39× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/events-handler/views/events_show.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/events-handler/views/front_end_fullcalendar.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/events-handler/install-script.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function addEventTable() in wp-content/plugins/events-handler/uninstall-script.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/events-handler/views/api_key.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/events-handler/views/editticket.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/events-handler/header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/events-handler/views/add_event.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/events-handler/menus.php:7
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/events-handler/views/editEvent.php on line 4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=calendar
- > Javascript (severe) in unknown
/wp-content/plugins/events-handler/js/jquery.fullcalendar.min.js?ver=6.3.1 4851:27 Uncaught TypeError: Cannot read properties of undefined (reading 'offsetTop')
- > GET request to /wp-admin/admin.php?page=edit_event
- > Network (severe)
wp-content/plugins/events-handler/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Add Events), #2 (Edit Events), #3 (Add Tickets), #4 (Calendar Events), #5 (General Settomgs), #6 (View Bookings), #7 (View Customers)
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
events-handler/events-handler.php Passed 13 tests
"Events Handler - The Events Plugin" version 1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
99 characters long description:
Events Handler is a highly configurable product which allows you to have multiple organized events.
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
Good job! No executable or dangerous file extensions detected30,802 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 432 | 65 | 12,733 |
JavaScript | 10 | 1,102 | 588 | 8,563 |
PO File | 12 | 3,061 | 4,046 | 6,409 |
CSS | 11 | 460 | 178 | 3,075 |
XML | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
345 compressed PNG files occupy 0.49MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons/color/current-work.png | 0.93KB | 1.06KB | 0.00% |
gfx/icons/big/idea.png | 1.09KB | 0.95KB | ▼ 12.40% |
gfx/icons/small/ICONS WITH TEXT/file.png | 0.38KB | 0.39KB | 0.00% |
gfx/icons/small/ICONS WITH TEXT/check.png | 0.71KB | 0.53KB | ▼ 25.00% |
images/icons/color/upcoming-work.png | 1.35KB | 1.40KB | 0.00% |