Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.69ms] Passed 4 tests
Server-side resources used by Double Knot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.70 ▲2.01 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.91 ▼3.51 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.66 ▼1.70 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.36 ▼7.56 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 41.06 ▲6.62 |
Double Knot Security /wp-admin/options-general.php?page=kdmdks | 3.10 | 24.20 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
kdmdks_settings |
db_upgraded |
Browser metrics Passed 4 tests
Double Knot: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.42 ▲0.07 | 1.81 ▼0.04 | 48.31 ▲8.35 |
Dashboard /wp-admin | 2,199 ▲24 | 5.63 ▼0.04 | 86.12 ▼19.40 | 38.03 ▼4.84 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.00 | 37.44 ▼0.41 | 34.09 ▼3.86 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.20 ▲4.54 | 671.97 ▲9.50 | 60.24 ▼1.24 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.17 ▼0.04 | 96.82 ▼3.59 | 44.20 ▼1.06 |
Double Knot Security /wp-admin/options-general.php?page=kdmdks | 936 | 2.00 | 27.34 | 37.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=kdmdks
- > Notice in wp-content/plugins/double-knot-security/double-knot-security.php+256
Undefined index: kdmdks-nonce
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/double-knot-security/double-knot-security.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: user enumeration, security, protect, log, iptables
double-knot-security/double-knot-security.php Passed 13 tests
The main PHP script in "Double Knot" version 1.0.0 is automatically included on every request by WordPress
45 characters long description:
Stop brute force login attempts by user name.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin527 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 73 | 166 | 390 |
CSS | 1 | 1 | 1 | 137 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
No PNG images were found in this plugin