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
testValidTokenWithIatLeeway()
S
63 1 10
testAdditionalHeaders()
S
73 1 4
testMissingAlgorithm()
S
72 1 5
testIncorrectAlgorithm()
S
72 1 5
testNoneAlgorithm()
S
72 1 5
testArrayAccessKIDChooser()
S
68 1 6
testKIDChooser()
S
69 1 6
testRSEncodeDecode()
S
63 1 10
testEmptyKeyFails()
S
65 1 8
testNullKeyFails()
S
65 1 8
testInvalidToken()
S
66 1 8
testInvalidTokenWithIatLeeway()
S
63 1 10
testInvalidTokenWithNbfLeeway()
S
63 1 10
testDecodeFromPython()
S
69 1 7
testValidTokenWithNbfLeeway()
S
63 1 10
testValidTokenWithNbf()
S
63 1 10
testValidTokenWithList()
S
65 1 8
testValidTokenWithLeeway()
S
63 1 10
testValidToken()
S
65 1 8
testBeforeValidTokenWithIat()
S
66 1 8
testBeforeValidTokenWithNbf()
S
66 1 8
testExpiredToken()
S
66 1 8
testMalformedJsonThrowsException()
S
77 1 4
testMalformedUtf8StringsFail()
S
75 1 4
testUrlSafeCharacters()
S
74 1 4
testInvalidSegmentCount()
S
75 1 4