Block for Apple Maps 1.0.1

Does Block for Apple Maps work with WordPress 5.8.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 14.77 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 version5.8.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/maps-block-apple/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=maps-block-apple%2Fmaps-block-apple.php&plugin_status=all&paged=1&s&_wpnonce=0bec4300d9
Aspect after-activation
HTTP status 200
Load time 0.466 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Settings → Block for Apple Maps

Page screenshot: Settings → Block for Apple Maps
URL /wp-admin/options-general.php?page=block-for-apple-maps
Aspect menu-item
HTTP status 200
Load time 0.269 s
Memory usage 3.03 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.588 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.328 s0.295 s-0.033 s3.08 MiB3.1 MiB+ 22.06 KiB
/wp-admin/edit.php0.179 s0.226 s+0.047 s3.11 MiB3.2 MiB+ 87.16 KiB
/wp-admin/post-new.php0.931 s1.245 s+0.314 s5.27 MiB5.26 MiB- 12.63 KiB
/wp-admin/upload.php0.405 s0.353 s-0.052 s3.03 MiB3.05 MiB+ 20.93 KiB
/wp-admin/options-writing.php0.256 s0.335 s+0.079 s3.02 MiB3.03 MiB+ 4.22 KiB
/wp-admin/media-new.php0.318 s0.182 s-0.136 s3.01 MiB3.03 MiB+ 21.1 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.189 s+0.000 s3.04 MiB3.06 MiB+ 22.01 KiB
/wp-admin/post-new.php?post_type=page0.932 s0.952 s+0.020 s5.26 MiB5.25 MiB- 12.99 KiB
/wp-admin/options-discussion.php0.311 s0.236 s-0.075 s3 MiB3.02 MiB+ 20.73 KiB
/wp-admin/edit-comments.php0.283 s0.201 s-0.082 s3.04 MiB3.06 MiB+ 20.91 KiB
/0.361 s0.368 s+0.007 s2.96 MiB2.93 MiB- 31.03 KiB
Average 0.408 s0.417 s+0.008 s3.44 MiB3.45 MiB+ 14.77 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
JSON
CSS
Language % Lines of code Comment lines Files
PHP73.4%3941438
JSON13.8%7401
CSS12.1%6503
JavaScript0.6%303
SVG0.2%101
Total 537 143 16

PHP Code Analysis | More results »

Lines of code 386
Total complexity 44
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function get_jwt()
Classes 0
Methods 0
Functions 22

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.

Options wp_options 3

PHP Error Log 2 lines

[14-Jan-2022 20:23:37 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>MapsBlockApple/v1/GetJWT</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5663
[14-Jan-2022 20:23:41 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>MapsBlockApple/v1/GetJWT</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5663
See also: All tests for this plugin, How to Hide the "Block for Apple Maps" Admin Menu