Food Truck Locator 1.1.0

Does Food Truck Locator work with WordPress 6.7 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
14PHP warnings
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 19.63 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.7
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/food-truck-locator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=food-truck-locator%2Ffoodtrucklocator.php&plugin_status=all&paged=1&s&_wpnonce=87220a0a1c
Aspect after-activation
HTTP status 200
Load time 0.442 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Food Truck Locator

Page screenshot: Food Truck Locator
URL /wp-admin/admin.php?page=foodtrucklocator-list
Aspect menu-item
HTTP status 200
Load time 0.176 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Food Truck Locator → Add a location

Page screenshot: Food Truck Locator → Add a location
URL /wp-admin/admin.php?page=foodtrucklocator-edit
Aspect menu-item
HTTP status 200
Load time 0.318 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Food Truck Locator → Settings

Page screenshot: Food Truck Locator → Settings
URL /wp-admin/admin.php?page=foodtrucklocator-settings
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.49 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.198 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.276 s0.274 s-0.002 s3.48 MiB3.51 MiB+ 33.61 KiB
/wp-admin/edit.php0.175 s0.183 s+0.008 s3.54 MiB3.57 MiB+ 33.95 KiB
/wp-admin/post-new.php0.691 s0.570 s-0.121 s5.92 MiB5.96 MiB+ 37.23 KiB
/wp-admin/upload.php0.495 s0.288 s-0.207 s3.49 MiB3.51 MiB+ 16.55 KiB
/wp-admin/options-writing.php0.182 s0.231 s+0.049 s3.47 MiB3.49 MiB+ 20.54 KiB
/wp-admin/media-new.php0.229 s0.205 s-0.024 s3.46 MiB3.49 MiB+ 28.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.154 s0.174 s+0.020 s3.47 MiB3.51 MiB+ 39.41 KiB
/wp-admin/post-new.php?post_type=page0.552 s0.551 s-0.001 s5.92 MiB5.95 MiB+ 32.77 KiB
/wp-admin/options-discussion.php0.270 s0.214 s-0.056 s3.47 MiB3.49 MiB+ 17.04 KiB
/wp-admin/edit-comments.php0.182 s0.182 s+0.000 s3.49 MiB3.51 MiB+ 16.54 KiB
/0.268 s0.202 s-0.066 s3.48 MiB3.42 MiB- 60.38 KiB
Average 0.316 s0.279 s-0.036 s3.93 MiB3.95 MiB+ 19.63 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
CSS
JavaScript
PO File
Language % Lines of code Comment lines Files
PHP41.5%9038610
CSS32.1%700272
JavaScript13.4%291142
PO File13.0%2841162
Total 2,178 243 16

PHP Code Analysis | More results »

Lines of code 485
Total complexity 77
Median class complexity 22.0
Median method complexity 1.0
Most complex class FoodTruckLocator
Most complex function FoodTruckLocator::ajaxSaveLocation()
Classes 3
Methods 40
Functions 1

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 2

Options wp_options 1

PHP Error Log 15 lines

[21-Nov-2024 05:06:34 UTC] PHP Warning:  Undefined array key "orderby" in /wp-content/plugins/food-truck-locator/includes/LocationsListTable.php on line 28
[21-Nov-2024 05:06:34 UTC] PHP Warning:  Undefined array key "order" in /wp-content/plugins/food-truck-locator/includes/LocationsListTable.php on line 28
[21-Nov-2024 05:06:34 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 6114
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined array key "locationId" in /wp-content/plugins/food-truck-locator/views/edit.php on line 13
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined property: stdClass::$name in /wp-content/plugins/food-truck-locator/views/edit.php on line 48
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined property: stdClass::$id in /wp-content/plugins/food-truck-locator/views/edit.php on line 49
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined property: stdClass::$description in /wp-content/plugins/food-truck-locator/views/edit.php on line 57
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined property: stdClass::$latitude in /wp-content/plugins/food-truck-locator/views/edit.php on line 66
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined property: stdClass::$longitude in /wp-content/plugins/food-truck-locator/views/edit.php on line 67
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined property: stdClass::$visible in /wp-content/plugins/food-truck-locator/views/edit.php on line 83
[21-Nov-2024 05:06:35 UTC] PHP Warning:  Undefined property: stdClass::$id in /wp-content/plugins/food-truck-locator/views/edit.php on line 83
[21-Nov-2024 05:06:36 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 12
[21-Nov-2024 05:06:36 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 19
[21-Nov-2024 05:06:36 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 28
[21-Nov-2024 05:06:36 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 36
See also: All tests for this plugin, How to Hide Food Truck Locator Admin Menus