Petitioner 0.2.4

Does Petitioner work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/petitioner/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=petitioner%2Fpetitioner.php&plugin_status=all&paged=1&s&_wpnonce=efc92fd541
Aspect after-activation
HTTP status 200
Load time 0.556 s
Memory usage 3.62 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'dataset')\n    at /wp-content/plugins/petitioner/dist/admin.js?ver=0.2.4:58:69710",
        "trace": null,
        "code": null
    }
]
Resource errors None

Petitioner

Page screenshot: Petitioner
URL /wp-admin/edit.php?post_type=petitioner-petition
Aspect menu-item
HTTP status 200
Load time 0.325 s
Memory usage 3.65 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'dataset')\n    at /wp-content/plugins/petitioner/dist/admin.js?ver=0.2.4:58:69710",
        "trace": null,
        "code": null
    }
]
Resource errors None

Petitioner → Add New Petition

Page screenshot: Petitioner → Add New Petition
URL /wp-admin/post-new.php?post_type=petitioner-petition
Aspect menu-item
HTTP status 200
Load time 0.737 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

Petitioner → Settings

Page screenshot: Petitioner → Settings
URL /wp-admin/edit.php?post_type=petitioner-petition&page=petition-settings
Aspect menu-item
HTTP status 200
Load time 0.894 s
Memory usage 3.6 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'dataset')\n    at /wp-content/plugins/petitioner/dist/admin.js?ver=0.2.4:58:69710",
        "trace": null,
        "code": null
    }
]
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.271 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.450 s1.289 s+0.839 s3.48 MiB3.63 MiB+ 149.7 KiB
/wp-admin/edit.php0.216 s0.385 s+0.169 s3.54 MiB3.68 MiB+ 135.63 KiB
/wp-admin/post-new.php0.860 s1.037 s+0.177 s5.93 MiB6.09 MiB+ 162.5 KiB
/wp-admin/upload.php0.683 s0.452 s-0.231 s3.5 MiB3.61 MiB+ 122.53 KiB
/wp-admin/options-writing.php0.233 s0.330 s+0.097 s3.47 MiB3.59 MiB+ 122.27 KiB
/wp-admin/media-new.php0.265 s0.649 s+0.384 s3.46 MiB3.59 MiB+ 130.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.366 s+0.145 s3.48 MiB3.61 MiB+ 141.14 KiB
/wp-admin/post-new.php?post_type=page1.083 s1.045 s-0.038 s5.92 MiB6.07 MiB+ 158.55 KiB
/wp-admin/options-discussion.php0.465 s0.448 s-0.017 s3.47 MiB3.59 MiB+ 119.4 KiB
/wp-admin/edit-comments.php0.291 s0.383 s+0.092 s3.49 MiB3.61 MiB+ 118.27 KiB
/0.329 s0.264 s-0.065 s3.41 MiB3.47 MiB+ 67.52 KiB
Average 0.463 s0.604 s+0.141 s3.92 MiB4.05 MiB+ 129.82 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
JSX
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP51.0%1,5072029
JSX24.8%733278
Sass12.5%37092
JavaScript9.8%289448
JSON1.8%5401
SVG0.1%401
Total 2,957 282 29

PHP Code Analysis | More results »

Lines of code 1,507
Total complexity 183
Median class complexity 28.5
Median method complexity 3.0
Most complex class AV_Petitioner_Submissions
Most complex function AV_Petitioner_Submissions::api_handle_form_submit()
Classes 6
Methods 49
Functions 0

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.

Database Tables 1

Options wp_options 1

Custom Post Types 1

ID Name
petitioner-petitionPetitions

Meta Boxes

{
    "petitioner-petition": {
        "petition_details": {
            "title": "Petition details",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[03-Feb-2025 00:27:46 UTC] PHP Warning:  Undefined variable $recaptcha_site_key in /wp-content/plugins/petitioner/inc/class-setup.php on line 142
[03-Feb-2025 00:27:46 UTC] PHP Warning:  Undefined variable $hcaptcha_site_key in /wp-content/plugins/petitioner/inc/class-setup.php on line 143
[03-Feb-2025 00:27:56 UTC] PHP Warning:  Undefined variable $recaptcha_site_key in /wp-content/plugins/petitioner/inc/class-setup.php on line 142
[03-Feb-2025 00:27:56 UTC] PHP Warning:  Undefined variable $hcaptcha_site_key in /wp-content/plugins/petitioner/inc/class-setup.php on line 143
See also: All tests for this plugin, How to Hide Petitioner Admin Menus and Meta Boxes