Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.52ms] Passed 4 tests
A check of server-side resources used by Adaptive Login Action
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.25 ▼1.61 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.67 ▼7.22 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.63 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.19 ▼20.59 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.96 ▼0.65 |
Adaptive Login Action /wp-admin/options-general.php?page=adaptive-login-action/options.php | 3.24 | 32.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
adaptive-login-action_option_whitelist_ip |
adaptive-login-action_last_ok |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
adaptive-login-action_ip_127.0.0.1 |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Adaptive Login Action
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.73 ▲0.37 | 1.99 ▲0.04 | 36.51 ▼8.40 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.06 | 90.72 ▼6.22 | 40.62 ▼3.06 |
Posts /wp-admin/edit.php | 2,086 ▼17 | 2.00 ▲0.02 | 38.84 ▼8.33 | 39.56 ▲1.54 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.60 ▲0.56 | 631.24 ▲13.53 | 55.05 ▲5.89 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.19 ▲0.00 | 93.96 ▼9.91 | 40.41 ▼4.83 |
Adaptive Login Action /wp-admin/options-general.php?page=adaptive-login-action/options.php | 833 | 2.00 | 25.20 | 24.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/adaptive-login-action/adaptive-login-action.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/adaptive-login-action/options.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Invalid URI found ("wpgear.xyz/adaptive-login-action")
adaptive-login-action/adaptive-login-action.php Passed 13 tests
This is the main PHP file of "Adaptive Login Action" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
40 characters long description:
Compromise between Comfort and Paranoia.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin327 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 73 | 49 | 288 |
CSS | 2 | 2 | 8 | 39 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin