2FAS — Two Factor Authentication 3.0.3

Does "2FAS — Two Factor Authentication" work with WordPress 5.7 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.091 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7
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=fea48262ec
Aspect after-activation
HTTP status 200
Load time 1.817 s
Memory usage 4.97 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.409 s
Memory usage 4.29 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.307 s
Memory usage 4.28 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.350 s
Memory usage 4.28 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.228 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.247 s0.578 s+0.331 s2.82 MiB4.15 MiB+ 1.33 MiB
/wp-admin/edit.php0.178 s0.268 s+0.090 s2.86 MiB4.18 MiB+ 1.32 MiB
/wp-admin/post-new.php1.246 s1.080 s-0.166 s5.02 MiB6.34 MiB+ 1.32 MiB
/wp-admin/upload.php0.478 s0.685 s+0.207 s2.7 MiB4.02 MiB+ 1.33 MiB
/wp-admin/options-writing.php0.251 s0.271 s+0.020 s2.71 MiB4.01 MiB+ 1.3 MiB
/wp-admin/media-new.php0.203 s0.252 s+0.049 s2.67 MiB4 MiB+ 1.33 MiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.327 s+0.151 s2.77 MiB4.04 MiB+ 1.27 MiB
/wp-admin/post-new.php?post_type=page1.079 s1.188 s+0.109 s5.01 MiB6.32 MiB+ 1.31 MiB
/wp-admin/options-discussion.php0.281 s0.446 s+0.165 s2.67 MiB4 MiB+ 1.33 MiB
/wp-admin/edit-comments.php0.231 s0.306 s+0.075 s2.78 MiB4.04 MiB+ 1.26 MiB
/0.250 s0.220 s-0.030 s2.65 MiB3.55 MiB+ 914.73 KiB
Average 0.420 s0.511 s+0.091 s3.15 MiB4.42 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.6%21,89013,06621
PHP16.9%7,6354,327179
CSS15.8%7,11124
Sass8.8%3,9504036
PO File5.4%2,4351,0743
Twig4.5%2,025045
Total 45,046 18,509 288

PHP Code Analysis | More results »

Lines of code 7,307
Total complexity 1,262
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 743
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