Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.54ms] Passed 4 tests
Server-side resources used by Integrate Ticket Master
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 45.79 ▲7.80 |
Dashboard /wp-admin | 3.43 ▲0.08 | 54.01 ▼8.77 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 52.33 ▲2.13 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 87.57 ▼11.32 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 44.59 ▲8.12 |
Tags /wp-admin/edit-tags.php?taxonomy=wp_log_type&post_type=wp_log | 3.35 | 40.47 |
Logs /wp-admin/edit.php?post_type=wp_log | 3.40 | 40.92 |
Add New /wp-admin/post-new.php?post_type=wp_log | 3.47 | 52.67 |
Server storage [IO: ▲2.83MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
ank_wp_ticket_version |
Browser metrics Passed 4 tests
A check of browser resources used by Integrate Ticket Master
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲205 | 14.17 ▼0.18 | 15.12 ▲13.29 | 42.87 ▼1.57 |
Dashboard /wp-admin | 2,242 ▲62 | 5.64 ▼0.03 | 92.92 ▲4.30 | 37.21 ▼1.95 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.02 ▼0.01 | 37.25 ▼3.29 | 42.78 ▲3.82 |
Add New Post /wp-admin/post-new.php | 1,565 ▲27 | 23.20 ▲0.02 | 629.01 ▼6.27 | 56.75 ▲7.46 |
Media Library /wp-admin/upload.php | 1,447 ▲53 | 4.20 ▼0.06 | 103.34 ▼1.51 | 42.82 ▼1.23 |
Tags /wp-admin/edit-tags.php?taxonomy=wp_log_type&post_type=wp_log | 1,444 | 2.13 | 29.32 | 29.62 |
Logs /wp-admin/edit.php?post_type=wp_log | 1,108 | 1.98 | 32.08 | 29.27 |
Add New /wp-admin/post-new.php?post_type=wp_log | 2,274 | 7.78 | 171.19 | 60.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'ank_wp_ticket_uninstall' not found or invalid function name
- This plugin does not fully uninstall, leaving 7 options in the database
- ank_wp_ticket_version
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
- 18× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant AK_TICKETMASTER_BASE_DIR - assumed 'AK_TICKETMASTER_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/integrate-ticket-master/includes/classes/api/ank-wp-ticket-master-api-call.php on line 10
- > PHP Warning
Use of undefined constant AK_TICKETMASTER_BASE_DIR - assumed 'AK_TICKETMASTER_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/integrate-ticket-master/includes/classes/admin/settings/ank-wp-ticket-master-settings-page.php on line 10
- > PHP Warning
include_once(AK_TICKETMASTER_BASE_DIR/includes/classes/common/ank-wp-ticket-master-scripts.php): failed to open stream: No such file or directory in wp-content/plugins/integrate-ticket-master/includes/classes/frontend/ank-wp-ticket-master-frontend.php on line 9
- > PHP Warning
include(): Failed opening 'AK_TICKETMASTER_BASE_DIR/includes/classes/admin/settings/ank-wp-ticket-master-settings-form.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/integrate-ticket-master/includes/classes/admin/settings/ank-wp-ticket-master-settings-page.php on line 10
- > PHP Warning
include_once(AK_TICKETMASTER_BASE_DIR/includes/classes/common/ank-wp-ticket-template-loader.php): failed to open stream: No such file or directory in wp-content/plugins/integrate-ticket-master/includes/classes/frontend/ank-wp-ticket-master-frontend.php on line 10
- > PHP Warning
include(AK_TICKETMASTER_BASE_DIR/includes/classes/api/ank-wp-ticket-master-searchevents.php): failed to open stream: No such file or directory in wp-content/plugins/integrate-ticket-master/includes/classes/api/ank-wp-ticket-master-api-call.php on line 10
- > PHP Warning
Use of undefined constant AK_TICKETMASTER_BASE_DIR - assumed 'AK_TICKETMASTER_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/integrate-ticket-master/includes/classes/frontend/ank-wp-ticket-master-frontend.php on line 9
- > PHP Warning
include(): Failed opening 'AK_TICKETMASTER_BASE_DIR/includes/classes/api/ank-wp-ticket-master-searchevents.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/integrate-ticket-master/includes/classes/api/ank-wp-ticket-master-api-call.php on line 10
- > PHP Warning
include_once(): Failed opening 'AK_TICKETMASTER_BASE_DIR/includes/classes/common/ank-wp-ticket-master-scripts.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/integrate-ticket-master/includes/classes/frontend/ank-wp-ticket-master-frontend.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/integrate-ticket-master/includes/classes/templates/ank-wp-ticket-master-events-list.php:8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Donate link: Invalid URI ("")
integrate-ticket-master/ank-wp-ticket-master.php 92% from 13 tests
The principal PHP file in "Integrate Ticket Master" v. 2.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("integrate-ticket-master.php" instead of "ank-wp-ticket-master.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected10,831 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 852 | 1,270 | 4,003 |
SVG | 3 | 0 | 0 | 3,825 |
CSS | 11 | 426 | 212 | 2,099 |
PHP | 12 | 250 | 609 | 824 |
Markdown | 1 | 42 | 0 | 80 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 44 | |
▷ Static methods | 11 | 25.00% |
▷ Public methods | 35 | 79.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 20.45% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/js/owlcarousel/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |