Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼4.66ms] Passed 4 tests
A check of server-side resources used by Tikex
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 41.72 ▼1.69 |
Dashboard /wp-admin | 3.61 ▲0.30 | 47.99 ▼7.56 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 48.53 ▼2.41 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 90.53 ▼6.96 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 36.53 ▲0.79 |
Fordítások /wp-admin/admin.php?page=tiket-on-wordpress-translationseditor | 3.44 | 32.96 |
Kedvezményezettek /wp-admin/admin.php?page=tiket-on-wordpress-payeeseditor | 3.44 | 33.01 |
Vásárlások /wp-admin/admin.php?page=tiket-on-wordpress-purchases | 3.44 | 32.27 |
Űrlapok /wp-admin/admin.php?page=tiket-on-wordpress-formseditor | 3.44 | 37.33 |
Termékek /wp-admin/admin.php?page=tiket-on-wordpress-eventseditor | 3.44 | 31.27 |
Custom Page /wp-admin/admin.php?page=login-page | 3.44 | 32.98 |
Bérletek /wp-admin/admin.php?page=tiket-on-wordpress-passeseditor | 3.44 | 30.01 |
Időpontok /wp-admin/admin.php?page=tiket-on-wordpress-eventtimeseditor | 3.44 | 31.33 |
Csapataim /wp-admin/admin.php?page=tiket-on-wordpress-teams | 3.44 | 41.46 |
Profil /wp-admin/admin.php?page=tiket-on-wordpress | 3.44 | 33.49 |
Server storage [IO: ▲41.42MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Filesystem usage must be lower than 25MB (currently using 41.42MB)
Filesystem: 242 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
twppwr_example_setting |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Tikex
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲89 | 14.72 ▲0.37 | 1.86 ▲0.01 | 43.38 ▼1.17 |
Dashboard /wp-admin | 2,256 ▲88 | 5.55 ▼0.03 | 90.85 ▼5.06 | 39.71 ▼8.29 |
Posts /wp-admin/edit.php | 2,161 ▲61 | 1.97 ▼0.06 | 38.99 ▼4.07 | 35.76 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,574 ▲44 | 23.40 ▲0.36 | 645.22 ▲40.86 | 65.22 ▲11.69 |
Media Library /wp-admin/upload.php | 1,464 ▲64 | 4.19 ▼0.12 | 97.79 ▼0.44 | 46.69 ▲5.21 |
Fordítások /wp-admin/admin.php?page=tiket-on-wordpress-translationseditor | 850 | 4.16 | 143.98 | 29.70 |
Kedvezményezettek /wp-admin/admin.php?page=tiket-on-wordpress-payeeseditor | 898 | 4.23 | 149.74 | 33.47 |
Vásárlások /wp-admin/admin.php?page=tiket-on-wordpress-purchases | 850 | 4.30 | 111.89 | 26.39 |
Űrlapok /wp-admin/admin.php?page=tiket-on-wordpress-formseditor | 896 | 4.23 | 107.54 | 27.55 |
Termékek /wp-admin/admin.php?page=tiket-on-wordpress-eventseditor | 892 | 4.23 | 105.45 | 25.72 |
Custom Page /wp-admin/admin.php?page=login-page | 889 | 4.22 | 107.22 | 25.68 |
Bérletek /wp-admin/admin.php?page=tiket-on-wordpress-passeseditor | 893 | 4.22 | 104.66 | 28.57 |
Időpontok /wp-admin/admin.php?page=tiket-on-wordpress-eventtimeseditor | 899 | 4.54 | 146.97 | 28.90 |
Csapataim /wp-admin/admin.php?page=tiket-on-wordpress-teams | 890 | 4.23 | 103.71 | 25.34 |
Profil /wp-admin/admin.php?page=tiket-on-wordpress | 885 | 4.08 | 113.93 | 24.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (/plugin-directory/assets/pf.png)
tiket-payment-invoicing/tiket-on-wordpress.php 85% from 13 tests
The principal PHP file in "Tikex" v. 5.0.92 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tiket-payment-invoicing.php" instead of "tiket-on-wordpress.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected13,507 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
TypeScript | 33 | 119 | 222 | 4,830 |
JavaScript | 51 | 1,022 | 2,326 | 4,185 |
CSS | 21 | 495 | 61 | 3,329 |
PHP | 15 | 269 | 793 | 710 |
JSX | 22 | 44 | 0 | 302 |
JSON | 2 | 0 | 0 | 144 |
SVG | 5 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 15 | 18.99% |
▷ Public methods | 54 | 68.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 31.65% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
32 PNG files occupy 5.79MB with 2.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
app/containers/Tikex/assets/images/bike1.png | 641.31KB | 210.04KB | ▼ 67.25% |
app/containers/Tikex/assets/images/switch_on.png | 38.30KB | 15.88KB | ▼ 58.54% |
app/containers/Tikex/assets/images/checkedImage.png | 0.56KB | 0.28KB | ▼ 49.83% |
app/containers/Tikex/assets/images/play_icon.png | 0.25KB | 0.26KB | 0.00% |
app/containers/Tikex/assets/images/check_icon.png | 0.24KB | 0.25KB | 0.00% |