Replace Asset Source 1.3.0

Does Replace Asset Source work with WordPress 6.0.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: 11.39 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.0.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=0b1df25b1b
Aspect after-activation
HTTP status 200
Load time 0.243 s
Memory usage 3.71 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.172 s
Memory usage 3.64 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 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.313 s0.368 s+0.055 s3.72 MiB3.74 MiB+ 18.28 KiB
/wp-admin/edit.php0.194 s0.196 s+0.002 s3.76 MiB3.77 MiB+ 18.28 KiB
/wp-admin/post-new.php0.738 s0.893 s+0.155 s5.55 MiB5.57 MiB+ 25.84 KiB
/wp-admin/upload.php0.554 s0.330 s-0.224 s3.69 MiB3.7 MiB+ 17.15 KiB
/wp-admin/options-writing.php0.158 s0.144 s-0.014 s3.62 MiB3.62 MiB- 3.01 KiB
/wp-admin/media-new.php0.434 s0.191 s-0.243 s3.66 MiB3.68 MiB+ 17.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.176 s-0.010 s3.69 MiB3.71 MiB+ 18.23 KiB
/wp-admin/post-new.php?post_type=page1.038 s0.604 s-0.434 s5.54 MiB5.56 MiB+ 17.43 KiB
/wp-admin/options-discussion.php0.203 s0.313 s+0.110 s3.6 MiB3.62 MiB+ 17.57 KiB
/wp-admin/edit-comments.php0.204 s0.224 s+0.020 s3.7 MiB3.71 MiB+ 17.13 KiB
/0.265 s0.218 s-0.047 s3.6 MiB3.57 MiB- 38.95 KiB
Average 0.390 s0.332 s-0.057 s4.01 MiB4.02 MiB+ 11.39 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
PHP75.3%39115510
JavaScript16.0%8301
CSS8.7%4501
Total 519 155 12

PHP Code Analysis | More results »

Lines of code 344
Total complexity 79
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 35
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

[06-Sep-2022 11:23:52 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 292
See also: All tests for this plugin, How to Hide the "Replace Asset Source" Admin Menu