Geolocation 0.8

Does Geolocation work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 19.18 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.032 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/geolocation/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=geolocation%2Fgeolocation.php&plugin_status=all&paged=1&s&_wpnonce=6781c85e15
Aspect after-activation
HTTP status 200
Load time 0.253 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Settings → Geolocation

Page screenshot: Settings → Geolocation
URL /wp-admin/options-general.php?page=geolocation.php
Aspect menu-item
HTTP status 200
Load time 0.327 s
Memory usage 3 MiB
JS errors
[
    {
        "message": "TypeError: document.adEventListener is not a function\n    at /wp-admin/options-general.php?page=geolocation.php:317:11",
        "trace": null,
        "code": null
    }
]
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.393 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.627 s
Memory usage 5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.270 s0.237 s-0.033 s3.05 MiB3.07 MiB+ 27.09 KiB
/wp-admin/edit.php0.173 s0.171 s-0.002 s3.07 MiB3.1 MiB+ 27.46 KiB
/wp-admin/post-new.php0.745 s0.941 s+0.196 s4.97 MiB5 MiB+ 33.7 KiB
/wp-admin/upload.php0.499 s0.322 s-0.177 s2.99 MiB3 MiB+ 10.09 KiB
/wp-admin/options-writing.php0.142 s0.128 s-0.014 s2.99 MiB2.98 MiB- 3.26 KiB
/wp-admin/media-new.php0.249 s0.174 s-0.075 s2.97 MiB2.99 MiB+ 22.28 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.165 s-0.011 s2.98 MiB3.01 MiB+ 27.45 KiB
/wp-admin/post-new.php?post_type=page0.602 s0.804 s+0.202 s4.96 MiB4.99 MiB+ 29.09 KiB
/wp-admin/options-discussion.php0.189 s0.219 s+0.030 s2.97 MiB2.99 MiB+ 10.9 KiB
/wp-admin/edit-comments.php0.176 s0.207 s+0.031 s3 MiB3.01 MiB+ 10.09 KiB
/0.286 s0.493 s+0.207 s2.94 MiB2.96 MiB+ 16.11 KiB
Average 0.319 s0.351 s+0.032 s3.35 MiB3.37 MiB+ 19.18 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
Language % Lines of code Comment lines Files
PHP87.9%1,357383
PO File6.7%104391
JavaScript3.9%601392
CSS1.5%2341
Total 1,544 220 7

PHP Code Analysis | More results »

Lines of code 1,430
Total complexity 137
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function geolocation_settings_page()
Classes 0
Methods 0
Functions 47

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 13

Meta Boxes

{
    "post": {
        "geolocation_sectionid": {
            "title": "Geolocation",
            "context": "advanced"
        }
    }
}

PHP Error Log 2 lines

[16-Jan-2023 12:11:22 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 133
[16-Jan-2023 12:11:29 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 133
See also: All tests for this plugin, How to Hide Geolocation Admin Menus and Meta Boxes