Replace Asset Source 1.0.2

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=7d54074f6a
Aspect after-activation
HTTP status 200
Load time 0.495 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.225 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.301 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.474 s0.367 s-0.107 s3.08 MiB3.1 MiB+ 18.28 KiB
/wp-admin/edit.php0.208 s0.227 s+0.019 s3.11 MiB3.19 MiB+ 82.28 KiB
/wp-admin/post-new.php1.030 s1.250 s+0.220 s5.27 MiB5.29 MiB+ 22.47 KiB
/wp-admin/upload.php0.524 s0.376 s-0.148 s3.03 MiB3.05 MiB+ 17.15 KiB
/wp-admin/options-writing.php0.341 s0.200 s-0.141 s3.02 MiB3.02 MiB+ 1.06 KiB
/wp-admin/media-new.php0.369 s0.244 s-0.125 s3.01 MiB3.02 MiB+ 17.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.263 s0.251 s-0.012 s3.04 MiB3.06 MiB+ 18.23 KiB
/wp-admin/post-new.php?post_type=page0.877 s1.023 s+0.146 s5.26 MiB5.28 MiB+ 18.05 KiB
/wp-admin/options-discussion.php0.309 s0.358 s+0.049 s3 MiB3.02 MiB+ 17.57 KiB
/wp-admin/edit-comments.php0.267 s0.285 s+0.018 s3.04 MiB3.06 MiB+ 17.13 KiB
/0.455 s0.287 s-0.168 s2.91 MiB2.92 MiB+ 7.29 KiB
Average 0.465 s0.443 s-0.023 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

[07-Nov-2021 01:35:33 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