-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Which coding standard(s) does ARO follow??
Analyzing the source code of ARO using v.12 of the Intellij IDE points out these errors (among others):
- Coding Style
- ARO Doesn't Follow Basic Java Style
- C-style array declaration
- Missorted modifiers
- Pointless bitwise expression
- Confusing floating-point literal
- Assignment replaceable with operator assignment
- ARO Follows Java Style Older Than The Minimum Version To Built It
- Missing @OverRide annotation
- Unnecessary boxing
- Unnecessary unboxing
- 'while' loop replaceable with 'for each'
- 'for' loop replaceable with 'for each'
- Use of obsolete collection type
- Use of System.out or System.err
- Which Coding Style? (ARO Does Both Possible Choices, Where Either Choice, But Not Both, Is A Coding Standard)
- Mark an item as 'final'??
- 'final' class
- 'final' method
- 'static', non-'final' field
- Field may be final
- Unnecessary 'final' on local variable or parameter
- Local variable or parameter can be final
- Implicit vs. Explicit Code, Prefer Which?
- Unnecessarily qualified static access
- Unqualified static access
- Unnecessarily qualified inner class access
- Unqualified inner class access
- This
- Unnecessary 'this' qualifier
- Unnecessary qualifier for 'this'
- Instance field access not qualified with 'this'
- Instance method call not qualified with 'this'
- Super
- Implicit call to 'super()'
- Unnecessary 'super' qualifier
- Unnecessary call to 'super()'
- Constant on Right or Left Side of Boolean Condition?
- Constant on left side of comparison
- Constant on right side of comparison
- Conditional Expressions
- Conditional expression (?:)
- 'if' statement could be replaced with conditional expression
- Mark an item as 'final'??
- Information Hiding
- Anonymous class variable hides variable in containing method
- Inner class field hides outer class field
- Local variable hides field
- Method overrides private method of superclass
- Parameter hides field
- ARO Doesn't Follow Basic Java Style
- Property File Problems
- Duplicate Property
- Trailing Spaces in Property
- Unused Property
- Performance
- Object allocation in loop
- Redundant 'String.toString()'
- 'size() == 0' replaceable with 'isEmpty()'
- 'indexOf()' expression is replaceable with 'contains()'
- Multiply or divide by power of two
Metadata
Metadata
Assignees
Labels
No labels