102 Rules
| ID | Name | Severity |
|---|---|---|
| 1003000 | Avoid packages with high number of imports (Flex) |
medium
|
| 1003002 | Avoid scripts high number of imports (Flex) |
medium
|
| 1003004 | Avoid packages with view components referenced in a model class (Flex) |
medium
|
| 1003006 | Avoid scripts with view components referenced in a model class (Flex) |
medium
|
| 1003008 | Avoid class duplicated with a SDK class (Flex) |
medium
|
| 1003010 | Avoid class that imports an internal class from another function area (Flex) |
medium
|
| 1003012 | Avoid using code behind files (Flex) |
medium
|
| 1003014 | Avoid nested if statements (Flex) |
medium
|
| 1003016 | Avoid long switch case (Flex) |
medium
|
| 1003018 | Avoid nested switch statements (Flex) |
medium
|
| 1003020 | Avoid empty method (Flex) |
medium
|
| 1003022 | Avoid empty statement (Flex) |
medium
|
| 1003024 | Avoid empty used private method (Flex) |
medium
|
| 1003026 | Avoid too complex methods. (Flex) |
medium
|
| 1003028 | Avoid long parameter list (Flex) |
medium
|
| 1003030 | Avoid function with unused parameter (Flex) |
medium
|
| 1003032 | Avoid unused variable (Flex) |
medium
|
| 1003034 | Avoid unused private method (Flex) |
medium
|
| 1003036 | Avoid unused private attribute (Flex) |
medium
|
| 1003038 | Avoid Cairngorm event name not containing the function area name before the actual event name (Flex) |
medium
|
| 1003040 | Avoid Event name not explicitly set (Flex) |
medium
|
| 1003042 | Avoid extension with same name as the class name (Flex) |
medium
|
| 1003044 | Avoid too short field name (Flex) |
medium
|
| 1003046 | Avoid too short variable name (Flex) |
medium
|
| 1003048 | Avoid package name in upper case (Flex) |
medium
|
| 1003050 | Avoid field names ending with numeric characters (Flex) |
medium
|
| 1003052 | Avoid variable names ending with numeric characters (Flex) |
medium
|
| 1003054 | Avoid local variable hiding a class property (Flex) |
medium
|
| 1003056 | Avoid class name not starting by a majuscule character (Flex) |
medium
|
| 1003058 | Avoid field incorrectly named. (Flex) |
medium
|
| 1003060 | Avoid variable incorrectly named. (Flex) |
medium
|
| 1003062 | Avoid too long line (Flex) |
medium
|
| 1003064 | Avoid imports from the same package (Flex) |
medium
|
| 1003066 | Avoid logger not correctly formatted (Flex) |
medium
|
| 1003068 | Avoid Attribute not documented with AsDocs (Flex) |
medium
|
| 1003070 | Avoid class not documented with AsDocs (Flex) |
medium
|
| 1003072 | Avoid method not documented with AsDocs (Flex) |
medium
|
| 1003074 | Avoid modelLocator that is Bindable at a class level (Flex) |
medium
|
| 1003076 | Avoid adding or removing displayable children from updateDisplayList (Flex specific) (Flex) |
medium
|
| 1003078 | Avoid popup using dynamic filters (Flex) |
medium
|
| 1003080 | Avoid control statement in Constructor (must be as lightweight as possible) (Flex) |
medium
|
| 1003082 | Avoid Instantiating a variable in a loop (Flex) |
medium
|
| 1003084 | Avoid calls to the StyleManager that do not pass FALSE as the second parameter (Flex) |
medium
|
| 1003086 | Avoid empty catch statement (Flex) |
medium
|
| 1003088 | Avoid calling Alert.show directly (Flex) |
medium
|
| 1003090 | Avoid style block embedded in the MXML file (Flex) |
medium
|
| 1003092 | Avoid embedded metadata in class where a stylesheet may be cleaner (Flex) |
medium
|
| 1003094 | Avoid embedded metadata in script where a stylesheet may be cleaner (Flex) |
medium
|
| 1003096 | Avoid using public static fields (Flex) |
medium
|
| 1003098 | Avoid non-static constant fields (Flex) |
medium
|
| 1003100 | Avoid protected accessors in a final class (Flex) |
medium
|
| 1003102 | Protected static methods should be declared private (Flex) |
medium
|
| 1003104 | Avoid Parsley metadata placed on inaccessible members. (Flex) |
medium
|
| 1003106 | Avoid too many methods in class (Flex) |
medium
|
| 1003108 | Avoid too many methods in script (Flex) |
medium
|
| 1003110 | Avoid function that are too long (Flex) |
medium
|
| 1003112 | Avoid too many public fields or functions (Flex) |
medium
|
| 1003114 | Avoid class with too many fields (Flex) |
medium
|
| 1003116 | Avoid class (in script) with too many fields (Flex) |
medium
|
| 1003118 | Avoid Value Objects with too many fields (Flex) |
medium
|
| 1003120 | Avoid ModelLocator not only accessible from the main application file (Flex) |
medium
|
| 1003122 | Avoid FrontController that adds all its commands within the Controller constructor (Flex) |
medium
|
| 1003124 | Avoid empty if statements (Flex) |
medium
|
| 1003126 | Avoid method with more than one exit point (Flex) |
medium
|
| 1003128 | Avoid using the with keyword (Flex) |
medium
|
| 1003130 | Avoid managed events without matching [Event] metadata (Flex) |
medium
|
| 1003132 | Avoid switch statement with too few branches (Flex) |
medium
|
| 1003134 | Avoid identical switch cases (Flex) |
medium
|
| 1003136 | Avoid test that does not contain at least one assertion (Flex) |
medium
|
| 1003138 | Avoid BindingUtils class that uses hard coded strings (Flex) |
medium
|
| 1003140 | Avoid ChangeWatcher class that uses hard coded strings to specify the attribute name, to listen to. Prefer listening to events or setters (Flex) |
medium
|
| 1003142 | Avoid CairngormEventDispatcher called explicitly (Flex) |
medium
|
| 1003144 | Avoid more than one reference of ModelLocator per class (Flex) |
medium
|
| 1003146 | Avoid calling callLater explicitly (Flex specific) (Flex) |
medium
|
| 1003148 | Avoid clone event not overriden in a custom event (Flex) |
medium
|
| 1003150 | Avoid event dispatched in a constructor (Flex) |
medium
|
| 1003152 | Avoid DispatchEvent function not dispatching constant strings (Flex) |
medium
|
| 1003154 | Avoid addEventListener containing hard coded strings (Flex) |
medium
|
| 1003156 | Avoid type not found within analysis scope (Flex) |
medium
|
| 1003158 | Avoid unspecified event type (Flex) |
medium
|
| 1003160 | Avoid test containing a hard coded boolean value. (Flex) |
medium
|
| 1003162 | Avoid dynamic class (Flex) |
medium
|
| 1003164 | Avoid using Object class in fields (Flex) |
medium
|
| 1003166 | Avoid using Object class in variables (Flex) |
medium
|
| 1003168 | Avoid using Object class in methods' parameters (Flex) |
medium
|
| 1003172 | Avoid * and use strongly typed objects instead in fields (Flex) |
medium
|
| 1003174 | Avoid * and use strongly typed objects instead in variables (Flex) |
medium
|
| 1003176 | Avoid ArrayElementType metadata not specified for the array-type field (Flex) |
medium
|
| 1003178 | Avoid incorrect signature of the message interceptor. (Flex) |
medium
|
| 1003180 | Avoid packages with misplaced metadata (Flex) |
medium
|
| 1003182 | Avoid classes with misplaced metadata (Flex) |
medium
|
| 1003184 | Avoid type metadata argument redundant with the handler argument type (Flex) |
medium
|
| 1003186 | Avoid method metadata argument redundant with the handler name (Flex) |
medium
|
| 1003188 | Avoid packages with unknown metadata attribute (Flex) |
medium
|
| 1003190 | Avoid classes with unknown metadata attribute (Flex) |
medium
|
| 1003192 | Avoid globally bindable classes. (Flex) |
medium
|
| 1003194 | Avoid constructor with a return type (Flex) |
medium
|
| 1003196 | Avoid switch statement without a default statement (Flex) |
medium
|
| 1003198 | Avoid MXML component with more than 1 public variable (Flex) |
medium
|
| 1003200 | Avoid MXML component with more than 2 public variables (Flex) |
medium
|
| 1003202 | Avoid public variables inside a custom event (Flex) |
medium
|
| 1003204 | Avoid too long script block (Flex) |
medium
|