Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.76ms] Passed 4 tests
Server-side resources used by FluentAuth - The Ultimate Authorization & Security Plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.52 ▼7.02 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.54 ▼5.43 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.63 ▼1.97 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 87.25 ▼12.60 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.89 ▲4.04 |
Dashboard /wp-admin/admin.php?page=fluent-auth | 3.28 | 30.50 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 70 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_fls_auth_logs |
wp_fls_login_hashes |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for FluentAuth - The Ultimate Authorization & Security Plugin for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲102 | 14.38 ▼0.20 | 1.77 ▼0.06 | 41.10 ▼4.83 |
Dashboard /wp-admin | 2,269 ▲92 | 5.60 ▲0.05 | 97.02 ▼2.80 | 44.91 ▼0.52 |
Posts /wp-admin/edit.php | 2,175 ▲75 | 2.06 ▼0.12 | 36.29 ▼1.70 | 36.39 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,588 ▲43 | 23.31 ▲0.28 | 687.57 ▲29.38 | 59.88 ▼2.06 |
Media Library /wp-admin/upload.php | 1,471 ▲74 | 4.23 ▼0.10 | 97.07 ▼9.04 | 45.47 ▲0.61 |
Logs /wp-admin/admin.php?page=fluent-auth#/logs | 1,379 | 5.00 | 131.46 | 72.35 |
Login Redirects /wp-admin/admin.php?page=fluent-auth#/login-redirects | 1,106 | 3.95 | 133.86 | 32.68 |
Security Settings /wp-admin/admin.php?page=fluent-auth#/settings | 1,758 | 6.30 | 48.75 | 37.11 |
Dashboard /wp-admin/admin.php?page=fluent-auth | 1,458 | 5.82 | 50.56 | 34.39 |
Social Login /wp-admin/admin.php?page=fluent-auth#/social-login-settings | 1,013 | 3.86 | 44.59 | 28.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_fls_auth_logs
- wp_fls_login_hashes
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/fluent-security/app/Views/magic_login/line_block.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fluent-security/app/Views/magic_login/header.php:100
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/fluent-security/app/Views/magic_login/line_block.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/fluent-security/app/Views/magic_login/call_to_action.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fluent-security/app/Views/notification.php:100
- > PHP Fatal error
Uncaught Error: Class 'FluentAuthDb\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/fluent-security/app/libs/wpfluent/src/QueryBuilder/Transaction.php:5
- > PHP Fatal error
Uncaught Error: Class 'FluentAuth\\App\\Hooks\\Handlers\\AdminMenuHandler' not found in wp-content/plugins/fluent-security/app/Hooks/hooks.php:6
- > PHP Fatal error
Uncaught Error: Class 'FluentAuthDb\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/fluent-security/app/libs/wpfluent/src/QueryBuilder/NestedCriteria.php:3
- > PHP Fatal error
Uncaught Error: Class 'FluentAuthDb\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/fluent-security/app/libs/wpfluent/src/QueryBuilder/JoinBuilder.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/fluent-security/app/Views/magic_login/footer.php:16
- > PHP Notice
Undefined variable: lines in wp-content/plugins/fluent-security/app/Views/magic_login/line_block.php on line 1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=fluent-auth#/settings
- > Console-api (severe) in unknown
/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0 0:190569 TypeError: Cannot read properties of undefined (reading 'digest_summary')at /wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:638688at l (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:193436)at ln (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:209459)at /wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:329934at l (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:193436)at Tr (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:236653)at yr (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:234851)at _r (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:235317)at pr (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:234154)at Proxy. (/wp-content/plugins/fluent-security/dist/admin/app.js?ver=1.0:1:329859)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: xml-rpc, login redirects, login limit, login logs, social logins
fluent-security/fluent-security.php Passed 13 tests
This is the main PHP file of "FluentAuth - The Ultimate Authorization & Security Plugin for WordPress" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
74 characters long description:
Super Simple Login / Signup Security and Social Login Plugin for WordPress
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected6,439 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 1,602 | 1,508 | 6,435 |
JavaScript | 3 | 0 | 0 | 3 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 296)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 29.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 340.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 296.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 1 | 2.86% |
▷ Concrete classes | 34 | 97.14% |
▷ Final classes | 0 | 0.00% |
Methods | 296 | |
▷ Static methods | 66 | 22.30% |
▷ Public methods | 228 | 77.03% |
▷ Protected methods | 19 | 6.42% |
▷ Private methods | 49 | 16.55% |
Functions | 18 | |
▷ Named functions | 1 | 5.56% |
▷ Anonymous functions | 17 | 94.44% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/success.png | 1.56KB | 1.75KB | 0.00% |
dist/images/logo.png | 9.27KB | 4.50KB | ▼ 51.47% |