TinyPNG - JPEG, PNG & WebP image compression 3.4.1

Does "TinyPNG - JPEG, PNG & WebP image compression" work with WordPress 6.3.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 34.87 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.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/tiny-compress-images/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=tiny-compress-images%2Ftiny-compress-images.php&plugin_status=all&paged=1&s&_wpnonce=937f41b935
Aspect after-activation
HTTP status 200
Load time 0.278 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Media → Bulk Optimization

Page screenshot: Media → Bulk Optimization
URL /wp-admin/upload.php?page=tiny-bulk-optimization
Aspect menu-item
HTTP status 200
Load time 0.248 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

Settings → TinyPNG – JPEG, PNG & WebP image compression

Page screenshot: Settings → TinyPNG – JPEG, PNG & WebP image compression
URL /wp-admin/options-general.php?page=tinify
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 2.82 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.195 s
Memory usage 3.08 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.379 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.415 s0.393 s-0.022 s2.83 MiB2.87 MiB+ 44.84 KiB
/wp-admin/edit.php0.226 s0.236 s+0.010 s2.85 MiB2.89 MiB+ 41.13 KiB
/wp-admin/post-new.php0.926 s0.612 s-0.314 s5.22 MiB5.28 MiB+ 65.02 KiB
/wp-admin/upload.php0.613 s0.463 s-0.150 s2.77 MiB2.79 MiB+ 23.77 KiB
/wp-admin/options-writing.php0.233 s0.219 s-0.014 s2.76 MiB2.78 MiB+ 15.96 KiB
/wp-admin/media-new.php0.475 s0.289 s-0.186 s2.74 MiB2.78 MiB+ 37.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.183 s-0.033 s2.76 MiB2.8 MiB+ 41.45 KiB
/wp-admin/post-new.php?post_type=page0.602 s0.549 s-0.053 s5.21 MiB5.27 MiB+ 60.6 KiB
/wp-admin/options-discussion.php0.215 s0.259 s+0.044 s2.75 MiB2.78 MiB+ 25.74 KiB
/wp-admin/edit-comments.php0.405 s0.222 s-0.183 s2.78 MiB2.8 MiB+ 23.4 KiB
/0.313 s0.174 s-0.139 s3.13 MiB3.14 MiB+ 4.55 KiB
Average 0.422 s0.327 s-0.095 s3.25 MiB3.29 MiB+ 34.87 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
JavaScript
Language % Lines of code Comment lines Files
PHP68.4%3,67237127
CSS15.2%81344
JavaScript11.1%59393
YAML2.3%12401
Bourne Again Shell1.8%9406
JSON0.6%3401
XML0.4%2301
Perl0.2%1301
Total 5,366 384 44

PHP Code Analysis | More results »

Lines of code 2,830
Total complexity 611
Median class complexity 28.5
Median method complexity 2.0
Most complex class Tiny_Settings
Most complex function Tiny_Image::detect_duplicates()
Classes 14
Methods 236
Functions 0

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 1

Meta Boxes

{
    "dashboard": {
        "tinypng_dashboard_widget": {
            "title": "TinyPNG - JPEG, PNG & WebP image compression",
            "context": "normal"
        }
    }
}

PHP Error Log 15 lines

[12-Oct-2023 22:35:13 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:13 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:13 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:13 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:13 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:13 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:16 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:16 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:16 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:23 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:23 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:23 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:24 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:24 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
[12-Oct-2023 22:35:24 UTC] PHP Deprecated:  unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/tiny-compress-images/src/class-tiny-bulk-optimization.php on line 102
See also: All tests for this plugin, How to Hide TinyPNG - JPEG, PNG & WebP image compression Admin Menus and Widgets