Device Detector 3.0.0

Does Device Detector work with WordPress 5.8.2 and PHP 7.4.8? 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: 180.36 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.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=7dbbd71e55
Aspect after-activation
HTTP status 200
Load time 0.763 s
Memory usage 12.75 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.236 s
Memory usage 3.28 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.161 s
Memory usage 3.24 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.173 s
Memory usage 3.24 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.238 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.305 s+0.006 s3.08 MiB3.31 MiB+ 231.86 KiB
/wp-admin/edit.php0.183 s0.223 s+0.040 s3.11 MiB3.34 MiB+ 231.58 KiB
/wp-admin/post-new.php0.779 s0.925 s+0.146 s5.27 MiB5.49 MiB+ 233.43 KiB
/wp-admin/upload.php0.407 s0.325 s-0.082 s3.03 MiB3.19 MiB+ 166.42 KiB
/wp-admin/options-writing.php0.199 s0.175 s-0.024 s3.02 MiB3.17 MiB+ 150.37 KiB
/wp-admin/media-new.php0.372 s0.222 s-0.150 s3.01 MiB3.17 MiB+ 167.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.324 s+0.142 s3.04 MiB3.2 MiB+ 167.5 KiB
/wp-admin/post-new.php?post_type=page0.964 s0.688 s-0.276 s5.26 MiB5.42 MiB+ 168.42 KiB
/wp-admin/options-discussion.php0.248 s0.245 s-0.003 s3 MiB3.17 MiB+ 167.5 KiB
/wp-admin/edit-comments.php0.217 s0.228 s+0.011 s3.04 MiB3.2 MiB+ 165.84 KiB
/0.347 s0.227 s-0.120 s2.96 MiB3.09 MiB+ 133.84 KiB
Average 0.382 s0.353 s-0.028 s3.44 MiB3.61 MiB+ 180.36 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
YAML43.9%29,8381,99118
JavaScript25.1%17,0612,2756
PHP21.3%14,4589,432157
SVG6.3%4,2511285
CSS2.8%1,93127
Markdown0.5%35207
JSON0.1%5302
Total 67,944 13,701 482

PHP Code Analysis | More results »

Lines of code 13,932
Total complexity 2,874
Median class complexity 7.0
Median method complexity 2.0
Most complex class PODeviceDetector\Plugin\Feature\Analytics
Most complex function PODeviceDetector\Plugin\Feature\Analytics::query_kpi()
Classes 108
Methods 712
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 2

PHP Error Log

The log file is empty.

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