Auto Focus Keyword for SEO 1.0.1

Does Auto Focus Keyword for SEO work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 125.62 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.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/auto-focus-keyword-for-seo/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Auto Focus Keyword ‹ Test site — WordPress

Page screenshot: Auto Focus Keyword ‹ Test site — WordPress
URL /wp-admin/admin.php?page=auto-focus-keyword-for-seo
Requested URL /wp-admin/plugins.php?action=activate&plugin=auto-focus-keyword-for-seo%2Fauto-focus-keyword-for-seo.php&plugin_status=all&paged=1&s&_wpnonce=231632e1ec
Aspect after-activation
HTTP status 200
Load time 0.759 s
Memory usage 3.1 MiB
JS errors
[
    {
        "message": "ReferenceError: php_vars is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/auto-focus-keyword-for-seo/admin/assets/metabox.js?ver=1696423434:3:18)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Auto Focus Keyword

Page screenshot: Auto Focus Keyword
URL /wp-admin/admin.php?page=auto-focus-keyword-for-seo
Aspect menu-item
HTTP status 200
Load time 0.123 s
Memory usage N/A
JS errors None
Resource errors None

Auto Focus Keyword → Contact Us

Page screenshot: Auto Focus Keyword → Contact Us
URL /wp-admin/admin.php?page=auto-focus-keyword-for-seo-contact
Aspect menu-item
HTTP status 200
Load time 1.011 s
Memory usage 2.9 MiB
JS errors
[
    {
        "message": "ReferenceError: php_vars is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/auto-focus-keyword-for-seo/admin/assets/metabox.js?ver=1696423434:3:18)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Auto Focus Keyword → Upgrade  ➤

Page screenshot: Auto Focus Keyword → Upgrade  ➤
URL /wp-admin/admin.php?page=auto-focus-keyword-for-seo-pricing
Aspect menu-item
HTTP status 200
Load time 0.901 s
Memory usage 2.92 MiB
JS errors
[
    {
        "message": "ReferenceError: php_vars is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/auto-focus-keyword-for-seo/admin/assets/metabox.js?ver=1696423434:3:18)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)",
        "trace": null,
        "code": null
    }
]
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.228 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.357 s0.328 s-0.029 s2.82 MiB3.01 MiB+ 185.66 KiB
/wp-admin/edit.php0.219 s0.203 s-0.016 s2.85 MiB3.03 MiB+ 185.21 KiB
/wp-admin/post-new.php0.782 s0.766 s-0.016 s5.21 MiB5.36 MiB+ 147.3 KiB
/wp-admin/upload.php0.711 s0.459 s-0.252 s2.77 MiB2.87 MiB+ 105.02 KiB
/wp-admin/options-writing.php0.224 s0.213 s-0.011 s2.76 MiB2.86 MiB+ 96.53 KiB
/wp-admin/media-new.php0.293 s0.260 s-0.033 s2.74 MiB2.85 MiB+ 116.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.200 s-0.002 s2.76 MiB2.88 MiB+ 121.29 KiB
/wp-admin/post-new.php?post_type=page0.907 s0.620 s-0.287 s5.21 MiB5.35 MiB+ 142.89 KiB
/wp-admin/options-discussion.php0.207 s0.255 s+0.048 s2.75 MiB2.85 MiB+ 106.31 KiB
/wp-admin/edit-comments.php0.252 s0.224 s-0.028 s2.78 MiB2.88 MiB+ 103.98 KiB
/0.281 s0.207 s-0.074 s3.13 MiB3.2 MiB+ 70.77 KiB
Average 0.403 s0.340 s-0.064 s3.25 MiB3.38 MiB+ 125.62 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP52.1%1,1458818
CSS29.9%656352
JavaScript17.6%387283
JSON0.4%801
Total 2,196 151 24

PHP Code Analysis | More results »

Lines of code 710
Total complexity 114
Median class complexity 8.0
Median method complexity 1.0
Most complex class Pagup\AutoFocusKeyword\Controllers\KeywordController
Most complex function Pagup\AutoFocusKeyword\Controllers\SettingsController::page()
Classes 9
Methods 39
Functions 4

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 5

PHP Error Log 18 lines

[06-Oct-2023 02:05:02 UTC] PHP Fatal error:  Uncaught TypeError: usort(): Argument #1 ($array) must be of type array, bool given in /wp-content/plugins/auto-focus-keyword-for-seo/admin/controllers/SettingsController.php:71
Stack trace:
#0 /wp-content/plugins/auto-focus-keyword-for-seo/admin/controllers/SettingsController.php(71): usort()
#1 /wp-includes/class-wp-hook.php(310): Pagup\AutoFocusKeyword\Controllers\SettingsController->page()
#2 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin.php(259): do_action()
#5 {main}
  thrown in /wp-content/plugins/auto-focus-keyword-for-seo/admin/controllers/SettingsController.php on line 71
[06-Oct-2023 02:05:03 UTC] PHP Fatal error:  Uncaught TypeError: usort(): Argument #1 ($array) must be of type array, bool given in /wp-content/plugins/auto-focus-keyword-for-seo/admin/controllers/SettingsController.php:71
Stack trace:
#0 /wp-content/plugins/auto-focus-keyword-for-seo/admin/controllers/SettingsController.php(71): usort()
#1 /wp-includes/class-wp-hook.php(310): Pagup\AutoFocusKeyword\Controllers\SettingsController->page()
#2 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin.php(259): do_action()
#5 {main}
  thrown in /wp-content/plugins/auto-focus-keyword-for-seo/admin/controllers/SettingsController.php on line 71
See also: All tests for this plugin, How to Hide Auto Focus Keyword for SEO Admin Menus