Donation Thermometer 2.1.5

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

Summary

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

Memory usage: 37.29 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=1dd5dbdf39
Aspect after-activation
HTTP status 200
Load time 0.232 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.258 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.189 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.141 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.192 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.353 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.613 s0.236 s-0.377 s3.05 MiB3.1 MiB+ 50.81 KiB
/wp-admin/edit.php0.155 s0.181 s+0.026 s3.07 MiB3.12 MiB+ 48.2 KiB
/wp-admin/post-new.php0.742 s0.633 s-0.109 s4.97 MiB5.02 MiB+ 51.52 KiB
/wp-admin/upload.php0.592 s0.360 s-0.232 s2.99 MiB3.02 MiB+ 31.56 KiB
/wp-admin/options-writing.php0.151 s0.147 s-0.004 s2.99 MiB3.01 MiB+ 18.15 KiB
/wp-admin/media-new.php0.468 s0.220 s-0.248 s2.97 MiB3.01 MiB+ 43.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.169 s+0.000 s2.98 MiB3.03 MiB+ 48.92 KiB
/wp-admin/post-new.php?post_type=page0.599 s0.578 s-0.021 s4.96 MiB5.01 MiB+ 47.09 KiB
/wp-admin/options-discussion.php0.191 s0.186 s-0.005 s2.97 MiB3.01 MiB+ 32.3 KiB
/wp-admin/edit-comments.php0.189 s0.187 s-0.002 s3 MiB3.03 MiB+ 30.81 KiB
/0.263 s0.196 s-0.067 s2.94 MiB2.95 MiB+ 7.09 KiB
Average 0.376 s0.281 s-0.094 s3.35 MiB3.39 MiB+ 37.29 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,4991568
JavaScript1.9%2901
Total 1,528 156 9

PHP Code Analysis | More results »

Lines of code 1,431
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 28 lines

[26-Dec-2022 11:07:52 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:53 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:53 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:54 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:55 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:55 UTC] PHP Warning:  Undefined variable $thermDefaults in /wp-content/plugins/donation-thermometer/includes/therm_shortcode.php on line 361
[26-Dec-2022 11:07:55 UTC] PHP Warning:  Undefined variable $thermDefaults in /wp-content/plugins/donation-thermometer/includes/therm_shortcode.php on line 361
[26-Dec-2022 11:07:55 UTC] PHP Warning:  Undefined array key "decimals" in /wp-content/plugins/donation-thermometer/includes/therm_shortcode.php on line 362
[26-Dec-2022 11:07:55 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
[26-Dec-2022 11:07:56 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:58 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:58 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:58 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:07:58 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:00 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:00 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:01 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:01 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:01 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:01 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:01 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:03 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:03 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:03 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:04 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:04 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:05 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
[26-Dec-2022 11:08:06 UTC] PHP Warning:  Undefined array key "therm_svg_style" in /wp-content/plugins/donation-thermometer/donation_therm.php on line 131
See also: All tests for this plugin, How to Hide Donation Thermometer Admin Menus and Widgets