Cab fare calculator 1.1.6

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

Summary

Errors
4PHP notices
2PHP deprecation warnings
1JavaScript 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.069 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.1
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=d3eca43728
Aspect after-activation
HTTP status 200
Load time 0.526 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.449 s
Memory usage 3.53 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name \"lord-icon\" has already been used with this registry\n    at Module.<anonymous> (/wp-content/plugins/cab-fare-calculator/admin/js/lord-icon.js?ver=1691425888:2:262320)\n    at i (/wp-content/plugins/cab-fare-calculator/admin/js/lord-icon.js?ver=1691425888:2:110)\n    at /wp-content/plugins/cab-fare-calculator/admin/js/lord-icon.js?ver=1691425888:2:902\n    at /wp-content/plugins/cab-fare-calculator/admin/js/lord-icon.js?ver=1691425888:2:911",
        "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.270 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.246 s
Memory usage 3.55 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.271 s
Memory usage 3.55 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.245 s
Memory usage 3.55 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.257 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.312 s0.655 s+0.343 s3.47 MiB3.66 MiB+ 186.21 KiB
/wp-admin/edit.php0.281 s0.400 s+0.119 s3.54 MiB3.67 MiB+ 132.77 KiB
/wp-admin/post-new.php0.731 s1.269 s+0.538 s5.75 MiB5.92 MiB+ 170.42 KiB
/wp-admin/upload.php0.614 s0.389 s-0.225 s3.49 MiB3.53 MiB+ 42.03 KiB
/wp-admin/options-writing.php0.197 s0.327 s+0.130 s3.41 MiB3.54 MiB+ 134.31 KiB
/wp-admin/media-new.php0.215 s0.291 s+0.076 s3.4 MiB3.53 MiB+ 134.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.277 s+0.099 s3.47 MiB3.56 MiB+ 94.39 KiB
/wp-admin/post-new.php?post_type=page0.938 s0.864 s-0.074 s5.75 MiB5.9 MiB+ 157.8 KiB
/wp-admin/options-discussion.php0.241 s0.324 s+0.083 s3.41 MiB3.54 MiB+ 134.47 KiB
/wp-admin/edit-comments.php0.478 s0.261 s-0.217 s3.49 MiB3.58 MiB+ 94.23 KiB
/0.339 s0.228 s-0.111 s3.45 MiB3.44 MiB- 12.5 KiB
Average 0.411 s0.480 s+0.069 s3.88 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
PHP49.4%7,46172857
JavaScript25.8%3,88722915
CSS15.9%2,39902
SVG4.3%65501
SQL4.0%599012
PO File0.5%77341
HTML0.1%901
JSON0.0%606
Markdown0.0%201
Total 15,095 991 96

PHP Code Analysis | More results »

Lines of code 4,594
Total complexity 712
Median class complexity 18.0
Median method complexity 2.0
Most complex class BookingHelper
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 9

Options wp_options 3

PHP Error Log 6 lines

[27-Jul-2024 20:19:17 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 595
[27-Jul-2024 20:19:17 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 603
[27-Jul-2024 20:19:20 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6085
[27-Jul-2024 20:19:21 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6085
[27-Jul-2024 20:19:22 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6085
[27-Jul-2024 20:19:23 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6085
See also: All tests for this plugin, How to Hide Cab fare calculator Admin Menus