Replace Asset Source 1.2.0

Does Replace Asset Source work with WordPress 5.9.2 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.2
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=0719634482
Aspect after-activation
HTTP status 200
Load time 0.422 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.155 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.202 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.355 s0.288 s-0.067 s3.37 MiB3.39 MiB+ 18.28 KiB
/wp-admin/edit.php0.173 s0.205 s+0.032 s3.4 MiB3.42 MiB+ 18.28 KiB
/wp-admin/post-new.php1.047 s1.164 s+0.117 s6.15 MiB6.17 MiB+ 21.84 KiB
/wp-admin/upload.php0.365 s0.316 s-0.049 s3.25 MiB3.27 MiB+ 25.15 KiB
/wp-admin/options-writing.php0.338 s0.133 s-0.205 s3.24 MiB3.25 MiB+ 8.94 KiB
/wp-admin/media-new.php0.261 s0.191 s-0.070 s3.23 MiB3.25 MiB+ 25.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.179 s+0.006 s3.27 MiB3.28 MiB+ 18.23 KiB
/wp-admin/post-new.php?post_type=page0.929 s1.110 s+0.181 s6.15 MiB6.16 MiB+ 17.43 KiB
/wp-admin/options-discussion.php0.215 s0.256 s+0.041 s3.22 MiB3.25 MiB+ 25.57 KiB
/wp-admin/edit-comments.php0.215 s0.205 s-0.010 s3.27 MiB3.29 MiB+ 17.13 KiB
/0.259 s0.203 s-0.056 s3.4 MiB3.36 MiB- 40.16 KiB
Average 0.394 s0.386 s-0.007 s3.81 MiB3.83 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.9%36215310
JavaScript16.9%8301
CSS9.2%4501
Total 490 153 12

PHP Code Analysis | More results »

Lines of code 315
Total complexity 65
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::match_source()
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

[17-Mar-2022 20:31:56 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 242
See also: All tests for this plugin, How to Hide the "Replace Asset Source" Admin Menu