Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼2.95ms] Passed 4 tests
An overview of server-side resources used by Login Security Captcha
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 35.76 ▼2.90 |
Dashboard /wp-admin | 3.55 ▲0.24 | 48.49 ▼2.79 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 48.49 ▲0.56 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 88.97 ▼6.65 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 38.05 ▲4.93 |
Login Security /wp-admin/options-general.php?page=stlsr_settings | 3.58 | 38.49 |
Login Security Captcha /wp-admin/admin.php?page=stlsr_settings | 3.58 | 35.76 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Login Security Captcha
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲55 | 14.68 ▲0.40 | 1.55 ▼0.08 | 37.76 ▼5.53 |
Dashboard /wp-admin | 2,202 ▲24 | 5.62 ▼0.06 | 94.40 ▼12.76 | 41.43 ▼3.51 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 2.00 ▼0.13 | 42.31 ▲3.98 | 37.92 ▲4.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.15 ▲0.32 | 660.86 ▲16.91 | 60.06 ▲11.95 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.27 ▲0.03 | 98.43 ▼2.94 | 40.16 ▼4.84 |
Login Security /wp-admin/options-general.php?page=stlsr_settings | 1,674 | 1.74 | 29.14 | 47.19 |
Login Security Captcha /wp-admin/admin.php?page=stlsr_settings | 1,668 | 1.91 | 28.10 | 38.14 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% 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 require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
login-security-recaptcha/login-security-recaptcha.php Passed 13 tests
"Login Security Captcha" version 1.5.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
139 characters long description:
Secure WordPress login, registration, and comment form with Google reCAPTCHA or Cloudflare Turnstile. Prevent Brute-force attacks and more.
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
Everything looks great! No dangerous files found in this plugin3,107 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 331 | 22 | 1,828 |
CSS | 4 | 144 | 10 | 794 |
PO File | 1 | 113 | 145 | 266 |
JavaScript | 1 | 15 | 3 | 219 |
PHP code Passed 2 tests
An short overview of 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.58 |
Average class complexity | 38.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 5.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 61 | |
▷ Static methods | 58 | 95.08% |
▷ Public methods | 58 | 95.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.92% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/Login-Security-Pro.png | 20.41KB | 18.95KB | ▼ 7.16% |