Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
16 0 0 503

Rules

Category Rule Violations Severity
coding HiddenField 8  Error
MagicNumber 21  Error
SimplifyBooleanReturn 1  Error
design DesignForExtension 29  Error
FinalClass 1  Error
HideUtilityClassConstructor 2  Error
VisibilityModifier 14  Error
imports UnusedImports
  • processJavadoc: "false"
15  Error
javadoc JavadocMethod 17  Error
JavadocPackage 7  Error
JavadocStyle 7  Error
JavadocType 2  Error
JavadocVariable 58  Error
misc FinalParameters 71  Error
NewlineAtEndOfFile 1  Error
TodoComment 11  Error
modifier RedundantModifier 11  Error
naming ConstantName 2  Error
LocalVariableName 9  Error
ParameterName 9  Error
StaticVariableName 4  Error
sizes LineLength 171  Error
whitespace ParenPad 27  Error
WhitespaceAfter 4  Error
WhitespaceAround 1  Error

Details

org/apache/streams/instagram/api/Instagram.java

Severity Category Rule Message Line
 Error design FinalClass Class Instagram should be declared as final. 53
 Error javadoc JavadocVariable Missing a Javadoc comment. 55
 Error sizes LineLength Line is longer than 80 characters (found 97). 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error naming StaticVariableName Name 'INSTANCE_MAP' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error javadoc JavadocVariable Missing a Javadoc comment. 69
 Error design VisibilityModifier Variable 'restClient' must be private and have accessor methods. 69
 Error sizes LineLength Line is longer than 80 characters (found 89). 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 71
 Error misc FinalParameters Parameter configuration should be final. 71
 Error coding HiddenField 'configuration' hides a field. 71
 Error sizes LineLength Line is longer than 80 characters (found 81). 74
 Error coding MagicNumber '5000' is a magic number. 77
 Error coding MagicNumber '5000' is a magic number. 78
 Error coding MagicNumber '5000' is a magic number. 79
 Error coding MagicNumber '20' is a magic number. 83
 Error coding MagicNumber '100' is a magic number. 84
 Error sizes LineLength Line is longer than 80 characters (found 107). 115
 Error misc FinalParameters Parameter configuration should be final. 115
 Error sizes LineLength Line is longer than 80 characters (found 93). 116
 Error misc TodoComment Comment matches to-do format 'TODO:'. 128
 Error sizes LineLength Line is longer than 80 characters (found 89). 134
 Error sizes LineLength Line is longer than 80 characters (found 95). 141
 Error misc FinalParameters Parameter user_id should be final. 157
 Error naming ParameterName Name 'user_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 157
 Error misc TodoComment Comment matches to-do format 'TODO:'. 159
 Error sizes LineLength Line is longer than 80 characters (found 89). 165
 Error sizes LineLength Line is longer than 80 characters (found 95). 172
 Error sizes LineLength Line is longer than 80 characters (found 81). 188
 Error misc FinalParameters Parameter parameters should be final. 188
 Error misc TodoComment Comment matches to-do format 'TODO:'. 190
 Error sizes LineLength Line is longer than 80 characters (found 81). 191
 Error sizes LineLength Line is longer than 80 characters (found 89). 196
 Error sizes LineLength Line is longer than 80 characters (found 112). 197
 Error whitespace ParenPad '(' is followed by whitespace. 197
 Error sizes LineLength Line is longer than 80 characters (found 112). 200
 Error whitespace ParenPad '(' is followed by whitespace. 200
 Error sizes LineLength Line is longer than 80 characters (found 112). 203
 Error whitespace ParenPad '(' is followed by whitespace. 203
 Error sizes LineLength Line is longer than 80 characters (found 101). 212
 Error sizes LineLength Line is longer than 80 characters (found 81). 228
 Error misc FinalParameters Parameter parameters should be final. 228
 Error misc TodoComment Comment matches to-do format 'TODO:'. 230
 Error sizes LineLength Line is longer than 80 characters (found 81). 231
 Error sizes LineLength Line is longer than 80 characters (found 89). 236
 Error sizes LineLength Line is longer than 80 characters (found 112). 237
 Error whitespace ParenPad '(' is followed by whitespace. 237
 Error sizes LineLength Line is longer than 80 characters (found 112). 240
 Error whitespace ParenPad '(' is followed by whitespace. 240
 Error sizes LineLength Line is longer than 80 characters (found 112). 243
 Error whitespace ParenPad '(' is followed by whitespace. 243
 Error sizes LineLength Line is longer than 80 characters (found 101). 252
 Error misc FinalParameters Parameter parameters should be final. 268
 Error misc TodoComment Comment matches to-do format 'TODO:'. 270
 Error sizes LineLength Line is longer than 80 characters (found 81). 271
 Error sizes LineLength Line is longer than 80 characters (found 89). 276
 Error sizes LineLength Line is longer than 80 characters (found 112). 277
 Error whitespace ParenPad '(' is followed by whitespace. 277
 Error sizes LineLength Line is longer than 80 characters (found 120). 280
 Error whitespace ParenPad '(' is followed by whitespace. 280
 Error sizes LineLength Line is longer than 80 characters (found 85). 281
 Error sizes LineLength Line is longer than 80 characters (found 101). 289
 Error misc FinalParameters Parameter parameters should be final. 305
 Error misc TodoComment Comment matches to-do format 'TODO:'. 307
 Error sizes LineLength Line is longer than 80 characters (found 81). 308
 Error sizes LineLength Line is longer than 80 characters (found 89). 313
 Error sizes LineLength Line is longer than 80 characters (found 112). 314
 Error whitespace ParenPad '(' is followed by whitespace. 314
 Error sizes LineLength Line is longer than 80 characters (found 104). 317
 Error whitespace ParenPad '(' is followed by whitespace. 317
 Error sizes LineLength Line is longer than 80 characters (found 101). 326
 Error misc FinalParameters Parameter media_id should be final. 342
 Error naming ParameterName Name 'media_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 342
 Error misc TodoComment Comment matches to-do format 'TODO:'. 344
 Error sizes LineLength Line is longer than 80 characters (found 81). 345
 Error sizes LineLength Line is longer than 80 characters (found 89). 350
 Error sizes LineLength Line is longer than 80 characters (found 95). 358
 Error misc FinalParameters Parameter media_id should be final. 374
 Error naming ParameterName Name 'media_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 374
 Error misc TodoComment Comment matches to-do format 'TODO:'. 376
 Error sizes LineLength Line is longer than 80 characters (found 81). 377
 Error sizes LineLength Line is longer than 80 characters (found 89). 382
 Error sizes LineLength Line is longer than 80 characters (found 97). 389
 Error misc FinalParameters Parameter media_id should be final. 405
 Error naming ParameterName Name 'media_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 405
 Error misc TodoComment Comment matches to-do format 'TODO:'. 407
 Error sizes LineLength Line is longer than 80 characters (found 81). 408
 Error sizes LineLength Line is longer than 80 characters (found 89). 413
 Error sizes LineLength Line is longer than 80 characters (found 89). 420
 Error misc FinalParameters Parameter shortcode should be final. 436
 Error misc TodoComment Comment matches to-do format 'TODO:'. 438
 Error sizes LineLength Line is longer than 80 characters (found 89). 444
 Error sizes LineLength Line is longer than 80 characters (found 89). 451
 Error misc FinalParameters Parameter parameters should be final. 467
 Error misc TodoComment Comment matches to-do format 'TODO:'. 469
 Error sizes LineLength Line is longer than 80 characters (found 81). 470
 Error sizes LineLength Line is longer than 80 characters (found 89). 475
 Error sizes LineLength Line is longer than 80 characters (found 101). 485

org/apache/streams/instagram/api/InstagramOAuthRequestSigner.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.commons.lang3.StringUtils. 24
 Error imports UnusedImports Unused import - org.apache.http.HttpException. 25
 Error imports UnusedImports Unused import - org.apache.http.HttpRequest. 26
 Error imports UnusedImports Unused import - org.apache.http.HttpRequestInterceptor. 27
 Error imports UnusedImports Unused import - org.apache.http.protocol.HttpContext. 28
 Error imports UnusedImports Unused import - java.io.IOException. 32
 Error imports UnusedImports Unused import - java.util.List. 39
 Error sizes LineLength Line is longer than 80 characters (found 135). 50
 Error sizes LineLength Line is longer than 80 characters (found 98). 54
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error naming ConstantName Name 'oauth_signature_encoding' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error naming ConstantName Name 'oauth_signature_method' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error design VisibilityModifier Variable 'oAuthConfiguration' must be private and have accessor methods. 59
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error misc FinalParameters Parameter oauth should be final. 61
 Error misc FinalParameters Parameter uri should be final. 70
 Error naming LocalVariableName Name 'request_path' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
 Error naming LocalVariableName Name 'request_param_line' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
 Error naming LocalVariableName Name 'request_params' must match pattern '^[a-z][a-zA-Z0-9]*$'. 74
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 76
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 79
 Error whitespace ParenPad '(' is followed by whitespace. 81
 Error naming LocalVariableName Name 'request_param' must match pattern '^[a-z][a-zA-Z0-9]*$'. 81
 Error whitespace ParenPad ')' is preceded with whitespace. 81
 Error sizes LineLength Line is longer than 80 characters (found 101). 83
 Error sizes LineLength Line is longer than 80 characters (found 81). 89
 Error sizes LineLength Line is longer than 80 characters (found 87). 90
 Error naming LocalVariableName Name 'signature_base_string' must match pattern '^[a-z][a-zA-Z0-9]*$'. 90
 Error naming LocalVariableName Name 'oauth_signature' must match pattern '^[a-z][a-zA-Z0-9]*$'. 92
 Error sizes LineLength Line is longer than 80 characters (found 102). 94
 Error sizes LineLength Line is longer than 80 characters (found 103). 112
 Error misc FinalParameters Parameter endpoint should be final. 112
 Error misc FinalParameters Parameter allParamsMap should be final. 112
 Error whitespace ParenPad '(' is followed by whitespace. 118
 Error whitespace ParenPad ')' is preceded with whitespace. 118
 Error sizes LineLength Line is longer than 80 characters (found 175). 134
 Error misc FinalParameters Parameter signature_base_string should be final. 134
 Error naming ParameterName Name 'signature_base_string' must match pattern '^[a-z][a-zA-Z0-9]*$'. 134
 Error misc FinalParameters Parameter clientSecret should be final. 134
 Error javadoc JavadocMethod Expected @throws tag for 'NoSuchAlgorithmException'. 134
 Error javadoc JavadocMethod Expected @throws tag for 'InvalidKeyException'. 134
 Error javadoc JavadocMethod Expected @throws tag for 'UnsupportedEncodingException'. 134
 Error sizes LineLength Line is longer than 80 characters (found 119). 135
 Error sizes LineLength Line is longer than 80 characters (found 90). 138

org/apache/streams/instagram/api/InstagramRetryHandler.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 92). 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error naming StaticVariableName Name 'backoff_strategy' must match pattern '^[a-z][a-zA-Z0-9]*$'. 35
 Error design DesignForExtension Class 'InstagramRetryHandler' looks like designed for extension (can be subclassed), but the method 'onResponse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramRetryHandler' final or making the method 'onResponse' static/final/abstract/empty, or adding allowed annotation for the method. 37
 Error javadoc JavadocMethod Missing a Javadoc comment. 37
 Error misc FinalParameters Parameter response should be final. 37
 Error whitespace WhitespaceAround 'switch' is not followed by whitespace. 39
 Error coding MagicNumber '200' is a magic number. 40
 Error coding MagicNumber '304' is a magic number. 41
 Error coding MagicNumber '400' is a magic number. 42
 Error coding MagicNumber '401' is a magic number. 44
 Error coding MagicNumber '403' is a magic number. 46
 Error coding MagicNumber '404' is a magic number. 47
 Error coding MagicNumber '406' is a magic number. 48
 Error coding MagicNumber '410' is a magic number. 49
 Error coding MagicNumber '500' is a magic number. 51
 Error coding MagicNumber '502' is a magic number. 52
 Error coding MagicNumber '503' is a magic number. 53
 Error coding MagicNumber '504' is a magic number. 54

org/apache/streams/instagram/api/Media.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 127). 26
 Error sizes LineLength Line is longer than 80 characters (found 133). 27
 Error sizes LineLength Line is longer than 80 characters (found 127). 28
 Error sizes LineLength Line is longer than 80 characters (found 106). 34
 Error sizes LineLength Line is longer than 80 characters (found 173). 36
 Error modifier RedundantModifier Redundant 'public' modifier. 40
 Error naming ParameterName Name 'media_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 40
 Error sizes LineLength Line is longer than 80 characters (found 106). 44
 Error sizes LineLength Line is longer than 80 characters (found 161). 46
 Error modifier RedundantModifier Redundant 'public' modifier. 50
 Error naming ParameterName Name 'media_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 50
 Error sizes LineLength Line is longer than 80 characters (found 248). 53
 Error sizes LineLength Line is longer than 80 characters (found 122). 55
 Error sizes LineLength Line is longer than 80 characters (found 149). 57
 Error modifier RedundantModifier Redundant 'public' modifier. 61
 Error naming ParameterName Name 'media_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 61
 Error sizes LineLength Line is longer than 80 characters (found 169). 65
 Error sizes LineLength Line is longer than 80 characters (found 175). 67
 Error modifier RedundantModifier Redundant 'public' modifier. 71
 Error sizes LineLength Line is longer than 80 characters (found 163). 76
 Error modifier RedundantModifier Redundant 'public' modifier. 80

org/apache/streams/instagram/api/Users.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.streams.instagram.pojo.UserInfo. 21
 Error sizes LineLength Line is longer than 80 characters (found 127). 27
 Error sizes LineLength Line is longer than 80 characters (found 159). 34
 Error sizes LineLength Line is longer than 80 characters (found 86). 35
 Error modifier RedundantModifier Redundant 'public' modifier. 37
 Error sizes LineLength Line is longer than 80 characters (found 91). 41
 Error sizes LineLength Line is longer than 80 characters (found 149). 43
 Error sizes LineLength Line is longer than 80 characters (found 86). 45
 Error modifier RedundantModifier Redundant 'public' modifier. 47
 Error naming ParameterName Name 'user_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 47
 Error sizes LineLength Line is longer than 80 characters (found 185). 52
 Error sizes LineLength Line is longer than 80 characters (found 85). 53
 Error sizes LineLength Line is longer than 80 characters (found 92). 54
 Error modifier RedundantModifier Redundant 'public' modifier. 56
 Error sizes LineLength Line is longer than 80 characters (found 91). 60
 Error sizes LineLength Line is longer than 80 characters (found 175). 62
 Error sizes LineLength Line is longer than 80 characters (found 85). 63
 Error sizes LineLength Line is longer than 80 characters (found 92). 64
 Error modifier RedundantModifier Redundant 'public' modifier. 66
 Error sizes LineLength Line is longer than 80 characters (found 171). 71
 Error sizes LineLength Line is longer than 80 characters (found 84). 72
 Error sizes LineLength Line is longer than 80 characters (found 92). 73
 Error modifier RedundantModifier Redundant 'public' modifier. 75
 Error sizes LineLength Line is longer than 80 characters (found 163). 80
 Error sizes LineLength Line is longer than 80 characters (found 81). 81
 Error sizes LineLength Line is longer than 80 characters (found 92). 82
 Error modifier RedundantModifier Redundant 'public' modifier. 84

org/apache/streams/instagram/processor/InstagramTypeConverter.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 91). 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error sizes LineLength Line is longer than 80 characters (found 93). 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error design DesignForExtension Class 'InstagramTypeConverter' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramTypeConverter' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 53
 Error design DesignForExtension Class 'InstagramTypeConverter' looks like designed for extension (can be subclassed), but the method 'process' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramTypeConverter' final or making the method 'process' static/final/abstract/empty, or adding allowed annotation for the method. 58
 Error misc FinalParameters Parameter entry should be final. 59
 Error sizes LineLength Line is longer than 80 characters (found 85). 69
 Error sizes LineLength Line is longer than 80 characters (found 85). 71
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 71
 Error whitespace ParenPad '(' is followed by whitespace. 73
 Error whitespace ParenPad ')' is preceded with whitespace. 73
 Error sizes LineLength Line is longer than 80 characters (found 95). 79
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 79
 Error whitespace ParenPad '(' is followed by whitespace. 81
 Error whitespace ParenPad ')' is preceded with whitespace. 81
 Error whitespace ParenPad '(' is followed by whitespace. 92
 Error whitespace ParenPad ')' is preceded with whitespace. 92
 Error design DesignForExtension Class 'InstagramTypeConverter' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramTypeConverter' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 99
 Error misc FinalParameters Parameter configurationObject should be final. 100

org/apache/streams/instagram/provider/InstagramAbstractProvider.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error imports UnusedImports Unused import - java.util.Collection. 38
 Error imports UnusedImports Unused import - java.util.HashSet. 39
 Error imports UnusedImports Unused import - java.util.Map. 41
 Error imports UnusedImports Unused import - java.util.Set. 44
 Error javadoc JavadocStyle First sentence should end with a period. 49
 Error sizes LineLength Line is longer than 80 characters (found 110). 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error sizes LineLength Line is longer than 80 characters (found 96). 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 60
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 62
 Error design VisibilityModifier Variable 'client' must be private and have accessor methods. 62
 Error javadoc JavadocVariable Missing a Javadoc comment. 64
 Error design VisibilityModifier Variable 'dataQueue' must be private and have accessor methods. 64
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 68
 Error javadoc JavadocVariable Missing a Javadoc comment. 70
 Error javadoc JavadocMethod Missing a Javadoc comment. 72
 Error sizes LineLength Line is longer than 80 characters (found 85). 74
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter config should be final. 77
 Error coding HiddenField 'config' hides a field. 77
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 81
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'startStream' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'startStream' static/final/abstract/empty, or adding allowed annotation for the method. 86
 Error sizes LineLength Line is longer than 80 characters (found 97). 89
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'readCurrent' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'readCurrent' static/final/abstract/empty, or adding allowed annotation for the method. 102
 Error sizes LineLength Line is longer than 80 characters (found 96). 107
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'readNew' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'readNew' static/final/abstract/empty, or adding allowed annotation for the method. 113
 Error misc FinalParameters Parameter sequence should be final. 114
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'readRange' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'readRange' static/final/abstract/empty, or adding allowed annotation for the method. 118
 Error misc FinalParameters Parameter start should be final. 119
 Error misc FinalParameters Parameter end should be final. 119
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 123
 Error misc FinalParameters Parameter configurationObject should be final. 124
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'cleanUp' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. 145
 Error coding MagicNumber '5' is a magic number. 148
 Error coding MagicNumber '5' is a magic number. 148
 Error design DesignForExtension Class 'InstagramAbstractProvider' looks like designed for extension (can be subclassed), but the method 'isRunning' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramAbstractProvider' final or making the method 'isRunning' static/final/abstract/empty, or adding allowed annotation for the method. 154
 Error sizes LineLength Line is longer than 80 characters (found 103). 156

org/apache/streams/instagram/provider/InstagramDataCollector.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 118). 38
 Error sizes LineLength Line is longer than 80 characters (found 107). 39
 Error javadoc JavadocType Type Javadoc comment is missing an @param <T> tag. 41
 Error sizes LineLength Line is longer than 80 characters (found 93). 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error design VisibilityModifier Variable 'dataQueue' must be private and have accessor methods. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error design VisibilityModifier Variable 'isCompleted' must be private and have accessor methods. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error design VisibilityModifier Variable 'consecutiveErrorCount' must be private and have accessor methods. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 50
 Error design VisibilityModifier Variable 'backOffStrategy' must be private and have accessor methods. 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error sizes LineLength Line is longer than 80 characters (found 112). 58
 Error misc FinalParameters Parameter instagram should be final. 58
 Error coding HiddenField 'instagram' hides a field. 58
 Error javadoc JavadocMethod Expected @param tag for 'instagram'. 58
 Error misc FinalParameters Parameter queue should be final. 58
 Error misc FinalParameters Parameter config should be final. 58
 Error coding HiddenField 'config' hides a field. 58
 Error sizes LineLength Line is longer than 80 characters (found 93). 70
 Error sizes LineLength Line is longer than 80 characters (found 89). 71
 Error sizes LineLength Line is longer than 80 characters (found 84). 77
 Error misc FinalParameters Parameter userData should be final. 95
 Error misc FinalParameters Parameter userId should be final. 95
 Error sizes LineLength Line is longer than 80 characters (found 86). 100
 Error sizes LineLength Line is longer than 80 characters (found 107). 106
 Error sizes LineLength Line is longer than 80 characters (found 115). 113

org/apache/streams/instagram/provider/InstagramProviderUtil.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 27
 Error misc FinalParameters Parameter config should be final. 34

org/apache/streams/instagram/provider/recentmedia/InstagramRecentMediaCollector.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 118). 37
 Error sizes LineLength Line is longer than 80 characters (found 107). 38
 Error sizes LineLength Line is longer than 80 characters (found 82). 40
 Error sizes LineLength Line is longer than 80 characters (found 100). 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 47
 Error sizes LineLength Line is longer than 80 characters (found 138). 49
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error misc FinalParameters Parameter instagram should be final. 49
 Error misc FinalParameters Parameter queue should be final. 49
 Error misc FinalParameters Parameter config should be final. 49
 Error coding HiddenField 'config' hides a field. 49
 Error design DesignForExtension Class 'InstagramRecentMediaCollector' looks like designed for extension (can be subclassed), but the method 'run' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramRecentMediaCollector' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 54
 Error sizes LineLength Line is longer than 80 characters (found 92). 62
 Error design DesignForExtension Class 'InstagramRecentMediaCollector' looks like designed for extension (can be subclassed), but the method 'convertToStreamsDatum' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramRecentMediaCollector' final or making the method 'convertToStreamsDatum' static/final/abstract/empty, or adding allowed annotation for the method. 69
 Error javadoc JavadocMethod Missing a Javadoc comment. 69
 Error misc FinalParameters Parameter item should be final. 69
 Error misc FinalParameters Parameter userId should be final. 78
 Error naming LocalVariableName Name 'item_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. 80
 Error naming LocalVariableName Name 'last_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. 81
 Error naming LocalVariableName Name 'page_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82
 Error sizes LineLength Line is longer than 80 characters (found 90). 84
 Error coding MagicNumber '33L' is a magic number. 88
 Error whitespace ParenPad '(' is followed by whitespace. 92
 Error whitespace ParenPad '(' is followed by whitespace. 100
 Error whitespace ParenPad ')' is preceded with whitespace. 100
 Error sizes LineLength Line is longer than 80 characters (found 101). 106
 Error javadoc JavadocMethod Missing a Javadoc comment. 110
 Error misc FinalParameters Parameter response should be final. 110
 Error coding SimplifyBooleanReturn Conditional logic can be removed. 111
 Error whitespace ParenPad '(' is followed by whitespace. 111

org/apache/streams/instagram/provider/recentmedia/InstagramRecentMediaProvider.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.streams.instagram.config.InstagramConfiguration. 22
 Error sizes LineLength Line is longer than 80 characters (found 118). 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error sizes LineLength Line is longer than 80 characters (found 99). 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error naming StaticVariableName Name 'MAPPER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 60
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 60
 Error sizes LineLength Line is longer than 80 characters (found 89). 62
 Error javadoc JavadocMethod Missing a Javadoc comment. 62
 Error misc FinalParameters Parameter config should be final. 62
 Error coding HiddenField 'config' hides a field. 62
 Error design DesignForExtension Class 'InstagramRecentMediaProvider' looks like designed for extension (can be subclassed), but the method 'getInstagramDataCollector' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramRecentMediaProvider' final or making the method 'getInstagramDataCollector' static/final/abstract/empty, or adding allowed annotation for the method. 67
 Error javadoc JavadocStyle First sentence should end with a period. 72
 Error sizes LineLength Line is longer than 80 characters (found 102). 88
 Error misc FinalParameters Parameter args should be final. 94
 Error sizes LineLength Line is longer than 80 characters (found 111). 104
 Error sizes LineLength Line is longer than 80 characters (found 98). 108
 Error sizes LineLength Line is longer than 80 characters (found 175). 109
 Error sizes LineLength Line is longer than 80 characters (found 85). 110
 Error sizes LineLength Line is longer than 80 characters (found 101). 112
 Error sizes LineLength Line is longer than 80 characters (found 111). 116
 Error whitespace ParenPad '(' is followed by whitespace. 129

org/apache/streams/instagram/provider/userinfo/InstagramUserInfoCollector.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.streams.instagram.config.InstagramConfiguration. 21
 Error javadoc JavadocStyle First sentence should end with a period. 33
 Error sizes LineLength Line is longer than 80 characters (found 82). 37
 Error sizes LineLength Line is longer than 80 characters (found 97). 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 44
 Error sizes LineLength Line is longer than 80 characters (found 136). 46
 Error javadoc JavadocMethod Missing a Javadoc comment. 46
 Error misc FinalParameters Parameter instagram should be final. 46
 Error misc FinalParameters Parameter dataQueue should be final. 46
 Error misc FinalParameters Parameter config should be final. 46
 Error coding HiddenField 'config' hides a field. 46
 Error design DesignForExtension Class 'InstagramUserInfoCollector' looks like designed for extension (can be subclassed), but the method 'run' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoCollector' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 51
 Error sizes LineLength Line is longer than 80 characters (found 92). 59
 Error design DesignForExtension Class 'InstagramUserInfoCollector' looks like designed for extension (can be subclassed), but the method 'collectInstagramDataForUser' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoCollector' final or making the method 'collectInstagramDataForUser' static/final/abstract/empty, or adding allowed annotation for the method. 66
 Error javadoc JavadocMethod Missing a Javadoc comment. 66
 Error misc FinalParameters Parameter userId should be final. 66
 Error whitespace ParenPad '(' is followed by whitespace. 73
 Error design DesignForExtension Class 'InstagramUserInfoCollector' looks like designed for extension (can be subclassed), but the method 'convertToStreamsDatum' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoCollector' final or making the method 'convertToStreamsDatum' static/final/abstract/empty, or adding allowed annotation for the method. 80
 Error misc FinalParameters Parameter item should be final. 81

org/apache/streams/instagram/provider/userinfo/InstagramUserInfoProvider.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error imports UnusedImports Unused import - org.apache.streams.instagram.config.InstagramConfiguration. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error sizes LineLength Line is longer than 80 characters (found 96). 55
 Error javadoc JavadocVariable Missing a Javadoc comment. 55
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error naming StaticVariableName Name 'MAPPER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 59
 Error sizes LineLength Line is longer than 80 characters (found 83). 61
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error misc FinalParameters Parameter config should be final. 61
 Error coding HiddenField 'config' hides a field. 61
 Error design DesignForExtension Class 'InstagramUserInfoProvider' looks like designed for extension (can be subclassed), but the method 'getInstagramDataCollector' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoProvider' final or making the method 'getInstagramDataCollector' static/final/abstract/empty, or adding allowed annotation for the method. 66
 Error javadoc JavadocStyle First sentence should end with a period. 71
 Error sizes LineLength Line is longer than 80 characters (found 96). 87
 Error misc FinalParameters Parameter args should be final. 93
 Error sizes LineLength Line is longer than 80 characters (found 111). 103
 Error sizes LineLength Line is longer than 80 characters (found 98). 107
 Error sizes LineLength Line is longer than 80 characters (found 125). 108
 Error sizes LineLength Line is longer than 80 characters (found 101). 112
 Error sizes LineLength Line is longer than 80 characters (found 111). 116
 Error whitespace ParenPad '(' is followed by whitespace. 129

org/apache/streams/instagram/serializer/InstagramMediaFeedDataConverter.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 96). 34
 Error javadoc JavadocType Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error design VisibilityModifier Variable 'requiredClass' must be private and have accessor methods. 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 38
 Error design DesignForExtension Class 'InstagramMediaFeedDataConverter' looks like designed for extension (can be subclassed), but the method 'requiredClass' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramMediaFeedDataConverter' final or making the method 'requiredClass' static/final/abstract/empty, or adding allowed annotation for the method. 42
 Error design DesignForExtension Class 'InstagramMediaFeedDataConverter' looks like designed for extension (can be subclassed), but the method 'serializationFormat' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramMediaFeedDataConverter' final or making the method 'serializationFormat' static/final/abstract/empty, or adding allowed annotation for the method. 47
 Error design DesignForExtension Class 'InstagramMediaFeedDataConverter' looks like designed for extension (can be subclassed), but the method 'fromActivity' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramMediaFeedDataConverter' final or making the method 'fromActivity' static/final/abstract/empty, or adding allowed annotation for the method. 52
 Error sizes LineLength Line is longer than 80 characters (found 87). 53
 Error misc FinalParameters Parameter deserialized should be final. 53
 Error design DesignForExtension Class 'InstagramMediaFeedDataConverter' looks like designed for extension (can be subclassed), but the method 'fromActivityList' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramMediaFeedDataConverter' final or making the method 'fromActivityList' static/final/abstract/empty, or adding allowed annotation for the method. 57
 Error sizes LineLength Line is longer than 80 characters (found 95). 58
 Error misc FinalParameters Parameter list should be final. 58
 Error design DesignForExtension Class 'InstagramMediaFeedDataConverter' looks like designed for extension (can be subclassed), but the method 'toActivityList' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramMediaFeedDataConverter' final or making the method 'toActivityList' static/final/abstract/empty, or adding allowed annotation for the method. 62
 Error sizes LineLength Line is longer than 80 characters (found 87). 63
 Error misc FinalParameters Parameter item should be final. 63
 Error design DesignForExtension Class 'InstagramMediaFeedDataConverter' looks like designed for extension (can be subclassed), but the method 'toActivityList' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramMediaFeedDataConverter' final or making the method 'toActivityList' static/final/abstract/empty, or adding allowed annotation for the method. 72
 Error sizes LineLength Line is longer than 80 characters (found 93). 73
 Error misc FinalParameters Parameter list should be final. 73

org/apache/streams/instagram/serializer/InstagramUserInfoDataConverter.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 90). 39
 Error sizes LineLength Line is longer than 80 characters (found 101). 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error design DesignForExtension Class 'InstagramUserInfoDataConverter' looks like designed for extension (can be subclassed), but the method 'requiredClass' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoDataConverter' final or making the method 'requiredClass' static/final/abstract/empty, or adding allowed annotation for the method. 47
 Error design DesignForExtension Class 'InstagramUserInfoDataConverter' looks like designed for extension (can be subclassed), but the method 'serializationFormat' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoDataConverter' final or making the method 'serializationFormat' static/final/abstract/empty, or adding allowed annotation for the method. 52
 Error design DesignForExtension Class 'InstagramUserInfoDataConverter' looks like designed for extension (can be subclassed), but the method 'fromActivityObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoDataConverter' final or making the method 'fromActivityObject' static/final/abstract/empty, or adding allowed annotation for the method. 57
 Error sizes LineLength Line is longer than 80 characters (found 102). 58
 Error misc FinalParameters Parameter deserialized should be final. 58
 Error design DesignForExtension Class 'InstagramUserInfoDataConverter' looks like designed for extension (can be subclassed), but the method 'toActivityObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InstagramUserInfoDataConverter' final or making the method 'toActivityObject' static/final/abstract/empty, or adding allowed annotation for the method. 62
 Error sizes LineLength Line is longer than 80 characters (found 98). 63
 Error misc FinalParameters Parameter serialized should be final. 63

org/apache/streams/instagram/serializer/util/InstagramActivityUtil.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 88). 52
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 54
 Error sizes LineLength Line is longer than 80 characters (found 92). 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error javadoc JavadocStyle First sentence should end with a period. 57
 Error sizes LineLength Line is longer than 80 characters (found 88). 60
 Error sizes LineLength Line is longer than 80 characters (found 103). 64
 Error misc FinalParameters Parameter item should be final. 64
 Error misc FinalParameters Parameter activity should be final. 64
 Error sizes LineLength Line is longer than 80 characters (found 88). 69
 Error coding MagicNumber '1000' is a magic number. 69
 Error javadoc JavadocStyle First sentence should end with a period. 86
 Error sizes LineLength Line is longer than 80 characters (found 88). 89
 Error sizes LineLength Line is longer than 80 characters (found 106). 92
 Error misc FinalParameters Parameter item should be final. 92
 Error misc FinalParameters Parameter activity should be final. 92
 Error misc FinalParameters Parameter item should be final. 103
 Error sizes LineLength Line is longer than 80 characters (found 82). 128
 Error misc FinalParameters Parameter item should be final. 139
 Error sizes LineLength Line is longer than 80 characters (found 82). 158
 Error misc FinalParameters Parameter item should be final. 169
 Error sizes LineLength Line is longer than 80 characters (found 84). 177
 Error sizes LineLength Line is longer than 80 characters (found 84). 182
 Error sizes LineLength Line is longer than 80 characters (found 81). 199
 Error misc FinalParameters Parameter item should be final. 199
 Error sizes LineLength Line is longer than 80 characters (found 84). 213
 Error misc FinalParameters Parameter attachments should be final. 213
 Error misc FinalParameters Parameter item should be final. 213
 Error sizes LineLength Line is longer than 80 characters (found 84). 250
 Error misc FinalParameters Parameter attachments should be final. 250
 Error misc FinalParameters Parameter item should be final. 250
 Error sizes LineLength Line is longer than 80 characters (found 81). 260
 Error misc FinalParameters Parameter item should be final. 277
 Error misc FinalParameters Parameter activity should be final. 286
 Error misc FinalParameters Parameter item should be final. 286
 Error sizes LineLength Line is longer than 80 characters (found 92). 287
 Error sizes LineLength Line is longer than 80 characters (found 125). 292
 Error javadoc JavadocStyle First sentence should end with a period. 309
 Error misc FinalParameters Parameter idparts should be final. 314
 Error sizes LineLength Line is longer than 80 characters (found 121). 316
 Error sizes LineLength Line is longer than 80 characters (found 90). 320
 Error misc FinalParameters Parameter activity should be final. 325
 Error misc FinalParameters Parameter item should be final. 325
 Error sizes LineLength Line is longer than 80 characters (found 92). 326