| lib/Wireguard/WGmeta/Cli/Router.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 16 | 43.7 |
| line | true | false | branch |
|---|---|---|---|
| 62 | 0 | 5 | unless (defined $cmd) |
| 66 | 0 | 5 | if (/^show$/) |
| 70 | 3 | 2 | if (/^set$/) |
| 74 | 1 | 1 | if (/^enable$/) |
| 78 | 1 | 0 | if (/^disable$/) |
| 82 | 0 | 0 | if (/^addpeer$/) |
| 86 | 0 | 0 | if (/^removepeer$/) |
| 90 | 0 | 0 | if (/^apply$/) |