Two Factor Authentication 1.9.4

Does Two Factor Authentication work with WordPress 5.7.2 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: 54.84 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.7.2
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=63464e9f56
Aspect after-activation
HTTP status 200
Load time 0.377 s
Memory usage 2.97 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.226 s
Memory usage 2.8 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.160 s
Memory usage 2.84 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 2.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.254 s0.270 s+0.016 s2.82 MiB2.88 MiB+ 61.81 KiB
/wp-admin/edit.php0.179 s0.192 s+0.013 s2.86 MiB2.92 MiB+ 61.81 KiB
/wp-admin/post-new.php0.893 s0.978 s+0.085 s5.02 MiB5.1 MiB+ 74.94 KiB
/wp-admin/upload.php0.463 s0.271 s-0.192 s2.7 MiB2.75 MiB+ 56.68 KiB
/wp-admin/options-writing.php0.265 s0.249 s-0.016 s2.71 MiB2.73 MiB+ 24.66 KiB
/wp-admin/media-new.php0.219 s0.216 s-0.003 s2.67 MiB2.73 MiB+ 56.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.188 s-0.004 s2.77 MiB2.83 MiB+ 57.76 KiB
/wp-admin/post-new.php?post_type=page1.203 s0.706 s-0.497 s5.01 MiB5.07 MiB+ 66.52 KiB
/wp-admin/options-discussion.php0.337 s0.290 s-0.047 s2.67 MiB2.73 MiB+ 57.48 KiB
/wp-admin/edit-comments.php0.238 s0.229 s-0.009 s2.78 MiB2.83 MiB+ 56.7 KiB
/0.273 s0.221 s-0.052 s2.65 MiB2.68 MiB+ 28.01 KiB
Average 0.411 s0.346 s-0.064 s3.15 MiB3.21 MiB+ 54.84 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
PHP47.1%2,14758211
PO File37.0%1,6877945
JavaScript15.0%6851413
Markdown0.6%2801
CSS0.2%1011
Total 4,557 1,518 21

PHP Code Analysis | More results »

Lines of code 1,821
Total complexity 539
Median class complexity 14.0
Median method complexity 3.0
Most complex class Simba_Two_Factor_Authentication
Most complex function Simba_Two_Factor_Authentication::tfaVerifyCodeAndUser()
Classes 7
Methods 112
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

[25-May-2021 16:42: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