Device Detector 4.2.1

Does Device Detector work with WordPress 6.7.2 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: 153.52 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.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/device-detector/
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=device-detector%2Fdevice-detector.php&plugin_status=all&paged=1&s&_wpnonce=28ecd64234
Aspect after-activation
HTTP status 200
Load time 1.082 s
Memory usage 5.93 MiB
JS errors None
Resource errors None

PerfOps One

Page screenshot: PerfOps One
URL /wp-admin/admin.php?page=perfopsone-dashboard
Aspect menu-item
HTTP status 200
Load time 0.228 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

PerfOps One → Tools

Page screenshot: PerfOps One → Tools
URL /wp-admin/admin.php?page=perfopsone-tools
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

PerfOps One → Analytics

Page screenshot: PerfOps One → Analytics
URL /wp-admin/admin.php?page=perfopsone-analytics
Aspect menu-item
HTTP status 200
Load time 0.147 s
Memory usage 3.62 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.373 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.287 s0.367 s+0.080 s3.48 MiB3.64 MiB+ 163.48 KiB
/wp-admin/edit.php0.187 s0.185 s-0.002 s3.54 MiB3.73 MiB+ 189.45 KiB
/wp-admin/post-new.php0.761 s0.640 s-0.121 s5.93 MiB6.12 MiB+ 193.8 KiB
/wp-admin/upload.php0.516 s0.311 s-0.205 s3.5 MiB3.64 MiB+ 143.33 KiB
/wp-admin/options-writing.php0.195 s0.193 s-0.002 s3.47 MiB3.62 MiB+ 147.73 KiB
/wp-admin/media-new.php0.269 s0.218 s-0.051 s3.46 MiB3.62 MiB+ 155.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.183 s-0.038 s3.48 MiB3.64 MiB+ 166.69 KiB
/wp-admin/post-new.php?post_type=page0.563 s0.773 s+0.210 s5.92 MiB6.1 MiB+ 189.36 KiB
/wp-admin/options-discussion.php0.250 s0.339 s+0.089 s3.48 MiB3.62 MiB+ 144.23 KiB
/wp-admin/edit-comments.php0.180 s0.208 s+0.028 s3.5 MiB3.64 MiB+ 143.88 KiB
/0.294 s0.197 s-0.097 s3.48 MiB3.53 MiB+ 50.84 KiB
Average 0.338 s0.329 s-0.010 s3.93 MiB4.08 MiB+ 153.52 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.

YAML
JavaScript
PHP
Language % Lines of code Comment lines Files
YAML53.4%50,4653,53220
JavaScript21.6%20,4532,3056
PHP17.9%16,93510,249167
SVG4.5%4,2511285
CSS2.0%1,93127
Markdown0.5%47407
JSON0.1%6003
Total 94,569 16,089 495

PHP Code Analysis | More results »

Lines of code 16,418
Total complexity 3,211
Median class complexity 7.5
Median method complexity 2.0
Most complex class PODeviceDetector\Plugin\Feature\Analytics
Most complex function PODeviceDetector\Plugin\Feature\Analytics::query_kpi()
Classes 116
Methods 769
Functions 9

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 1

Options wp_options 3

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Device Detector Admin Menus