Cab fare calculator 1.1.8

Does Cab fare calculator work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP deprecation warnings
6JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 115.33 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.040 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/cab-fare-calculator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=cab-fare-calculator%2Ftblight.php&plugin_status=all&paged=1&s&_wpnonce=5d86057f5f
Aspect after-activation
HTTP status 200
Load time 0.726 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Taxi Booking

Page screenshot: Taxi Booking
URL /wp-admin/admin.php?page=dashboard
Aspect menu-item
HTTP status 200
Load time 0.653 s
Memory usage 3.53 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token < in JSON at position 0",
        "trace": null,
        "code": null
    },
    {
        "message": "SyntaxError: Unexpected token < in JSON at position 0",
        "trace": null,
        "code": null
    },
    {
        "message": "SyntaxError: Unexpected token < in JSON at position 0",
        "trace": null,
        "code": null
    },
    {
        "message": "SyntaxError: Unexpected token < in JSON at position 0",
        "trace": null,
        "code": null
    },
    {
        "message": "SyntaxError: Unexpected token < in JSON at position 0",
        "trace": null,
        "code": null
    },
    {
        "message": "SyntaxError: Unexpected token < in JSON at position 0",
        "trace": null,
        "code": null
    }
]
Resource errors None

Taxi Booking → Orders

Page screenshot: Taxi Booking → Orders
URL /wp-admin/admin.php?page=orders
Aspect menu-item
HTTP status 200
Load time 0.258 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Taxi Booking → Vehicles

Page screenshot: Taxi Booking → Vehicles
URL /wp-admin/admin.php?page=cars
Aspect menu-item
HTTP status 200
Load time 0.250 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Taxi Booking → Payment Methods

Page screenshot: Taxi Booking → Payment Methods
URL /wp-admin/admin.php?page=paymentmethods
Aspect menu-item
HTTP status 200
Load time 0.246 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Taxi Booking → Settings

Page screenshot: Taxi Booking → Settings
URL /wp-admin/admin.php?page=configs
Aspect menu-item
HTTP status 200
Load time 0.202 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.193 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.351 s+0.042 s3.47 MiB3.65 MiB+ 186.21 KiB
/wp-admin/edit.php0.174 s0.292 s+0.118 s3.54 MiB3.67 MiB+ 132.77 KiB
/wp-admin/post-new.php0.683 s0.861 s+0.178 s5.75 MiB5.92 MiB+ 170.42 KiB
/wp-admin/upload.php0.526 s0.398 s-0.128 s3.49 MiB3.53 MiB+ 42.03 KiB
/wp-admin/options-writing.php0.214 s0.293 s+0.079 s3.41 MiB3.54 MiB+ 134.31 KiB
/wp-admin/media-new.php0.226 s0.273 s+0.047 s3.4 MiB3.53 MiB+ 134.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.260 s+0.085 s3.47 MiB3.56 MiB+ 94.39 KiB
/wp-admin/post-new.php?post_type=page0.535 s0.474 s-0.061 s5.75 MiB5.9 MiB+ 157.8 KiB
/wp-admin/options-discussion.php0.195 s0.303 s+0.108 s3.41 MiB3.54 MiB+ 134.47 KiB
/wp-admin/edit-comments.php0.210 s0.258 s+0.048 s3.49 MiB3.58 MiB+ 94.23 KiB
/0.276 s0.202 s-0.074 s3.45 MiB3.44 MiB- 12.5 KiB
Average 0.320 s0.360 s+0.040 s3.87 MiB3.99 MiB+ 115.33 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP50.2%7,68274157
JavaScript25.4%3,88722915
CSS15.7%2,39902
SVG4.3%65501
SQL3.9%599012
PO File0.5%77341
HTML0.1%901
JSON0.0%606
Total 15,314 1,004 95

PHP Code Analysis | More results »

Lines of code 4,768
Total complexity 794
Median class complexity 21.0
Median method complexity 2.0
Most complex class TblightControllerOnepage
Most complex function TblightControllerOnepage::getVehicles()
Classes 21
Methods 191
Functions 8

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 8

Options wp_options 3

PHP Error Log 2 lines

[14-Sep-2024 17:13:20 UTC] PHP Deprecated:  Optional parameter $duration declared before required parameter $elsettings is implicitly treated as a required parameter in /wp-content/plugins/cab-fare-calculator/classes/booking.helper.php on line 598
[14-Sep-2024 17:13:20 UTC] PHP Deprecated:  Optional parameter $price declared before required parameter $elsettings is implicitly treated as a required parameter in /wp-content/plugins/cab-fare-calculator/classes/booking.helper.php on line 606
See also: All tests for this plugin, How to Hide Cab fare calculator Admin Menus