Accordion FAQ Builder 0.3

Does Accordion FAQ Builder work with WordPress 6.8.1 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: 24.07 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.8.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/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=1cb7224bc8
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 3.55 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.176 s
Memory usage 3.58 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 Accordion FAQ

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.307 s-0.030 s3.51 MiB3.54 MiB+ 29.98 KiB
/wp-admin/edit.php0.195 s0.198 s+0.003 s3.57 MiB3.6 MiB+ 30.23 KiB
/wp-admin/post-new.php0.751 s0.766 s+0.015 s6.06 MiB6.09 MiB+ 32.59 KiB
/wp-admin/upload.php0.750 s0.478 s-0.272 s3.52 MiB3.54 MiB+ 12.51 KiB
/wp-admin/options-writing.php0.225 s0.231 s+0.006 s3.5 MiB3.52 MiB+ 16.5 KiB
/wp-admin/media-new.php0.263 s0.231 s-0.032 s3.49 MiB3.52 MiB+ 24.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.204 s+0.027 s3.5 MiB3.54 MiB+ 35.68 KiB
/wp-admin/post-new.php?post_type=page0.592 s0.593 s+0.001 s6.05 MiB6.08 MiB+ 28.12 KiB
/wp-admin/options-discussion.php0.480 s0.411 s-0.069 s3.5 MiB3.52 MiB+ 13.63 KiB
/wp-admin/edit-comments.php0.232 s0.216 s-0.016 s3.52 MiB3.54 MiB+ 12.5 KiB
/0.289 s0.240 s-0.049 s3.43 MiB3.46 MiB+ 28.33 KiB
Average 0.390 s0.352 s-0.038 s3.97 MiB3.99 MiB+ 24.07 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