Free Downloads WooCommerce 3.5.2.1

Does Free Downloads WooCommerce work with WordPress 6.2.2 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: 189.12 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 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=6b1807f6e4
Aspect after-activation
HTTP status 200
Load time 0.464 s
Memory usage 3.22 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.145 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.292 s0.259 s-0.033 s3.07 MiB3.27 MiB+ 198.83 KiB
/wp-admin/edit.php0.187 s0.186 s-0.001 s3.1 MiB3.29 MiB+ 198.15 KiB
/wp-admin/post-new.php0.754 s0.945 s+0.191 s5.02 MiB5.22 MiB+ 199.79 KiB
/wp-admin/upload.php0.555 s0.297 s-0.258 s3.02 MiB3.19 MiB+ 180.4 KiB
/wp-admin/options-writing.php0.175 s0.143 s-0.032 s3.01 MiB3.18 MiB+ 167.09 KiB
/wp-admin/media-new.php0.314 s0.231 s-0.083 s2.99 MiB3.18 MiB+ 192.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.181 s-0.012 s3.01 MiB3.2 MiB+ 197.76 KiB
/wp-admin/post-new.php?post_type=page0.580 s0.766 s+0.186 s5.01 MiB5.21 MiB+ 195.38 KiB
/wp-admin/options-discussion.php0.223 s0.240 s+0.017 s3 MiB3.18 MiB+ 180.83 KiB
/wp-admin/edit-comments.php0.209 s0.220 s+0.011 s3.03 MiB3.2 MiB+ 180.37 KiB
/0.309 s0.146 s-0.163 s2.97 MiB
Average 0.345 s0.329 s-0.016 s3.38 MiB3.61 MiB+ 189.12 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
CSS
Language % Lines of code Comment lines Files
PHP81.9%6,1131,13547
CSS15.3%1,140353
JavaScript2.1%154432
JSON0.8%5601
Total 7,463 1,213 53

PHP Code Analysis | More results »

Lines of code 6,032
Total complexity 1,215
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 294

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

[21-May-2023 21:02:23 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:92
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): 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(308): somdn_purchasable_compat_head()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3049): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(783): require_once('...')
#10 /wp-includes/template.php(718): 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 92
[21-May-2023 21:02:31 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:92
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): 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(308): somdn_purchasable_compat_head()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3049): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(783): require_once('...')
#10 /wp-includes/template.php(718): 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 92
See also: All tests for this plugin