MyAgilePrivacy 3.1.1

Does MyAgilePrivacy work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
10PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 203.61 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.021 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/myagileprivacy/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

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=myagileprivacy%2Fmy-agile-privacy.php&plugin_status=all&paged=1&s&_wpnonce=bf0550e942
Aspect after-activation
HTTP status 200
Load time 1.045 s
Memory usage 3.89 MiB
JS errors None
Resource errors None

My Agile Privacy

Page screenshot: My Agile Privacy
URL /wp-admin/admin.php?page=my-agile-privacy-c_settings
Aspect menu-item
HTTP status 200
Load time 0.685 s
Memory usage 3.88 MiB
JS errors None
Resource errors None

My Agile Privacy → Privacy Settings

Page screenshot: My Agile Privacy → Privacy Settings
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&page=my-agile-privacy-c_settings
Aspect menu-item
HTTP status 200
Load time 0.349 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

My Agile Privacy → Cookie List

Page screenshot: My Agile Privacy → Cookie List
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&post_status=publish
Aspect menu-item
HTTP status 200
Load time 0.273 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

My Agile Privacy → Policies List

Page screenshot: My Agile Privacy → Policies List
URL /wp-admin/edit.php?post_type=my-agile-privacy-p
Aspect menu-item
HTTP status 200
Load time 0.270 s
Memory usage 3.76 MiB
JS errors None
Resource errors None

My Agile Privacy → Backup & Restore

Page screenshot: My Agile Privacy → Backup & Restore
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&page=my-agile-privacy-c_backup_restore
Aspect menu-item
HTTP status 200
Load time 0.248 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

My Agile Privacy → Texts and Translations

Page screenshot: My Agile Privacy → Texts and Translations
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&page=my-agile-privacy-c_translations
Aspect menu-item
HTTP status 200
Load time 0.445 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

My Agile Privacy → Help Desk

Page screenshot: My Agile Privacy → Help Desk
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&page=my-agile-privacy-c_helpdesk
Aspect menu-item
HTTP status 200
Load time 0.303 s
Memory usage 3.65 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.342 s
Memory usage 3.9 MiB
JS errors
[
    {
        "message": "ReferenceError: dataLayer is not defined\n    at Object.tryToUnblockScripts (/wp-content/plugins/myagileprivacy/frontend/js/plain/my-agile-privacy-frontend.js?ver=3.1.1:1988:16)\n    at Object.userPreferenceInit (/wp-content/plugins/myagileprivacy/frontend/js/plain/my-agile-privacy-frontend.js?ver=3.1.1:2635:9)\n    at Object.attachEvents (/wp-content/plugins/myagileprivacy/frontend/js/plain/my-agile-privacy-frontend.js?ver=3.1.1:1307:9)\n    at Object.set (/wp-content/plugins/myagileprivacy/frontend/js/plain/my-agile-privacy-frontend.js?ver=3.1.1:212:8)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/myagileprivacy/frontend/js/plain/my-agile-privacy-frontend.js?ver=3.1.1:3319:7)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.317 s0.342 s+0.025 s3.47 MiB3.67 MiB+ 197.41 KiB
/wp-admin/edit.php0.196 s0.196 s+0.000 s3.54 MiB3.73 MiB+ 194.95 KiB
/wp-admin/post-new.php0.681 s0.819 s+0.138 s5.75 MiB5.95 MiB+ 202.09 KiB
/wp-admin/upload.php0.492 s0.293 s-0.199 s3.49 MiB3.66 MiB+ 177 KiB
/wp-admin/options-writing.php0.174 s0.174 s+0.000 s3.41 MiB3.64 MiB+ 239.49 KiB
/wp-admin/media-new.php0.219 s0.359 s+0.140 s3.4 MiB3.64 MiB+ 252.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.158 s0.223 s+0.065 s3.47 MiB3.67 MiB+ 199.55 KiB
/wp-admin/post-new.php?post_type=page0.531 s0.573 s+0.042 s5.75 MiB5.94 MiB+ 193.68 KiB
/wp-admin/options-discussion.php0.196 s0.251 s+0.055 s3.41 MiB3.64 MiB+ 241.18 KiB
/wp-admin/edit-comments.php0.203 s0.190 s-0.013 s3.49 MiB3.66 MiB+ 176.68 KiB
/0.284 s0.260 s-0.024 s3.45 MiB3.61 MiB+ 164.77 KiB
Average 0.314 s0.335 s+0.021 s3.88 MiB4.07 MiB+ 203.61 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.

CSS
PHP
PO File
JavaScript
Language % Lines of code Comment lines Files
CSS45.4%20,005767
PHP31.1%13,6981,43625
PO File13.1%5,7772,7045
JavaScript10.4%4,5631975
XML0.1%2501
SVG0.0%805
Total 44,076 4,413 48

PHP Code Analysis | More results »

Lines of code 10,003
Total complexity 2,429
Median class complexity 448.0
Median method complexity 4.5
Most complex class MyAgilePrivacyAdmin
Most complex function MyAgilePrivacyFrontend::map_callback()
Classes 5
Methods 216
Functions 8

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 10

Custom Post Types 2

ID Name
my-agile-privacy-cMy Agile Privacy
my-agile-privacy-pPolicies

Meta Boxes

{
    "my-agile-privacy-c": {
        "_map_is_necessary": {
            "title": "Is necessary?",
            "context": "side"
        },
        "_map_page_reload_on_user_consent": {
            "title": "Requires page reload on user acceptance?",
            "context": "side"
        },
        "_map_allow_sync": {
            "title": "Allow updates?",
            "context": "side"
        },
        "_map_script_installation": {
            "title": "Script Installation",
            "context": "advanced"
        }
    },
    "my-agile-privacy-p": {
        "_map_marketing": {
            "title": "Marketing Policy",
            "context": "advanced"
        },
        "_map_allow_sync": {
            "title": "Allow updates?",
            "context": "side"
        }
    }
}

PHP Error Log 12 lines

[29-Oct-2024 08:20:47 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 712
[29-Oct-2024 08:20:47 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 712
[29-Oct-2024 08:20:47 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 712
[29-Oct-2024 08:20:47 UTC] PHP Warning:  Attempt to read property "ID" on null in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3797
[29-Oct-2024 08:20:47 UTC] PHP Warning:  Attempt to read property "ID" on null in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3797
[29-Oct-2024 08:20:47 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 712
[29-Oct-2024 08:20:47 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 712
[29-Oct-2024 08:20:47 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 712
[29-Oct-2024 08:20:48 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 84
[29-Oct-2024 08:20:48 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 102
[29-Oct-2024 08:20:50 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 84
[29-Oct-2024 08:20:50 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 102
See also: All tests for this plugin, How to Hide MyAgilePrivacy Admin Menus and Meta Boxes