Food Truck Locator 1.0.1

Does Food Truck Locator work with WordPress 6.6.2 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: 37.01 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.2
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=5c98109813
Aspect after-activation
HTTP status 200
Load time 0.297 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.473 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.392 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.172 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.250 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.367 s0.318 s-0.049 s3.47 MiB3.5 MiB+ 32.22 KiB
/wp-admin/edit.php0.219 s0.189 s-0.030 s3.54 MiB3.57 MiB+ 32.56 KiB
/wp-admin/post-new.php0.809 s0.618 s-0.191 s5.75 MiB5.79 MiB+ 35.79 KiB
/wp-admin/upload.php0.686 s0.396 s-0.290 s3.49 MiB3.5 MiB+ 15.16 KiB
/wp-admin/options-writing.php0.203 s0.213 s+0.010 s3.41 MiB3.49 MiB+ 77.96 KiB
/wp-admin/media-new.php0.240 s0.254 s+0.014 s3.4 MiB3.49 MiB+ 91.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.382 s+0.192 s3.47 MiB3.51 MiB+ 38.02 KiB
/wp-admin/post-new.php?post_type=page0.656 s0.635 s-0.021 s5.75 MiB5.77 MiB+ 27.38 KiB
/wp-admin/options-discussion.php0.226 s0.259 s+0.033 s3.41 MiB3.49 MiB+ 79.65 KiB
/wp-admin/edit-comments.php0.235 s0.217 s-0.018 s3.49 MiB3.5 MiB+ 15.15 KiB
/0.320 s0.238 s-0.082 s3.45 MiB3.42 MiB- 38.16 KiB
Average 0.377 s0.338 s-0.039 s3.88 MiB3.91 MiB+ 37.01 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

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