Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.47ms] Passed 4 tests
A check of server-side resources used by Limit Attempts by BestWebSoft - WordPress Anti-Bot and Security Plugin for Login and Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.85 ▼4.65 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.06 ▼4.86 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.65 ▲4.62 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 88.21 ▲1.26 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.83 ▲2.38 |
Server storage [IO: ▲5.15MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 135 new files
Database: 6 new tables, 8 new options
New tables |
---|
wp_lmtttmpts_denylist_email |
wp_lmtttmpts_denylist |
wp_lmtttmpts_email_list |
wp_lmtttmpts_failed_attempts |
wp_lmtttmpts_allowlist |
wp_lmtttmpts_all_failed_attempts |
New WordPress options |
---|
lmtttmpts_options |
can_compress_scripts |
bstwbsftwppdtplgns_options |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Limit Attempts by BestWebSoft - WordPress Anti-Bot and Security Plugin for Login and Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲129 | 13.23 ▼1.36 | 1.74 ▼0.28 | 29.07 ▼16.51 |
Dashboard /wp-admin | 2,261 ▲73 | 5.89 ▲0.97 | 103.11 ▼13.07 | 40.41 ▼3.19 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.05 ▲0.06 | 36.41 ▼0.36 | 35.00 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,559 ▲26 | 23.26 ▼0.09 | 661.53 ▼30.75 | 62.71 ▲6.26 |
Media Library /wp-admin/upload.php | 1,443 ▲52 | 4.21 ▲0.02 | 97.05 ▼1.46 | 41.51 ▼3.37 |
Settings /wp-admin/limit-attempts.php | 26 | 0.44 | 0.06 | 9.88 |
Logs /wp-admin/limit-attempts-log.php | 26 | 0.44 | 0.07 | 5.19 |
Deny & Allow List /wp-admin/limit-attempts-deny-and-allowlist.php | 26 | 0.44 | 0.08 | 7.57 |
Blocked /wp-admin/limit-attempts-blocked.php | 26 | 0.44 | 0.06 | 6.91 |
Statistics /wp-admin/limit-attempts-statistics.php | 26 | 0.44 | 0.13 | 8.20 |
Add New /wp-admin/lmtttmpts-create-new-item.php | 26 | 0.44 | 0.05 | 5.02 |
BWS Panel /wp-admin/limit-attempts.php?page=lmtttmpts-bws-panel | 26 | 0.44 | 0.11 | 6.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/limit-attempts/includes/statistics.php on line 9
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/limit-attempts/includes/blocked-email.php on line 8
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/limit-attempts/includes/blocked.php on line 8
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/limit-attempts/includes/blocked.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/limit-attempts/includes/allowlist.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/limit-attempts/limit-attempts.php:30
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/limit-attempts/includes/denylist.php on line 8
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/limit-attempts/includes/allowlist.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/limit-attempts/includes/blocked-email.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/limit-attempts/includes/class-lmtttmpts-settings.php:7
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/limit-attempts.php
- > Network (severe)
wp-admin/limit-attempts.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/limit-attempts-log.php
- > Network (severe)
wp-admin/limit-attempts-log.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/limit-attempts-deny-and-allowlist.php
- > Network (severe)
wp-admin/limit-attempts-deny-and-allowlist.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/limit-attempts-blocked.php
- > Network (severe)
wp-admin/limit-attempts-blocked.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/limit-attempts-statistics.php
- > Network (severe)
wp-admin/limit-attempts-statistics.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/lmtttmpts-create-new-item.php
- > Network (severe)
wp-admin/lmtttmpts-create-new-item.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/limit-attempts.php?page=lmtttmpts-bws-panel
- > Network (severe)
wp-admin/limit-attempts.php?page=lmtttmpts-bws-panel - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots do not have images: #1 (Message with allowed retries.), #2 (Error message when a user has been blocked.), #3 (Error message when a user has been added to deny list.), #4 (Plugin settings in WordPress admin panel.), #5 (Additional settings which allow to customize error messages in the form.), #6 (Plugin additional settings which allow to customize email messages.), #7 (Tab with Blocked IP addresses.), #8 (Tab with Blocked Email addresses.), #9 (Deny list with IP addresses.), #10 (Deny list with email addresses.), #11 (Add new Ip.), #12 (Allow list settings tab.), #13 (Tab with Statistics.)
limit-attempts/limit-attempts.php Passed 13 tests
The principal PHP file in "Limit Attempts by BestWebSoft - WordPress Anti-Bot and Security Plugin for Login and Forms" v. 1.2.9 is loaded by WordPress automatically on each request
84 characters long description:
Protect WordPress website against brute force attacks. Limit rate of login attempts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected23,583 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 11 | 4,998 | 9,009 | 9,452 |
PHP | 18 | 813 | 933 | 7,974 |
CSS | 9 | 190 | 273 | 5,560 |
JavaScript | 7 | 36 | 129 | 526 |
SVG | 1 | 0 | 0 | 71 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 70.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 224.00 |
Average method complexity | 9.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 90.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 9.21% |
Functions | 105 | |
▷ Named functions | 105 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
72 PNG files occupy 3.10MB with 1.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
bws_menu/icons/plugins/bike-rental.png | 6.86KB | 2.68KB | ▼ 60.89% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
screenshot-13.png | 87.53KB | 30.55KB | ▼ 65.10% |
bws_menu/css/jquery-ui-styles/1.11.4/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |