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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.10ms] Passed 4 tests
This is a short check of server-side resources used by Inactive User Deleter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.09 ▼9.75 |
Dashboard /wp-admin | 3.41 ▲0.11 | 51.24 ▲3.97 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.25 ▼0.06 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 87.22 ▼29.73 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.73 ▲3.13 |
Inactive users /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php | 3.49 | 33.02 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Inactive User Deleter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.80 ▲0.43 | 1.76 ▼0.07 | 46.13 ▲7.21 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲0.98 | 110.71 ▲9.49 | 44.52 ▲1.37 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.18 | 34.61 ▼6.04 | 33.82 ▼5.35 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 18.41 ▲0.34 | 600.79 ▼25.24 | 61.12 ▲9.12 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.21 ▼0.01 | 96.83 ▼6.16 | 44.55 ▼3.83 |
Inactive users /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php | 1,507 | 1.77 | 31.54 | 36.63 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+24
Undefined index: f_approve
- 2 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+60
Undefined index: has_recs
- 2 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+98
Undefined index: f_usereverlogin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+120
Undefined index: f_userdisabled
- 7 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+166
Undefined index: f_lastlogin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+203
Undefined index: user_role
- 6 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+220
Undefined index: max_size_output
- 9 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=inactive-user-deleter/inactive-user-deleter.php
- > Notice in wp-content/plugins/inactive-user-deleter/templates/user_filter.tpl.php+242
Undefined index: sort_order
SRP 50% 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
The following issues need your attention
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/inactive-user-deleter/templates/inform-form.tpl.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/inactive-user-deleter/templates/header.tpl.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/inactive-user-deleter/templates/about-page.tpl.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function inactive_user_deleter\\is_admin() in wp-content/plugins/inactive-user-deleter/inactive-user-deleter.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/inactive-user-deleter/templates/nav-menu.tpl.php:3
- > PHP Notice
Undefined variable: OP in wp-content/plugins/inactive-user-deleter/templates/inform-form.tpl.php on line 4
- > PHP Notice
Undefined variable: version in wp-content/plugins/inactive-user-deleter/templates/about-page.tpl.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/inactive-user-deleter/templates/users_list_html.tpl.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/inactive-user-deleter/templates/inform-form.tpl.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/inactive-user-deleter/templates/users_list_csv.tpl.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
inactive-user-deleter/inactive-user-deleter.php 92% from 13 tests
"Inactive User Deleter" version 1.63's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 210 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,486 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 205 | 88 | 1,430 |
CSS | 1 | 6 | 0 | 56 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 72.50 |
▷ Minimum class complexity | 69.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 7.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 11 | 47.83% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin