Cab fare calculator 1.1.5

Does Cab fare calculator work with WordPress 6.2.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: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.2.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=4bc8404b9f
Aspect after-activation
HTTP status 200
Load time 0.586 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.321 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.223 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.237 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.225 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.204 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.210 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.644 s0.319 s-0.325 s3.07 MiB3.25 MiB+ 179.99 KiB
/wp-admin/edit.php0.153 s0.281 s+0.128 s3.1 MiB3.27 MiB+ 172.05 KiB
/wp-admin/post-new.php0.672 s0.827 s+0.155 s5.02 MiB5.21 MiB+ 189.18 KiB
/wp-admin/upload.php0.461 s0.390 s-0.071 s3.02 MiB3.12 MiB+ 104.45 KiB
/wp-admin/options-writing.php0.354 s0.247 s-0.107 s3.01 MiB3.14 MiB+ 131.59 KiB
/wp-admin/media-new.php0.244 s0.238 s-0.006 s2.99 MiB3.13 MiB+ 144.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.151 s0.254 s+0.103 s3.01 MiB3.16 MiB+ 159.18 KiB
/wp-admin/post-new.php?post_type=page0.519 s0.568 s+0.049 s5.01 MiB5.19 MiB+ 184.77 KiB
/wp-admin/options-discussion.php0.172 s0.281 s+0.109 s3 MiB3.14 MiB+ 145.33 KiB
/wp-admin/edit-comments.php0.182 s0.277 s+0.095 s3.03 MiB3.18 MiB+ 156.18 KiB
/0.247 s0.303 s+0.056 s2.97 MiB3.11 MiB+ 139.76 KiB
Average 0.345 s0.362 s+0.017 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,36572957
JavaScript25.8%3,86122615
CSS16.0%2,39902
SVG4.4%65501
SQL4.0%599012
PO File0.5%77341
HTML0.1%901
JSON0.0%606
Markdown0.0%201
Total 14,973 989 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

[24-May-2023 19:59:00 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
[24-May-2023 19:59:00 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
[24-May-2023 19:59:03 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
[24-May-2023 19:59:04 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
[24-May-2023 19:59:05 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
[24-May-2023 19:59:06 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