Free Downloads WooCommerce 3.5.1

Does Free Downloads WooCommerce work with WordPress 6.1.1 and PHP 7.4.8? 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: 233.13 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=9c4d56e66b
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.69 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.216 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.358 s0.273 s-0.085 s3.54 MiB3.74 MiB+ 202.18 KiB
/wp-admin/edit.php0.172 s0.180 s+0.008 s3.57 MiB3.83 MiB+ 265.81 KiB
/wp-admin/post-new.php0.769 s0.645 s-0.124 s5.46 MiB5.67 MiB+ 212.95 KiB
/wp-admin/upload.php0.311 s0.264 s-0.047 s3.41 MiB3.67 MiB+ 264.3 KiB
/wp-admin/options-writing.php0.226 s0.146 s-0.080 s3.4 MiB3.64 MiB+ 246.71 KiB
/wp-admin/media-new.php0.238 s0.161 s-0.077 s3.39 MiB3.64 MiB+ 264.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.185 s+0.004 s3.48 MiB3.67 MiB+ 201.38 KiB
/wp-admin/post-new.php?post_type=page0.676 s0.594 s-0.082 s5.46 MiB5.66 MiB+ 208.5 KiB
/wp-admin/options-discussion.php0.193 s0.198 s+0.005 s3.38 MiB3.64 MiB+ 264.73 KiB
/wp-admin/edit-comments.php0.228 s0.345 s+0.117 s3.48 MiB3.68 MiB+ 200.27 KiB
/0.255 s0.179 s-0.076 s3.47 MiB
Average 0.328 s0.288 s-0.040 s3.82 MiB4.08 MiB+ 233.13 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,1111,13547
CSS15.3%1,141353
JavaScript2.1%154432
JSON0.8%5601
Total 7,462 1,213 53

PHP Code Analysis | More results »

Lines of code 6,024
Total complexity 1,212
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.

User Metadata wp_usermeta 1

Meta Boxes

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

PHP Error Log 20 lines

[16-Nov-2022 23:32:54 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:90
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(460): 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-in in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php on line 90
[16-Nov-2022 23:33:01 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:90
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(460): 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-in in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php on line 90
See also: All tests for this plugin