6.2.11.12. LinesOfCodeMetricsΒΆ
Metrics based on lines of code
Nested Rules
Lines in Class containing Code |
|
Lines in Class containing Comments |
|
LinesClassCommentRatio |
|
Lines of Code in a Class (Empty, Comment, Code) |
|
Lines in Class containing only Comments |
|
Lines containing Code |
|
Lines containing Comments |
|
Empty Lines |
|
Lines in File containing Code |
|
Lines in File containing Comments |
|
LinesFileCommentRatio |
|
Lines of Code in a File (Empty, Comment, Code) |
|
Lines in File containing only Comments |
|
Lines of Code (Empty, Comment, Code) |
|
Lines containing only Comments |
|
Lines containing #define |
|
Lines containing #elif |
|
Lines containing #elifdef |
|
Lines containing #elifndef |
|
Lines containing #else |
|
Lines containing #endif |
|
Lines containing #error |
|
Lines containing #ident |
|
Lines containing #if |
|
Lines containing #ifdef |
|
Lines containing #ifndef |
|
Lines containing #include |
|
Lines containing #line |
|
Lines containing #pragma |
|
Lines containing # |
|
Lines containing ## |
|
Lines containing #undef |
|
Lines containing #warning |
|
Lines containing Preprocessor Directives |
|
Lines of Code in a Routine body (Empty, Comment, Code) |
|
Lines in Routine containing Code |
|
Lines in Routine containing Comments |
|
LinesRoutineCommentRatio |
|
LinesRoutineCommentRatioLocQualified |
|
Lines of Code in a Routine (Empty, Comment, Code) |
|
Lines in Routine containing only Comments |
Options
Setting an option for this rule means setting the default for all nested rules.
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing, provider, severity
This rule shares the following common metric options: base_view_name, excluded_node_types, hierarchy_edge_name, hierarchy_view_name, propagate, report_all_values, report_propagated_values
The following places define options that affect this rule: Analysis-GlobalOptions
This rule has no individual options.