Two Factor Authentication 1.12.1

Does Two Factor Authentication work with WordPress 5.8.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: 62.46 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 version5.8.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=178345bb61
Aspect after-activation
HTTP status 200
Load time 0.245 s
Memory usage 3.1 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.186 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.198 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.242 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.292 s0.373 s+0.081 s3.08 MiB3.14 MiB+ 60.8 KiB
/wp-admin/edit.php0.189 s0.177 s-0.012 s3.11 MiB3.23 MiB+ 124.8 KiB
/wp-admin/post-new.php0.856 s0.894 s+0.038 s5.27 MiB5.33 MiB+ 65.62 KiB
/wp-admin/upload.php0.537 s0.292 s-0.245 s3.03 MiB3.09 MiB+ 59.67 KiB
/wp-admin/options-writing.php0.144 s0.134 s-0.010 s3.02 MiB3.07 MiB+ 43.65 KiB
/wp-admin/media-new.php0.417 s0.238 s-0.179 s3.01 MiB3.07 MiB+ 59.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.171 s-0.005 s3.04 MiB3.1 MiB+ 60.75 KiB
/wp-admin/post-new.php?post_type=page0.590 s0.603 s+0.013 s5.26 MiB5.32 MiB+ 61.2 KiB
/wp-admin/options-discussion.php0.236 s0.319 s+0.083 s3 MiB3.06 MiB+ 60.47 KiB
/wp-admin/edit-comments.php0.200 s0.215 s+0.015 s3.04 MiB3.1 MiB+ 59.7 KiB
/0.271 s0.200 s-0.071 s2.91 MiB2.94 MiB+ 30.58 KiB
Average 0.355 s0.329 s-0.027 s3.43 MiB3.5 MiB+ 62.46 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%1,98565112
PO File40.9%1,8598795
JavaScript14.6%6631373
Markdown0.6%2801
CSS0.2%1011
Total 4,545 1,668 22

PHP Code Analysis | More results »

Lines of code 1,668
Total complexity 523
Median class complexity 19.5
Median method complexity 3.0
Most complex class Simba_Two_Factor_Authentication
Most complex function Simba_Two_Factor_Authentication::tfaVerifyCodeAndUser()
Classes 8
Methods 109
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

[20-Oct-2021 10:46:01 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