Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.71ms] Passed 4 tests
This is a short check of server-side resources used by WP Fail2Ban Redux
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.48 ▲1.34 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.28 ▼13.07 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.15 ▼10.03 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.07 ▼11.94 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.71 ▲0.20 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Fail2Ban Redux
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.28 ▼0.08 | 1.75 ▲0.14 | 43.31 ▼0.47 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▲0.01 | 97.74 ▲6.89 | 42.00 ▲2.44 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 33.04 ▼6.55 | 34.05 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.04 ▼0.14 | 677.94 ▲11.64 | 60.27 ▼8.06 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.19 ▲0.00 | 97.26 ▲0.41 | 42.10 ▼3.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 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 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: login, fail2ban, security, syslog
wp-fail2ban-redux/wp-fail2ban-redux.php Passed 13 tests
This is the main PHP file of "WP Fail2Ban Redux" version 0.9.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
91 characters long description:
Records various WordPress events to your server's system log for integration with Fail2Ban.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin456 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 113 | 550 | 245 |
Markdown | 2 | 67 | 0 | 211 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 5 | 20.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 1 | 4.00% |
▷ Private methods | 1 | 4.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin