Two Factor Authentication 1.14.10

Does Two Factor Authentication work with WordPress 6.0.3 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: 77.86 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.3
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=862098c18a
Aspect after-activation
HTTP status 200
Load time 0.275 s
Memory usage 3.77 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.268 s
Memory usage 3.77 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.193 s
Memory usage 3.83 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.215 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.282 s-0.062 s3.73 MiB3.8 MiB+ 74.1 KiB
/wp-admin/edit.php0.196 s0.200 s+0.004 s3.76 MiB3.84 MiB+ 74.1 KiB
/wp-admin/post-new.php0.976 s1.183 s+0.207 s5.55 MiB5.64 MiB+ 82.29 KiB
/wp-admin/upload.php0.446 s0.335 s-0.111 s3.69 MiB3.76 MiB+ 72.97 KiB
/wp-admin/options-writing.php0.268 s0.148 s-0.120 s3.62 MiB3.74 MiB+ 116.88 KiB
/wp-admin/media-new.php0.300 s0.198 s-0.102 s3.67 MiB3.74 MiB+ 73.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.196 s+0.008 s3.69 MiB3.77 MiB+ 74.05 KiB
/wp-admin/post-new.php?post_type=page0.894 s1.056 s+0.162 s5.55 MiB5.62 MiB+ 73.88 KiB
/wp-admin/options-discussion.php0.210 s0.282 s+0.072 s3.6 MiB3.74 MiB+ 137.77 KiB
/wp-admin/edit-comments.php0.217 s0.211 s-0.006 s3.7 MiB3.77 MiB+ 72.99 KiB
/0.281 s0.217 s-0.064 s3.62 MiB3.62 MiB+ 4.25 KiB
Average 0.393 s0.392 s-0.001 s4.02 MiB4.09 MiB+ 77.86 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.

PO File
PHP
JavaScript
Language % Lines of code Comment lines Files
PO File49.9%2,8951,4269
PHP36.3%2,10794914
JavaScript13.0%7551414
Markdown0.5%2801
CSS0.2%1011
JSON0.1%501
Total 5,800 2,517 30

PHP Code Analysis | More results »

Lines of code 1,749
Total complexity 578
Median class complexity 18.5
Median method complexity 2.0
Most complex class Simba_Two_Factor_Authentication_1
Most complex function Simba_Two_Factor_Authentication_1::tfaVerifyCodeAndUser()
Classes 8
Methods 134
Functions 1

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

[18-Oct-2022 10:33:45 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