Two Factor Authentication 1.14.5

Does Two Factor Authentication work with WordPress 6.0.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: 76.94 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.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=55c7aaaf16
Aspect after-activation
HTTP status 200
Load time 0.292 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.216 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.203 s
Memory usage 3.82 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.241 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.374 s0.320 s-0.054 s3.72 MiB3.79 MiB+ 72.46 KiB
/wp-admin/edit.php0.196 s0.215 s+0.019 s3.76 MiB3.83 MiB+ 71.75 KiB
/wp-admin/post-new.php1.024 s1.069 s+0.045 s5.55 MiB5.63 MiB+ 80.65 KiB
/wp-admin/upload.php0.439 s0.402 s-0.037 s3.69 MiB3.76 MiB+ 71.33 KiB
/wp-admin/options-writing.php0.166 s0.163 s-0.003 s3.62 MiB3.73 MiB+ 115.23 KiB
/wp-admin/media-new.php0.506 s0.200 s-0.306 s3.66 MiB3.73 MiB+ 71.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.219 s+0.022 s3.69 MiB3.76 MiB+ 72.41 KiB
/wp-admin/post-new.php?post_type=page1.207 s0.972 s-0.235 s5.54 MiB5.61 MiB+ 72.23 KiB
/wp-admin/options-discussion.php0.231 s0.319 s+0.088 s3.6 MiB3.73 MiB+ 136.13 KiB
/wp-admin/edit-comments.php0.228 s0.227 s-0.001 s3.7 MiB3.77 MiB+ 71.35 KiB
/0.287 s0.231 s-0.056 s3.6 MiB3.62 MiB+ 11.26 KiB
Average 0.441 s0.394 s-0.047 s4.01 MiB4.09 MiB+ 76.94 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
PHP45.7%2,15385414
PO File39.4%1,8598795
JavaScript14.1%6631373
Markdown0.6%2801
CSS0.2%1011
Total 4,713 1,871 24

PHP Code Analysis | More results »

Lines of code 1,807
Total complexity 559
Median class complexity 18.5
Median method complexity 3.0
Most complex class Simba_Two_Factor_Authentication
Most complex function Simba_Two_Factor_Authentication::tfaVerifyCodeAndUser()
Classes 8
Methods 130
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

[01-Sep-2022 12:03:29 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