2FAS Classic — Two Factor Authentication 3.0.4

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

Environment
WordPress version5.7.2
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=adefe53ffd
Aspect after-activation
HTTP status 200
Load time 1.389 s
Memory usage 4.97 MiB
JS errors None
Resource errors None

2FAS Classic

Page screenshot: 2FAS Classic
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.482 s
Memory usage 4.29 MiB
JS errors None
Resource errors None

2FAS Classic → Admin settings

Page screenshot: 2FAS Classic → 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.289 s
Memory usage 4.28 MiB
JS errors None
Resource errors None

2FAS Classic → Personal settings

Page screenshot: 2FAS Classic → 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.267 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.363 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.273 s0.438 s+0.165 s2.82 MiB4.15 MiB+ 1.33 MiB
/wp-admin/edit.php0.192 s0.280 s+0.088 s2.86 MiB4.18 MiB+ 1.32 MiB
/wp-admin/post-new.php0.933 s1.223 s+0.290 s5.02 MiB6.34 MiB+ 1.32 MiB
/wp-admin/upload.php0.477 s0.641 s+0.164 s2.7 MiB4.02 MiB+ 1.33 MiB
/wp-admin/options-writing.php0.279 s0.253 s-0.026 s2.71 MiB4.01 MiB+ 1.3 MiB
/wp-admin/media-new.php0.236 s0.296 s+0.060 s2.67 MiB4 MiB+ 1.33 MiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.384 s+0.187 s2.77 MiB4.04 MiB+ 1.27 MiB
/wp-admin/post-new.php?post_type=page1.330 s1.224 s-0.106 s5.01 MiB6.32 MiB+ 1.31 MiB
/wp-admin/options-discussion.php0.338 s0.420 s+0.082 s2.67 MiB4 MiB+ 1.33 MiB
/wp-admin/edit-comments.php0.237 s0.393 s+0.156 s2.78 MiB4.04 MiB+ 1.26 MiB
/0.272 s0.233 s-0.039 s2.65 MiB3.55 MiB+ 914.73 KiB
Average 0.433 s0.526 s+0.093 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