Percentage | Lines | ||
---|---|---|---|
ExpensesPackage |
|
42 % | 36 |
EntryCriteria |
|
84 % | 260 |
Category |
|
86 % | 65 |
ExpensesService |
|
92 % | 176 |
EntryRepository |
|
96 % | 202 |
Entry |
|
98 % | 252 |
CRAP Score | Lines | ||
---|---|---|---|
Entry::setAmount() | 5 | 31 | |
EntryRepository::processType() | 3 | 11 | |
ExpensesService::setFromArray() | 3 | 15 | |
EntryRepository::checkUserId() | 2 | 7 | |
EntryRepository::checkAmount() | 2 | 7 | |
Category::__construct() | 2 | 7 | |
EntryCriteria::getUserId() | 2 | 4 | |
EntryCriteria::setUserId() | 2 | 5 | |
EntryCriteria::getAmount() | 2 | 4 | |
EntryCriteria::setAmount() | 2 | 5 | |