Donation Thermometer 2.1.6

Does Donation Thermometer work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 37.19 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 2,000+
WordPress.org page https://wordpress.org/plugins/donation-thermometer/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=donation-thermometer%2Fdonation_therm.php&plugin_status=all&paged=1&s&_wpnonce=fd2e84a8c9
Aspect after-activation
HTTP status 200
Load time 0.223 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Settings → Thermometer

Page screenshot: Settings → Thermometer
URL /wp-admin/options-general.php?page=thermometer-settings
Aspect menu-item
HTTP status 200
Load time 0.368 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Settings → Thermometer → Custom CSS

Page screenshot: Settings → Thermometer → Custom CSS
URL /wp-admin/options-general.php?page=thermometer-settings&tab=style
Aspect menu-item-tab
HTTP status 200
Load time 0.180 s
Memory usage 3 MiB
JS errors None
Resource errors None

Settings → Thermometer → Preview

Page screenshot: Settings → Thermometer → Preview
URL /wp-admin/options-general.php?page=thermometer-settings&tab=preview
Aspect menu-item-tab
HTTP status 200
Load time 0.139 s
Memory usage 3 MiB
JS errors None
Resource errors None

Settings → Thermometer → Help

Page screenshot: Settings → Thermometer → Help
URL /wp-admin/options-general.php?page=thermometer-settings&tab=help
Aspect menu-item-tab
HTTP status 200
Load time 0.140 s
Memory usage 3.01 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.210 s
Memory usage 2.95 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.255 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.271 s0.240 s-0.031 s3.05 MiB3.1 MiB+ 50.56 KiB
/wp-admin/edit.php0.167 s0.172 s+0.005 s3.07 MiB3.12 MiB+ 47.95 KiB
/wp-admin/post-new.php0.772 s0.890 s+0.118 s4.97 MiB5.02 MiB+ 51.52 KiB
/wp-admin/upload.php0.556 s0.281 s-0.275 s2.99 MiB3.02 MiB+ 30.63 KiB
/wp-admin/options-writing.php0.155 s0.128 s-0.027 s2.99 MiB3 MiB+ 17.21 KiB
/wp-admin/media-new.php0.476 s0.225 s-0.251 s2.97 MiB3.01 MiB+ 42.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.169 s-0.014 s2.98 MiB3.03 MiB+ 47.98 KiB
/wp-admin/post-new.php?post_type=page0.622 s0.772 s+0.150 s4.96 MiB5.01 MiB+ 51.52 KiB
/wp-admin/options-discussion.php0.207 s0.216 s+0.009 s2.97 MiB3.01 MiB+ 31.31 KiB
/wp-admin/edit-comments.php0.196 s0.188 s-0.008 s3 MiB3.03 MiB+ 30.56 KiB
/0.274 s0.204 s-0.070 s2.94 MiB2.95 MiB+ 7.09 KiB
Average 0.353 s0.317 s-0.036 s3.35 MiB3.39 MiB+ 37.19 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
Language % Lines of code Comment lines Files
PHP98.1%1,5041568
JavaScript1.9%2901
Total 1,533 156 9

PHP Code Analysis | More results »

Lines of code 1,437
Total complexity 395
Median class complexity 8.0
Median method complexity 1.0
Most complex class Thermometer_dashboard_widget
Most complex function thermhtml()
Classes 1
Methods 5
Functions 64

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 2

Meta Boxes

{
    "dashboard": {
        "thermometer_widget": {
            "title": "Donation Thermometer",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[02-Jan-2023 21:55:37 UTC] PHP Warning:  Undefined variable $thermDefaults in /wp-content/plugins/donation-thermometer/includes/therm_shortcode.php on line 361
[02-Jan-2023 21:55:37 UTC] PHP Warning:  Undefined variable $thermDefaults in /wp-content/plugins/donation-thermometer/includes/therm_shortcode.php on line 361
[02-Jan-2023 21:55:37 UTC] PHP Warning:  Undefined array key "decimals" in /wp-content/plugins/donation-thermometer/includes/therm_shortcode.php on line 362
[02-Jan-2023 21:55:37 UTC] PHP Deprecated:  number_format(): Passing null to parameter #2 ($decimals) of type int is deprecated in /wp-content/plugins/donation-thermometer/includes/therm_shortcode.php on line 364
See also: All tests for this plugin, How to Hide Donation Thermometer Admin Menus and Widgets