OMGF 4.5.16

Does OMGF work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 112.84 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/host-webfonts-local/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=host-webfonts-local%2Fhost-webfonts-local.php&plugin_status=all&paged=1&s&_wpnonce=451caa4075
Aspect after-activation
HTTP status 200
Load time 0.426 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts

Page screenshot: Settings → Optimize Google Fonts
URL /wp-admin/options-general.php?page=optimize-webfonts
Aspect menu-item
HTTP status 200
Load time 1.409 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts → Detection Settings

Page screenshot: Settings → Optimize Google Fonts → 
			Detection Settings
URL /wp-admin/options-general.php?page=optimize-webfonts&tab=omgf-detection-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.164 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts → Advanced Settings

Page screenshot: Settings → Optimize Google Fonts → 
			Advanced Settings
URL /wp-admin/options-general.php?page=optimize-webfonts&tab=omgf-advanced-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.180 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts → Help

Page screenshot: Settings → Optimize Google Fonts → 
			Help
URL /wp-admin/options-general.php?page=optimize-webfonts&tab=omgf-help
Aspect menu-item-tab
HTTP status 200
Load time 0.220 s
Memory usage 3.55 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.221 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.335 s0.263 s-0.072 s3.36 MiB3.45 MiB+ 92.88 KiB
/wp-admin/edit.php0.190 s0.183 s-0.007 s3.39 MiB3.48 MiB+ 91.55 KiB
/wp-admin/post-new.php1.740 s0.950 s-0.790 s6.14 MiB6.25 MiB+ 107.51 KiB
/wp-admin/upload.php0.344 s0.307 s-0.037 s3.24 MiB3.4 MiB+ 163.13 KiB
/wp-admin/options-writing.php0.276 s0.288 s+0.012 s3.24 MiB3.32 MiB+ 82.98 KiB
/wp-admin/media-new.php0.269 s0.194 s-0.075 s3.22 MiB3.38 MiB+ 163.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.184 s-0.002 s3.25 MiB3.41 MiB+ 164.2 KiB
/wp-admin/post-new.php?post_type=page0.639 s0.875 s+0.236 s6.14 MiB6.24 MiB+ 101.94 KiB
/wp-admin/options-discussion.php0.279 s0.296 s+0.017 s3.22 MiB3.31 MiB+ 99.61 KiB
/wp-admin/edit-comments.php0.208 s0.207 s-0.001 s3.26 MiB3.41 MiB+ 155.11 KiB
/0.341 s0.242 s-0.099 s3.35 MiB3.37 MiB+ 19.02 KiB
Average 0.437 s0.363 s-0.074 s3.8 MiB3.91 MiB+ 112.84 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
Language % Lines of code Comment lines Files
PHP77.5%2,2491,18119
LESS7.7%223261
CSS7.0%202271
JavaScript6.1%176701
Markdown1.8%5201
Total 2,902 1,304 23

PHP Code Analysis | More results »

Lines of code 1,955
Total complexity 366
Median class complexity 16.0
Median method complexity 2.0
Most complex class OMGF_API_Download
Most complex function OMGF_API_Download::process()
Classes 17
Methods 130
Functions 2

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.

Options wp_options 1

PHP Error Log 4 lines

[02-Feb-2022 22:30:42 UTC] PHP Warning:  Use of undefined constant CAOS_PLUGIN_FILE - assumed 'CAOS_PLUGIN_FILE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/host-webfonts-local/includes/admin/settings/class-help.php on line 70
[02-Feb-2022 22:30:42 UTC] PHP Notice:  Array to string conversion in /wp-content/plugins/host-webfonts-local/includes/frontend/class-functions.php on line 252
[02-Feb-2022 22:30:43 UTC] PHP Notice:  Array to string conversion in /wp-content/plugins/host-webfonts-local/includes/frontend/class-functions.php on line 252
[02-Feb-2022 22:30:50 UTC] PHP Notice:  Array to string conversion in /wp-content/plugins/host-webfonts-local/includes/frontend/class-functions.php on line 252
See also: All tests for this plugin, How to Hide the "Optimize Google Fonts" Admin Menu