Maintainability Warnings
Maintainability warnings support library and application maintenance.
In This Section
Rule |
Description |
---|---|
An instance method declares a parameter or a local variable whose name matches an instance field of the declaring type, which leads to errors. |
|
A type is more than four levels deep in its inheritance hierarchy. Deeply nested type hierarchies can be difficult to follow, understand, and maintain. |
|
This rule measures the number of linearly independent paths through the method, which is determined by the number and complexity of conditional branches. |
|
The name of an instance field starts with "s_", or the name of a static (Shared in Visual Basic) field starts with "m_". |
|
A type or method has a low maintainability index value. A low maintainability index indicates that a type or method is probably difficult to maintain and would be a good candidate for redesign. |
|
This rule measures class coupling by counting the number of unique type references that a type or method contains. |