51Degrees 1.0.8

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=154bb1af40
Aspect after-activation
HTTP status 200
Load time 0.450 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.156 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.135 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.147 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 0.743 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.438 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.344 s0.484 s+0.140 s3.08 MiB3.2 MiB+ 121.48 KiB
/wp-admin/edit.php0.183 s0.199 s+0.016 s3.11 MiB3.23 MiB+ 122.22 KiB
/wp-admin/post-new.php1.343 s1.197 s-0.146 s5.27 MiB5.28 MiB+ 16.38 KiB
/wp-admin/upload.php0.427 s0.554 s+0.127 s3.03 MiB3.08 MiB+ 55.73 KiB
/wp-admin/options-writing.php0.157 s0.148 s-0.009 s3.02 MiB3.06 MiB+ 39.08 KiB
/wp-admin/media-new.php0.342 s0.176 s-0.166 s3.01 MiB3.06 MiB+ 56.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.191 s-0.009 s3.04 MiB3.09 MiB+ 56.8 KiB
/wp-admin/post-new.php?post_type=page0.938 s0.988 s+0.050 s5.26 MiB5.27 MiB+ 15.38 KiB
/wp-admin/options-discussion.php0.237 s0.231 s-0.006 s3 MiB3.06 MiB+ 56.52 KiB
/wp-admin/edit-comments.php0.253 s0.206 s-0.047 s3.04 MiB3.16 MiB+ 119.71 KiB
/0.301 s0.213 s-0.088 s2.96 MiB3.02 MiB+ 64.43 KiB
Average 0.430 s0.417 s-0.013 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

[17-Dec-2021 12:24:53 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
[17-Dec-2021 12:24:53 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
[17-Dec-2021 12:24:53 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
[17-Dec-2021 12:25:00 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
[17-Dec-2021 12:25:00 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
[17-Dec-2021 12:25:00 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