Age Gate 2.16.3

Does Age Gate work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 403.64 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.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/age-gate/
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=age-gate%2Fage-gate.php&plugin_status=all&paged=1&s&_wpnonce=3c3b427b6b
Aspect after-activation
HTTP status 200
Load time 0.743 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

Age Gate

Page screenshot: Age Gate
URL /wp-admin/admin.php?page=age-gate
Aspect menu-item
HTTP status 200
Load time 0.207 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Age Gate → Messaging

Page screenshot: Age Gate → Messaging
URL /wp-admin/admin.php?page=age-gate-messaging
Aspect menu-item
HTTP status 200
Load time 0.657 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

Age Gate → Appearance

Page screenshot: Age Gate → Appearance
URL /wp-admin/admin.php?page=age-gate-appearance
Aspect menu-item
HTTP status 200
Load time 0.392 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

Age Gate → Advanced

Page screenshot: Age Gate → Advanced
URL /wp-admin/admin.php?page=age-gate-advanced
Aspect menu-item
HTTP status 200
Load time 0.360 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

Age Gate → Access

Page screenshot: Age Gate → Access
URL /wp-admin/admin.php?page=age-gate-access
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 3.18 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.257 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.777 s
Memory usage 5.46 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.669 s
Memory usage 5.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.252 s0.522 s+0.270 s2.82 MiB3.23 MiB+ 419.03 KiB
/wp-admin/edit.php0.213 s0.280 s+0.067 s2.86 MiB3.32 MiB+ 467.51 KiB
/wp-admin/post-new.php1.196 s1.132 s-0.064 s5.02 MiB5.46 MiB+ 444.9 KiB
/wp-admin/upload.php0.506 s0.506 s+0.000 s2.7 MiB3.1 MiB+ 413.89 KiB
/wp-admin/options-writing.php0.200 s0.190 s-0.010 s2.71 MiB3.09 MiB+ 383.74 KiB
/wp-admin/media-new.php0.310 s0.185 s-0.125 s2.67 MiB3.08 MiB+ 415.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.222 s+0.022 s2.77 MiB3.16 MiB+ 397.36 KiB
/wp-admin/post-new.php?post_type=page1.064 s0.655 s-0.409 s5.01 MiB5.44 MiB+ 444.04 KiB
/wp-admin/options-discussion.php0.265 s0.238 s-0.027 s2.67 MiB3.08 MiB+ 416.25 KiB
/wp-admin/edit-comments.php0.223 s0.221 s-0.002 s2.78 MiB3.18 MiB+ 412.72 KiB
/0.332 s0.231 s-0.101 s2.65 MiB2.87 MiB+ 224.94 KiB
Average 0.433 s0.398 s-0.034 s3.15 MiB3.55 MiB+ 403.64 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
Language % Lines of code Comment lines Files
PHP99.8%7,6661,94067
JavaScript0.2%141210
CSS0.1%404
Total 7,684 1,952 81

PHP Code Analysis | More results »

Lines of code 5,056
Total complexity 1,134
Median class complexity 22.0
Median method complexity 3.0
Most complex class Parsedown
Most complex function Age_Gate_Public::is_restricted()
Classes 30
Methods 292
Functions 7

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

Meta Boxes

{
    "post": {
        "agegate": {
            "title": "Age Gate Options",
            "context": "side"
        }
    },
    "page": {
        "agegate": {
            "title": "Age Gate Options",
            "context": "side"
        }
    },
    "attachment": {
        "agegate": {
            "title": "Age Gate Options",
            "context": "side"
        }
    }
}

Capabilities 8

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Age Gate Admin Menus and Meta Boxes