| Conditions | 7 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 56 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function isActive() |
||
| 35 | { |
||
| 36 | if ( |
||
| 37 | strlen($this->getMerchant()) > 5 |
||
| 38 | && strlen($this->getTerminal()) > 5 |
||
| 39 | && strlen($this->getKey()) > 5 |
||
| 40 | && strlen($this->getMerchantName()) > 5 |
||
| 41 | && strlen($this->getMerchantEmail()) > 5 |
||
| 42 | && strlen($this->getMerchantUrl()) > 5 |
||
| 43 | ) { |
||
| 44 | return true; |
||
| 45 | } |
||
| 46 | |||
| 47 | return false; |
||
| 48 | } |
||
| 50 |