* This file specifies all metrics produced by QAC. * The Metric browser and other viewing reports use this information. * * This file can be edited but must be in the following format where each field * is separated by white space: * * Field 1: Metric name * Field 2: Metric description - must be within quotes * Field 3: Group (1=function metrics, 3=file metrics) * Field 4: Minimum range value * Field 5: Maximum range value * * STAKI "STAKI: Akiyama's criterion" 1 1 20 STAV1 "STAV1: Average size of statement in function" 1 4.0 20.0 STAV2 "STAV2: Average size of statement in function" 1 4.0 20.0 STAV3 "STAV3: Average size of statement in function" 1 4.0 20.0 STBAK "STBAK: Number of backwards jumps" 1 0 0 STBME "STBME: Embedded programmer months" 3 1 2 STBMO "STBMO: Organic programmer months" 3 1 2 STBMS "STBMS: Semi-detached programmer months" 3 1 2 STBUG "STBUG: Residual bugs (token-based est.)" 3 5 10 STCAL "STCAL: Number of functions called from function." 1 0 10 STCDN "STCDN: Comment to code ratio" 3 0.1 0.8 STCYC "STCYC: Cyclomatic complexity" 1 2 10 STDEV "STDEV: Est. development (programmer-days)" 3 0 1 STDIF "STDIF: Program difficulty" 3 1 12 STECT "STECT: Number of external variables declared" 3 0 1 STEFF "STEFF: Program effort" 3 1 2 STELF "STELF: Number of dangling ELSE IF's" 1 0 0 STFCO "STFCO: Estimated function coupling" 3 1 2 STFN1 "STFN1: Number of operator occurrences in function" 1 10 100 STFN2 "STFN2: Number of operand occurrences in function" 1 10 100 STFNC "STFNC: Number of functions in file" 3 1 1 STGTO "STGTO: Number of GOTO's" 1 0 0 STHAL "STHAL: Halstead prediction of STTOT" 3 1 2 STKDN "STKDN: Knot density" 1 0 1 STKNT "STKNT: Knot count" 1 0 1 STLCT "STLCT: Number of local variables declared" 1 1 2 STLIN "STLIN: Number of code lines" 1 1 200 STLOP "STLOP: Number of logical operators" 1 0 10 STM07 "STM07: Essential Cyclomatic Complexity" 1 1 4 STM19 "STM19: Number of exit points" 1 0 1 STM20 "STM20: Number of operand occurrences" 3 10 100 STM21 "STM21: Number of operator occurrences" 3 10 100 STM22 "STM22: Number of statements" 3 100 200 STM28 "STM28: Number of non-header comments" 3 10 80 STM29 "STM29: Number of functions calling this function" 1 1 1 STM33 "STM33: Number of internal comments" 3 10 80 STMCC "STMCC: Myer's interval" 1 1 10 STMIF "STMIF: Deepest level of nesting" 1 1 5 STOPN "STOPN: Number of distinct operands" 3 10 100 STOPT "STOPT: Number of distinct operators" 3 10 100 STPAR "STPAR: Number of function parameters" 1 1 10 STPBG "STPBG: Residual bugs (STPTH-based est.)" 1 0 0 STPDN "STPDN: Path density (STPTH/STXLN)" 1 1 100 STPTH "STPTH: Estimated static program paths" 1 4 200 STRET "STRET: Number of return points in function" 1 1 1 STSCT "STSCT: Number of static variables declared" 3 0 1 STSHN "STSHN: Shannon information content(bits)" 3 10 50 STST1 "STST1: Number of statements in function" 1 1 50 STST2 "STST2: Number of statements in function" 1 1 50 STST3 "STST3: Number of statements in function" 1 1 50 STSUB "STSUB: Number of function calls" 1 1 10 STTDE "STTDE: Embedded total months" 3 1 2 STTDO "STTDO: Organic total months" 3 1 2 STTDS "STTDS: Semi-detached total months" 3 1 2 STTLN "STTLN: Total preprocessed code lines" 3 100 150 STTOT "STTOT: Total number of tokens used" 3 10 50 STTPP "STTPP: Total unpreprocessed code lines" 3 100 200 STUNR "STUNR: Number of unreachable statements" 1 0 0 STUNV "STUNV: Unused or non-reused variables" 1 0 1 STVAR "STVAR: Total number of identifiers" 3 10 50 STVOL "STVOL: Program volume (bits)" 3 10 100 STXLN "STXLN: Number of executable lines" 1 1 50 STZIP "STZIP: Zipf prediction of STTOT" 3 0 1 STNRA "STNRA: Number of Recursions Across project" 4 0 1 STNEA "STNEA: Number of Entry points Across project" 4 1 1 STNFA "STNFA: Number of Functions Across project" 4 50 100 STCYA "STCYA: Cyclomatic complexity Across project" 4 100 200