Two Factor Authentication 1.14.24

Does Two Factor Authentication work with WordPress 6.6.2 and PHP 8.1.12? 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: 91.27 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=1c806d7c66
Aspect after-activation
HTTP status 200
Load time 0.296 s
Memory usage 3.57 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.237 s
Memory usage 3.54 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.413 s
Memory usage 3.57 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.254 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.340 s-0.030 s3.47 MiB3.56 MiB+ 85.49 KiB
/wp-admin/edit.php0.221 s0.258 s+0.037 s3.54 MiB3.62 MiB+ 85.75 KiB
/wp-admin/post-new.php0.863 s0.698 s-0.165 s5.75 MiB5.84 MiB+ 89.64 KiB
/wp-admin/upload.php0.740 s0.478 s-0.262 s3.49 MiB3.56 MiB+ 68.34 KiB
/wp-admin/options-writing.php0.224 s0.225 s+0.001 s3.41 MiB3.54 MiB+ 131.15 KiB
/wp-admin/media-new.php0.270 s0.282 s+0.012 s3.4 MiB3.54 MiB+ 144.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.219 s+0.004 s3.47 MiB3.56 MiB+ 91.2 KiB
/wp-admin/post-new.php?post_type=page0.635 s1.311 s+0.676 s5.75 MiB5.83 MiB+ 85.23 KiB
/wp-admin/options-discussion.php0.245 s0.392 s+0.147 s3.41 MiB3.54 MiB+ 132.84 KiB
/wp-admin/edit-comments.php0.254 s0.272 s+0.018 s3.49 MiB3.56 MiB+ 68.34 KiB
/0.375 s0.266 s-0.109 s3.45 MiB3.47 MiB+ 21.52 KiB
Average 0.401 s0.431 s+0.030 s3.88 MiB3.96 MiB+ 91.27 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
PHP43.7%2,4221,11115
PO File39.7%2,2001,2407
JavaScript15.1%8401675
Markdown0.8%4702
JSON0.5%2701
CSS0.2%1011
Total 5,546 2,519 31

PHP Code Analysis | More results »

Lines of code 2,037
Total complexity 681
Median class complexity 17.0
Median method complexity 3.0
Most complex class Simba_Two_Factor_Authentication_1
Most complex function Simba_Two_Factor_Authentication_1::tfaVerifyCodeAndUser()
Classes 9
Methods 159
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

[24-Oct-2024 17:53:15 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