Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.07ms] Passed 4 tests
This is a short check of server-side resources used by Prevent Brute Force Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 37.35 ▼2.37 |
Dashboard /wp-admin | 3.45 ▲0.14 | 48.82 ▼0.09 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 49.75 ▲0.75 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 97.84 ▼2.56 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.27 ▲2.80 |
Prevent Brute Force /wp-admin/options-general.php?page=kdbm-pbfl-settings | 3.33 | 32.80 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_kdbm_pbfl_lockdowns |
wp_kdbm_pbfl_login_fails |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Prevent Brute Force Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.52 ▼1.16 | 1.59 ▼0.37 | 38.27 ▼9.30 |
Dashboard /wp-admin | 2,210 ▲25 | 5.86 ▼0.04 | 106.56 ▲0.36 | 41.32 ▼0.75 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 39.19 ▲4.37 | 34.25 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,523 ▼11 | 23.23 ▲0.04 | 638.07 ▼26.49 | 60.14 ▲11.27 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.22 ▲0.04 | 97.19 ▼2.52 | 45.48 ▲0.37 |
Prevent Brute Force /wp-admin/options-general.php?page=kdbm-pbfl-settings | 829 | 2.03 | 22.66 | 26.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_kdbm_pbfl_lockdowns
- wp_kdbm_pbfl_login_fails
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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
Good news, no errors were detected
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
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ervan-limit-login/includes/notification.php
- > /wp-content/plugins/ervan-limit-login/includes/forms/unlock-request.php
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 93% from 29 tests
readme.txt Passed 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
6 plugin tags: brute force, prevent brute force, login, prevent brute force login, lockdown...
ervan-limit-login/prevent-brute-force-login.php 85% from 13 tests
The entry point to "Prevent Brute Force Login" version 1.1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("ervan-limit-login.php" instead of "prevent-brute-force-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,260 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 273 | 595 | 1,068 |
PO File | 1 | 29 | 30 | 92 |
XML | 1 | 12 | 6 | 55 |
Markdown | 1 | 12 | 0 | 37 |
JSON | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 16.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 62 | |
▷ Static methods | 13 | 20.97% |
▷ Public methods | 57 | 91.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.06% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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