OAuthRequestTest S

Total Complexity 20
Dependencies 6
Dependents 0
Total lines 312
Lines of code 224
Logical lines of code 171
Comment lines 14
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
testBuildBaseString()
S
52 1 26
testSign()
S
52 1 25
testCreateRequestFromConsumerAndToken()
S
55 1 19
testNormalizeHttpUrl()
S
58 1 17
testNormalizeParameters()
S
60 1 14
testBuildHeader()
S
60 1 14
testBuildSignature()
S
59 1 13
testCanGetSingleParameter()
S
65 1 9
testGetAllParameters()
S
66 1 8
testSetParameters()
S
64 1 10
testUnsetParameter()
S
66 1 8
testBuildRequestFromPost()
S
73 1 4
testBuildRequestFromGet()
S
74 1 4
testBuildRequestFromHeader()
S
71 1 5
testHasProperParameterPriority()
S
65 1 9
testNormalizeHttpMethod()
S
64 1 10
testBuildPostData()
S
67 1 8
testBuildUrl()
S
67 1 8
testConvertToString()
S
67 1 8
testWontBuildHeaderWithArrayInput()
S
73 1 5