IPUA (IP属地和User-Agent插件) 2.0.1

Does "IPUA (IP属地和User-Agent插件)" work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

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

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

Environment
WordPress version6.8.3
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/wp-ipua/
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=wp-ipua%2Fwp-ipua.php&plugin_status=all&paged=1&s&_wpnonce=e81462df33
Aspect after-activation
HTTP status 200
Load time 0.485 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Settings → WP-IPUA

Page screenshot: Settings → WP-IPUA
URL /wp-admin/options-general.php?page=wp-ipua
Aspect menu-item
HTTP status 200
Load time 0.403 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Settings → WP-IPUA → 关于

Page screenshot: Settings → WP-IPUA → 关于
URL /wp-admin/options-general.php?page=wp-ipua
Aspect menu-item-tab
HTTP status 200
Load time 0.269 s
Memory usage 3.55 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.216 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.447 s+0.138 s3.51 MiB3.57 MiB+ 61.75 KiB
/wp-admin/edit.php0.199 s0.319 s+0.120 s3.57 MiB3.63 MiB+ 60.53 KiB
/wp-admin/post-new.php0.756 s0.724 s-0.032 s6.06 MiB6.11 MiB+ 48.64 KiB
/wp-admin/upload.php0.621 s0.375 s-0.246 s3.52 MiB3.55 MiB+ 27.91 KiB
/wp-admin/options-writing.php0.227 s0.291 s+0.064 s3.5 MiB3.55 MiB+ 47.43 KiB
/wp-admin/media-new.php0.284 s0.306 s+0.022 s3.49 MiB3.55 MiB+ 55.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.244 s0.297 s+0.053 s3.5 MiB3.57 MiB+ 66.39 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.843 s+0.232 s6.05 MiB6.09 MiB+ 44.16 KiB
/wp-admin/options-discussion.php0.505 s0.402 s-0.103 s3.5 MiB3.55 MiB+ 44.55 KiB
/wp-admin/edit-comments.php0.260 s0.325 s+0.065 s3.52 MiB3.57 MiB+ 43.59 KiB
/0.303 s0.220 s-0.083 s3.43 MiB3.44 MiB+ 7.53 KiB
Average 0.393 s0.414 s+0.021 s3.97 MiB4.01 MiB+ 46.19 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
PHP96.2%6651077
JSON3.8%2601
Total 691 107 8

PHP Code Analysis | More results »

Lines of code 656
Total complexity 150
Median class complexity 21.0
Median method complexity 3.0
Most complex class HaoZiTeam\IPUA\Service\UA
Most complex function HaoZiTeam\IPUA\Service\UA::parse_user_agent()
Classes 5
Methods 22
Functions 3

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 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "WP-IPUA" Admin Menu