Supafolio 2.23.4

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

Summary

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

Memory usage: 107.48 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.021 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.1
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=10ea519dfb
Aspect after-activation
HTTP status 200
Load time 0.374 s
Memory usage 3.59 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.391 s
Memory usage 3.6 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.572 s
Memory usage 3.86 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.4:1:13758)\n    at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:25304)\n    at Object.fireWith [as resolveWith] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:26053)\n    at l (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:77782)\n    at XMLHttpRequest.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:80265)",
        "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.356 s
Memory usage 3.64 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.360 s
Memory usage 3.56 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.376 s
Memory usage 3.56 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.333 s
Memory usage 3.56 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.333 s
Memory usage 3.56 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.353 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.247 s
Memory usage 3.47 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 2.294 s
Memory usage 5.7 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.340 s+0.052 s3.47 MiB3.57 MiB+ 101.76 KiB
/wp-admin/edit.php0.175 s0.199 s+0.024 s3.54 MiB3.64 MiB+ 102.98 KiB
/wp-admin/post-new.php0.661 s0.867 s+0.206 s5.75 MiB5.87 MiB+ 120.51 KiB
/wp-admin/upload.php0.461 s0.348 s-0.113 s3.49 MiB3.57 MiB+ 82.91 KiB
/wp-admin/options-writing.php0.173 s0.182 s+0.009 s3.41 MiB3.55 MiB+ 145.4 KiB
/wp-admin/media-new.php0.212 s0.277 s+0.065 s3.4 MiB3.55 MiB+ 158.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.166 s-0.006 s3.47 MiB3.57 MiB+ 105.77 KiB
/wp-admin/post-new.php?post_type=page0.544 s0.551 s+0.007 s5.75 MiB5.86 MiB+ 120.09 KiB
/wp-admin/options-discussion.php0.191 s0.224 s+0.033 s3.41 MiB3.55 MiB+ 147.09 KiB
/wp-admin/edit-comments.php0.200 s0.211 s+0.011 s3.49 MiB3.57 MiB+ 82.59 KiB
/0.260 s0.200 s-0.060 s3.45 MiB3.47 MiB+ 14.45 KiB
Average 0.303 s0.324 s+0.021 s3.88 MiB3.98 MiB+ 107.48 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.5%5,61742839
PO File16.6%1,2498103
JavaScript4.2%320491
CSS4.2%313133
JSON0.3%2201
SVG0.2%1402
Total 7,535 1,300 49

PHP Code Analysis | More results »

Lines of code 3,784
Total complexity 1,101
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 3 lines

[28-Jul-2024 20:37:12 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
[28-Jul-2024 20:37:12 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
[28-Jul-2024 20:37:12 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 68
See also: All tests for this plugin, How to Hide Supafolio Admin Menus