Free Downloads WooCommerce 3.5.6

Does Free Downloads WooCommerce work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 366.76 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.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/download-now-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=download-now-for-woocommerce%2Fsom-woocommerce-download-now.php&plugin_status=all&paged=1&s&_wpnonce=41ec991b2d
Aspect after-activation
HTTP status 200
Load time 0.280 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.111 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.268 s-0.078 s2.82 MiB3.19 MiB+ 374.45 KiB
/wp-admin/edit.php0.202 s0.218 s+0.016 s2.85 MiB3.21 MiB+ 373.77 KiB
/wp-admin/post-new.php0.778 s0.550 s-0.228 s5.21 MiB5.59 MiB+ 384.91 KiB
/wp-admin/upload.php0.605 s0.458 s-0.147 s2.77 MiB3.12 MiB+ 356.02 KiB
/wp-admin/options-writing.php0.224 s0.214 s-0.010 s2.76 MiB3.1 MiB+ 347.92 KiB
/wp-admin/media-new.php0.382 s0.250 s-0.132 s2.74 MiB3.1 MiB+ 368.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.191 s+0.003 s2.76 MiB3.12 MiB+ 373.38 KiB
/wp-admin/post-new.php?post_type=page0.590 s0.549 s-0.041 s5.21 MiB5.58 MiB+ 376.5 KiB
/wp-admin/options-discussion.php0.396 s0.221 s-0.175 s2.75 MiB3.1 MiB+ 356.45 KiB
/wp-admin/edit-comments.php0.241 s0.421 s+0.180 s2.78 MiB3.13 MiB+ 355.99 KiB
/0.280 s0.126 s-0.154 s3.13 MiB
Average 0.385 s0.315 s-0.070 s3.25 MiB3.62 MiB+ 366.76 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
CSS
Language % Lines of code Comment lines Files
PHP61.1%6,1631,14347
PO File25.5%2,5761,0444
CSS11.3%1,140353
JavaScript1.5%154432
JSON0.6%5701
Total 10,090 2,265 57

PHP Code Analysis | More results »

Lines of code 6,089
Total complexity 1,240
Median class complexity 7.0
Median method complexity 1.0
Most complex class SOM\FreeDownloads\Lib\Requirements\Requirements
Most complex function somdn_product_page()
Classes 15
Methods 84
Functions 295

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.

Meta Boxes

{
    "product": {
        "download_now-download-now": {
            "title": "Free Downloads",
            "context": "side"
        }
    }
}

PHP Error Log 40 lines

[04-Sep-2023 10:07:48 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): somdn_is_single_product_woo()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-content/plugins/download-now-for-woocommerce/Includes/Legacy/somdn-functions.php(144): apply_filters()
#3 /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-compatibility.php(466): somdn_is_single_product()
#4 /wp-includes/class-wp-hook.php(310): somdn_purchasable_compat_head()
#5 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3053): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(785): require_once('...')
#10 /wp-includes/template.php(720): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php on line 96
[04-Sep-2023 10:07:56 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): somdn_is_single_product_woo()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-content/plugins/download-now-for-woocommerce/Includes/Legacy/somdn-functions.php(144): apply_filters()
#3 /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-compatibility.php(466): somdn_is_single_product()
#4 /wp-includes/class-wp-hook.php(310): somdn_purchasable_compat_head()
#5 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3053): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(785): require_once('...')
#10 /wp-includes/template.php(720): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php on line 96
See also: All tests for this plugin