Percentage | Lines | ||
---|---|---|---|
PoshmarkService |
|
95 % | 646 |
Price |
|
100 % | 76 |
Item |
|
100 % | 195 |
Helper |
|
100 % | 57 |
Order |
|
100 % | 258 |
DataParser |
|
100 % | 206 |
CRAP Score | Lines | ||
---|---|---|---|
PoshmarkService::getItems() | 11 | 54 | |
PoshmarkService::getOrderSummaries() | 11 | 30 | |
DataParser::parseOneItemResponseJson() | 8 | 40 | |
PoshmarkService::getOrdersLoop() | 7 | 43 | |
PoshmarkService::getJsonData() | 6 | 32 | |
Helper::createItemDataForUpdate() | 5 | 40 | |
PoshmarkService::setupUserFromCookies() | 4 | 18 | |
Price::fromString() | 4 | 23 | |
PoshmarkService::makeRequest() | 4 | 26 | |
PoshmarkService::getItem() | 4 | 27 | |