Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▼7.07ms] Passed 4 tests
An overview of server-side resources used by Event Alley
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 47.28 ▲8.10 |
Dashboard /wp-admin | 3.98 ▲0.64 | 57.53 ▼2.68 |
Posts /wp-admin/edit.php | 3.96 ▲0.61 | 41.68 ▼7.85 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 76.35 ▼22.37 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 39.16 ▲4.61 |
Settings /wp-admin/edit.php?post_type=events&page=ea_settings | 3.89 | 37.81 |
Email Templates /wp-admin/edit.php?post_type=events&page=user_emails | 3.95 | 38.51 |
Add New Event /wp-admin/post-new.php?post_type=events | 4.05 | 54.19 |
Forms /wp-admin/edit.php?post_type=events&page=ea_forms | 3.88 | 36.59 |
Bookings /wp-admin/edit.php?post_type=event_booking | 3.96 | 36.50 |
Statuses /wp-admin/edit.php?post_type=events&page=user_statuses | 3.88 | 36.35 |
Event Venues /wp-admin/edit.php?post_type=event_venue | 3.94 | 37.25 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event_category&post_type=events | 3.91 | 38.65 |
All Events /wp-admin/edit.php?post_type=events | 3.95 | 37.06 |
Server storage [IO: ▲1.43MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 74 new files
Database: no new tables, 34 new options
New WordPress options |
---|
ea_o_adm_dt_format |
widget_recent-comments |
ea_o_arch_plc_more |
ea_o_single_plc_venue |
ea_o_venue_slug |
ea_o_arch_plc_venue |
widget_recent-posts |
ea_o_dd_format |
ea_o_from_email |
ea_o_arch_plc_date |
... |
Browser metrics Passed 4 tests
Event Alley: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,342 ▲581 | 13.62 ▼0.60 | 1.60 ▼0.06 | 43.72 ▲5.76 |
Dashboard /wp-admin | 2,737 ▲556 | 4.97 ▼0.65 | 94.87 ▼3.24 | 57.88 ▲15.48 |
Posts /wp-admin/edit.php | 2,717 ▲617 | 2.53 ▲0.54 | 37.56 ▼0.92 | 49.81 ▲14.86 |
Add New Post /wp-admin/post-new.php | 2,039 ▲502 | 23.13 ▲5.00 | 678.88 ▲26.46 | 40.08 ▼49.73 |
Media Library /wp-admin/upload.php | 1,933 ▲533 | 4.50 ▲0.27 | 100.46 ▲4.14 | 51.38 ▲7.90 |
Settings /wp-admin/edit.php?post_type=events&page=ea_settings | 2,372 | 2.81 | 52.88 | 59.83 |
Email Templates /wp-admin/edit.php?post_type=events&page=user_emails | 2,425 | 8.22 | 157.33 | 44.82 |
Add New Event /wp-admin/post-new.php?post_type=events | 4,940 | 9.38 | 229.58 | 82.43 |
Forms /wp-admin/edit.php?post_type=events&page=ea_forms | 2,401 | 2.15 | 31.52 | 52.25 |
Bookings /wp-admin/edit.php?post_type=event_booking | 1,695 | 2.33 | 35.11 | 41.77 |
Statuses /wp-admin/edit.php?post_type=events&page=user_statuses | 1,471 | 2.24 | 30.52 | 43.17 |
Event Venues /wp-admin/edit.php?post_type=event_venue | 1,693 | 2.34 | 35.32 | 42.14 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event_category&post_type=events | 1,815 | 2.22 | 33.75 | 46.42 |
All Events /wp-admin/edit.php?post_type=events | 1,703 | 2.34 | 36.92 | 40.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 34 options in the database
- widget_recent-comments
- ea_o_single_plc_venue
- ea_o_single_plc_date
- ea_o_arch_plc_img
- ea_o_from_email
- db_upgraded
- ea_o_dt_format
- ea_statuses
- ea_common_form
- ea_o_arch_plc_date
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Warning in wp-content/plugins/event-alley/core/backend.php+426
Invalid argument supplied for foreach()
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_first_name
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_last_name
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_email
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_phone
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_address
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_address_2
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_town
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_county
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_post_code
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_country
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=events
- > Notice in wp-content/plugins/event-alley/core/modules/backend/BookingBackendController.php+55
Undefined index: booking_terms
SRP Passed 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
Congratulations! This plugin passed the SRP test
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/post-new.php?post_type=events
- > Network (severe)
images/3px-tile.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: exhibit, event, seminar, events, eventalley...
event-alley/event-alley.php Passed 13 tests
Analyzing the main PHP file in "Event Alley" version 0.9.1
99 characters long description:
The next generation event management and booking system handcrafted for you to publish your events.
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
Success! There were no dangerous files found in this plugin28,902 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 4,151 | 3,501 | 21,058 |
PHP | 43 | 877 | 116 | 4,384 |
CSS | 9 | 132 | 150 | 3,046 |
HTML | 1 | 84 | 15 | 414 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 15.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 165 | |
▷ Static methods | 1 | 0.61% |
▷ Public methods | 159 | 96.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.64% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
15 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/jquery-ui/images/ui-bg_highlight-soft_100_deedf7_1x100.png | 0.38KB | 0.18KB | ▼ 52.97% |
assets/css/jquery-ui/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png | 0.30KB | 0.15KB | ▼ 50.32% |
assets/css/jquery-ui/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png | 0.32KB | 0.14KB | ▼ 56.02% |
assets/css/jquery-ui/images/ui-bg_glass_80_d7ebf9_1x400.png | 0.34KB | 0.16KB | ▼ 53.76% |
assets/css/jquery-ui/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |