Two Factor Authentication 1.10.3

Does Two Factor Authentication work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 56.96 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.062 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/two-factor-authentication/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=two-factor-authentication%2Ftwo-factor-login.php&plugin_status=all&paged=1&s&_wpnonce=5fbe61c7ac
Aspect after-activation
HTTP status 200
Load time 0.388 s
Memory usage 3.21 MiB
JS errors None
Resource errors None

Two Factor Auth

Page screenshot: Two Factor Auth
URL /wp-admin/admin.php?page=two-factor-auth-user
Aspect menu-item
HTTP status 200
Load time 0.387 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → Two Factor Authentication

Page screenshot: Settings → Two Factor Authentication
URL /wp-admin/options-general.php?page=two-factor-auth
Aspect menu-item
HTTP status 200
Load time 0.143 s
Memory usage 3.15 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.200 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.407 s+0.112 s3.08 MiB3.14 MiB+ 59.6 KiB
/wp-admin/edit.php0.184 s0.216 s+0.032 s3.11 MiB3.23 MiB+ 123.6 KiB
/wp-admin/post-new.php0.821 s1.258 s+0.437 s5.27 MiB5.33 MiB+ 64.41 KiB
/wp-admin/upload.php0.553 s0.316 s-0.237 s3.03 MiB3.09 MiB+ 58.47 KiB
/wp-admin/options-writing.php0.173 s0.146 s-0.027 s3.02 MiB3.07 MiB+ 42.45 KiB
/wp-admin/media-new.php0.257 s0.202 s-0.055 s3.01 MiB3.06 MiB+ 58.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.188 s+0.000 s3.04 MiB3.1 MiB+ 59.55 KiB
/wp-admin/post-new.php?post_type=page0.724 s1.017 s+0.293 s5.26 MiB5.31 MiB+ 60 KiB
/wp-admin/options-discussion.php0.236 s0.347 s+0.111 s3 MiB3.06 MiB+ 59.27 KiB
/wp-admin/edit-comments.php0.212 s0.271 s+0.059 s3.04 MiB3.1 MiB+ 58.49 KiB
/0.307 s0.259 s-0.048 s2.96 MiB2.94 MiB- 17.95 KiB
Average 0.359 s0.421 s+0.062 s3.44 MiB3.49 MiB+ 56.96 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP44.4%2,03964013
PO File40.5%1,8598795
JavaScript14.2%6541343
Markdown0.6%2801
CSS0.2%1011
Total 4,590 1,654 23

PHP Code Analysis | More results »

Lines of code 1,694
Total complexity 534
Median class complexity 15.0
Median method complexity 3.0
Most complex class Simba_Two_Factor_Authentication
Most complex function Simba_Two_Factor_Authentication::tfaVerifyCodeAndUser()
Classes 9
Methods 111
Functions 0

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

User Metadata wp_usermeta 2

PHP Error Log 1 lines

[21-Jul-2021 04:27:02 UTC] TFA: Beginning attempt to port private key encryption over to openssl
See also: All tests for this plugin, How to Hide Two Factor Authentication Admin Menus