Test_AfdWidget S

Total Complexity 37
Dependencies 2
Dependents 0
Total lines 437
Lines of code 253
Logical lines of code 179
Comment lines 0
Methods 37
Properties 0

Methods 37

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