2FAS Classic — Two Factor Authentication 3.1.0

Does "2FAS Classic — Two Factor Authentication" work with WordPress 5.8.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.25 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.8.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=0cadcaee97
Aspect after-activation
HTTP status 200
Load time 1.060 s
Memory usage 5.22 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.459 s
Memory usage 4.54 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.279 s
Memory usage 4.53 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.278 s
Memory usage 4.53 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.217 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.312 s0.389 s+0.077 s3.08 MiB4.39 MiB+ 1.3 MiB
/wp-admin/edit.php0.192 s0.249 s+0.057 s3.11 MiB4.42 MiB+ 1.31 MiB
/wp-admin/post-new.php1.129 s0.912 s-0.217 s5.27 MiB6.59 MiB+ 1.32 MiB
/wp-admin/upload.php0.357 s0.612 s+0.255 s3.03 MiB4.27 MiB+ 1.24 MiB
/wp-admin/options-writing.php0.141 s0.238 s+0.097 s3.02 MiB4.25 MiB+ 1.22 MiB
/wp-admin/media-new.php0.342 s0.331 s-0.011 s3.01 MiB4.31 MiB+ 1.3 MiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.249 s+0.063 s3.04 MiB4.34 MiB+ 1.3 MiB
/wp-admin/post-new.php?post_type=page0.602 s0.673 s+0.071 s5.26 MiB6.57 MiB+ 1.32 MiB
/wp-admin/options-discussion.php0.247 s0.303 s+0.056 s3 MiB4.24 MiB+ 1.24 MiB
/wp-admin/edit-comments.php0.210 s0.262 s+0.052 s3.04 MiB4.34 MiB+ 1.3 MiB
/0.258 s0.206 s-0.052 s2.96 MiB3.81 MiB+ 870.07 KiB
Average 0.361 s0.402 s+0.041 s3.44 MiB4.68 MiB+ 1.25 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.3%21,97913,06621
PHP17.3%7,8574,359181
CSS15.7%7,13324
Sass8.7%3,9694036
PO File5.5%2,5251,1863
Twig4.6%2,081047
Total 45,544 18,653 292

PHP Code Analysis | More results »

Lines of code 7,497
Total complexity 1,286
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 169
Methods 758
Functions 4

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 4

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