Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.78ms] Passed 4 tests
An overview of server-side resources used by Limit Login Attempts Plus - WordPress Limit Login Attempts By Felix
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.45 ▲2.73 |
Dashboard /wp-admin | 3.34 ▲0.03 | 56.39 ▲0.87 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 53.52 ▲1.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.20 ▼4.41 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.16 ▼1.21 |
Server storage [IO: ▲0.27MB] [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: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Limit Login Attempts Plus - WordPress Limit Login Attempts By Felix
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.28 ▼0.28 | 1.98 ▼0.35 | 45.37 ▼0.88 |
Dashboard /wp-admin | 2,224 ▲47 | 5.56 ▼0.11 | 90.42 ▼7.88 | 69.93 ▲25.95 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.03 ▲0.02 | 36.37 ▲0.73 | 34.93 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.03 ▼0.63 | 784.03 ▲36.42 | 49.14 ▼1.53 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.13 ▼0.05 | 107.04 ▲6.38 | 77.60 ▲27.39 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/limit-login-attempts-plus/limit-login-attempts-plus.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Contributors: The plugin contributors field is not present
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
limit-login-attempts-plus/limit-login-attempts-plus.php Passed 13 tests
The primary PHP file in "Limit Login Attempts Plus - WordPress Limit Login Attempts By Felix" version 1.1.0 is used by WordPress to initiate all plugin functionality
86 characters long description:
Limit the rate of login attempts, including by way of cookies and for each IP address.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected3,794 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 1,030 | 1,315 | 2,695 |
PHP | 5 | 286 | 317 | 1,058 |
Sass | 1 | 1 | 0 | 24 |
CSS | 1 | 1 | 0 | 11 |
JavaScript | 1 | 3 | 0 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 76.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 219.00 |
Average method complexity | 5.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 3 | 6.00% |
▷ Public methods | 47 | 94.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin