Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/custom-event-tickets/easy-custom-event-tickets.php+357
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.29MB] [CPU: ▼0.88ms] Passed 4 tests
This is a short check of server-side resources used by Easy Custom Event Tickets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 42.94 ▼1.22 |
Dashboard /wp-admin | 3.59 ▲0.29 | 48.14 ▲1.39 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 50.72 ▲4.78 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 93.29 ▼5.62 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 36.14 ▲1.94 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
ecet_multiple_setting |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Easy Custom Event Tickets: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲127 | 13.37 ▼0.98 | 1.97 ▼0.13 | 40.03 ▼8.29 |
Dashboard /wp-admin | 2,239 ▲51 | 5.06 ▼0.82 | 113.24 ▲3.29 | 39.93 ▼3.23 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.30 ▲0.32 | 42.69 ▲5.87 | 34.81 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,540 ▲6 | 23.30 ▲0.12 | 729.01 ▲39.08 | 40.81 ▼11.47 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.36 ▲0.09 | 97.53 ▼19.55 | 40.35 ▼6.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- ecet_multiple_setting
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to get property 'excerpt' of non-object in wp-content/plugins/custom-event-tickets/tribe-customizations-tooltip/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/description.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/custom-event-tickets/tribe-customizations-tooltip/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/title.php:22
- > PHP Notice
Undefined variable: placeholder_url in wp-content/plugins/custom-event-tickets/tribe-customizations-photo/v2/photo/event/featured-image.php on line 23
- > PHP Notice
Undefined variable: event in wp-content/plugins/custom-event-tickets/tribe-customizations-tooltip/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/description.php on line 19
- > PHP Notice
Undefined variable: event in wp-content/plugins/custom-event-tickets/tribe-customizations-photo/v2/photo/event/featured-image.php on line 30
- > PHP Fatal error
Uncaught Error: Call to a member function format_i18n() on null in wp-content/plugins/custom-event-tickets/tribe-customizations-photo/v2/photo/event/featured-image.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_class() in wp-content/plugins/custom-event-tickets/tribe-customizations-photo/v2/photo/event.php:20
- > PHP Notice
Undefined variable: event in wp-content/plugins/custom-event-tickets/tribe-customizations-photo/v2/photo/event/featured-image.php on line 23
- > PHP Notice
Trying to get property 'exists' of non-object in wp-content/plugins/custom-event-tickets/tribe-customizations-photo/v2/photo/event/featured-image.php on line 23
- > PHP Notice
Trying to get property 'start_display' of non-object in wp-content/plugins/custom-event-tickets/tribe-customizations-photo/v2/photo/event/featured-image.php on line 30
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: event tickets, event management, rsvp, the events calendar
custom-event-tickets/easy-custom-event-tickets.php 92% from 13 tests
The main PHP script in "Easy Custom Event Tickets" version 2.0.9 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("custom-event-tickets.php" instead of "easy-custom-event-tickets.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 detected2,305 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 940 | 1,130 | 1,584 |
PO File | 2 | 176 | 190 | 382 |
CSS | 2 | 140 | 154 | 269 |
JavaScript | 3 | 45 | 68 | 70 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 70 | |
▷ Named functions | 69 | 98.57% |
▷ Anonymous functions | 1 | 1.43% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin