MyAgilePrivacy 3.0.0

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

Summary

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

Memory usage: 230.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 version6.4.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 7

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=85e1712d84
Aspect after-activation
HTTP status 200
Load time 1.089 s
Memory usage 3.8 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.751 s
Memory usage 3.82 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.431 s
Memory usage 3.55 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_status=draft&post_type=my-agile-privacy-c
Requested URL /wp-admin/edit.php?post_type=my-agile-privacy-c&post_status=publish
Aspect menu-item
HTTP status 200
Load time 0.785 s
Memory usage 3.64 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.263 s
Memory usage 3.62 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.366 s
Memory usage 3.57 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.313 s
Memory usage 3.84 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.399 s0.330 s-0.069 s3.38 MiB3.61 MiB+ 236.89 KiB
/wp-admin/edit.php0.222 s0.235 s+0.013 s3.41 MiB3.63 MiB+ 234.49 KiB
/wp-admin/post-new.php0.958 s0.578 s-0.380 s5.46 MiB5.69 MiB+ 241.68 KiB
/wp-admin/upload.php0.669 s0.328 s-0.341 s3.32 MiB3.54 MiB+ 218.8 KiB
/wp-admin/options-writing.php0.219 s0.323 s+0.104 s3.32 MiB3.52 MiB+ 212.22 KiB
/wp-admin/media-new.php0.307 s0.294 s-0.013 s3.29 MiB3.52 MiB+ 231.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.200 s+0.001 s3.31 MiB3.54 MiB+ 236.16 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.568 s-0.035 s5.45 MiB5.68 MiB+ 237.27 KiB
/wp-admin/options-discussion.php0.278 s0.244 s-0.034 s3.3 MiB3.52 MiB+ 220.13 KiB
/wp-admin/edit-comments.php0.258 s0.218 s-0.040 s3.33 MiB3.55 MiB+ 218.8 KiB
/0.275 s0.264 s-0.011 s3.31 MiB3.55 MiB+ 251.36 KiB
Average 0.399 s0.326 s-0.073 s3.72 MiB3.94 MiB+ 230.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.

CSS
PHP
JavaScript
PO File
Language % Lines of code Comment lines Files
CSS44.4%19,681567
PHP29.4%13,0411,45820
JavaScript14.0%6,2263236
PO File12.1%5,3532,5195
XML0.1%3001
SVG0.0%805
Total 44,339 4,356 44

PHP Code Analysis | More results »

Lines of code 9,923
Total complexity 2,471
Median class complexity 302.0
Median method complexity 4.0
Most complex class MyAgilePrivacyAdmin
Most complex function MyAgilePrivacyAdmin::sync_cookies_and_fixed_texts()
Classes 5
Methods 197
Functions 5

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 8

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 8 lines

[08-Jan-2024 08:19:14 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 539
[08-Jan-2024 08:19:14 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 539
[08-Jan-2024 08:19:14 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 539
[08-Jan-2024 08:19:14 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 539
[08-Jan-2024 08:19:14 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 539
[08-Jan-2024 08:19:14 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 539
[08-Jan-2024 08:19:22 UTC] PHP Warning:  Undefined array key "enable_cmode_v2_gtag_url_passthrough" in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 1079
[08-Jan-2024 08:19:31 UTC] PHP Warning:  Undefined array key "enable_cmode_v2_gtag_url_passthrough" in /wp-content/plugins/myagileprivacy/includes/my-agile-privacy-class.php on line 1079
See also: All tests for this plugin, How to Hide MyAgilePrivacy Admin Menus and Meta Boxes