Cab fare calculator 1.1.4

Does Cab fare calculator work with WordPress 6.2 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: 155.21 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.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=808d08e948
Aspect after-activation
HTTP status 200
Load time 0.524 s
Memory usage 3.17 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.337 s
Memory usage 3.12 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.255 s
Memory usage 3.17 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.264 s
Memory usage 3.15 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.256 s
Memory usage 3.15 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.220 s
Memory usage 3.15 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.206 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.279 s0.373 s+0.094 s3.07 MiB3.25 MiB+ 179.99 KiB
/wp-admin/edit.php0.186 s0.415 s+0.229 s3.1 MiB3.27 MiB+ 172.05 KiB
/wp-admin/post-new.php0.769 s0.946 s+0.177 s5.02 MiB5.2 MiB+ 189.18 KiB
/wp-admin/upload.php0.531 s0.423 s-0.108 s3.02 MiB3.12 MiB+ 104.45 KiB
/wp-admin/options-writing.php0.149 s0.251 s+0.102 s3.01 MiB3.14 MiB+ 131.59 KiB
/wp-admin/media-new.php0.266 s0.250 s-0.016 s2.99 MiB3.13 MiB+ 144.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.247 s0.306 s+0.059 s3.01 MiB3.16 MiB+ 159.18 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.752 s+0.154 s5.01 MiB5.19 MiB+ 184.77 KiB
/wp-admin/options-discussion.php0.205 s0.406 s+0.201 s3 MiB3.14 MiB+ 145.33 KiB
/wp-admin/edit-comments.php0.183 s0.332 s+0.149 s3.03 MiB3.18 MiB+ 156.18 KiB
/0.314 s0.216 s-0.098 s2.97 MiB3.11 MiB+ 139.76 KiB
Average 0.339 s0.425 s+0.086 s3.38 MiB3.54 MiB+ 155.21 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.2%7,35672957
JavaScript25.8%3,86122615
CSS16.0%2,39902
SVG4.4%65501
SQL4.0%599012
PO File0.5%77341
HTML0.1%901
JSON0.0%606
Total 14,962 989 95

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

[06-Apr-2023 04:01: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
[06-Apr-2023 04:01: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
[06-Apr-2023 04:01: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/documentation/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 5865
[06-Apr-2023 04:01: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/documentation/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 5865
[06-Apr-2023 04:01: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/documentation/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 5865
[06-Apr-2023 04:01: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/documentation/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 5865
See also: All tests for this plugin, How to Hide Cab fare calculator Admin Menus