2FAS Classic — Two Factor Authentication 3.0.5

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

Environment
WordPress version5.8
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=ced3199142
Aspect after-activation
HTTP status 200
Load time 1.296 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.466 s
Memory usage 4.53 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.267 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.308 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.234 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.355 s0.459 s+0.104 s3.08 MiB4.39 MiB+ 1.3 MiB
/wp-admin/edit.php0.192 s0.271 s+0.079 s3.11 MiB4.42 MiB+ 1.3 MiB
/wp-admin/post-new.php1.106 s1.293 s+0.187 s5.27 MiB6.59 MiB+ 1.32 MiB
/wp-admin/upload.php0.633 s0.622 s-0.011 s3.03 MiB4.27 MiB+ 1.24 MiB
/wp-admin/options-writing.php0.190 s0.307 s+0.117 s3.02 MiB4.25 MiB+ 1.22 MiB
/wp-admin/media-new.php0.281 s0.269 s-0.012 s3.01 MiB4.31 MiB+ 1.3 MiB
/wp-admin/edit-tags.php?taxonomy=category0.236 s0.401 s+0.165 s3.04 MiB4.34 MiB+ 1.3 MiB
/wp-admin/post-new.php?post_type=page0.981 s1.031 s+0.050 s5.26 MiB6.57 MiB+ 1.31 MiB
/wp-admin/options-discussion.php0.261 s0.443 s+0.182 s3 MiB4.24 MiB+ 1.24 MiB
/wp-admin/edit-comments.php0.226 s0.353 s+0.127 s3.04 MiB4.34 MiB+ 1.3 MiB
/0.280 s0.245 s-0.035 s2.91 MiB3.81 MiB+ 916.02 KiB
Average 0.431 s0.518 s+0.087 s3.43 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,97113,06621
PHP17.2%7,8314,367181
CSS15.7%7,13324
Sass8.7%3,9694036
PO File5.5%2,5251,1863
Twig4.5%2,068046
Total 45,497 18,661 291

PHP Code Analysis | More results »

Lines of code 7,471
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