Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼2.68ms] Passed 4 tests
An overview of server-side resources used by WP Login Attempts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 40.39 ▼8.91 |
Dashboard /wp-admin | 3.59 ▲0.28 | 56.42 ▲10.07 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 62.32 ▲16.10 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 87.57 ▼18.35 |
Media Library /wp-admin/upload.php | 3.43 ▲0.19 | 41.60 ▲6.46 |
WP Login Attempts /wp-admin/options-general.php?page=wp-login-attempts | 3.55 | 45.34 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Login Attempts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲243 | 16.05 ▲1.75 | 1.87 ▼0.26 | 42.04 ▼1.80 |
Dashboard /wp-admin | 2,367 ▲176 | 6.74 ▲1.66 | 138.70 ▲35.72 | 43.50 ▼0.40 |
Posts /wp-admin/edit.php | 2,285 ▲196 | 3.68 ▲1.65 | 57.34 ▲21.34 | 33.04 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.39 ▲0.13 | 649.45 ▼33.01 | 36.06 ▼15.81 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.55 ▲0.29 | 83.68 ▼31.84 | 42.14 ▼6.38 |
WP Login Attempts /wp-admin/options-general.php?page=wp-login-attempts | 1,666 | 3.41 | 62.23 | 38.10 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: hack, authentication, loginizer, login link, attempts...
wp-login-attempts/wp-login-attempts.php 92% from 13 tests
The entry point to "WP Login Attempts" version 5.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 431 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
Good job! No executable or dangerous file extensions detected1,841 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 300 | 146 | 1,389 |
CSS | 1 | 16 | 8 | 325 |
JavaScript | 5 | 26 | 31 | 127 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
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 | 60 | |
▷ Named functions | 57 | 95.00% |
▷ Anonymous functions | 3 | 5.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin