Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.25ms] Passed 4 tests
This is a short check of server-side resources used by GetYourGuide Ticketing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 45.08 ▲7.09 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.01 ▼1.35 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 48.44 ▲0.62 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.25 ▼6.97 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.07 ▲2.72 |
Link Builder /wp-admin/admin.php?page=getyourguide-ticketing-link | 3.26 | 29.80 |
Settings /wp-admin/admin.php?page=getyourguide-ticketing-settings | 3.25 | 30.97 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GetYourGuide Ticketing
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 14.17 ▼0.62 | 77.67 ▲75.98 | 44.37 ▲5.51 |
Dashboard /wp-admin | 2,237 ▲49 | 5.87 ▼0.02 | 115.27 ▲13.26 | 38.29 ▼4.25 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.01 ▼0.02 | 37.88 ▼11.48 | 38.33 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 17.66 ▼0.05 | 689.30 ▲78.19 | 58.80 ▲10.94 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▼0.05 | 94.03 ▼6.54 | 42.76 ▼0.45 |
Link Builder /wp-admin/admin.php?page=getyourguide-ticketing-link | 880 | 2.06 | 22.80 | 26.43 |
Settings /wp-admin/admin.php?page=getyourguide-ticketing-settings | 1,033 | 2.05 | 24.32 | 33.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 41 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=getyourguide-ticketing-settings
- > Notice in wp-content/plugins/getyourguide-ticketing/admin/partials/fields/currency.php+117
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/getyourguide-ticketing/public/partials/getyourguide-ticketing-public-display.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/getyourguide-ticketing/admin/partials/fields/partner-hash.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/getyourguide-ticketing/admin/partials/getyourguide-ticketing-link-builder.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/getyourguide-ticketing/admin/partials/getyourguide-ticketing-admin-display.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function selected() in wp-content/plugins/getyourguide-ticketing/admin/partials/fields/currency.php:3
- > PHP Fatal error
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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: booking engine, ticket, museum, getyourguide, ticketing
getyourguide-ticketing/getyourguide-ticketing.php 92% from 13 tests
The principal PHP file in "GetYourGuide Ticketing" v. 1.0.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected497 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 124 | 536 | 431 |
JavaScript | 1 | 15 | 0 | 66 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 1.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin