Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲7.42MB] [CPU: ▲43.49ms] 50% from 4 tests
This is a short check of server-side resources used by Tickera - WordPress Event Ticketing
Please have a look at the following items
- RAM: Try to keep total memory usage under 10MB (currently 10.51MB on /wp-admin/index.php?page=tc-installation-wizard)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 7.42MB on /wp-admin/index.php?page=tc-installation-wizard)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.82 ▲7.36 | 85.61 ▲47.21 |
Dashboard /wp-admin | 10.77 ▲7.42 | 100.05 ▲35.74 |
Posts /wp-admin/edit.php | 10.87 ▲7.51 | 111.58 ▲57.40 |
Add New Post /wp-admin/post-new.php | 13.59 ▲7.70 | 129.62 ▲33.62 |
Media Library /wp-admin/upload.php | 10.63 ▲7.40 | 122.21 ▲86.26 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 10.82 | 82.51 |
/wp-admin/index.php?page=tc-installation-wizard | 10.51 | 73.00 |
Server storage [IO: ▲28.56MB] [DB: ▲0.02MB] 67% from 3 tests
Filesystem and database footprint
These are issues you should consider
- Filesystem usage must be lower than 25MB (currently using 28.56MB)
Filesystem: 760 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
fs_debug_mode |
widget_tc_upcoming_events_widget |
widget_tc_cart_widget |
tc_settings |
tc_version |
fs_accounts |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Tickera - WordPress Event Ticketing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,255 ▲483 | 15.39 ▲0.62 | 7.16 ▲5.23 | 26.06 ▼18.96 |
Dashboard /wp-admin | 2,548 ▲368 | 6.42 ▲0.77 | 125.97 ▲28.67 | 57.17 ▲11.73 |
Posts /wp-admin/edit.php | 2,419 ▲319 | 3.84 ▲1.83 | 62.04 ▲23.77 | 45.71 ▲8.62 |
Add New Post /wp-admin/post-new.php | 1,857 ▲331 | 21.54 ▼1.57 | 614.20 ▼8.59 | 35.76 ▼25.11 |
Media Library /wp-admin/upload.php | 1,553 ▲153 | 4.43 ▲0.32 | 93.33 ▼3.57 | 51.15 ▲9.30 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,307 | 3.32 | 43.48 | 26.86 |
/wp-admin/index.php?page=tc-installation-wizard | 225 | 1.58 | 17.44 | 45.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/tickera-event-ticketing-system/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 13 options
- tc_version
- fs_accounts
- widget_tc_cart_widget
- fs_debug_mode
- fs_active_plugins
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_tc_upcoming_events_widget
- tc_settings
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/tickera-event-ticketing-system/includes/templates/page-ipn.php
- 81× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/tickera-event-ticketing-system/includes/classes/class.beaver_shortcodes.php:9
- > PHP Fatal error
Uncaught Error: Class 'TC_Ticket_Template_Elements' not found in wp-content/plugins/tickera-event-ticketing-system/includes/ticket-elements-new/event_logo_element.php:3
- > PHP Fatal error
Uncaught Error: Class 'TC_Ticket_Template_Elements' not found in wp-content/plugins/tickera-event-ticketing-system/includes/ticket-elements/ticket_buyer_name_element.php:3
- > PHP Fatal error
Uncaught Error: Class 'TC_Gateway_API' not found in wp-content/plugins/tickera-event-ticketing-system/includes/gateways/custom-offline-payments.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tickera-event-ticketing-system/includes/admin-pages/settings-email.php:22
- > PHP Fatal error
Uncaught Error: Class 'TC_API_Keys' not found in wp-content/plugins/tickera-event-ticketing-system/includes/admin-pages/settings-api.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tickera-event-ticketing-system/includes/templates/page-payment.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/tickera-event-ticketing-system/includes/admin-pages/installation-wizard/finish.php:3
- > PHP Fatal error
Uncaught Error: Class 'TC_Ticket_Template_Elements' not found in wp-content/plugins/tickera-event-ticketing-system/includes/ticket-elements/ticket_qr_code_element.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function start() on null in wp-content/plugins/tickera-event-ticketing-system/includes/admin-pages/settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
tickera-event-ticketing-system/tickera.php 85% from 13 tests
The entry point to "Tickera - WordPress Event Ticketing" version 3.5.2.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("tickera-event-ticketing-system.php" instead of "tickera.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected151,079 lines of code in 509 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 382 | 15,017 | 33,367 | 108,385 |
JavaScript | 49 | 3,891 | 1,497 | 18,388 |
PO File | 10 | 5,550 | 6,667 | 12,010 |
CSS | 62 | 2,174 | 513 | 11,512 |
SVG | 6 | 0 | 1 | 784 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 4,371)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 502)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 89.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,371.00 |
Average method complexity | 5.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 502.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 156 | |
▷ Abstract classes | 2 | 1.28% |
▷ Concrete classes | 154 | 98.72% |
▷ Final classes | 0 | 0.00% |
Methods | 2,824 | |
▷ Static methods | 345 | 12.22% |
▷ Public methods | 2,158 | 76.42% |
▷ Protected methods | 293 | 10.38% |
▷ Private methods | 373 | 13.21% |
Functions | 317 | |
▷ Named functions | 311 | 98.11% |
▷ Anonymous functions | 6 | 1.89% |
Constants | 286 | |
▷ Global constants | 239 | 83.57% |
▷ Class constants | 47 | 16.43% |
▷ Public constants | 47 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
79 PNG files occupy 0.55MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/gateways/payulatam.png | 5.53KB | 2.61KB | ▼ 52.84% |
images/gateways/payumoney.png | 4.87KB | 2.51KB | ▼ 48.53% |
css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
images/gateways/small-stripe.png | 5.84KB | 3.65KB | ▼ 37.58% |
freemius/assets/img/pushover.png | 10.70KB | 3.15KB | ▼ 70.57% |