| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 5 | ||
| Bugs | 1 | Features | 0 |
| 1 | function fillPassword(user, password) { |
||
| 2 | if(user){ |
||
| 3 | document.querySelectorAll('input[type=text], input[type=email]').forEach(function(x){x.value=user;}); |
||
| 4 | } |
||
| 5 | if(password) { |
||
| 6 | document.querySelectorAll('input[type=password]').forEach(function(x){ x.value=password;}); |
||
| 7 | } |
||
| 8 | } |
||
| 9 |