Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.03MB] [CPU: ▼41.98ms] Passed 4 tests
This is a short check of server-side resources used by Login Timeout Sessions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 36.07 ▼5.12 |
Dashboard /wp-admin | 2.91 ▼0.39 | 19.72 ▼32.85 |
Posts /wp-admin/edit.php | 2.91 ▼0.45 | 18.72 ▼35.29 |
Add New Post /wp-admin/post-new.php | 2.91 ▼2.98 | 16.01 ▼76.39 |
Media Library /wp-admin/upload.php | 2.91 ▼0.32 | 17.89 ▼23.40 |
Login Sessions /wp-admin/options-general.php?page=login_timeout_sessions | 2.91 | 18.03 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Login Timeout Sessions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,639 ▼122 | 14.45 ▲0.07 | 1.18 ▼0.77 | 42.80 ▲2.52 |
Dashboard /wp-admin | 240 ▼1,963 | 8.14 ▲3.26 | 79.14 ▼38.36 | 18.95 ▼28.09 |
Posts /wp-admin/edit.php | 240 ▼1,860 | 8.18 ▲6.18 | 72.73 ▲30.28 | 18.31 ▼21.29 |
Add New Post /wp-admin/post-new.php | 240 ▼1,294 | 7.96 ▼15.24 | 77.39 ▼563.50 | 17.70 ▼69.77 |
Media Library /wp-admin/upload.php | 240 ▼1,160 | 8.08 ▲3.87 | 69.18 ▼47.50 | 17.28 ▼32.45 |
Login Sessions /wp-admin/options-general.php?page=login_timeout_sessions | 240 | 7.94 | 68.87 | 17.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Plugin Install), #2 (Plugin Page), #3 (Settings)
login-timeout-sessions/login-timeout-sessions.php Passed 13 tests
The principal PHP file in "Login Timeout Sessions" v. 1.0.0 is loaded by WordPress automatically on each request
96 characters long description:
Allows you the ability to set login session / expiry Settings on user capacities by admin panel.
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
No dangerous file extensions were detected363 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 93 | 152 | 363 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.69MB with 0.47MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot-3.png | 186.06KB | 59.89KB | ▼ 67.81% |
Screenshot-1.png | 304.72KB | 92.09KB | ▼ 69.78% |
Screenshot-2.png | 215.17KB | 71.55KB | ▼ 66.75% |