Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.61ms] Passed 4 tests
A check of server-side resources used by Event Registration and Tickets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.42 ▼13.90 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.10 ▲1.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.27 ▲0.05 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.80 ▼14.09 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.84 ▲1.52 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Event Registration and Tickets: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 13.46 ▼1.08 | 7.53 ▲6.01 | 39.23 ▼3.00 |
Dashboard /wp-admin | 2,234 ▲54 | 5.60 ▼0.09 | 88.86 ▲0.09 | 40.56 ▼5.26 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.00 ▲0.01 | 37.32 ▼2.64 | 37.28 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,552 ▲25 | 23.26 ▲0.16 | 690.00 ▲5.13 | 56.07 ▲3.20 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.18 ▼0.04 | 108.12 ▼8.06 | 48.11 ▲2.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-event-tickets/admin/partials/wp-event-tickets-admin-display.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-event-tickets/admin/metabox/save-metabox.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/wp-event-tickets/public/partials/wp-event-tickets-public-display.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-event-tickets/admin/metabox/add-metabox.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: events, woocommerce, pricing table, registration, tickets
wp-event-tickets/wp-event-tickets.php Passed 13 tests
This is the main PHP file of "Event Registration and Tickets" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
101 characters long description:
Event Registration and Tickets is easy to use Woocommerce based ticketing for Events and Conferences.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected414 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 182 | 529 | 353 |
CSS | 2 | 29 | 12 | 55 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 2.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin