Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.63MB] [CPU: ▼22.20ms] Passed 4 tests
Server-side resources used by Limit Login Attempts Security
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.02 ▼5.59 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.63 ▼3.55 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.20 ▼2.75 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.66 | 37.24 ▼76.89 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.27 ▲0.46 |
Light Login Security /wp-admin/options-general.php?page=llas | 3.25 | 32.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Limit Login Attempts Security: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.32 ▼0.02 | 1.72 ▲0.11 | 44.41 ▲0.56 |
Dashboard /wp-admin | 2,196 ▲16 | 5.61 ▼0.03 | 93.79 ▲3.77 | 42.60 ▼4.76 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.07 | 39.88 ▼0.46 | 35.04 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.04 ▼0.10 | 676.22 ▲58.41 | 50.99 ▼2.98 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.10 ▲0.01 | 100.92 ▲2.23 | 45.46 ▼0.49 |
Light Login Security /wp-admin/options-general.php?page=llas | 925 | 2.04 | 28.24 | 29.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: login security, login lock, login attempts
limit-login-attempts-security/limit-login-attempts-security.php Passed 13 tests
Analyzing the main PHP file in "Limit Login Attempts Security" version 1.0.2
106 characters long description:
A lightweight version that support GeoLocation for login security. Use GeoLocation (Country/City setting).
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
Success! There were no dangerous files found in this plugin371 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 90 | 167 | 371 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 6 | 30.00% |
▷ Public methods | 14 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 30.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected