Device Detector 4.2.0

Does Device Detector work with WordPress 6.7.1 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: 154.14 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.1
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=a9ff313e7c
Aspect after-activation
HTTP status 200
Load time 1.110 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.271 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.188 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.166 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.202 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.292 s0.301 s+0.009 s3.48 MiB3.64 MiB+ 164.11 KiB
/wp-admin/edit.php0.203 s0.211 s+0.008 s3.54 MiB3.73 MiB+ 190.08 KiB
/wp-admin/post-new.php0.790 s0.656 s-0.134 s5.92 MiB6.11 MiB+ 194.42 KiB
/wp-admin/upload.php0.549 s0.330 s-0.219 s3.49 MiB3.64 MiB+ 143.95 KiB
/wp-admin/options-writing.php0.204 s0.189 s-0.015 s3.47 MiB3.62 MiB+ 148.35 KiB
/wp-admin/media-new.php0.341 s0.495 s+0.154 s3.46 MiB3.62 MiB+ 156.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.192 s-0.010 s3.48 MiB3.64 MiB+ 167.3 KiB
/wp-admin/post-new.php?post_type=page0.575 s0.621 s+0.046 s5.92 MiB6.1 MiB+ 189.98 KiB
/wp-admin/options-discussion.php0.282 s0.268 s-0.014 s3.47 MiB3.62 MiB+ 144.85 KiB
/wp-admin/edit-comments.php0.198 s0.216 s+0.018 s3.49 MiB3.64 MiB+ 144.51 KiB
/0.317 s0.200 s-0.117 s3.48 MiB3.53 MiB+ 51.46 KiB
Average 0.359 s0.334 s-0.025 s3.93 MiB4.08 MiB+ 154.14 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,93410,249167
SVG4.5%4,2511285
CSS2.0%1,93127
Markdown0.5%47107
JSON0.1%6003
Total 94,565 16,089 495

PHP Code Analysis | More results »

Lines of code 16,417
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