Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/events-management/includes/utility-functions.php+39
Undefined index: time
Server metrics [RAM: ▼1.90MB] [CPU: ▼52.66ms] Passed 4 tests
An overview of server-side resources used by Events Management by Dawsun
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.75 ▼37.71 |
Dashboard /wp-admin | 2.11 ▼1.20 | 6.13 ▼45.58 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.24 ▼42.50 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 5.42 ▼84.86 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.79 ▼27.33 |
Bookings /wp-admin/edit.php?post_type=plugun-booking | 2.11 | 6.12 |
Email Templates /wp-admin/edit.php?post_type=plugun-template | 2.11 | 4.86 |
Event Tags /wp-admin/edit-tags.php?taxonomy=plugun-event-tags | 2.11 | 5.79 |
Tickets /wp-admin/edit.php?post_type=plugun-ticket | 2.11 | 5.53 |
Event Categories /wp-admin/edit-tags.php?taxonomy=plugun-event-category | 2.11 | 6.79 |
Settings /wp-admin/admin.php?page=deplite-setting-general | 2.11 | 5.71 |
Events /wp-admin/edit.php?post_type=plugun-event | 2.11 | 6.03 |
/wp-admin/admin.php?page=deplite-setting-template | 2.11 | 5.17 |
/wp-admin/admin.php?page=deplite-support | 2.11 | 6.70 |
Server storage [IO: ▲1.01MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 552 new files
Database: 1 new table, 17 new options
New tables |
---|
wp_plugun_checkin |
New WordPress options |
---|
event_plugun_template_booking_done |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
EVENT_PLUGUN_LICENSE_PRO |
widget_recent-comments |
widget_theysaidso_widget |
EVENT_PLUGUN_LICENSE_FREE |
theysaidso_admin_options |
event_plugun_currency |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Events Management by Dawsun
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,027 ▲292 | 13.68 ▼0.69 | 4.93 ▲3.16 | 43.95 ▼0.42 |
Dashboard /wp-admin | 2,348 ▲160 | 5.01 ▼0.81 | 115.94 ▲0.64 | 42.56 ▼2.70 |
Posts /wp-admin/edit.php | 2,177 ▲88 | 2.37 ▲0.35 | 37.57 ▲0.84 | 34.83 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,575 ▲61 | 23.36 ▲5.66 | 649.58 ▼26.66 | 54.12 ▼3.05 |
Media Library /wp-admin/upload.php | 1,475 ▲87 | 4.43 ▲0.19 | 97.30 ▼15.81 | 40.96 ▼7.82 |
Bookings /wp-admin/edit.php?post_type=plugun-booking | 1,187 | 2.34 | 38.09 | 27.73 |
Email Templates /wp-admin/edit.php?post_type=plugun-template | 1,840 | 2.52 | 43.58 | 33.26 |
Event Tags /wp-admin/edit-tags.php?taxonomy=plugun-event-tags | 1,329 | 2.09 | 32.92 | 29.32 |
Tickets /wp-admin/edit.php?post_type=plugun-ticket | 1,176 | 2.33 | 36.49 | 31.16 |
Event Categories /wp-admin/edit-tags.php?taxonomy=plugun-event-category | 1,356 | 2.11 | 32.43 | 26.76 |
Settings /wp-admin/admin.php?page=deplite-setting-general | 1,560 | 2.10 | 28.91 | 57.26 |
Events /wp-admin/edit.php?post_type=plugun-event | 1,181 | 2.46 | 35.59 | 30.11 |
/wp-admin/admin.php?page=deplite-setting-template | 1,754 | 6.81 | 126.18 | 112.00 |
/wp-admin/admin.php?page=deplite-support | 918 | 1.97 | 28.16 | 28.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/events-management/includes/utility-functions.php+39
Undefined index: time
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_plugun_checkin
- This plugin does not fully uninstall, leaving 13 options in the database
- EVENT_PLUGUN_LICENSE_FREE
- EVENT_PLUGUN_LICENSE_PRO
- theysaidso_admin_options
- event_plugun_template_logo
- event_plugun_template_booking_done
- EVENT_PLUGUN_LICENSE
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deplite-support
- > Notice in wp-content/plugins/events-management/includes/utility-functions.php+39
Undefined index: time
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deplite-support
- > Warning in wp-content/plugins/events-management/events-management-by-dawsun.php+118
include_once(wp-content/plugins/events-management/api.php): failed to open stream: No such file or directory
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deplite-support
- > Warning in wp-content/plugins/events-management/events-management-by-dawsun.php+118
include_once(): Failed opening 'wp-content/plugins/events-management/api.php' for inclusion (include_path='.:/usr/share/php')
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deplite-support
- > Notice in wp-content/plugins/events-management/includes/utility-functions.php+507
Undefined index: export_event_id
- > GET request to /wp-admin/admin.php?page=deplite-setting-general
- > Notice in wp-content/plugins/events-management/admin/partials/setting-other.php+28
Undefined index: EEK
- > GET request to /wp-admin/admin.php?page=deplite-setting-general
- > Notice in wp-content/plugins/events-management/admin/partials/setting-other.php+28
Undefined index: GHC
- > GET request to /wp-admin/admin.php?page=deplite-setting-general
- > Notice in wp-content/plugins/events-management/admin/partials/setting-other.php+28
Undefined index: GGP
- > GET request to /wp-admin/admin.php?page=deplite-setting-general
- > Notice in wp-content/plugins/events-management/admin/partials/setting-other.php+28
Undefined index: IMP
- > GET request to /wp-admin/admin.php?page=deplite-setting-general
- > Notice in wp-content/plugins/events-management/admin/partials/setting-other.php+28
Undefined index: TRL
- > GET request to /wp-admin/admin.php?page=deplite-setting-general
- > Notice in wp-content/plugins/events-management/admin/partials/setting-other.php+28
Undefined index: TVD
- > GET request to /wp-admin/admin.php?page=deplite-setting-general
- > Notice in wp-content/plugins/events-management/admin/partials/setting-other.php+28
Undefined index: ZWD
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/events-management/includes/phpqrcode/index.php
- > /wp-content/plugins/events-management/public/partials/event-plugun-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/events-management/public/partials/calendar-view.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deplite-support
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/events-management/admin/js/event-plugun-admin.js?ver=6.3.1:53:29)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deplite-support
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: event, event plugin, event management, ticket, event calendar
events-management/events-management-by-dawsun.php 85% from 13 tests
The main PHP script in "Events Management by Dawsun" version 1.0.2 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("events-management.php" instead of "events-management-by-dawsun.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 5% from 3 tests
File types 0% from 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
These items require your attention
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/events-management/includes/phpqrcode/tools/merge.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 77 | 3,440 | 3,352 | 14,809 |
HTML | 2 | 28 | 0 | 459 |
JavaScript | 5 | 150 | 84 | 321 |
CSS | 7 | 50 | 8 | 307 |
Bourne Shell | 1 | 0 | 0 | 2 |
DOS Batch | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 33.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 310.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 59 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 620 | |
▷ Static methods | 134 | 21.61% |
▷ Public methods | 508 | 81.94% |
▷ Protected methods | 98 | 15.81% |
▷ Private methods | 14 | 2.26% |
Functions | 62 | |
▷ Named functions | 43 | 69.35% |
▷ Anonymous functions | 19 | 30.65% |
Constants | 100 | |
▷ Global constants | 100 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
41 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/phpqrcode/cache/frame_22.png | 0.22KB | 0.21KB | ▼ 6.19% |
includes/phpqrcode/cache/frame_29.png | 0.23KB | 0.21KB | ▼ 7.76% |
includes/phpqrcode/cache/frame_24.png | 0.24KB | 0.23KB | ▼ 4.55% |
includes/phpqrcode/cache/frame_38.png | 0.27KB | 0.25KB | ▼ 8.24% |
includes/phpqrcode/cache/frame_37.png | 0.27KB | 0.25KB | ▼ 7.89% |