Geolocation IP Detection 4.2.3

Does Geolocation IP Detection work with WordPress 5.8.3 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 110.61 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 10,000+
WordPress.org page https://wordpress.org/plugins/geoip-detect/
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=geoip-detect%2Fgeoip-detect.php&plugin_status=all&paged=1&s&_wpnonce=55e681802a
Aspect after-activation
HTTP status 200
Load time 0.432 s
Memory usage 3.17 MiB
JS errors None
Resource errors None

Tools → Geolocation Lookup

Page screenshot: Tools → Geolocation Lookup
URL /wp-admin/tools.php?page=geoip-detect%2Fgeoip-detect.php
Requested URL /wp-admin/tools.php?page=geoip-detect/geoip-detect.php
Aspect menu-item
HTTP status 200
Load time 0.412 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

Settings → Geolocation IP Detection

Page screenshot: Settings → Geolocation IP Detection
URL /wp-admin/options-general.php?page=geoip-detect%2Fgeoip-detect.php
Requested URL /wp-admin/options-general.php?page=geoip-detect/geoip-detect.php
Aspect menu-item
HTTP status 200
Load time 0.142 s
Memory usage 3.16 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.227 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.331 s0.280 s-0.051 s3.08 MiB3.21 MiB+ 130.13 KiB
/wp-admin/edit.php0.173 s0.179 s+0.006 s3.11 MiB3.24 MiB+ 129.45 KiB
/wp-admin/post-new.php0.842 s0.944 s+0.102 s5.27 MiB5.4 MiB+ 134.4 KiB
/wp-admin/upload.php0.549 s0.303 s-0.246 s3.03 MiB3.16 MiB+ 129.51 KiB
/wp-admin/options-writing.php0.143 s0.152 s+0.009 s3.02 MiB3.07 MiB+ 49.48 KiB
/wp-admin/media-new.php0.411 s0.177 s-0.234 s3.01 MiB3.07 MiB+ 65.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.286 s+0.112 s3.04 MiB3.16 MiB+ 129.76 KiB
/wp-admin/post-new.php?post_type=page1.009 s0.736 s-0.273 s5.26 MiB5.38 MiB+ 129.98 KiB
/wp-admin/options-discussion.php0.227 s0.241 s+0.014 s3 MiB3.07 MiB+ 66.3 KiB
/wp-admin/edit-comments.php0.204 s0.196 s-0.008 s3.04 MiB3.17 MiB+ 128.27 KiB
/0.254 s0.242 s-0.012 s2.91 MiB3.03 MiB+ 123.77 KiB
Average 0.392 s0.340 s-0.053 s3.43 MiB3.54 MiB+ 110.61 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
PHP92.2%17,4191,32344
JavaScript7.2%1,3671,09518
JSON0.4%7703
Markdown0.2%3801
Total 18,901 2,418 66

PHP Code Analysis | More results »

Lines of code 6,067
Total complexity 1,662
Median class complexity 15.0
Median method complexity 1.0
Most complex class YellowTree\GeoipDetect\DataSources\Auto\AutoDataSource
Most complex function _geoip_detect_get_time_zone()
Classes 23
Methods 166
Functions 122

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 1 lines

[07-Jan-2022 06:54:35 UTC] PHP Notice:  _geoip_detect_get_external_ip_adress_without_cache(): Curl error (http://bot.whatismyipaddress.com): cURL error 6: Could not resolve host: bot.whatismyipaddress.com in /wp-content/plugins/geoip-detect/geoip-detect-lib.php on line 486
See also: All tests for this plugin, How to Hide Geolocation IP Detection Admin Menus