Petitioner 0.2.1

Does Petitioner work with WordPress 6.7.1 and PHP 8.1.12? 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: 84.38 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.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=4328df9356
Aspect after-activation
HTTP status 200
Load time 0.366 s
Memory usage 3.59 MiB
JS errors None
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.166 s
Memory usage 3.62 MiB
JS errors None
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.377 s
Memory usage 3.62 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.447 s
Memory usage 3.56 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.222 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.286 s0.324 s+0.038 s3.48 MiB3.58 MiB+ 97.8 KiB
/wp-admin/edit.php0.195 s0.179 s-0.016 s3.54 MiB3.64 MiB+ 98.59 KiB
/wp-admin/post-new.php0.754 s0.674 s-0.080 s5.92 MiB6.03 MiB+ 110.19 KiB
/wp-admin/upload.php0.543 s0.640 s+0.097 s3.49 MiB3.57 MiB+ 81.18 KiB
/wp-admin/options-writing.php0.215 s0.196 s-0.019 s3.47 MiB3.56 MiB+ 85.17 KiB
/wp-admin/media-new.php0.318 s0.201 s-0.117 s3.46 MiB3.55 MiB+ 93.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.187 s-0.031 s3.48 MiB3.58 MiB+ 104.04 KiB
/wp-admin/post-new.php?post_type=page0.554 s0.606 s+0.052 s5.92 MiB6.02 MiB+ 101.77 KiB
/wp-admin/options-discussion.php0.263 s0.256 s-0.007 s3.47 MiB3.55 MiB+ 81.67 KiB
/wp-admin/edit-comments.php0.202 s0.211 s+0.009 s3.49 MiB3.57 MiB+ 81.17 KiB
/0.303 s0.210 s-0.093 s3.48 MiB3.47 MiB- 6.8 KiB
Average 0.350 s0.335 s-0.015 s3.93 MiB4.01 MiB+ 84.38 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
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP64.1%1,2391559
Sass17.0%32892
JavaScript12.1%234238
JSX4.0%7701
JSON2.6%5101
SVG0.2%401
Total 1,933 187 22

PHP Code Analysis | More results »

Lines of code 1,243
Total complexity 134
Median class complexity 20.5
Median method complexity 2.0
Most complex class AV_Petitioner_Admin_Edit_UI
Most complex function AV_Petitioner_Admin_Edit_UI::save_meta_box_data()
Classes 6
Methods 43
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

The log file is empty.

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