Total Complexity | 46 |
Dependencies | 3 |
Dependents | 6 |
Total lines | 225 |
Lines of code | 139 |
Logical lines of code | 74 |
Comment lines | 17 |
Methods | 18 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
_getObjectId() | 52 | 9 | 28 | |
_validateParams() | 52 | 9 | 27 | |
isValidResponse() | 68 | 7 | 6 | |
_getContent() | 55 | 4 | 19 | |
setAppToken() | 71 | 2 | 6 | |
setSourceId() | 71 | 2 | 6 | |
getOfertaByStoreIdAndSKU() | 66 | 2 | 8 | |
__construct() | 77 | 1 | 4 | |
getAppToken() | 82 | 1 | 3 | |
getSourceId() | 82 | 1 | 3 | |
_setEnvironment() | 81 | 1 | 3 | |
getEnvironment() | 82 | 1 | 3 | |
setSandbox() | 81 | 1 | 3 | |
findOffer() | 74 | 1 | 4 | |
findProducts() | 74 | 1 | 4 | |
findCategories() | 74 | 1 | 4 | |
findLojas() | 74 | 1 | 4 | |
findCupons() | 74 | 1 | 4 |