Replace Asset Source 1.0.1

Does Replace Asset Source work with WordPress 5.8.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: 21.53 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.8.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=1139c344b6
Aspect after-activation
HTTP status 200
Load time 0.356 s
Memory usage 3.06 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.158 s
Memory usage 3.05 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.185 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.250 s-0.042 s3.08 MiB3.1 MiB+ 18.28 KiB
/wp-admin/edit.php0.164 s0.183 s+0.019 s3.11 MiB3.19 MiB+ 82.28 KiB
/wp-admin/post-new.php0.698 s0.839 s+0.141 s5.27 MiB5.29 MiB+ 22.47 KiB
/wp-admin/upload.php0.337 s0.262 s-0.075 s3.03 MiB3.05 MiB+ 17.15 KiB
/wp-admin/options-writing.php0.316 s0.133 s-0.183 s3.02 MiB3.02 MiB+ 1.06 KiB
/wp-admin/media-new.php0.306 s0.170 s-0.136 s3.01 MiB3.02 MiB+ 17.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.160 s0.160 s+0.000 s3.04 MiB3.06 MiB+ 18.23 KiB
/wp-admin/post-new.php?post_type=page0.566 s0.718 s+0.152 s5.26 MiB5.28 MiB+ 18.05 KiB
/wp-admin/options-discussion.php0.300 s0.243 s-0.057 s3 MiB3.02 MiB+ 17.57 KiB
/wp-admin/edit-comments.php0.211 s0.197 s-0.014 s3.04 MiB3.06 MiB+ 17.13 KiB
/0.280 s0.202 s-0.078 s2.91 MiB2.92 MiB+ 7.29 KiB
Average 0.330 s0.305 s-0.025 s3.43 MiB3.46 MiB+ 21.53 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
PHP72.2%33215310
JavaScript18.0%8301
CSS9.8%4501
Total 460 153 12

PHP Code Analysis | More results »

Lines of code 285
Total complexity 56
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 30
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

[28-Oct-2021 03:18:01 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 199
See also: All tests for this plugin, How to Hide the "Replace Asset Source" Admin Menu