Replace Asset Source 1.1.0

Does Replace Asset Source work with WordPress 5.9.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 14.18 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 version5.9.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 80+
WordPress.org page https://wordpress.org/plugins/replace-third-party-asset-source/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=replace-third-party-asset-source%2Freplace-third-party-asset-source.php&plugin_status=all&paged=1&s&_wpnonce=1b5b83293f
Aspect after-activation
HTTP status 200
Load time 0.228 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

Settings → Replace Asset Source

Page screenshot: Settings → Replace Asset Source
URL /wp-admin/options-general.php?page=replace-third-party-asset-source-setting
Aspect menu-item
HTTP status 200
Load time 0.143 s
Memory usage 3.27 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.339 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.315 s0.224 s-0.091 s3.37 MiB3.39 MiB+ 18.28 KiB
/wp-admin/edit.php0.160 s0.173 s+0.013 s3.4 MiB3.42 MiB+ 18.28 KiB
/wp-admin/post-new.php0.775 s0.885 s+0.110 s6.14 MiB6.16 MiB+ 21.84 KiB
/wp-admin/upload.php0.308 s0.280 s-0.028 s3.25 MiB3.27 MiB+ 25.15 KiB
/wp-admin/options-writing.php0.246 s0.130 s-0.116 s3.24 MiB3.25 MiB+ 8.94 KiB
/wp-admin/media-new.php0.257 s0.180 s-0.077 s3.23 MiB3.25 MiB+ 25.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.178 s+0.011 s3.27 MiB3.28 MiB+ 18.23 KiB
/wp-admin/post-new.php?post_type=page0.576 s0.648 s+0.072 s6.14 MiB6.15 MiB+ 17.43 KiB
/wp-admin/options-discussion.php0.198 s0.300 s+0.102 s3.22 MiB3.25 MiB+ 25.57 KiB
/wp-admin/edit-comments.php0.207 s0.194 s-0.013 s3.27 MiB3.29 MiB+ 17.13 KiB
/0.258 s0.189 s-0.069 s3.4 MiB3.36 MiB- 40.16 KiB
Average 0.315 s0.307 s-0.008 s3.81 MiB3.82 MiB+ 14.18 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP73.2%34915310
JavaScript17.4%8301
CSS9.4%4501
Total 477 153 12

PHP Code Analysis | More results »

Lines of code 302
Total complexity 62
Median class complexity 7.0
Median method complexity 1.0
Most complex class Replace_Third_Party_Asset_Source_Admin
Most complex function Replace_Third_Party_Asset_Source_Admin::register_plugin_setting()
Classes 5
Methods 32
Functions 3

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.

No new entries found.

PHP Error Log 1 lines

[02-Mar-2022 12:54:59 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/replace-third-party-asset-source/admin/class-replace-third-party-asset-source-admin.php on line 227
See also: All tests for this plugin, How to Hide the "Replace Asset Source" Admin Menu