Cab fare calculator 1.1.2

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

Summary

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

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

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

Environment
WordPress version6.1.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=aeaf6b7d8d
Aspect after-activation
HTTP status 200
Load time 0.471 s
Memory usage 3.15 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.347 s
Memory usage 3.09 MiB
JS errors None
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.262 s
Memory usage 3.14 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.360 s
Memory usage 3.12 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.281 s
Memory usage 3.12 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.255 s
Memory usage 3.13 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.210 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.264 s0.466 s+0.202 s3.05 MiB3.22 MiB+ 179.99 KiB
/wp-admin/edit.php0.171 s0.331 s+0.160 s3.07 MiB3.24 MiB+ 170.8 KiB
/wp-admin/post-new.php0.759 s0.854 s+0.095 s4.97 MiB5.15 MiB+ 189.3 KiB
/wp-admin/upload.php0.476 s0.262 s-0.214 s2.99 MiB3.09 MiB+ 103.25 KiB
/wp-admin/options-writing.php0.132 s0.251 s+0.119 s2.99 MiB3.11 MiB+ 129.92 KiB
/wp-admin/media-new.php0.238 s0.297 s+0.059 s2.97 MiB3.11 MiB+ 142.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.385 s+0.221 s2.98 MiB3.14 MiB+ 158.5 KiB
/wp-admin/post-new.php?post_type=page0.789 s0.683 s-0.106 s4.96 MiB5.14 MiB+ 184.89 KiB
/wp-admin/options-discussion.php0.222 s0.329 s+0.107 s2.98 MiB3.12 MiB+ 143.77 KiB
/wp-admin/edit-comments.php0.200 s0.303 s+0.103 s3 MiB3.14 MiB+ 144.04 KiB
/0.260 s0.197 s-0.063 s2.94 MiB3.02 MiB+ 75.87 KiB
Average 0.334 s0.396 s+0.062 s3.35 MiB3.5 MiB+ 147.55 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
Language % Lines of code Comment lines Files
PHP65.7%7,90199261
JavaScript23.0%2,76524115
SVG5.4%65501
SQL5.0%599012
PO File0.6%77341
CSS0.2%2401
HTML0.1%901
JSON0.0%505
Total 12,035 1,267 97

PHP Code Analysis | More results »

Lines of code 5,154
Total complexity 804
Median class complexity 21.0
Median method complexity 1.0
Most complex class BookingHelper
Most complex function TblightControllerOnepage::getVehicles()
Classes 25
Methods 241
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

[21-Nov-2022 13:21:13 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
[21-Nov-2022 13:21:13 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
[21-Nov-2022 13:21:15 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://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[21-Nov-2022 13:21:16 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://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[21-Nov-2022 13:21:17 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://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[21-Nov-2022 13:21:18 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://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
See also: All tests for this plugin, How to Hide Cab fare calculator Admin Menus