Benchmarks
Plugin footprint 40% 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
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::activate() should not be called statically
Server metrics [RAM: ▼0.43MB] [CPU: ▼175.53ms] Passed 4 tests
An overview of server-side resources used by WP Event Ticketing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.13 ▲0.41 | 28.21 ▼2.91 |
Dashboard /wp-admin | 3.22 ▲0.17 | 25.98 ▼23.06 |
Posts /wp-admin/edit.php | 3.22 ▲0.12 | 25.72 ▼21.36 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.21 | 25.28 ▼643.55 |
Media Library /wp-admin/upload.php | 3.22 ▲0.22 | 23.92 ▼14.16 |
Settings /wp-admin/admin.php?page=ticketsettings | 3.22 | 24.33 |
Ticket Options /wp-admin/admin.php?page=ticketoptions | 3.22 | 36.22 |
Tickets /wp-admin/admin.php?page=tickettickets | 3.22 | 23.88 |
Notify Attendees /wp-admin/admin.php?page=ticketnotify | 3.22 | 22.90 |
Instructions /wp-admin/admin.php?page=ticketinstructions | 3.22 | 26.35 |
Coupons /wp-admin/admin.php?page=ticketcoupons | 3.22 | 23.53 |
Attendees /wp-admin/admin.php?page=ticketattendeeedit | 3.22 | 27.16 |
Reporting /wp-admin/admin.php?page=eventticketing | 3.22 | 27.18 |
Packages /wp-admin/admin.php?page=ticketpackages | 3.22 | 31.61 |
Server storage [IO: ▲0.30MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 1 new option
New WordPress options |
---|
eventTicketingSystem |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Event Ticketing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,776 ▲204 | 16.00 ▲0.10 | 11.45 ▼1.34 | 52.64 ▲3.32 |
Dashboard /wp-admin | 3,034 ▲103 | 6.13 ▲0.21 | 138.73 ▼11.81 | 163.00 ▲49.19 |
Posts /wp-admin/edit.php | 2,829 ▲90 | 2.76 ▲0.06 | 68.71 ▼2.60 | 99.49 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,665 ▼18 | 13.35 ▼5.02 | 290.54 ▼124.36 | 118.29 ▼1.89 |
Media Library /wp-admin/upload.php | 1,820 ▲10 | 5.13 ▲0.16 | 132.87 ▼14.78 | 152.87 ▲29.20 |
Settings /wp-admin/admin.php?page=ticketsettings | 1,680 | 2.71 | 66.72 | 109.67 |
Ticket Options /wp-admin/admin.php?page=ticketoptions | 1,329 | 2.44 | 74.62 | 95.53 |
Tickets /wp-admin/admin.php?page=tickettickets | 1,168 | 2.42 | 62.12 | 84.09 |
Notify Attendees /wp-admin/admin.php?page=ticketnotify | 1,159 | 2.42 | 56.89 | 89.72 |
Instructions /wp-admin/admin.php?page=ticketinstructions | 1,247 | 2.55 | 63.58 | 87.53 |
Coupons /wp-admin/admin.php?page=ticketcoupons | 1,112 | 2.40 | 58.23 | 80.12 |
Attendees /wp-admin/admin.php?page=ticketattendeeedit | 1,156 | 2.43 | 59.06 | 69.36 |
Reporting /wp-admin/admin.php?page=eventticketing | 1,128 | 2.40 | 59.67 | 76.93 |
Packages /wp-admin/admin.php?page=ticketpackages | 1,209 | 2.41 | 57.93 | 83.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::options() should not be called statically
- This plugin does not fully uninstall, leaving 1 option in the database
- eventTicketingSystem
Smoke tests 50% 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
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ticketpackages
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::options() should not be called statically
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ticketpackages
- > User deprecated in wp-includes/functions.php+5211
add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ticketpackages
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::adminscripts() should not be called statically
- > GET request to /wp-admin/admin.php?page=ticketsettings
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketSettings() should not be called statically
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ticketsettings
- > Notice in wp-content/plugins/wpeventticketing/ticketing.php+347
Undefined index: paypalCurrency
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ticketsettings
- > Notice in wp-content/plugins/wpeventticketing/ticketing.php+540
Undefined index: eventTicketingStatus
- > GET request to /wp-admin/admin.php?page=ticketoptions
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketOptionsControl() should not be called statically
- > GET request to /wp-admin/admin.php?page=tickettickets
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketTicketsControl() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tickettickets
- > Notice in wp-content/plugins/wpeventticketing/ticketing.php+1636
Undefined variable: ticketProto
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tickettickets
- > Notice in wp-content/plugins/wpeventticketing/ticketing.php+1636
Trying to get property 'ticketId' of non-object
- > GET request to /wp-admin/admin.php?page=ticketnotify
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketNotify() should not be called statically
- > GET request to /wp-admin/admin.php?page=ticketinstructions
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketInstructions() should not be called statically
- > GET request to /wp-admin/admin.php?page=ticketcoupons
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketCouponsControl() should not be called statically
- > GET request to /wp-admin/admin.php?page=ticketattendeeedit
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketAttendeeEdit() should not be called statically
- > GET request to /wp-admin/admin.php?page=ticketattendeeedit
- > Deprecated in wp-content/plugins/wpeventticketing/ticketing.php+663
Non-static method eventTicketingSystem::generateAttendeeTable() should not be called statically
- > GET request to /wp-admin/admin.php?page=ticketattendeeedit
- > Deprecated in wp-content/plugins/wpeventticketing/ticketing.php+1042
Non-static method eventTicketingSystem::getAttendeeArr() should not be called statically
- > GET request to /wp-admin/admin.php?page=ticketattendeeedit
- > Deprecated in wp-content/plugins/wpeventticketing/ticketing.php+937
Non-static method eventTicketingSystem::getAttendees() should not be called statically
- > GET request to /wp-admin/admin.php?page=eventticketing
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketReporting() should not be called statically
- > GET request to /wp-admin/admin.php?page=eventticketing
- > Deprecated in wp-content/plugins/wpeventticketing/ticketing.php+1251
Non-static method eventTicketingSystem::currencyFormat() should not be called statically
- > GET request to /wp-admin/admin.php?page=eventticketing
- > Deprecated in wp-content/plugins/wpeventticketing/ticketing.php+194
Non-static method eventTicketingSystem::getCurrencySymbol() should not be called statically
- > GET request to /wp-admin/admin.php?page=eventticketing
- > Notice in wp-content/plugins/wpeventticketing/ticketing.php+1255
Undefined variable: discounted
- > GET request to /wp-admin/admin.php?page=eventticketing
- > Notice in wp-content/plugins/wpeventticketing/ticketing.php+1276
Undefined variable: ticket
- > GET request to /wp-admin/admin.php?page=eventticketing
- > Notice in wp-content/plugins/wpeventticketing/ticketing.php+1302
Undefined variable: attendee
- > GET request to /wp-admin/admin.php?page=ticketpackages
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method eventTicketingSystem::ticketPackagesControl() should not be called statically
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wpeventticketing/ticketing.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in wpeventticketing/assets to your readme.txt
wpeventticketing/ticketing.php 92% from 13 tests
"WP Event Ticketing" version 1.3.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wpeventticketing.php" instead of "ticketing.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected4,719 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 305 | 236 | 2,439 |
JavaScript | 3 | 86 | 212 | 1,469 |
CSS | 8 | 118 | 88 | 811 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 82.40 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 381.00 |
Average method complexity | 7.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_flat_10_000000_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
images/calendar_full.png | 1.64KB | 0.74KB | ▼ 55.00% |
css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.12KB | 0.16KB | 0.00% |
css/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.25KB | 0.15KB | ▼ 37.45% |