Test_AfdWidget S

Total Complexity 35
Dependencies 2
Dependents 0
Total lines 362
Lines of code 211
Logical lines of code 141
Comment lines 0
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
testaddAffordabilityWidgetHTML()
S
48 1 36
testaddSubSection()
S
60 1 14
testgetPayLaterOptionwithProvider()
S
68 1 7
testisEnabledNo()
S
73 1 5
testisEnabledwithoutfeature()
S
79 1 3
testgetFooterDarkLogo()
S
80 1 3
testgetPayLaterOptionNo()
S
73 1 5
testgetPayLaterOptionYes()
S
73 1 5
setup()
S
77 1 4
testisEnabledYes()
S
73 1 5
testgetCardlessEmiOptionYes()
S
73 1 5
testgetCardlessEmiwithProvider()
S
68 1 7
testgetEmiOptionNo()
S
73 1 5
testgetEmiOptionYes()
S
73 1 5
testgetEmiwithIssuer()
S
68 1 7
testgetOffersOptionYes()
S
72 1 5
testgetOfferswithOfferId()
S
68 1 7
testgetCardlessEmiOptionNo()
S
73 1 5
testisAffordabilityWidgetTestModeEnabledNo()
S
76 1 4
testisAffordabilityWidgetTestModeNotEnabled()
S
81 1 3
testisAffordabilityWidgetTestModeEnabledYes()
S
76 1 4
testgetPriceVariableProduct()
S
69 1 7
testgetPriceSimpleProduct()
S
67 1 8
testgetKeyID()
S
72 1 5
testgetCustomisation()
S
73 1 5
testgetFooterFontSize()
S
76 1 4
testgetFooterColor()
S
76 1 4
testgetLinkFontSize()
S
76 1 4
testgetLinkColor()
S
76 1 4
testgetContentFontSize()
S
76 1 4
testgetContentColor()
S
76 1 4
testgetHeadingFontSize()
S
76 1 4
testgetHeadingColor()
S
76 1 4
testgetThemeColor()
S
76 1 4
testgetAdditionalOffers()
S
70 1 6