JWTTest S

Total Complexity 28
Dependencies 2
Dependents 0
Total lines 261
Lines of code 203
Logical lines of code 110
Comment lines 15
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
testExpiredTokenWithLeeway()
S
62 1 11
testEncodeDecode()
S
74 1 4
testDecodeFromPython()
S
69 1 7
testUrlSafeCharacters()
S
74 1 4
testMalformedUtf8StringsFail()
S
75 1 4
testMalformedJsonThrowsException()
S
77 1 4
testExpiredToken()
S
66 1 8
testBeforeValidTokenWithNbf()
S
66 1 8
testBeforeValidTokenWithIat()
S
66 1 8
testValidToken()
S
65 1 8
testValidTokenWithLeeway()
S
63 1 10
testValidTokenWithList()
S
65 1 8
testValidTokenWithNbf()
S
63 1 10
testValidTokenWithNbfLeeway()
S
63 1 10
testInvalidTokenWithNbfLeeway()
S
63 1 10
testValidTokenWithIatLeeway()
S
63 1 10
testInvalidTokenWithIatLeeway()
S
63 1 10
testInvalidToken()
S
66 1 8
testNullKeyFails()
S
65 1 8
testEmptyKeyFails()
S
65 1 8
testRSEncodeDecode()
S
63 1 10
testKIDChooser()
S
69 1 6
testArrayAccessKIDChooser()
S
68 1 6
testNoneAlgorithm()
S
72 1 5
testIncorrectAlgorithm()
S
72 1 5
testMissingAlgorithm()
S
72 1 5
testAdditionalHeaders()
S
73 1 4
testInvalidSegmentCount()
S
75 1 4