Formality 1.5.6

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

Summary

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

Memory usage: 141.63 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 200+
WordPress.org page https://wordpress.org/plugins/formality/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=formality%2Fformality.php&plugin_status=all&paged=1&s&_wpnonce=7254932b61
Aspect after-activation
HTTP status 200
Load time 0.319 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Formality

Page screenshot: Formality
URL /wp-admin/edit.php?post_type=formality_form
Aspect menu-item
HTTP status 200
Load time 0.472 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

Formality → Results

Page screenshot: Formality  → Results
URL /wp-admin/edit.php?post_type=formality_result
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage 3.14 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.221 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.273 s-0.019 s3.05 MiB3.16 MiB+ 112.67 KiB
/wp-admin/edit.php0.197 s0.191 s-0.006 s3.07 MiB3.2 MiB+ 124.23 KiB
/wp-admin/post-new.php0.803 s1.070 s+0.267 s4.97 MiB5.27 MiB+ 311.17 KiB
/wp-admin/upload.php0.596 s0.309 s-0.287 s2.99 MiB3.08 MiB+ 94.89 KiB
/wp-admin/options-writing.php0.187 s0.151 s-0.036 s2.99 MiB3.07 MiB+ 80.98 KiB
/wp-admin/media-new.php0.294 s0.213 s-0.081 s2.97 MiB3.07 MiB+ 107.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.281 s0.313 s+0.032 s2.98 MiB3.09 MiB+ 111.74 KiB
/wp-admin/post-new.php?post_type=page0.650 s0.703 s+0.053 s4.96 MiB5.26 MiB+ 306.8 KiB
/wp-admin/options-discussion.php0.212 s0.215 s+0.003 s2.98 MiB3.07 MiB+ 94.82 KiB
/wp-admin/edit-comments.php0.214 s0.223 s+0.009 s3 MiB3.09 MiB+ 94.67 KiB
/0.298 s0.227 s-0.071 s2.94 MiB3.06 MiB+ 118.8 KiB
Average 0.366 s0.353 s-0.012 s3.35 MiB3.49 MiB+ 141.63 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
XML
PO File
Language % Lines of code Comment lines Files
PHP56.7%2,31181923
XML23.5%959781
PO File19.6%8003811
JSON0.1%303
Total 4,073 1,278 28

PHP Code Analysis | More results »

Lines of code 2,225
Total complexity 618
Median class complexity 37.0
Median method complexity 2.0
Most complex class Formality_Results
Most complex function Formality_Results::export()
Classes 16
Methods 135
Functions 3

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 2

Custom Post Types 2

ID Name
formality_formForms
formality_resultResults

Meta Boxes

{
    "formality_result": {
        "result_data": {
            "title": "Result data",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[21-Nov-2022 03:49:06 UTC] PHP Deprecated:  Optional parameter $content declared before required parameter $data is implicitly treated as a required parameter in /wp-content/plugins/formality/admin/class-formality-notifications.php on line 48
See also: All tests for this plugin, How to Hide Formality Admin Menus and Meta Boxes