2FAS — Two Factor Authentication 3.0.2

Does "2FAS — Two Factor Authentication" work with WordPress 5.6.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 1.27 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.085 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/2fas/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=2fas%2Ftwofas.php&plugin_status=all&paged=1&s&_wpnonce=681ca770f2
Aspect after-activation
HTTP status 200
Load time 1.415 s
Memory usage 4.95 MiB
JS errors None
Resource errors None

2FAS

Page screenshot: 2FAS
URL /wp-admin/admin.php?page=twofas-submenu-dashboard&twofas-action=create-account
Requested URL /wp-admin/admin.php?page=twofas-submenu-dashboard
Aspect menu-item
HTTP status 200
Load time 0.454 s
Memory usage 4.2 MiB
JS errors None
Resource errors None

2FAS → Admin settings

Page screenshot: 2FAS → Admin settings
URL /wp-admin/admin.php?page=twofas-submenu-dashboard&twofas-action=create-account
Requested URL /wp-admin/admin.php?page=twofas-submenu-settings
Aspect menu-item
HTTP status 200
Load time 0.264 s
Memory usage 4.19 MiB
JS errors None
Resource errors None

2FAS → Personal settings

Page screenshot: 2FAS → Personal settings
URL /wp-admin/admin.php?page=twofas-submenu-dashboard&twofas-action=create-account
Requested URL /wp-admin/admin.php?page=twofas-submenu-channel
Aspect menu-item
HTTP status 200
Load time 0.323 s
Memory usage 4.19 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.336 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.269 s0.566 s+0.297 s2.79 MiB4.06 MiB+ 1.26 MiB
/wp-admin/edit.php0.179 s0.262 s+0.083 s2.84 MiB4.15 MiB+ 1.32 MiB
/wp-admin/post-new.php0.918 s1.022 s+0.104 s4.93 MiB6.25 MiB+ 1.32 MiB
/wp-admin/upload.php0.497 s0.613 s+0.116 s2.67 MiB3.99 MiB+ 1.33 MiB
/wp-admin/options-writing.php0.162 s0.292 s+0.130 s2.68 MiB3.98 MiB+ 1.3 MiB
/wp-admin/media-new.php0.222 s0.250 s+0.028 s2.65 MiB3.97 MiB+ 1.33 MiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.385 s+0.193 s2.68 MiB4.01 MiB+ 1.33 MiB
/wp-admin/post-new.php?post_type=page1.143 s1.065 s-0.078 s4.92 MiB6.24 MiB+ 1.31 MiB
/wp-admin/options-discussion.php0.291 s0.335 s+0.044 s2.65 MiB3.97 MiB+ 1.33 MiB
/wp-admin/edit-comments.php0.219 s0.275 s+0.056 s2.75 MiB4.01 MiB+ 1.26 MiB
/0.254 s0.221 s-0.033 s2.61 MiB3.51 MiB+ 918.47 KiB
Average 0.395 s0.481 s+0.085 s3.11 MiB4.38 MiB+ 1.27 MiB

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.

JavaScript
PHP
CSS
Sass
Language % Lines of code Comment lines Files
JavaScript48.8%21,87513,06621
PHP17.0%7,6324,321179
CSS15.6%7,00524
Sass8.7%3,9044036
PO File5.4%2,4351,0743
Twig4.5%2,013045
Total 44,864 18,503 288

PHP Code Analysis | More results »

Lines of code 7,304
Total complexity 1,261
Median class complexity 4.0
Median method complexity 1.0
Most complex class TwoFAS\TwoFAS\Storage\User_Storage
Most complex function TwoFAS\TwoFAS\Exceptions\Handler\Error_Handler::create_response()
Classes 167
Methods 742
Functions 3

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.

Database Tables 5

Options wp_options 3

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide 2FAS Classic — Two Factor Authentication Admin Menus