Free Downloads WooCommerce 3.5.2

Does Free Downloads WooCommerce Pro work with WordPress 6.1.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: 185.69 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 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=bf90a1fe07
Aspect after-activation
HTTP status 200
Load time 0.247 s
Memory usage 3.19 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.148 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.277 s0.239 s-0.038 s3.05 MiB3.23 MiB+ 193.02 KiB
/wp-admin/edit.php0.183 s0.181 s-0.002 s3.07 MiB3.26 MiB+ 192.96 KiB
/wp-admin/post-new.php0.757 s0.614 s-0.143 s4.97 MiB5.17 MiB+ 203.79 KiB
/wp-admin/upload.php0.535 s0.297 s-0.238 s2.99 MiB3.16 MiB+ 175.21 KiB
/wp-admin/options-writing.php0.167 s0.152 s-0.015 s2.99 MiB3.15 MiB+ 161.8 KiB
/wp-admin/media-new.php0.257 s0.222 s-0.035 s2.97 MiB3.15 MiB+ 187.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.173 s-0.006 s2.98 MiB3.17 MiB+ 192.57 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.750 s+0.145 s4.96 MiB5.16 MiB+ 199.38 KiB
/wp-admin/options-discussion.php0.203 s0.229 s+0.026 s2.98 MiB3.15 MiB+ 175.64 KiB
/wp-admin/edit-comments.php0.207 s0.198 s-0.009 s3 MiB3.17 MiB+ 175.18 KiB
/0.271 s0.129 s-0.142 s2.94 MiB
Average 0.331 s0.289 s-0.042 s3.35 MiB3.58 MiB+ 185.69 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

[08-Mar-2023 10:20:12 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(3043): 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
[08-Mar-2023 10:20:19 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(3043): 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