Food Truck Locator 1.0

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

Summary

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

Memory usage: 41.79 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.6.1
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=370aa6fa8c
Aspect after-activation
HTTP status 200
Load time 0.356 s
Memory usage 3.53 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.273 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.511 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.206 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.249 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.322 s0.375 s+0.053 s3.47 MiB3.5 MiB+ 32.22 KiB
/wp-admin/edit.php0.207 s0.242 s+0.035 s3.54 MiB3.57 MiB+ 32.56 KiB
/wp-admin/post-new.php0.796 s0.699 s-0.097 s5.75 MiB5.79 MiB+ 35.8 KiB
/wp-admin/upload.php0.709 s0.698 s-0.011 s3.49 MiB3.5 MiB+ 15.16 KiB
/wp-admin/options-writing.php0.199 s0.188 s-0.011 s3.41 MiB3.49 MiB+ 77.96 KiB
/wp-admin/media-new.php0.276 s0.269 s-0.007 s3.4 MiB3.49 MiB+ 91.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.188 s-0.003 s3.47 MiB3.51 MiB+ 38.02 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.589 s-0.019 s5.75 MiB5.77 MiB+ 27.38 KiB
/wp-admin/options-discussion.php0.298 s0.341 s+0.043 s3.41 MiB3.49 MiB+ 79.65 KiB
/wp-admin/edit-comments.php0.250 s0.233 s-0.017 s3.49 MiB3.5 MiB+ 15.15 KiB
/0.380 s0.255 s-0.125 s3.4 MiB3.42 MiB+ 14.46 KiB
Average 0.385 s0.371 s-0.014 s3.87 MiB3.91 MiB+ 41.79 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP43.7%8708510
CSS32.0%638272
PO File13.4%2671122
JavaScript10.8%216132
Total 1,991 237 16

PHP Code Analysis | More results »

Lines of code 476
Total complexity 75
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 14 lines

[02-Aug-2024 23:20:02 UTC] PHP Warning:  Undefined array key "orderby" in /wp-content/plugins/food-truck-locator/includes/LocationsListTable.php on line 28
[02-Aug-2024 23:20:02 UTC] PHP Warning:  Undefined array key "order" in /wp-content/plugins/food-truck-locator/includes/LocationsListTable.php on line 28
[02-Aug-2024 23:20:02 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
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined array key "locationId" in /wp-content/plugins/food-truck-locator/views/edit.php on line 13
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined property: stdClass::$name in /wp-content/plugins/food-truck-locator/views/edit.php on line 48
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined property: stdClass::$id in /wp-content/plugins/food-truck-locator/views/edit.php on line 49
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined property: stdClass::$description in /wp-content/plugins/food-truck-locator/views/edit.php on line 57
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined property: stdClass::$latitude in /wp-content/plugins/food-truck-locator/views/edit.php on line 66
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined property: stdClass::$longitude in /wp-content/plugins/food-truck-locator/views/edit.php on line 67
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined property: stdClass::$visible in /wp-content/plugins/food-truck-locator/views/edit.php on line 83
[02-Aug-2024 23:20:03 UTC] PHP Warning:  Undefined property: stdClass::$id in /wp-content/plugins/food-truck-locator/views/edit.php on line 83
[02-Aug-2024 23:20:04 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
[02-Aug-2024 23:20:04 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
[02-Aug-2024 23:20:04 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
See also: All tests for this plugin, How to Hide Food Truck Locator Admin Menus