CreditCard S

Total Complexity 33
Dependencies 0
Dependents 2
Total lines 216
Lines of code 91
Logical lines of code 44
Comment lines 7
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
validDate()
S
59 6 13
luhnCheck()
S
55 5 19
validCreditCard()
S
56 4 19
validCvc()
S
77 3 3
creditCardType()
S
66 3 8
validCard()
S
77 3 3
validLength()
S
66 3 8
validCvcLength()
S
66 3 8
validLuhn()
S
68 2 7
validPattern()
S
78 1 3