MailChimp_WooCommerce_PromoRule S

Total Complexity 30
Dependencies 1
Dependents 3
Total lines 395
Lines of code 138
Logical lines of code 46
Comment lines 163
Methods 28
Properties 11

Methods 28

Method Rating Maintainability Complexity Lines of code
fromArray()
S
55 3 21
toArray()
S
58 1 15
getValidation()
S
61 1 13
getTitle()
S
82 1 3
getTarget()
S
82 1 3
setId()
S
77 1 4
getCreatedAt()
S
82 1 3
setCreatedAt()
S
76 1 4
getUpdatedAt()
S
82 1 3
setUpdatedAt()
S
76 1 4
setTargetTypeTotal()
S
77 1 4
setTargetTypeShipping()
S
77 1 4
setTargetTypePerItem()
S
77 1 4
setTypePercentage()
S
77 1 4
setTypeFixed()
S
77 1 4
getType()
S
82 1 3
setTitle()
S
77 1 4
getId()
S
82 1 3
getAmount()
S
82 1 3
isEnabled()
S
81 1 3
setEnabled()
S
76 1 4
getEndsAt()
S
82 1 3
setEndsAt()
S
76 1 4
getStartsAt()
S
82 1 3
setStartsAt()
S
76 1 4
setDescription()
S
77 1 4
getDescription()
S
82 1 3
setAmount()
S
77 1 4