Two Factor Authentication 1.14.11

Does Two Factor Authentication work with WordPress 6.1.1 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: 82.82 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.1.1
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=bd11678985
Aspect after-activation
HTTP status 200
Load time 0.244 s
Memory usage 3.56 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.379 s
Memory usage 3.5 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.154 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.216 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.314 s0.277 s-0.037 s3.54 MiB3.62 MiB+ 79.4 KiB
/wp-admin/edit.php0.184 s0.187 s+0.003 s3.57 MiB3.65 MiB+ 79.4 KiB
/wp-admin/post-new.php1.010 s1.148 s+0.138 s5.46 MiB5.54 MiB+ 83.54 KiB
/wp-admin/upload.php0.560 s0.287 s-0.273 s3.41 MiB3.55 MiB+ 142.23 KiB
/wp-admin/options-writing.php0.196 s0.141 s-0.055 s3.4 MiB3.46 MiB+ 60.7 KiB
/wp-admin/media-new.php0.228 s0.183 s-0.045 s3.39 MiB3.52 MiB+ 142.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.189 s+0.006 s3.48 MiB3.55 MiB+ 79.31 KiB
/wp-admin/post-new.php?post_type=page0.916 s1.006 s+0.090 s5.46 MiB5.53 MiB+ 79.09 KiB
/wp-admin/options-discussion.php0.217 s0.298 s+0.081 s3.38 MiB3.46 MiB+ 79.03 KiB
/wp-admin/edit-comments.php0.216 s0.218 s+0.002 s3.48 MiB3.56 MiB+ 78.26 KiB
/0.326 s0.214 s-0.112 s3.47 MiB3.47 MiB+ 7.64 KiB
Average 0.395 s0.377 s-0.018 s3.82 MiB3.9 MiB+ 82.82 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.4%2,11495414
JavaScript13.0%7551414
Markdown0.5%2801
CSS0.2%1011
JSON0.1%501
Total 5,807 2,522 30

PHP Code Analysis | More results »

Lines of code 1,756
Total complexity 581
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 135
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 3

PHP Error Log 1 lines

[16-Nov-2022 07:03:17 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