MyAgilePrivacy 2.0.0

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

Summary

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

Memory usage: 184.95 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.1.1
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=125a2d332b
Aspect after-activation
HTTP status 200
Load time 0.219 s
Memory usage 3.17 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.545 s
Memory usage 3.43 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.249 s
Memory usage 3.16 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.157 s
Memory usage 3.2 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.127 s
Memory usage 3.2 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.166 s
Memory usage 3.2 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.259 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.225 s0.487 s+0.262 s3.05 MiB3.23 MiB+ 185.24 KiB
/wp-admin/edit.php0.148 s0.169 s+0.021 s3.07 MiB3.26 MiB+ 185.59 KiB
/wp-admin/post-new.php0.663 s0.817 s+0.154 s4.97 MiB5.16 MiB+ 195.61 KiB
/wp-admin/upload.php0.457 s0.227 s-0.230 s2.99 MiB3.16 MiB+ 167.81 KiB
/wp-admin/options-writing.php0.143 s0.130 s-0.013 s2.99 MiB3.14 MiB+ 154.62 KiB
/wp-admin/media-new.php0.222 s0.187 s-0.035 s2.97 MiB3.14 MiB+ 179.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.157 s0.143 s-0.014 s2.98 MiB3.16 MiB+ 185.17 KiB
/wp-admin/post-new.php?post_type=page0.727 s0.599 s-0.128 s4.96 MiB5.14 MiB+ 187.2 KiB
/wp-admin/options-discussion.php0.162 s0.218 s+0.056 s2.98 MiB3.14 MiB+ 167.52 KiB
/wp-admin/edit-comments.php0.194 s0.178 s-0.016 s3 MiB3.16 MiB+ 167.41 KiB
/0.251 s0.218 s-0.033 s2.94 MiB3.2 MiB+ 258.63 KiB
Average 0.304 s0.307 s+0.002 s3.35 MiB3.53 MiB+ 184.95 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
Language % Lines of code Comment lines Files
CSS55.5%19,372325
PHP28.2%9,8381,31318
JavaScript8.6%2,989854
PO File7.7%2,6811,2155
XML0.1%2701
SVG0.0%805
Total 34,915 2,645 38

PHP Code Analysis | More results »

Lines of code 7,599
Total complexity 1,838
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 175
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 1

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_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 20 lines

[22-Dec-2022 10:20:46 UTC] PHP Warning:  Undefined array key "allow_dpo_edit" in /wp-content/plugins/myagileprivacy/admin/views/admin_page_html.php on line 24
[22-Dec-2022 10:20:46 UTC] PHP Warning:  Undefined variable $banner_logo_color in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.cookie_banner_tab.php on line 652
[22-Dec-2022 10:20:46 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.policies_tab.php on line 60
[22-Dec-2022 10:20:46 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.policies_tab.php on line 171
[22-Dec-2022 10:20:46 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.identity_tab.php on line 104
[22-Dec-2022 10:20:46 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 58
[22-Dec-2022 10:20:46 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 76
[22-Dec-2022 10:20:48 UTC] PHP Warning:  Undefined array key "allow_dpo_edit" in /wp-content/plugins/myagileprivacy/admin/views/admin_page_html.php on line 24
[22-Dec-2022 10:20:48 UTC] PHP Warning:  Undefined variable $banner_logo_color in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.cookie_banner_tab.php on line 652
[22-Dec-2022 10: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.policies_tab.php on line 60
[22-Dec-2022 10: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.policies_tab.php on line 171
[22-Dec-2022 10: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.identity_tab.php on line 104
[22-Dec-2022 10: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 58
[22-Dec-2022 10: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 76
[22-Dec-2022 10:20:49 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3171
[22-Dec-2022 10:20:50 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3171
[22-Dec-2022 10:20:51 UTC] PHP Warning:  Undefined array key "force_js_learning_mode" in /wp-content/plugins/myagileprivacy/frontend/my-agile-privacy-frontend.php on line 993
[22-Dec-2022 10:20:51 UTC] PHP Warning:  Undefined array key "credits_image_only" in /wp-content/plugins/myagileprivacy/frontend/views/my-agile-privacy-notify.php on line 405
[22-Dec-2022 10:20:58 UTC] PHP Warning:  Undefined array key "force_js_learning_mode" in /wp-content/plugins/myagileprivacy/frontend/my-agile-privacy-frontend.php on line 993
[22-Dec-2022 10:20:58 UTC] PHP Warning:  Undefined array key "credits_image_only" in /wp-content/plugins/myagileprivacy/frontend/views/my-agile-privacy-notify.php on line 405
See also: All tests for this plugin, How to Hide MyAgilePrivacy Admin Menus and Meta Boxes