Skip to content

Commit

Permalink
Add metrics for __asm and __typeof
Browse files Browse the repository at this point in the history
(And their __name__ equivalents.)
The __asm__ metric allows tracking how assembly instructions are introduced.

The __typeof__ metric allows tracking macros that can't be trivially
converted into functions.
  • Loading branch information
dspinellis committed Nov 23, 2024
1 parent 79c1222 commit 5c46565
Show file tree
Hide file tree
Showing 56 changed files with 1,785 additions and 1,776 deletions.
7 changes: 7 additions & 0 deletions src/metrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Metrics::metric_details_values()
v[em_ncontinue] = MetricDetails(1, 1, 1, "NCONTINUE", "Number of continue statements");
v[em_ngoto] = MetricDetails(1, 1, 1, "NGOTO", "Number of goto statements");
v[em_nreturn] = MetricDetails(1, 1, 1, "NRETURN", "Number of return statements");
v[em_nasm] = MetricDetails(1, 1, 1, "NASM", "Number of assembly statements");
v[em_ntypeof] = MetricDetails(1, 1, 1, "NTYPEOF", "Number of typeof operators");
// Identifiers categorized during identifier processing
v[em_npid] = MetricDetails(1, 1, 1, "NPID", "Number of project-scope identifiers");
v[em_nfid] = MetricDetails(1, 1, 1, "NFID", "Number of file-scope (static) identifiers");
Expand Down Expand Up @@ -326,6 +328,11 @@ KeywordMetrics::make_keyword_map()
km.insert(map_type::value_type("continue", Metrics::em_ncontinue));
km.insert(map_type::value_type("goto", Metrics::em_ngoto));
km.insert(map_type::value_type("return", Metrics::em_nreturn));
km.insert(map_type::value_type("_asm", Metrics::em_nasm));
km.insert(map_type::value_type("__asm", Metrics::em_nasm));
km.insert(map_type::value_type("__asm__", Metrics::em_nasm));
km.insert(map_type::value_type("__typeof", Metrics::em_ntypeof));
km.insert(map_type::value_type("__typeof__", Metrics::em_ntypeof));

return (km);
}
Expand Down
2 changes: 2 additions & 0 deletions src/metrics.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ class Metrics {
em_ncontinue, // Number of continue statements
em_ngoto, // Number of goto statements
em_nreturn, // Number of return statements
em_nasm, // Number of assembly statements
em_ntypeof, // Number of typeof operators
/*
* Identifiers (total and unique) categorized during
* identifier processing that takes place when each
Expand Down
1,028 changes: 514 additions & 514 deletions src/test/out/awk.c

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions src/test/out/c00-unused.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,15 +277,15 @@ FID NAME RO
4 c00-unused.c 0
5 prj2.c 0
Table: Filemetrics
FID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NCOPIES NINCFILE NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER
2 0 NULL NULL NULL NULL NULL NULL NULL 16 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 2 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 1 0 0 0 0 0 0
2 1 548 367 29 0 3 22 61 47 NULL 1 1 0 0 0 5 0 0 5 37 2 0 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 8 1 1 5 7 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
3 0 NULL NULL NULL NULL NULL NULL NULL 15 0 1 1 NULL NULL NULL NULL NULL NULL NULL 0 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 0 0 0 0 0 0 0
3 1 243 187 13 0 2 13 48 28 NULL 1 1 0 0 0 1 0 0 0 16 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
4 0 NULL NULL NULL NULL NULL NULL NULL 38 0 1 3 NULL NULL NULL NULL NULL NULL NULL 134 20 4 0 5 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 40 4 NULL 50 20 1 NULL 24 0 NULL NULL NULL 1 0 18 0 1 2 0 0
4 1 641 54 152 2 0 30 53 35 NULL 1 3 0 0 0 1 0 0 1 151 20 4 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 2 24 49 20 1 1 25 0 230 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
5 0 NULL NULL NULL NULL NULL NULL NULL 8 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 3 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 4 0 NULL 4 4 0 NULL 4 0 NULL NULL NULL 1 0 2 0 0 0 0 0
5 1 106 34 26 2 0 11 21 14 NULL 1 1 0 0 0 1 0 0 1 21 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 1 5 4 0 1 5 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
FID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NASM NTYPEOF NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NCOPIES NINCFILE NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER
2 0 NULL NULL NULL NULL NULL NULL NULL 16 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 2 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 1 0 0 0 0 0 0
2 1 548 367 29 0 3 22 61 47 NULL 1 1 0 0 0 5 0 0 5 37 2 0 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 8 1 1 5 7 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
3 0 NULL NULL NULL NULL NULL NULL NULL 15 0 1 1 NULL NULL NULL NULL NULL NULL NULL 0 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 0 0 0 0 0 0 0
3 1 243 187 13 0 2 13 48 28 NULL 1 1 0 0 0 1 0 0 0 16 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
4 0 NULL NULL NULL NULL NULL NULL NULL 38 0 1 3 NULL NULL NULL NULL NULL NULL NULL 134 20 4 0 5 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 40 4 NULL 50 20 1 NULL 24 0 NULL NULL NULL 1 0 18 0 1 2 0 0
4 1 641 54 152 2 0 30 53 35 NULL 1 3 0 0 0 1 0 0 1 151 20 4 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 2 24 49 20 1 1 25 0 230 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
5 0 NULL NULL NULL NULL NULL NULL NULL 8 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 3 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 NULL 4 4 0 NULL 4 0 NULL NULL NULL 1 0 2 0 0 0 0 0
5 1 106 34 26 2 0 11 21 14 NULL 1 1 0 0 0 1 0 0 1 21 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 1 5 4 0 1 5 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
Table: FileProj
FID PID
2 17
Expand Down Expand Up @@ -334,13 +334,13 @@ FUNCTIONID FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
4279 4 448 4 471
5355 2 557 2 577
Table: FunctionMetrics
FUNCTIONID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NGNSOC NMPARAM NFPARAM NEPARAM FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW
891 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL 36 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
891 1 23 15 4 1 0 2 18 0 NULL 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 NULL 0 0 0 1 1 1 0.0 0.0 0.0
4279 0 NULL NULL NULL NULL NULL NULL NULL 13 0 0 2 NULL NULL NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 1 0 0 NULL 1 0 NULL 36 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
4279 1 24 0 10 0 0 2 18 9 NULL 0 0 0 0 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 0 0 1 2 0 5 NULL 0 NULL 0 0 0 1 1 1 0.0 2.0 0.0
5355 0 NULL NULL NULL NULL NULL NULL NULL 5 0 0 1 NULL NULL NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 1 NULL 1 0 1 NULL 1 0 NULL 28 NULL 0 NULL 1 1 1 1 1 1.0 0.0 1.0
5355 1 22 0 3 0 0 1 21 5 NULL 0 1 0 0 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 NULL 0 NULL 0 1 1 1 1 1 1.0 0.0 1.0
FUNCTIONID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NASM NTYPEOF NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NGNSOC NMPARAM NFPARAM NEPARAM FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW
891 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL 36 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
891 1 23 15 4 1 0 2 18 0 NULL 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 NULL 0 0 0 1 1 1 0.0 0.0 0.0
4279 0 NULL NULL NULL NULL NULL NULL NULL 13 0 0 2 NULL NULL NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 1 0 0 NULL 1 0 NULL 36 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
4279 1 24 0 10 0 0 2 18 9 NULL 0 0 0 0 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 0 0 1 2 0 5 NULL 0 NULL 0 0 0 1 1 1 0.0 2.0 0.0
5355 0 NULL NULL NULL NULL NULL NULL NULL 5 0 0 1 NULL NULL NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 NULL 1 0 1 NULL 1 0 NULL 28 NULL 0 NULL 1 1 1 1 1 1.0 0.0 1.0
5355 1 22 0 3 0 0 1 21 5 NULL 0 1 0 0 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 NULL 0 NULL 0 1 1 1 1 1 1.0 0.0 1.0
Table: FunctionId
FUNCTIONID ORDINAL EID
891 0 891
Expand Down
36 changes: 18 additions & 18 deletions src/test/out/c01-idtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ FID NAME RO
4 c01-idtest.c 0
5 prj2.c 0
Table: Filemetrics
FID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NCOPIES NINCFILE NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER
2 0 NULL NULL NULL NULL NULL NULL NULL 16 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 2 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 1 0 0 0 0 0 0
2 1 548 367 29 0 3 22 61 47 NULL 1 1 0 0 0 5 0 0 5 37 2 0 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 8 1 1 5 7 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
3 0 NULL NULL NULL NULL NULL NULL NULL 15 0 1 1 NULL NULL NULL NULL NULL NULL NULL 0 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 0 0 0 0 0 0 0
3 1 243 187 13 0 2 13 48 28 NULL 1 1 0 0 0 1 0 0 0 16 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
4 0 NULL NULL NULL NULL NULL NULL NULL 25 1 1 2 NULL NULL NULL NULL NULL NULL NULL 76 12 5 0 2 0 0 NULL NULL 1 0 0 0 0 0 0 0 0 0 1 2 10 2 NULL 20 3 1 NULL 7 3 NULL NULL NULL 1 0 2 1 2 4 0 0
4 1 251 0 83 0 0 23 30 31 NULL 1 2 0 0 0 1 0 1 0 82 12 4 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 2 5 1 3 13 3 1 1 8 1 24 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
5 0 NULL NULL NULL NULL NULL NULL NULL 8 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 3 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 4 0 NULL 4 4 0 NULL 4 0 NULL NULL NULL 1 0 2 0 0 0 0 0
5 1 106 34 26 2 0 11 21 14 NULL 1 1 0 0 0 1 0 0 1 21 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 1 5 4 0 1 5 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
FID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NASM NTYPEOF NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NCOPIES NINCFILE NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER
2 0 NULL NULL NULL NULL NULL NULL NULL 16 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 2 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 1 0 0 0 0 0 0
2 1 548 367 29 0 3 22 61 47 NULL 1 1 0 0 0 5 0 0 5 37 2 0 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 8 1 1 5 7 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
3 0 NULL NULL NULL NULL NULL NULL NULL 15 0 1 1 NULL NULL NULL NULL NULL NULL NULL 0 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL NULL 0 0 0 0 0 0 0 0
3 1 243 187 13 0 2 13 48 28 NULL 1 1 0 0 0 1 0 0 0 16 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
4 0 NULL NULL NULL NULL NULL NULL NULL 25 1 1 2 NULL NULL NULL NULL NULL NULL NULL 76 12 5 0 2 0 0 NULL NULL 1 0 0 0 0 0 0 0 0 0 1 2 0 0 10 2 NULL 20 3 1 NULL 7 3 NULL NULL NULL 1 0 2 1 2 4 0 0
4 1 251 0 83 0 0 23 30 31 NULL 1 2 0 0 0 1 0 1 0 82 12 4 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 2 0 0 5 1 3 13 3 1 1 8 1 24 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
5 0 NULL NULL NULL NULL NULL NULL NULL 8 0 1 1 NULL NULL NULL NULL NULL NULL NULL 18 3 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 NULL 4 4 0 NULL 4 0 NULL NULL NULL 1 0 2 0 0 0 0 0
5 1 106 34 26 2 0 11 21 14 NULL 1 1 0 0 0 1 0 0 1 21 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 1 5 4 0 1 5 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
Table: FileProj
FID PID
2 17
Expand Down Expand Up @@ -237,15 +237,15 @@ FUNCTIONID FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
1559 4 186 4 280
5355 2 557 2 577
Table: FunctionMetrics
FUNCTIONID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NGNSOC NMPARAM NFPARAM NEPARAM FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW
89 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL 0 NULL 0 NULL 1 0 1 1 1 0.0 0.0 0.0
89 1 17 0 4 0 0 1 15 0 NULL 0 2 0 0 0 0 0 0 0 7 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 1 NULL 0 1 0 1 1 1 0.0 0.0 0.0
891 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL 18 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
891 1 23 15 4 1 0 2 18 0 NULL 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 NULL 0 0 0 1 1 1 0.0 0.0 0.0
1559 0 NULL NULL NULL NULL NULL NULL NULL 22 1 0 2 NULL NULL NULL NULL NULL NULL NULL 35 5 4 3 2 0 0 NULL NULL 1 0 0 0 0 0 0 0 0 0 1 2 2 0 NULL 4 2 0 NULL 4 1 NULL 15 NULL 0 NULL 0 1 2 2 2 0.0 31.6993 0.0
1559 1 87 0 31 0 0 7 30 21 NULL 0 1 0 0 0 0 0 0 0 29 5 2 2 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 2 2 0 2 6 2 0 1 5 1 12 NULL 0 NULL 0 0 1 2 2 2 0.0 31.6993 0.0
5355 0 NULL NULL NULL NULL NULL NULL NULL 5 0 0 1 NULL NULL NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 1 NULL 1 0 1 NULL 1 0 NULL 10 NULL 0 NULL 1 1 1 1 1 1.0 0.0 1.0
5355 1 22 0 3 0 0 1 21 5 NULL 0 1 0 0 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 NULL 0 NULL 0 1 1 1 1 1 1.0 0.0 1.0
FUNCTIONID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST BRACENEST BRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NPPCONCATOP NPPSTRINGOP NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NASM NTYPEOF NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NMACROEXPANDTOKEN NGNSOC NMPARAM NFPARAM NEPARAM FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW
89 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL 0 NULL 0 NULL 1 0 1 1 1 0.0 0.0 0.0
89 1 17 0 4 0 0 1 15 0 NULL 0 2 0 0 0 0 0 0 0 7 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 1 NULL 0 1 0 1 1 1 0.0 0.0 0.0
891 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL 18 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
891 1 23 15 4 1 0 2 18 0 NULL 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 NULL 0 0 0 1 1 1 0.0 0.0 0.0
1559 0 NULL NULL NULL NULL NULL NULL NULL 22 1 0 2 NULL NULL NULL NULL NULL NULL NULL 35 5 4 3 2 0 0 NULL NULL 1 0 0 0 0 0 0 0 0 0 1 2 0 0 2 0 NULL 4 2 0 NULL 4 1 NULL 15 NULL 0 NULL 0 1 2 2 2 0.0 31.6993 0.0
1559 1 87 0 31 0 0 7 30 21 NULL 0 1 0 0 0 0 0 0 0 29 5 2 2 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 2 0 0 2 0 2 6 2 0 1 5 1 12 NULL 0 NULL 0 0 1 2 2 2 0.0 31.6993 0.0
5355 0 NULL NULL NULL NULL NULL NULL NULL 5 0 0 1 NULL NULL NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 NULL 1 0 1 NULL 1 0 NULL 10 NULL 0 NULL 1 1 1 1 1 1.0 0.0 1.0
5355 1 22 0 3 0 0 1 21 5 NULL 0 1 0 0 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 NULL 0 NULL 0 1 1 1 1 1 1.0 0.0 1.0
Table: FunctionId
FUNCTIONID ORDINAL EID
89 0 89
Expand Down
Loading

0 comments on commit 5c46565

Please sign in to comment.