Two Factor Authentication 1.14.16

Does Two Factor Authentication work with WordPress 6.3 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: 65.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 version6.3
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=989c31f544
Aspect after-activation
HTTP status 200
Load time 0.272 s
Memory usage 2.84 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.364 s
Memory usage 2.83 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.155 s
Memory usage 2.91 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.189 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.536 s0.304 s-0.232 s2.82 MiB2.9 MiB+ 74.88 KiB
/wp-admin/edit.php0.249 s0.199 s-0.050 s2.85 MiB2.92 MiB+ 74.88 KiB
/wp-admin/post-new.php0.781 s1.173 s+0.392 s5.21 MiB5.29 MiB+ 79.03 KiB
/wp-admin/upload.php0.670 s0.516 s-0.154 s2.77 MiB2.82 MiB+ 57.48 KiB
/wp-admin/options-writing.php0.229 s0.197 s-0.032 s2.76 MiB2.81 MiB+ 49.44 KiB
/wp-admin/media-new.php0.331 s0.265 s-0.066 s2.74 MiB2.81 MiB+ 69.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.217 s+0.015 s2.76 MiB2.83 MiB+ 74.84 KiB
/wp-admin/post-new.php?post_type=page1.105 s0.792 s-0.313 s5.21 MiB5.28 MiB+ 74.62 KiB
/wp-admin/options-discussion.php0.261 s0.215 s-0.046 s2.75 MiB2.8 MiB+ 57.97 KiB
/wp-admin/edit-comments.php0.447 s0.411 s-0.036 s2.78 MiB2.84 MiB+ 57.51 KiB
/0.358 s0.275 s-0.083 s3.13 MiB3.18 MiB+ 53.94 KiB
Average 0.470 s0.415 s-0.055 s3.25 MiB3.32 MiB+ 65.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.

PO File
PHP
JavaScript
Language % Lines of code Comment lines Files
PO File47.1%2,8401,5839
PHP38.5%2,3231,05815
JavaScript13.4%8071644
Markdown0.8%4702
CSS0.2%1011
JSON0.1%501
Total 6,032 2,806 32

PHP Code Analysis | More results »

Lines of code 1,939
Total complexity 645
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 151
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

[10-Aug-2023 22:18:56 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