Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.54ms] Passed 4 tests
Server-side resources used by Auto Logout Extended
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.87 ▼2.19 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.74 ▼4.84 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 49.28 ▲2.52 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.71 ▼3.27 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.09 ▲0.15 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Auto Logout Extended
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.28 ▼0.01 | 2.33 ▲0.04 | 43.53 ▼2.07 |
Dashboard /wp-admin | 2,212 ▲32 | 5.65 ▼0.05 | 94.13 ▲4.23 | 39.47 ▼2.36 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.00 ▲0.04 | 39.94 ▼2.43 | 35.19 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,543 ▲8 | 23.55 ▲5.41 | 651.09 ▲19.84 | 54.25 ▼13.90 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.27 ▼0.03 | 104.07 ▲1.38 | 46.65 ▲1.22 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/auto-logout-extended/template/success.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: exclude_users in wp-content/plugins/auto-logout-extended/template/al_ext_user.php on line 1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/auto-logout-extended/template/al_ext_user.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in auto-logout-extended/assets to your readme.txt
auto-logout-extended/auto-logout-extended.php 92% from 13 tests
The main file in "Auto Logout Extended" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 303 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin424 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 57 | 67 | 351 |
CSS | 1 | 10 | 0 | 38 |
JavaScript | 1 | 8 | 0 | 35 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 15 | 65.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 34.78% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin