Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼5.70ms] Passed 4 tests
This is a short check of server-side resources used by TicketMachine Event Manager & Calendar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 37.39 ▼4.95 |
Dashboard /wp-admin | 3.55 ▲0.21 | 47.07 ▼9.07 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 51.91 ▲4.71 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 91.58 ▼13.47 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 44.00 ▲9.51 |
Server storage [IO: ▲5.55MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 237 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_ticketmachine_design |
wp_ticketmachine_config |
wp_ticketmachine_organizers_events_match |
wp_ticketmachine_organizers |
wp_ticketmachine_log |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
ticketmachine_db_version |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by TicketMachine Event Manager & Calendar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲40 | 14.67 ▲0.27 | 1.60 ▼0.30 | 37.50 ▼5.60 |
Dashboard /wp-admin | 2,207 ▲30 | 5.60 ▼0.05 | 92.16 ▼2.53 | 37.44 ▼10.57 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.96 ▼0.07 | 39.96 ▼1.43 | 34.33 ▼6.39 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.58 ▲0.58 | 621.80 ▲10.97 | 51.08 ▲8.64 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▲0.02 | 108.33 ▲6.72 | 46.98 ▲4.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- ticketmachine_db_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/ticketmachine-event-manager/admin/pages/installation.php
- > /wp-content/plugins/ticketmachine-event-manager/admin/debug.php
- > /wp-content/plugins/ticketmachine-event-manager/partials/_event_page_tickets.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ticketmachine-event-manager/admin/partials/sidebar.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
10 plugin tags: kalender, gdpr, veranstalter, dsgvo, event...
ticketmachine-event-manager/ticketmachine-event-manager.php 92% from 13 tests
The principal PHP file in "TicketMachine Event Manager & Calendar" v. 1.8.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.5.1" instead of "4.5")
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
Success! There were no dangerous files found in this plugin60,483 lines of code in 217 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 136 | 2,041 | 2,569 | 32,385 |
CSS | 19 | 428 | 413 | 14,622 |
SVG | 3 | 0 | 0 | 8,611 |
PHP | 44 | 680 | 336 | 3,744 |
PO File | 2 | 355 | 431 | 710 |
Markdown | 5 | 94 | 0 | 239 |
HTML | 8 | 1 | 0 | 172 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 57 | |
▷ Named functions | 55 | 96.49% |
▷ Anonymous functions | 2 | 3.51% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/logo.png | 95.81KB | 43.16KB | ▼ 54.96% |
assets/img/none.png | 5.97KB | 3.17KB | ▼ 46.83% |