Supafolio 2.23.2

Does Supafolio work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 90.45 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/supapress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 11

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=supapress%2Fsupapress.php&plugin_status=all&paged=1&s&_wpnonce=e765b91d29
Aspect after-activation
HTTP status 200
Load time 0.491 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Supafolio

Page screenshot: Supafolio
URL /wp-admin/admin.php?page=supapress
Aspect menu-item
HTTP status 200
Load time 0.471 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Supafolio → Add New

Page screenshot: Supafolio → Add New
URL /wp-admin/admin.php?page=supapress-new
Aspect menu-item
HTTP status 200
Load time 0.571 s
Memory usage 3.46 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'collection')\n    at Object.success (/wp-content/plugins/supapress/admin/js/scripts.min.js?ver=2.23.2:1:13758)\n    at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.2.2:2:28447)\n    at Object.fireWith [as resolveWith] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.2.2:2:29192)\n    at l (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.2.2:2:80176)\n    at XMLHttpRequest.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.2.2:2:82630)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Supafolio → Settings

Page screenshot: Supafolio → Settings
URL /wp-admin/admin.php?page=supapress-settings
Aspect menu-item
HTTP status 200
Load time 0.369 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

Supafolio → Settings → Book Page URLs

Page screenshot: Supafolio → Settings → Book Page URLs
URL /wp-admin/admin.php?page=supapress-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.346 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Supafolio → Settings → Retailer Links

Page screenshot: Supafolio → Settings → Retailer Links
URL /wp-admin/admin.php?page=supapress-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.460 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Supafolio → Settings → Cache

Page screenshot: Supafolio → Settings → Cache
URL /wp-admin/admin.php?page=supapress-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.338 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Supafolio → Settings → SEO

Page screenshot: Supafolio → Settings → SEO
URL /wp-admin/admin.php?page=supapress-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.377 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Supafolio → Settings → Advanced

Page screenshot: Supafolio → Settings → Advanced
URL /wp-admin/admin.php?page=supapress-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.382 s
Memory usage 3.1 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.333 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.958 s
Memory usage 5.02 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.421 s+0.135 s3.07 MiB3.16 MiB+ 95.32 KiB
/wp-admin/edit.php0.188 s0.233 s+0.045 s3.1 MiB3.19 MiB+ 97.64 KiB
/wp-admin/post-new.php0.791 s1.090 s+0.299 s5.02 MiB5.11 MiB+ 94.02 KiB
/wp-admin/upload.php0.793 s0.321 s-0.472 s3.02 MiB3.09 MiB+ 77.66 KiB
/wp-admin/options-writing.php0.151 s0.149 s-0.002 s3.01 MiB3.08 MiB+ 65.92 KiB
/wp-admin/media-new.php0.264 s0.254 s-0.010 s2.99 MiB3.08 MiB+ 89.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.198 s-0.006 s3.01 MiB3.1 MiB+ 94.96 KiB
/wp-admin/post-new.php?post_type=page0.731 s0.757 s+0.026 s5.01 MiB5.1 MiB+ 89.6 KiB
/wp-admin/options-discussion.php0.196 s0.253 s+0.057 s3 MiB3.08 MiB+ 79.66 KiB
/wp-admin/edit-comments.php0.209 s0.219 s+0.010 s3.03 MiB3.1 MiB+ 77.32 KiB
/0.305 s0.217 s-0.088 s2.97 MiB3.1 MiB+ 133.03 KiB
Average 0.374 s0.374 s-0.001 s3.38 MiB3.47 MiB+ 90.45 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
PO File
Language % Lines of code Comment lines Files
PHP74.4%5,58642839
PO File16.6%1,2498103
JavaScript4.3%320491
CSS4.2%313133
JSON0.3%2201
SVG0.2%1402
Total 7,504 1,300 49

PHP Code Analysis | More results »

Lines of code 3,773
Total complexity 1,098
Median class complexity 10.0
Median method complexity 2.0
Most complex class SupaPress_Book
Most complex function supapress_save_widget()
Classes 11
Methods 159
Functions 95

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 5

Custom Post Types 1

ID Name
supapress_widgetSupaPress Widgets

Sidebar Widgets 5

ID Name
supapress-search-widgetSupafolio Search
supapress-widgetsSupafolio Module
supapress-isbn-lookupSupafolio ISBN Lookup
supapress-search-resultsSupafolio Search Results
supapress-product-detailsSupafolio Product Details

PHP Error Log 2 lines

[20-Jul-2023 08:18:56 UTC] PHP Warning:  foreach() argument must be of type array|object, int given in /wp-content/plugins/supapress/admin/views/add-edit-partials/restrictions.php on line 27
[20-Jul-2023 08:18:56 UTC] PHP Warning:  foreach() argument must be of type array|object, int given in /wp-content/plugins/supapress/admin/views/add-edit-partials/restrictions.php on line 54
See also: All tests for this plugin, How to Hide Supafolio Admin Menus