Accordion FAQ Builder 0.3

Does Accordion FAQ Builder work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 21.56 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.5.2
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/accordion-faq-builder/
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=accordion-faq-builder%2Finit.php&plugin_status=all&paged=1&s&_wpnonce=fb6e9e7d72
Aspect after-activation
HTTP status 200
Load time 0.274 s
Memory usage 3.4 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at Object.toggle (/wp-content/plugins/accordion-faq-builder/assets/js/admin-script.js?ver=0.3:151:13)\n    at Object.init (/wp-content/plugins/accordion-faq-builder/assets/js/admin-script.js?ver=0.3:145:8)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/accordion-faq-builder/assets/js/admin-script.js?ver=0.3:193:23)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Accordion FAQ Builder

Page screenshot: Accordion FAQ Builder
URL /wp-admin/edit.php?post_type=accordion_faq
Aspect menu-item
HTTP status 200
Load time 0.196 s
Memory usage 3.43 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at Object.toggle (/wp-content/plugins/accordion-faq-builder/assets/js/admin-script.js?ver=0.3:151:13)\n    at Object.init (/wp-content/plugins/accordion-faq-builder/assets/js/admin-script.js?ver=0.3:145:8)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/accordion-faq-builder/assets/js/admin-script.js?ver=0.3:193:23)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Accordion FAQ Builder → Add New

Page screenshot: Accordion FAQ Builder → Add New
URL /wp-admin/post-new.php?post_type=accordion_faq
Aspect menu-item
HTTP status 200
Load time 0.285 s
Memory usage 3.47 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.251 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.382 s0.342 s-0.040 s3.44 MiB3.46 MiB+ 28.82 KiB
/wp-admin/edit.php0.213 s0.235 s+0.022 s3.46 MiB3.49 MiB+ 29.13 KiB
/wp-admin/post-new.php0.955 s0.836 s-0.119 s5.59 MiB5.65 MiB+ 57.55 KiB
/wp-admin/upload.php0.621 s0.494 s-0.127 s3.38 MiB3.39 MiB+ 11.78 KiB
/wp-admin/options-writing.php0.232 s0.205 s-0.027 s3.37 MiB3.38 MiB+ 4 KiB
/wp-admin/media-new.php0.304 s0.262 s-0.042 s3.35 MiB3.37 MiB+ 23.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.206 s+0.000 s3.37 MiB3.4 MiB+ 29.09 KiB
/wp-admin/post-new.php?post_type=page0.566 s0.597 s+0.031 s5.59 MiB5.64 MiB+ 53.13 KiB
/wp-admin/options-discussion.php0.374 s0.289 s-0.085 s3.36 MiB3.37 MiB+ 13.78 KiB
/wp-admin/edit-comments.php0.267 s0.220 s-0.047 s3.39 MiB3.4 MiB+ 11.41 KiB
/0.328 s0.244 s-0.084 s3.42 MiB3.39 MiB- 25.45 KiB
Average 0.404 s0.357 s-0.047 s3.79 MiB3.81 MiB+ 21.56 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.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript78.0%3,2092783
PHP12.9%53316711
CSS7.6%314282
PO File1.5%60231
Total 4,116 496 17

PHP Code Analysis | More results »

Lines of code 442
Total complexity 75
Median class complexity 5.0
Median method complexity 2.0
Most complex class AFaqBuilder\Includes\Register_Meta_Boxes
Most complex function AFaqBuilder\Includes\Register_Meta_Boxes::afb_content_meta_box_callback()
Classes 7
Methods 24
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.

Custom Post Types 1

ID Name
accordion_faqAccordion FAQs

Meta Boxes

{
    "accordion_faq": {
        "afb-shortcode": {
            "title": "Shortcode",
            "context": "advanced"
        },
        "afb-content": {
            "title": "Add Accordion FAQ",
            "context": "advanced"
        }
    }
}

PHP Error Log

The log file is empty.

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