Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.22ms] Passed 4 tests
An overview of server-side resources used by Failed Login Firewall reporting
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.97 ▼2.57 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.77 ▲2.87 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.61 ▼7.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.90 ▼19.05 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.25 ▼0.08 |
Failed login firewall settings /wp-admin/options-general.php?page=failed_login_firewall_configuration | 3.22 | 28.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
failed_login_firewall_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Failed Login Firewall reporting
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.56 ▼0.97 | 1.64 ▼0.84 | 43.83 ▼1.95 |
Dashboard /wp-admin | 2,213 ▲25 | 4.82 ▼0.06 | 103.95 ▼1.74 | 37.61 ▼7.57 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.01 | 35.58 ▼7.60 | 35.28 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.34 ▲0.25 | 656.10 ▼3.38 | 51.89 ▼1.45 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.24 ▲0.05 | 97.80 ▼1.76 | 42.61 ▲1.50 |
Failed login firewall settings /wp-admin/options-general.php?page=failed_login_firewall_configuration | 802 | 2.02 | 23.59 | 23.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- failed_login_firewall_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/failed-login-firewall/class.failed_login_firewall.php
- > /wp-content/plugins/failed-login-firewall/failed-login-firewall.php
- > /wp-content/plugins/failed-login-firewall/class.failed_login_firewall.admin.php
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 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== failed-login-firewall ===
)
failed-login-firewall/failed-login-firewall.php 92% from 13 tests
This is the main PHP file of "Failed Login Firewall reporting" version 0.32, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 245 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected133 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 91 | 44 | 133 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 11 | |
▷ Static methods | 11 | 100.00% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin