Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.80MB] [CPU: ▼302.27ms] Passed 4 tests
This is a short check of server-side resources used by WP Login Timeout Settings
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 31.82 ▲9.97 |
Dashboard /wp-admin | 3.15 ▲0.10 | 42.13 ▲2.02 |
Posts /wp-admin/edit.php | 2.75 ▼0.36 | 17.18 ▼25.29 |
Add New Post /wp-admin/post-new.php | 2.74 ▼2.69 | 17.98 ▼1,164.71 |
Media Library /wp-admin/upload.php | 2.74 ▼0.26 | 14.97 ▼21.11 |
Login timeout /wp-admin/options-general.php?page=wp-login-timeout-settings/wp-login-timeout-settings.php | 2.75 | 15.53 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wp_login_timeout_options |
Browser metrics Passed 4 tests
WP Login Timeout Settings: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲72 | 15.92 ▲0.41 | 8.81 ▼1.38 | 46.65 ▲1.47 |
Dashboard /wp-admin | 2,935 ▲82 | 6.14 ▲0.33 | 145.33 ▲15.77 | 111.95 ▲10.28 |
Posts /wp-admin/edit.php | 272 ▼2,434 | 8.66 ▲5.99 | 76.80 ▲11.73 | 51.63 ▼33.74 |
Add New Post /wp-admin/post-new.php | 272 ▼1,381 | 8.57 ▼10.14 | 63.47 ▼313.48 | 48.01 ▼56.84 |
Media Library /wp-admin/upload.php | 272 ▼1,503 | 8.57 ▲3.56 | 66.47 ▼80.73 | 53.93 ▼58.59 |
Login timeout /wp-admin/options-general.php?page=wp-login-timeout-settings/wp-login-timeout-settings.php | 272 | 8.57 | 67.52 | 51.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-login-timeout-settings/wp-login-timeout-settings.php Passed 13 tests
Analyzing the main PHP file in "WP Login Timeout Settings" version 1.1.3
62 characters long description:
Configure WordPress Login Timeout through UI (User Interface).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected336 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 63 | 31 | 245 |
PO File | 1 | 20 | 23 | 88 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin