Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/notikumi-ticketing/public/class-notikumi-public.php+344
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▼0.12MB] [CPU: ▼5.81ms] Passed 4 tests
A check of server-side resources used by Notikumi Ticketing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▼0.60 | 21.40 ▼21.40 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.70 ▼0.94 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 57.79 ▲11.79 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 94.47 ▼0.99 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.85 ▲0.09 |
Contenido /wp-admin/admin.php?page=events-config | 3.50 | 40.26 |
Notikumi /wp-admin/admin.php?page=notikumi-ticketing | 3.28 | 31.19 |
Custom diseño /wp-admin/admin.php?page=template-config | 3.32 | 33.37 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
ntk_content_agenda_type_key |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Notikumi Ticketing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲199 | 15.69 ▲1.37 | 256.21 ▲253.87 | 45.54 ▼3.86 |
Dashboard /wp-admin | 2,252 ▲43 | 6.27 ▲0.42 | 136.69 ▲35.77 | 86.24 ▲46.26 |
Posts /wp-admin/edit.php | 2,141 ▲49 | 3.42 ▲1.41 | 81.34 ▲45.54 | 35.74 ▲2.98 |
Add New Post /wp-admin/post-new.php | 1,565 ▲31 | 22.27 ▼0.84 | 841.15 ▲133.68 | 29.03 ▼30.28 |
Media Library /wp-admin/upload.php | 1,433 ▲45 | 5.04 ▲0.80 | 135.24 ▲5.22 | 61.07 ▲8.81 |
Contenido /wp-admin/admin.php?page=events-config | 861 | 3.44 | 65.23 | 24.13 |
Notikumi /wp-admin/admin.php?page=notikumi-ticketing | 876 | 3.13 | 37.69 | 30.54 |
Custom diseño /wp-admin/admin.php?page=template-config | 1,368 | 3.54 | 72.79 | 50.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- ntk_content_agenda_type_key
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=events-config
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/events.php+69
Undefined index: widget_pos
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=notikumi-ticketing
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/credentials.php+61
Undefined variable: opt_user_key
- > GET request to /wp-admin/admin.php?page=notikumi-ticketing
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/credentials.php+45
Undefined variable: opt_pass_key
- > GET request to /wp-admin/admin.php?page=notikumi-ticketing
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/credentials.php+67
Undefined variable: ntk_pass_key
- > GET request to /wp-admin/admin.php?page=template-config
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/templates.php+131
Undefined variable: three_cols_php_custom_key
- > GET request to /wp-admin/admin.php?page=template-config
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/templates.php+132
Undefined variable: three_cols_original_php
- > GET request to /wp-admin/admin.php?page=template-config
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/templates.php+135
Undefined variable: single_col_php_custom_key
- > GET request to /wp-admin/admin.php?page=template-config
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/templates.php+136
Undefined variable: single_col_original_php
- > GET request to /wp-admin/admin.php?page=template-config
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/templates.php+138
Undefined variable: event_page_php_custom_key
- > GET request to /wp-admin/admin.php?page=template-config
- > Notice in wp-content/plugins/notikumi-ticketing/admin/partials/templates.php+139
Undefined variable: event_page_original_php
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
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/notikumi-ticketing/public/partials/notikumi-public-display.php
- > /wp-content/plugins/notikumi-ticketing/templates/original/php/single-col.php
- > /wp-content/plugins/notikumi-ticketing/templates/original/php/three-cols.php
- 35× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: event in wp-content/plugins/notikumi-ticketing/templates/original/php/three-cols.php on line 84
- > PHP Notice
Undefined variable: event in wp-content/plugins/notikumi-ticketing/templates/original/php/three-cols.php on line 86
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/notikumi-ticketing/templates/original/php/event-page.php on line 17
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/notikumi-ticketing/templates/original/php/event-page.php on line 25
- > PHP Notice
Trying to get property 'sessions' of non-object in wp-content/plugins/notikumi-ticketing/templates/original/php/three-cols.php on line 94
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/notikumi-ticketing/admin/partials/credentials.php:16
- > PHP Notice
Trying to get property 'sessions' of non-object in wp-content/plugins/notikumi-ticketing/templates/original/php/event-page.php on line 25
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/notikumi-ticketing/templates/original/php/three-cols.php on line 86
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/notikumi-ticketing/templates/original/php/three-cols.php on line 75
- > PHP Notice
Undefined variable: events in wp-content/plugins/notikumi-ticketing/templates/original/php/three-cols.php on line 15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tested up to: Version format is invalid
- Plugin Name: You should set the name of your plugin on the first line (
=== notikumi-ticketing ===
)
notikumi-ticketing/notikumi-ticketing.php Passed 13 tests
"Notikumi Ticketing" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
69 characters long description:
Show your events and tickets ready to be sold in your wordpress page.
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
Success! There were no dangerous files found in this plugin3,717 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 419 | 669 | 1,727 |
CSS | 8 | 79 | 37 | 1,555 |
PO File | 3 | 106 | 111 | 252 |
JavaScript | 5 | 47 | 11 | 174 |
Bourne Shell | 1 | 9 | 3 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 17 | 22.97% |
▷ Public methods | 56 | 75.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 24.32% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected