OMGF 4.5.18

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

Summary

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

Memory usage: 112.81 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 300,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=81891049eb
Aspect after-activation
HTTP status 200
Load time 0.297 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.564 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.172 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.165 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.263 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.253 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.348 s0.238 s-0.110 s3.36 MiB3.45 MiB+ 92.86 KiB
/wp-admin/edit.php0.193 s0.191 s-0.002 s3.39 MiB3.48 MiB+ 91.52 KiB
/wp-admin/post-new.php0.860 s0.976 s+0.116 s6.14 MiB6.25 MiB+ 107.48 KiB
/wp-admin/upload.php0.504 s0.306 s-0.198 s3.24 MiB3.4 MiB+ 163.1 KiB
/wp-admin/options-writing.php0.217 s0.151 s-0.066 s3.24 MiB3.32 MiB+ 82.95 KiB
/wp-admin/media-new.php0.343 s0.202 s-0.141 s3.22 MiB3.38 MiB+ 163.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.183 s-0.015 s3.25 MiB3.41 MiB+ 164.18 KiB
/wp-admin/post-new.php?post_type=page0.673 s0.776 s+0.103 s6.14 MiB6.24 MiB+ 101.91 KiB
/wp-admin/options-discussion.php0.247 s0.316 s+0.069 s3.22 MiB3.31 MiB+ 99.59 KiB
/wp-admin/edit-comments.php0.218 s0.221 s+0.003 s3.26 MiB3.41 MiB+ 155.09 KiB
/0.429 s0.227 s-0.202 s3.35 MiB3.37 MiB+ 18.99 KiB
Average 0.385 s0.344 s-0.040 s3.8 MiB3.91 MiB+ 112.81 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,2481,18119
LESS7.7%223261
CSS7.0%202271
JavaScript6.1%176701
Markdown1.8%5201
Total 2,901 1,304 23

PHP Code Analysis | More results »

Lines of code 1,954
Total complexity 367
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 1 lines

[04-Feb-2022 14:30:52 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
See also: All tests for this plugin, How to Hide the "Optimize Google Fonts" Admin Menu