51Degrees 1.0.7

Does "51Degrees - Optimize by Device & Location" work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 65.84 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 20+
WordPress.org page https://wordpress.org/plugins/51degrees-optimize-by-device-location/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=51degrees-optimize-by-device-location%2Ffiftyonedegrees.php&plugin_status=all&paged=1&s&_wpnonce=302c059a60
Aspect after-activation
HTTP status 200
Load time 0.472 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

Settings → 51Degrees

Page screenshot: Settings → 51Degrees
URL /wp-admin/options-general.php?page=51Degrees
Aspect menu-item
HTTP status 200
Load time 0.142 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Settings → 51Degrees → Google Analytics

Page screenshot: Settings → 51Degrees → Google Analytics
URL /wp-admin/options-general.php?page=51Degrees&tab=google-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.137 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → 51Degrees → Properties

Page screenshot: Settings → 51Degrees → Properties
URL /wp-admin/options-general.php?page=51Degrees&tab=properties
Aspect menu-item-tab
HTTP status 200
Load time 0.139 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Settings → 51Degrees → Help

Page screenshot: Settings → 51Degrees → Help
URL /wp-admin/options-general.php?page=51Degrees&tab=help
Aspect menu-item-tab
HTTP status 200
Load time 1.259 s
Memory usage 3.09 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.209 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.366 s0.284 s-0.082 s3.08 MiB3.2 MiB+ 121.48 KiB
/wp-admin/edit.php0.178 s0.185 s+0.007 s3.11 MiB3.23 MiB+ 122.22 KiB
/wp-admin/post-new.php0.759 s0.921 s+0.162 s5.27 MiB5.28 MiB+ 16.38 KiB
/wp-admin/upload.php0.492 s0.409 s-0.083 s3.03 MiB3.08 MiB+ 55.73 KiB
/wp-admin/options-writing.php0.230 s0.192 s-0.038 s3.02 MiB3.06 MiB+ 39.08 KiB
/wp-admin/media-new.php0.299 s0.176 s-0.123 s3.01 MiB3.06 MiB+ 56.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.180 s-0.003 s3.04 MiB3.09 MiB+ 56.8 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.647 s+0.044 s5.26 MiB5.27 MiB+ 15.38 KiB
/wp-admin/options-discussion.php0.224 s0.224 s+0.000 s3 MiB3.06 MiB+ 56.52 KiB
/wp-admin/edit-comments.php0.205 s0.202 s-0.003 s3.04 MiB3.16 MiB+ 119.71 KiB
/0.249 s0.201 s-0.048 s2.96 MiB3.02 MiB+ 64.43 KiB
Average 0.344 s0.329 s-0.015 s3.44 MiB3.5 MiB+ 65.84 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
JavaScript
Language % Lines of code Comment lines Files
PHP80.7%1,46436711
JavaScript13.7%248624
JSON2.9%5203
CSS2.8%5012
Total 1,814 430 20

PHP Code Analysis | More results »

Lines of code 1,314
Total complexity 209
Median class complexity 27.5
Median method complexity 3.0
Most complex class Fiftyonedegrees
Most complex function Fiftyonedegrees_Custom_Dimensions::prepare_items()
Classes 6
Methods 59
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 6 lines

[15-Dec-2021 16:43:48 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/51degrees-optimize-by-device-location/includes/pipeline.php on line 232
[15-Dec-2021 16:43:48 UTC] PHP Notice:  Trying to get property 'javascriptbuilder' of non-object in /wp-content/plugins/51degrees-optimize-by-device-location/includes/pipeline.php on line 235
[15-Dec-2021 16:43:48 UTC] PHP Notice:  Trying to get property 'javascript' of non-object in /wp-content/plugins/51degrees-optimize-by-device-location/includes/pipeline.php on line 235
[15-Dec-2021 16:43:54 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/51degrees-optimize-by-device-location/includes/pipeline.php on line 232
[15-Dec-2021 16:43:54 UTC] PHP Notice:  Trying to get property 'javascriptbuilder' of non-object in /wp-content/plugins/51degrees-optimize-by-device-location/includes/pipeline.php on line 235
[15-Dec-2021 16:43:54 UTC] PHP Notice:  Trying to get property 'javascript' of non-object in /wp-content/plugins/51degrees-optimize-by-device-location/includes/pipeline.php on line 235
See also: All tests for this plugin