Logevents v111003 analysis/pr-app-CA123 s_stats-problems.html C:\IndigoPerl\bin\perl.exe 5.006

Description This report identifies potential problems with the software. There is a stats, problems, and details area. Examine the stats and compare them against previous runs of this report. The problems area identifies potential issues with the software. Use the links in this area to perform further analysis and verification of a potential problem. Use the details area to gauge the level of potential issues with a module. This is the same information as the more compact problems area, but the visualization may be more appropriate when making module decisions.
AnalysisComment
StatsThis analysis shows some key software metrics including LOC and module counts.
ProblemsThis analysis summarizes all the problems detected by the automated software analysis.
DetailsThis analysis shows the details from the original source code that are extracted from the search requests and internal error, warning, and caution settings. It also includes software metrics on a module basis.

Other Analysis Reports . Original Source Code . Instrumented Source Code . Help

12/08/2003 15:52:02


Analysis Group Stats

Previous Stats ft-app-B1.0-entropy.pl
ItemPreviousCurrentNorm
Total Source Lines - c h asm s 96366 13210 0 - - -13210- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 192732     prev:96366 cur:13210-83156
Total Non Blank Lines - c h asm s 52923 7247 0 - - -7247- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 105846     prev:52923 cur:7247-45676
Total Logical - c h asm s 3246 417 0 - - -417- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6492     prev:3246 cur:417-2829
Total SemiColons - c h asm s 38038 5290 0 - - -5290- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76076     prev:38038 cur:5290-32748
Total LOC - c h asm s 41284 5707 0 - - -5707- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 82568     prev:41284 cur:5707-35577

All Files - c h asm s (tot/analyzed) 134 18 / 18 0 - - -18- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 268     prev:134 cur:18-116
Files - C (tot/analyzed) 67 9 / 9 0 - - -9- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 134     prev:67 cur:9-58
Files - H (tot/analyzed) 67 9 / 9 0 - - -9- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 134     prev:67 cur:9-58
Files - ASM (tot/analyzed) 0.01 0 / 0
Perfect
Functions - C 537 69 0 - - -69- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 1074     prev:537 cur:69-468

Log Events in Code 1235 177 0 - - -177- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2470     prev:1235 cur:177-1058
TOC Reqs in Code 1194 169 0 - - -169- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2388     prev:1194 cur:169-1025
TOC Reqs in SRDB 1194 1174 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1174- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2388     prev:1194 cur:1174-20
Debug Events 0.01 0
Perfect
HMI Events 0.01 0
Perfect
LOC Events 0.01 0
Perfect

Code Req per SRDB Req (%) 100 14 0 - - -14- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 200     prev:100 cur:14-86
LOC per File - c h asm s 308 317 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -317- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 616     prev:308 cur:3179
LOC per Function 76 82 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -82- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 152     prev:76 cur:826
Functions per File - C 8.01 7.66 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -7.66- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 16.02     prev:8.01 cur:7.66-0.35

Non Blank Lines Per LOC 1.28 1.26 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.26- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.56     prev:1.28 cur:1.26-0.02
LOC Per Logical 12.71 13.68 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -13.68- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 25.42     prev:12.71 cur:13.680.96
C Per H 1.28 1.26 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.26- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.56     prev:1.28 cur:1.26-0.02

LOC per Req 34.57 33.76 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -33.76- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 69.14     prev:34.57 cur:33.76-0.81
Functions per Req 0.44 0.4 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.88     prev:0.44 cur:0.4-0.04
Logevents per Req 1.03 1.04 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.04- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.06     prev:1.03 cur:1.040.01


Possible Problems

Fatal Errors
C Headers
H Headers
ASM Headers
Must Fix Classification
Possible Class Issues
SV Marking
CV Marking
Fixed Keywords Code
Fixed Keywords Prologue
Conditional Compiles ifdefs
Missing Curly Braces
Switch Default balance
Default SwError balance
Case Break balance
Nested Switches
Stacked Cases
Calling Rules
No Error Exits
Files with 5 or more Functions
Files with 500 or more LOC
Functions with more than 100 LOC
C Functions with less than 5 LOC
Uncalled Functions / Interface
Dead Code
Log Event
Line Length 132
do Loops
goto Statements
?: Operator
++/-- In Decisions
Storage malloc free
Type ReCasting
Missing Function Headers
Analysis Summary


menu . Fatal Errors
These are artifacts of instrumentation that will lead to compile errors most of the time, such as printf's, breaking if-else sequences, splitting declaration areas, and instrumenting previously instrumented code.

1 1-1817 . source/pr-app/pr-app-CA123/ca/ca-01.c FATAL Compile Error LE breaks U16 path near: send_buffer = (U16 *) malloc(size+1); 1
2 1-1842 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
3 2-202 . source/pr-app/pr-app-CA123/ca/ca-02.c FATAL Compile Error LE breaks float path near: A = (float)B + C; 1
4 2-976 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
5 5-1159 . source/pr-app/pr-app-CA123/ca/ca-05.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
6 6-1434 . source/pr-app/pr-app-CA123/ca/ca-06.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
7 6-1746 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
8 6-1999 . FATAL Compile Error LE breaks float path near: A = (float)B + C; 1
9 6-648 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
10 7-105 . source/pr-app/pr-app-CA123/ca/ca-07.c FATAL Compile Error LE breaks int path near: A = (int)B + C; 1
11 8-587 . source/pr-app/pr-app-CA123/ca/ca-08.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
12 9-807 . source/pr-app/pr-app-CA123/ca/ca-09.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
Summary: 12 out of 5707 LOC = 0.21%       or       7 out of 18 files = 38.88%
- - - 0.21
- - -- - -- - -- - -- - -- - -- - - 38.88


menu . C Header: 1 out of 9 C files
The .c .h and assembly headers are separately checked for the appropriate fields. Missing fields, wrong sequence of the fields, or missing headers are detected. Extra fields are ignored. Valid format:

          BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE

CONDOR 1 source/pr-app/pr-app-CA123/ca/ca-09.c Possible problem Header
          your header
          Possible Missing Fields: BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE
          Possible Extra Fields:
Summary: 1 out of 9 files = 11.11%
- - -- - -- - -- - -- - -- - -- - - 11.11


menu . H Header: 2 out of 9 H files
The .c .h and assembly headers are separately checked for the appropriate fields. Missing fields, wrong sequence of the fields, or missing headers are detected. Extra fields are ignored. Thread ID is optional and will only appear in the extra fields note if there is another header problem. Valid format:

          BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE

CONDOR 1 source/pr-app/pr-app-CA123/ca/ca-01.h OOPs No Header
CONDOR 2 source/pr-app/pr-app-CA123/ca/ca-05.h OOPs No Header
Summary: 2 out of 9 files = 22.22%
- - -- - -- - -- - -- - -- - -- - -- - -- - - 22.22


menu . ASM Header: out of 0 ASM files
The .c .h and assembly headers are separately checked for the appropriate fields. Missing fields, wrong sequence of the fields, or missing headers are detected. Extra fields are ignored. Valid format:

          BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE

Looks good no header a findings :)


menu . Must Fix Classification
The header classification field must be marked PROPRIETARY or UNCLASSIFIED, no other markings are permitted. The file naming convention is checked against the header classification marking. Keywords that may trigger a higher classification are compared against the file naming convention. Missing headers against classified file names are detected.

1 source/pr-app/pr-app-CA123/ca/ca-01.h File s_ marking wrong or Header Classification blank CONDOR
2 source/pr-app/pr-app-CA123/ca/ca-05.h File s_ marking wrong or Header Classification blank CONDOR
3 source/pr-app/pr-app-CA123/ca/ca-09.c File s_ marking wrong or Header Classification blank CONDOR
Summary: 3 out of 18 files = 16.66%
- - -- - -- - - 16.66


menu . Possible Class Issues
The header classification field must be marked PROPRIETARY or UNCLASSIFIED, no other markings are permitted. The file naming convention is checked against the header classification marking. Keywords that may trigger a higher classification are compared against the file naming convention. Missing headers against classified file names are detected.

1 1-1560 . source/pr-app/pr-app-CA123/ca/ca-01.c Classified text in wrong file name: halt ; CONDOR
2 1-1647 . Classified text in wrong file name: halt ;
3 1-1714 . Classified text in wrong file name: // (P) this is really improtant
4 1-830 . Classified text in wrong file name: /* LE SV TOC-1010 this is a ca-01.5.17 req to halt */
5 2-1028 . source/pr-app/pr-app-CA123/ca/ca-02.c Classified text in wrong file name: // (P) this is really improtant CONDOR
6 2-1246 . Classified text in wrong file name: halt ;
7 2-1552 . Classified text in wrong file name: halt ;
8 2-697 . Classified text in wrong file name: /* LE SV TOC-1038 this is a ca-02.4.2 req to halt */
9 2-849 . Classified text in wrong file name: /* LE SV TOC-1041 this is a ca-02.4.41 req to halt */
10 2-883 . Classified text in wrong file name: halt ;
11 4-133 . source/pr-app/pr-app-CA123/ca/ca-04.c Classified text in wrong file name: /* LE SV TOC-1054 this is a ca-04.1.41 req to halt */ CONDOR
12 5-1152 . source/pr-app/pr-app-CA123/ca/ca-05.c Classified text in wrong file name: // (P) this is really improtant CONDOR
13 6-1111 . source/pr-app/pr-app-CA123/ca/ca-06.c Classified text in wrong file name: // (P) this is really improtant CONDOR
14 6-1268 . Classified text in wrong file name: /* LE SV TOC-1092 this is a ca-06.7.31 req to halt */
15 6-1608 . Classified text in wrong file name: halt ;
16 6-2240 . Classified text in wrong file name: halt ;
17 6-484 . Classified text in wrong file name: /* LE SV TOC-1081 this is a ca-06.3.15 req to halt */
18 7-1167 . source/pr-app/pr-app-CA123/ca/ca-07.c Classified text in wrong file name: // (P) this is really improtant CONDOR
19 7-578 . Classified text in wrong file name: halt ;
20 7-86 . Classified text in wrong file name: halt ;
21 8-963 . source/pr-app/pr-app-CA123/ca/ca-08.c Classified text in wrong file name: halt ; CONDOR
22 9-1054 . source/pr-app/pr-app-CA123/ca/ca-09.c Classified text in wrong file name: halt ; CONDOR
23 9-1165 . Classified text in wrong file name: /* LE SV TOC-1158 this is a ca-09.6.15 req to halt */
24 9-1644 . Classified text in wrong file name: halt ;
25 9-1867 . Classified text in wrong file name: // (P) this is really improtant
26 9-1930 . Classified text in wrong file name: /* LE SV TOC-1169 this is a ca-09.9.27 req to halt */
27 9-71 . Classified text in wrong file name: halt ;
Summary: 27 out of 5707 LOC = 0.47%       or       8 out of 18 files = 44.44%
- - - 0.47
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 44.44


menu . Fixed Keywords Code
Although there is a separate keywords report, there are several keywords that must be explained or removed. The bad fixed keywords form this set.
C - \btbd\b|\btbs\b|\btbsl\b|demo|\?\?     H - \btbd\b|\btbs\b|\btbsl\b|demo|\?\?     A - \btbd\b|\btbs\b|\btbsl\b|demo|\?\?

C files
1 1-1771 . source/pr-app/pr-app-CA123/ca/ca-01.c // ? ?? go see ws CONDOR
2 1-944 . // TBD - what do I do now
3 2-1295 . source/pr-app/pr-app-CA123/ca/ca-02.c // ? ?? go see ws CONDOR
4 2-1744 . // ? ?? go see ws
5 5-1053 . source/pr-app/pr-app-CA123/ca/ca-05.c // TBD - what do I do now CONDOR
6 5-701 . // ? ?? go see ws
7 5-964 . // ? ?? go see ws
8 6-1548 . source/pr-app/pr-app-CA123/ca/ca-06.c // TBD - what do I do now CONDOR
9 6-183 . // ? ?? go see ws
10 6-910 . // ? ?? go see ws
11 7-678 . source/pr-app/pr-app-CA123/ca/ca-07.c // TBD - what do I do now CONDOR
12 7-843 . // TBD - what do I do now
13 8-1574 . source/pr-app/pr-app-CA123/ca/ca-08.c // ? ?? go see ws CONDOR
14 9-2046 . source/pr-app/pr-app-CA123/ca/ca-09.c // TBS - I need to figure this out CONDOR
15 9-52 . // TBD - what do I do now

H files

Assembly files

other files

Summary: 15 out of 5707 LOC = 0.26%       or       7 out of 18 files = 38.88%
- - - 0.26
- - -- - -- - -- - -- - -- - -- - - 38.88


menu . Fixed Keywords Prologue
Although there is a separate keywords report, there are several keywords that must be explained or removed. The bad fixed keywords form this set.
C - \btbd\b|\btbs\b|\btbsl\b|demo|\?\?     H - \btbd\b|\btbs\b|\btbsl\b|demo|\?\?     A - \btbd\b|\btbs\b|\btbsl\b|demo|\?\?

Looks good no bad fixed keyword findings :)
C files

H files

Assembly files

other files

Summary: 0 out of 5707 LOC = 0%       or       0 out of 18 files = 0%
- - - 0
- - - 0


menu . Conditional Compiles ifdefs
Conditional compiles can become a problem if they are not properly managed. #if|#elif|#else|#error|#endif|#if.defined|ifdef

1 1-1177 . source/pr-app/pr-app-CA123/ca/ca-01.c # ifdef LAZY CONDOR
2 1-1181 . #endif
3 1-1333 . # ifdef LAZY
4 1-1337 . #endif
5 1-506 . # ifdef LAZY
6 1-510 . #endif
7 5-533 . source/pr-app/pr-app-CA123/ca/ca-05.c # ifdef LAZY CONDOR
8 5-537 . #endif
9 6-385 . source/pr-app/pr-app-CA123/ca/ca-06.c # ifdef LAZY CONDOR
10 6-389 . #endif
11 6-872 . # ifdef LAZY
12 6-876 . #endif
13 9-376 . source/pr-app/pr-app-CA123/ca/ca-09.c # ifdef LAZY CONDOR
14 9-380 . #endif
Summary: 14 out of 5707 LOC = 0.24%       or       4 out of 18 files = 22.22%
- - - 0.24
- - -- - -- - -- - -- - -- - -- - -- - -- - - 22.22


menu . Missing Curly Braces
If and Else statements should enclose their operations with curly braces. Missing curly braces can lead to potential problems as the code changes and if or else blocks are potentially modified to include more than one code statement.

1 1-1095 . source/pr-app/pr-app-CA123/ca/ca-01.c Missing curly brace if (veg) looked as far as 1100 CONDOR
2 2-1118 . source/pr-app/pr-app-CA123/ca/ca-02.c Missing curly brace if (veg) looked as far as 1124 CONDOR
3 7-362 . source/pr-app/pr-app-CA123/ca/ca-07.c Missing curly brace if (veg) looked as far as 367 CONDOR
Summary: 3 out of 5707 LOC = 0.05%       or       3 out of 18 files = 16.66%
- - - 0.05
- - -- - -- - - 16.66


menu . Switch Default balance . ErrorHandlingRpt . green is good red is bad
All switch statements must be paired with a default statement. Missing default statements are detected exclusive of comments.

1 2-1003 . source/pr-app/pr-app-CA123/ca/ca-02.c Missing default CONDOR
2 2-1352 . Missing default
3 5-1284 . source/pr-app/pr-app-CA123/ca/ca-05.c Missing default CONDOR
4 7-52 . source/pr-app/pr-app-CA123/ca/ca-07.c Missing default CONDOR
5 8-1032 . source/pr-app/pr-app-CA123/ca/ca-08.c Missing default CONDOR
6 9-740 . source/pr-app/pr-app-CA123/ca/ca-09.c Missing default CONDOR
Summary: 6 out of 5707 LOC = 0.1%       or       5 out of 18 files = 27.77%
- - - 0.1
- - -- - -- - -- - -- - - 27.77


menu . Default SwError balance . ErrorHandlingRpt . green is good red is bad
All default statements must call SwError. Missing SwError calls and calls that are commented out are detected.

1 1-1645 . source/pr-app/pr-app-CA123/ca/ca-01.c Missing SwError CONDOR
2 2-1244 . source/pr-app/pr-app-CA123/ca/ca-02.c Missing SwError CONDOR
3 2-1550 . Missing SwError
4 2-881 . Missing SwError
5 6-1606 . source/pr-app/pr-app-CA123/ca/ca-06.c Missing SwError CONDOR
6 8-1187 . source/pr-app/pr-app-CA123/ca/ca-08.c Missing SwError CONDOR
7 9-1642 . source/pr-app/pr-app-CA123/ca/ca-09.c Missing SwError CONDOR
8 9-343 . Missing SwError
9 9-641 . Missing SwError
10 9-69 . Missing SwError
Summary: 10 out of 5707 LOC = 0.17%       or       5 out of 18 files = 27.77%
- - - 0.17
- - -- - -- - -- - -- - - 27.77


menu . Case Break balance . ErrorHandlingRpt
All case statements with code should be paired with a break or return statement. Missing break statements are detected exclusive of comments. Without a break the code is less robust and prone to disintegration when modified.

1 1-705 . source/pr-app/pr-app-CA123/ca/ca-01.c Missing break in case CONDOR
2 2-1358 . source/pr-app/pr-app-CA123/ca/ca-02.c Missing break in case CONDOR
3 2-1692 . Missing break in case
4 2-621 . Missing break in case
5 5-1290 . source/pr-app/pr-app-CA123/ca/ca-05.c Missing break in case CONDOR
6 6-966 . source/pr-app/pr-app-CA123/ca/ca-06.c Missing break in case CONDOR
7 7-760 . source/pr-app/pr-app-CA123/ca/ca-07.c Missing break in case CONDOR
8 8-641 . source/pr-app/pr-app-CA123/ca/ca-08.c Missing break in case CONDOR
9 8-94 . Missing break in case
10 9-1079 . source/pr-app/pr-app-CA123/ca/ca-09.c Missing break in case CONDOR
11 9-1178 . Missing break in case
12 9-1445 . Missing break in case
13 9-746 . Missing break in case
Summary: 13 out of 5707 LOC = 0.22%       or       7 out of 18 files = 38.88%
- - - 0.22
- - -- - -- - -- - -- - -- - -- - - 38.88


menu . Nested Switches . ErrorHandlingRpt
Some case statements have a nested switch sequence.

1 2-1354 . source/pr-app/pr-app-CA123/ca/ca-02.c Nested switch CONDOR
2 5-1286 . source/pr-app/pr-app-CA123/ca/ca-05.c Nested switch CONDOR
3 9-742 . source/pr-app/pr-app-CA123/ca/ca-09.c Nested switch CONDOR
Summary: 3 out of 5707 LOC = 0.05%       or       3 out of 18 files = 16.66%
- - - 0.05
- - -- - -- - - 16.66


menu . Stacked Case Statements . ErrorHandlingRpt
Some case statements are stacked.

1 1-1634 . source/pr-app/pr-app-CA123/ca/ca-01.c Stacked case statements CONDOR
2 1-1635 . Stacked case statements
3 1-1638 . Stacked case statements
4 1-1639 . Stacked case statements
5 2-1233 . source/pr-app/pr-app-CA123/ca/ca-02.c Stacked case statements CONDOR
6 2-1234 . Stacked case statements
7 2-1237 . Stacked case statements
8 2-1238 . Stacked case statements
9 2-1539 . Stacked case statements
10 2-1540 . Stacked case statements
11 2-1543 . Stacked case statements
12 2-1544 . Stacked case statements
13 2-870 . Stacked case statements
14 2-871 . Stacked case statements
15 2-874 . Stacked case statements
16 2-875 . Stacked case statements
17 6-1595 . source/pr-app/pr-app-CA123/ca/ca-06.c Stacked case statements CONDOR
18 6-1596 . Stacked case statements
19 6-1599 . Stacked case statements
20 6-1600 . Stacked case statements
21 9-1631 . source/pr-app/pr-app-CA123/ca/ca-09.c Stacked case statements CONDOR
22 9-1632 . Stacked case statements
23 9-1635 . Stacked case statements
24 9-1636 . Stacked case statements
25 9-58 . Stacked case statements
26 9-59 . Stacked case statements
27 9-62 . Stacked case statements
28 9-63 . Stacked case statements
Summary: 28 out of 5707 LOC = 0.49%       or       4 out of 18 files = 22.22%
- - - 0.49
- - -- - -- - -- - -- - -- - -- - -- - -- - - 22.22


menu . File with: No Error Exits 1
Most of the software should include an error exit. This is not a hard and fast rule, but may need to be justified.

1 source/pr-app/pr-app-CA123/ca/ca-03.c CONDOR
Summary: 1 out of 18 files = 5.55%
- - - 5.55


menu . Files with: 5 or more Functions
Good practices limit the number of functions to 5 in any given source file.

1 source/pr-app/pr-app-CA123/ca/ca-01.c 10 CONDOR
2 source/pr-app/pr-app-CA123/ca/ca-02.c 8 CONDOR
3 source/pr-app/pr-app-CA123/ca/ca-05.c 8 CONDOR
4 source/pr-app/pr-app-CA123/ca/ca-06.c 10 CONDOR
5 source/pr-app/pr-app-CA123/ca/ca-07.c 7 CONDOR
6 source/pr-app/pr-app-CA123/ca/ca-08.c 12 CONDOR
7 source/pr-app/pr-app-CA123/ca/ca-09.c 11 CONDOR
Summary: 7 out of 18 files = 38.88%
- - -- - -- - -- - -- - -- - -- - - 38.88


menu . Files with: 500 or more LOC
Good practices limit the number of LOC to 500 in any given source file.

1 source/pr-app/pr-app-CA123/ca/ca-01.c Error: File with 854 LOC detected CONDOR
2 source/pr-app/pr-app-CA123/ca/ca-02.c Error: File with 761 LOC detected CONDOR
3 source/pr-app/pr-app-CA123/ca/ca-05.c Error: File with 625 LOC detected CONDOR
4 source/pr-app/pr-app-CA123/ca/ca-06.c Error: File with 995 LOC detected CONDOR
5 source/pr-app/pr-app-CA123/ca/ca-07.c Error: File with 587 LOC detected CONDOR
6 source/pr-app/pr-app-CA123/ca/ca-08.c Error: File with 724 LOC detected CONDOR
7 Error: File with 954 LOC detected
Summary: 1 out of 18 files = 5.55%
- - - 5.55


menu . Functions with: more than 100 LOC
For proper analysis there must be a valid header termination before the start of a function. Good practices limit the LOC in any given function.

1 source/pr-app/pr-app-CA123/ca/ca-01.c 854 CONDOR
2 source/pr-app/pr-app-CA123/ca/ca-02.c 761 CONDOR
3 source/pr-app/pr-app-CA123/ca/ca-04.c 122 CONDOR
4 source/pr-app/pr-app-CA123/ca/ca-05.c 625 CONDOR
5 source/pr-app/pr-app-CA123/ca/ca-06.c 995 CONDOR
6 source/pr-app/pr-app-CA123/ca/ca-07.c 587 CONDOR
7 source/pr-app/pr-app-CA123/ca/ca-08.c 724 CONDOR
8 source/pr-app/pr-app-CA123/ca/ca-09.c 954 CONDOR
Summary: 8 out of 69 Functions = 11.59%       or       8 out of 18 files = 44.44%
- - -- - -- - -- - -- - -- - -- - - 11.59
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 44.44


menu . C Functions with: less than 5 LOC
For proper analysis there must be a valid header termination before the start of a function. Good practices limit the LOC in any given function.

Looks good no lt LOC per file findings :)
Summary: 0 out of 69 Functions = 0%       or       0 out of 18 files = 0%
- - - 0
- - - 0


menu . Dead Code
This is a very simple detector looking for single line commented out code. Code that is block commented out is not detected. Dead code that is the result of logical errors is not detected.

1 1-1516 . source/pr-app/pr-app-CA123/ca/ca-01.c B dead_code = D + E; CONDOR
2 1-552 . B dead_code = D + E;
3 2-1210 . source/pr-app/pr-app-CA123/ca/ca-02.c B dead_code = B - C; CONDOR
4 2-1515 . B dead_block = C * D;
5 2-334 . A /* dead_code = A * B; */
6 2-601 . A /* dead_code = A * B; */
7 2-928 . B dead_code = D + E;
8 5-901 . source/pr-app/pr-app-CA123/ca/ca-05.c B dead_code = B - C; CONDOR
9 6-1070 . source/pr-app/pr-app-CA123/ca/ca-06.c B dead_code = D + E; CONDOR
10 6-1691 . B dead_code = B - C;
11 6-1995 . B dead_block = E * F; */
12 6-705 . A /* dead_code = A * B; */
13 6-829 . A /* dead_code = A * B; */
14 6-84 . B dead_code = D + E;
15 7-191 . source/pr-app/pr-app-CA123/ca/ca-07.c B dead_block = E * F; */ CONDOR
16 8-312 . source/pr-app/pr-app-CA123/ca/ca-08.c B dead_block = C * D; CONDOR
17 8-63 . B dead_block = E * F; */
18 9-1098 . source/pr-app/pr-app-CA123/ca/ca-09.c B dead_code = D + E; CONDOR
19 9-1172 . B dead_block = E * F; */
20 9-1238 . B dead_code = D + E;
21 9-1875 . B dead_code = D + E;
22 9-218 . B dead_code = B - C;
23 9-556 . B dead_block = E * F; */
Summary: 23 out of 5707 LOC = 0.4%       or       7 out of 18 files = 38.88%
- - - 0.4
- - -- - -- - -- - -- - -- - -- - - 38.88


menu . Log Event
Logevents are subjected to several checks to determine if there may be a potential problem. The checks include redundant text, consecutive events without program code in between events, encoding problems (LE SV not LE, not SV, not TE, etc), potentially placing a logevent at the start of a procedure rather than at the conclusion, potentially placing a logevent within a loop.

Looks good no log event findings :)
Summary: 0 out of 5707 LOC = 0%       or       0 out of 18 files = 0%
- - - 0
- - - 0


menu . Line Length
Report lines greater than 132 characters where 2 characters are CR/LF. Ignore lines generated by clear case, they exceed 132.

Looks good no length sets to consider :)
Summary: 0 out of 5707 LOC = 0%       or       0 out of 18 files = 0%
- - - 0
- - - 0


menu . do Loops

1 1-556 . source/pr-app/pr-app-CA123/ca/ca-01.c do Loop do forever; CONDOR
2 2-1493 . source/pr-app/pr-app-CA123/ca/ca-02.c do Loop do forever; CONDOR
3 5-1327 . source/pr-app/pr-app-CA123/ca/ca-05.c do Loop do forever; CONDOR
4 5-520 . do Loop do forever;
5 5-892 . do Loop do forever;
6 6-1574 . source/pr-app/pr-app-CA123/ca/ca-06.c do Loop do forever; CONDOR
7 9-151 . source/pr-app/pr-app-CA123/ca/ca-09.c do Loop do forever; CONDOR
8 9-26 . do Loop do forever;
Summary: 8 out of 5707 LOC = 0.14%       or       5 out of 18 files = 27.77%
- - - 0.14
- - -- - -- - -- - -- - - 27.77


menu . goto Statements

1 2-1379 . source/pr-app/pr-app-CA123/ca/ca-02.c goto Statement goto error; CONDOR
2 5-883 . source/pr-app/pr-app-CA123/ca/ca-05.c goto Statement goto error; CONDOR
3 6-1260 . source/pr-app/pr-app-CA123/ca/ca-06.c goto Statement goto error; CONDOR
4 6-1377 . goto Statement goto error;
5 6-1442 . goto Statement goto error;
6 6-261 . goto Statement goto error;
7 6-901 . goto Statement goto error;
Summary: 7 out of 5707 LOC = 0.12%       or       3 out of 18 files = 16.66%
- - - 0.12
- - -- - -- - - 16.66


menu . ?: Operator

Looks good no q-operator sets to consider :)
Summary: 0 out of 5707 LOC = 0%       or       0 out of 18 files = 0%
- - - 0
- - - 0


menu . Storage malloc free
Requesting storage using malloc, alloc, calloc should be minimized and include a symetrical free cfree sequence. This can lead to memory leaks if not properly freed. There are also SV related issues.

1 1-1818 . source/pr-app/pr-app-CA123/ca/ca-01.c send_buffer = (U16 *) malloc(size+1); CONDOR
2 1-45 . send_buffer = (U16 *) malloc(size+1);
3 1-465 . free( FreePtr);
4 1-548 . send_buffer = (U16 *) malloc(size+1);
5 2-1219 . source/pr-app/pr-app-CA123/ca/ca-02.c FreePtr = HmiStringPtr; CONDOR
6 2-1420 . send_buffer = (U16 *) malloc(size+1);
7 2-508 . FreePtr = HmiStringPtr;
8 2-542 . send_buffer = (U16 *) malloc(size+1);
9 2-751 . FreePtr = HmiStringPtr;
10 5-1098 . source/pr-app/pr-app-CA123/ca/ca-05.c send_buffer = (U16 *) malloc(size+1); CONDOR
11 6-1479 . source/pr-app/pr-app-CA123/ca/ca-06.c FreePtr = HmiStringPtr; CONDOR
12 6-1656 . send_buffer = (U16 *) malloc(size+1);
13 6-307 . free( FreePtr);
14 6-422 . send_buffer = (U16 *) malloc(size+1);
15 7-528 . source/pr-app/pr-app-CA123/ca/ca-07.c FreePtr = HmiStringPtr; CONDOR
16 8-157 . source/pr-app/pr-app-CA123/ca/ca-08.c send_buffer = (U16 *) malloc(size+1); CONDOR
17 8-480 . FreePtr = HmiStringPtr;
18 9-1233 . source/pr-app/pr-app-CA123/ca/ca-09.c send_buffer = (U16 *) malloc(size+1); CONDOR
19 9-1870 . FreePtr = HmiStringPtr;
20 9-1934 . FreePtr = HmiStringPtr;
21 9-662 . free( FreePtr);
Summary: 21 out of 5707 LOC = 0.36%       or       7 out of 18 files = 38.88%
- - - 0.36
- - -- - -- - -- - -- - -- - -- - - 38.88


menu . Type ReCasting
Recasting variables should not be practiced since it can lead to truncation of data.

1 1-448 . source/pr-app/pr-app-CA123/ca/ca-01.c A = (long) B + C; CONDOR
2 2-203 . source/pr-app/pr-app-CA123/ca/ca-02.c A = (float) B + C; CONDOR
3 3-80 . source/pr-app/pr-app-CA123/ca/ca-03.c A = (long) B + C; CONDOR
4 4-55 . source/pr-app/pr-app-CA123/ca/ca-04.c A = (long) B + C; CONDOR
5 5-1260 . source/pr-app/pr-app-CA123/ca/ca-05.c A = (int) B + C; CONDOR
6 5-435 . A = (long) B + C;
7 6-1238 . source/pr-app/pr-app-CA123/ca/ca-06.c A = (int) B + C; CONDOR
8 6-2000 . A = (float) B + C;
9 6-2193 . A = (long) B + C;
10 7-106 . source/pr-app/pr-app-CA123/ca/ca-07.c A = (int) B + C; CONDOR
11 7-699 . A = (int) B + C;
12 7-964 . A = (int) B + C;
13 8-134 . source/pr-app/pr-app-CA123/ca/ca-08.c A = (int) B + C; CONDOR
14 9-947 . source/pr-app/pr-app-CA123/ca/ca-09.c A = (int) B + C; CONDOR
Summary: 14 out of 5707 LOC = 0.24%       or       9 out of 18 files = 50%
- - - 0.24
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50


menu . Missing Function Headers
The header does not need to be correct, but there must be a header. Functions should include a header. This function search is based only on void references. Other headers may be missing.

Looks good no missing func hdr sets to consider :)
Summary: 0 out of 5707 LOC = 0%       or       0 out of 18 files = 0%
- - - 0
- - - 0


Analysis Summary

menu Files With Problems:
source/pr-app/pr-app-CA123/ca/ca-01.c 36
source/pr-app/pr-app-CA123/ca/ca-02.c 53
source/pr-app/pr-app-CA123/ca/ca-03.c 2
source/pr-app/pr-app-CA123/ca/ca-04.c 4
source/pr-app/pr-app-CA123/ca/ca-05.c 25
source/pr-app/pr-app-CA123/ca/ca-06.c 50
source/pr-app/pr-app-CA123/ca/ca-07.c 19
source/pr-app/pr-app-CA123/ca/ca-08.c 16
source/pr-app/pr-app-CA123/ca/ca-09.c 63


Metrics - Percents Within Collections This report provides metrics in terms of percent of the code analyzed. This is a great way to compare peer reviews (small collections of code) against a previous baseline release (the whole thing). It is also a great way to compare different projects which follow similar, but not exact, coding standards. For Example, assume version A has 10 items flagged and is 10,000 LOC while version B has 20 items flagged but is 50,000 LOC. Even though version B has more items flagged one could argue that it is better than Version A since as a percentage, the flagged items are lower.

Problem LOC Norm Files Norm LOC Files LOC Files
Fatal Errors 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.21- - -- - -- - -- - -- - -- - -- - - 0.28 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -38.88- - -- - -- - -- - -- - -- - -- - - 52.22 prev:0.14 cur:0.210.06prev:26.11 cur:38.8812.77 - - - 0.21
- - -- - -- - -- - -- - -- - -- - - 38.88
C Header
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -11.11- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 17.9 prev:8.95 cur:11.112.16 - - - 0
- - -- - -- - -- - -- - -- - -- - - 11.11
H Header
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -22.22 11.94 prev:5.97 cur:22.2216.25 - - - 0
- - -- - -- - -- - -- - -- - -- - -- - -- - - 22.22
ASM Header
Perfect
Perfect
- - - 0
- - - 0
Possible Class Issues 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.47- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.86 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -44.44- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 77.6 prev:0.43 cur:0.470.03prev:38.8 cur:44.445.64 - - - 0.47
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 44.44
Must Fix Class
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -16.66 14.92 prev:7.46 cur:16.669.19 - - - 0
- - -- - -- - - 16.66
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.26- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.58 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -38.88- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 74.62 prev:0.29 cur:0.26-0.02prev:37.31 cur:38.881.57 - - - 0.26
- - -- - -- - -- - -- - -- - -- - - 38.88
Fixed Keywords Prologues
Perfect
Perfect
- - - 0
- - - 0
Conditional Compiles 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.24- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.4 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -22.22- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 37.3 prev:0.2 cur:0.240.03prev:18.65 cur:22.223.57 - - - 0.24
- - -- - -- - -- - -- - -- - -- - -- - -- - - 22.22
Switch Default Balance 0 - - -- - -- - -- - -- - -0.1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.42 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -27.77- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 68.64 prev:0.21 cur:0.1-0.1prev:34.32 cur:27.77-6.55 - - - 0.1
- - -- - -- - -- - -- - - 27.77
Default SwError Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -0.17- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.48 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -27.77- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 62.68 prev:0.24 cur:0.17-0.06prev:31.34 cur:27.77-3.57 - - - 0.17
- - -- - -- - -- - -- - - 27.77
Case Break Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.22- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.5 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -38.88- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 73.12 prev:0.25 cur:0.22-0.03prev:36.56 cur:38.882.32 - - - 0.22
- - -- - -- - -- - -- - -- - -- - - 38.88
Nested Switches 0 - - -- - -- - -- - -- - -0.05- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.22 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -16.66- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 44.76 prev:0.11 cur:0.05-0.06prev:22.38 cur:16.66-5.71 - - - 0.05
- - -- - -- - - 16.66
Stacked Case Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.49- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 1.1 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -22.22- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50.74 prev:0.55 cur:0.49-0.06prev:25.37 cur:22.22-3.15 - - - 0.49
- - -- - -- - -- - -- - -- - -- - -- - -- - - 22.22
Calling Rules
Disabled
No Error Exits
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -5.55 2.98 prev:1.49 cur:5.554.05 - - - 0
- - - 5.55
Files > 5 Functions
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -38.88- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70.14 prev:35.07 cur:38.883.81 - - - 0
- - -- - -- - -- - -- - -- - -- - - 38.88
Files > 500 LOC
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -5.55 1.48 prev:0.74 cur:5.554.8 - - - 0
- - - 5.55
Func's Norm Files Norm LOC Files Func's Files
C Functions > 100 LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -11.59- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 23.08 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -44.44- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 92.52 prev:11.54 cur:11.590.05prev:46.26 cur:44.44-1.82 - - -- - -- - -- - -- - -- - -- - - 11.59
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 44.44
C Functions < 5 LOC
Perfect
Perfect
- - - 0
- - - 0
LOC Norm Files Norm LOC Files LOC Files
Uncalled Functions
Disabled
Dead Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.96 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -38.88- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76.1 prev:0.48 cur:0.4-0.07prev:38.05 cur:38.880.83 - - - 0.4
- - -- - -- - -- - -- - -- - -- - - 38.88
Log Events
Perfect
Perfect
- - - 0
- - - 0
Missing Curly Braces 0 - - -- - -- - -- - -- - -- - -0.05- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.18 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -16.66- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 40.28 prev:0.09 cur:0.05-0.03prev:20.14 cur:16.66-3.48 - - - 0.05
- - -- - -- - - 16.66
Line Length
Perfect
Perfect
- - - 0
- - - 0
do Loops 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.14- - -- - -- - -- - -- - -- - - 0.18 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -27.77- - -- - -- - -- - -- - - 34.32 prev:0.09 cur:0.140.05prev:17.16 cur:27.7710.61 - - - 0.14
- - -- - -- - -- - -- - - 27.77
goto Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.12- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.22 0 - - -- - -- - -- - -- - -- - -- - -- - -16.66- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 47.76 prev:0.11 cur:0.120prev:23.88 cur:16.66-7.21 - - - 0.12
- - -- - -- - - 16.66
?: Operator
Perfect
Perfect
- - - 0
- - - 0
Increment In Decision
Disabled
Storage malloc free 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.36- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.66 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -38.88- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76.1 prev:0.33 cur:0.360.02prev:38.05 cur:38.880.83 - - - 0.36
- - -- - -- - -- - -- - -- - -- - - 38.88
Type ReCasting 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.24- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.54 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -50- - -- - -- - -- - -- - -- - -- - -- - -- - - 74.62 prev:0.27 cur:0.24-0.03prev:37.31 cur:5012.68 - - - 0.24
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50
Missing Function Headers
menu

Metric ItemFlaggedTotalPercentNormPercent
LOC20457073.57% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3.57- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 7.68     prev:3.84 cur:3.57-0.27 - - -- - -- - - 3.57
Functions86911.59% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -11.59- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 23.08     prev:11.54 cur:11.590.05 - - -- - -- - -- - -- - -- - -- - - 11.59
Files91850% 0 - - -- - -- - -- - -- - -- - -- - -50- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 176.1     prev:88.05 cur:50-38.05 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50
Total Up Flags22-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -22 0.02     prev:0.01 cur:2221.99
Total Down Flags16-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -16 0.02     prev:0.01 cur:1615.99
Total Same Flags0--
Perfect

Final Tally of Flags This version is WORSE up:22 dwn:16 6 out of 38 or 15% than ft-app-B1.0-entropy.pl
menu


Metrics - Counts Within Collections This report provides metrics in terms of absolute counts. It is used to compare version releases on the same project and to get an assessment of the exact number of problems.

ProblemLOC NormFiles Norm LOC Files     Prev LOC Cur LOC Prev Files Cur Files
Fatal Errors 0 - - -- - -12- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 116 0 - - -- - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70 prev:58 cur:12-46prev:35 cur:7-285812357
C Header
Perfect
0 - - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 12 prev:6 cur:1-50.01061
H Header
Perfect
0 - - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 prev:4 cur:2-20.01042
ASM Header
Perfect
Perfect
0.0100.010
Possible Class Issues 0 - - -27- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 360 0 - - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 104 prev:180 cur:27-153prev:52 cur:8-4418027528
Must Fix Class
Perfect
0 - - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 20 prev:10 cur:3-70.010103
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 - - -15- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 242 0 - - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 100 prev:121 cur:15-106prev:50 cur:7-4312115507
Fixed Keywords Prologues
Perfect
Perfect
0.0100.010
Conditional Compiles 0 - - -- - -14- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 172 0 - - -- - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50 prev:86 cur:14-72prev:25 cur:4-218614254
Switch Default Balance 0 6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 176 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 92 prev:88 cur:6-82prev:46 cur:5-41886465
Default SwError Balance 0 - - -10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 200 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 84 prev:100 cur:10-90prev:42 cur:5-3710010425
Case Break Balance 0 - - -13- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 212 0 - - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 98 prev:106 cur:13-93prev:49 cur:7-4210613497
Nested Switches 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94 0 - - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 60 prev:47 cur:3-44prev:30 cur:3-27473303
Stacked Case Statements 0 - - -28- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 456 0 - - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 68 prev:228 cur:28-200prev:34 cur:4-3022828344
Calling Rules
Disabled
No Error Exits
Perfect
0 - - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 prev:2 cur:1-10.01021
Files > 5 Functions
Perfect
0 - - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94 prev:47 cur:7-400.010477
Files > 500 LOC
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 same0.01011
ProblemFunctions NormFiles Norm LOC Files Prev Func's Cur Func's Prev Files Cur Files
C Functions > 100 LOC 0 - - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124 0 - - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124 prev:62 cur:8-54prev:62 cur:8-54628628
C Functions < 5 LOC
Perfect
Perfect
0.0100.010
ProblemLOC NormFiles Norm LOC Files Prev LOC Cur LOC Prev Files Cur Files
Uncalled Functions
Disabled
Dead Code 0 - - -23- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 400 0 - - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102 prev:200 cur:23-177prev:51 cur:7-4420023517
Log Events
Perfect
Perfect
0.0100.010
Missing Curly Braces 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76 0 - - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 54 prev:38 cur:3-35prev:27 cur:3-24383273
Line Length
Perfect
Perfect
0.0100.010
do Loops 0 - - -- - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76 0 - - -- - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 46 prev:38 cur:8-30prev:23 cur:5-18388235
goto Statements 0 - - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 96 0 - - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 64 prev:48 cur:7-41prev:32 cur:3-29487323
?: Operator
Perfect
Perfect
0.0100.010
Increment In Decision
Disabled
Storage malloc free 0 - - -21- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 274 0 - - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102 prev:137 cur:21-116prev:51 cur:7-4413721517
Type ReCasting 0 - - -14- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 228 0 - - -- - -9- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 100 prev:114 cur:14-100prev:50 cur:9-4111414509
Missing Function Headers00
menu

Metric Item Flagged Norm Prev Cur
LOC 0 - - -204- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 3178     prev:1589 cur:204-1385 1589 204
Functions 0 - - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124     prev:62 cur:8-54 62 8
Files 0 9- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 236     prev:118 cur:9-109 118 9
Total Up Flags
Perfect
0.01 0
Total Down Flags 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -37 0.02     prev:0.01 cur:3736.99 0.01 37
Total Same Flags 0 1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76     prev:38 cur:1-37 38 1

Final Tally of Flags This version is BETTER up:0 dwn:37 -37 out of 38 or -97% than ft-app-B1.0-entropy.pl
menu


Details Report

1 1 Source: source/pr-app/pr-app-CA123/ca/ca-01.c
Note: OK Classification Marking
Note: Good Header
1-15 ca.1.1
1-45 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 1-334 ca.1.2
1-448 A = (long)B + C; Attention: Recasting (long) 1-465 free(FreePtr); Attention: Storage FreePtr); 1-506 #ifdef LAZY Attention: Conditional Compile ifdef 1-510 #endif Attention: Conditional Compile #endif 1-548 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 1-552 dead_code = D + E; Attention: Dead Code 1-556 Warning: do Loop do forever; 1-565 ca.1.3
1-689 ca.1.4
1-705 // missing break { run_this; // missing break } Attention: Missing break in case 1-771 ca.1.5
1-830 /* LE SV TOC-1010 this is a ca-01.5.17 req to halt*/ Attention: Classified text in wrong file name: halt
1-867 ca.1.6
1-944 // TBD - what do I do now Attention: Possible problem Keyword TBD 1-958 ca.1.7
1-1095if (veg) Warning: Missing curly brace looked as far as 1100 1-1177 #ifdef LAZY Attention: Conditional Compile ifdef 1-1181 #endif Attention: Conditional Compile #endif 1-1215 ca.1.8
1-1333 #ifdef LAZY Attention: Conditional Compile ifdef 1-1337 #endif Attention: Conditional Compile #endif 1-1500 ca.1.9
1-1516 dead_code = D + E; Attention: Dead Code 1-1560 halt; Attention: Classified text in wrong file name: halt
1-1634 case: case: Attention: Stacked case statements 1-1635 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 1-1638 case: case: Attention: Stacked case statements 1-1639 case: case: Attention: Stacked case statements 1-1645 default: { halt; } Attention: Missing SwError 1-1647 halt; Attention: Classified text in wrong file name: halt
1-1714 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
1-1771 // ??? go see ws Attention: Possible problem Keyword ?? 1-1804 ca.1.10
1-1817 send_buffer = (U16 *) malloc(size+1); FATAL Compile Error: LE breaks U16 path 1-1818 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 1-1842 { FATAL Compile Error: Missing curly brace LE breaks path Source Lines 1918 Logical 57 SemiColons 797 LOC 854 Warning: Functions Exceed 10
Error: File with 854 LOC 1 1 Result: result/source/pr-app/pr-app-CA123/ca/ca-01.c


2 2 Source: source/pr-app/pr-app-CA123/ca/ca-01.h Attention: File s_ Marking wrong or Header Classification blank
Attention: OOPs No Header
Source Lines 11 Logical 0 SemiColons 7 LOC 7 2 2 Result: result/source/pr-app/pr-app-CA123/ca/ca-01.h


3 3 Source: source/pr-app/pr-app-CA123/ca/ca-02.c Note: OK Classification Marking
Note: Good Header
2-15 ca.2.1
2-202 A = (float)B + C; FATAL Compile Error: LE breaks float path 2-203 A = (float)B + C; Attention: Recasting (float) 2-334 /* dead_code = A * B; */ Attention: Dead Code 2-359 ca.2.2
2-433 ca.2.3
2-508 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-542 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 2-601 /* dead_code = A * B; */ Attention: Dead Code 2-621 // missing break { run_this; // missing break } Attention: Missing break in case 2-684 ca.2.4
2-697 /* LE SV TOC-1038 this is a ca-02.4.2 req to halt*/ Attention: Classified text in wrong file name: halt
2-751 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-849 /* LE SV TOC-1041 this is a ca-02.4.41 req to halt*/ Attention: Classified text in wrong file name: halt
2-870 case: case: Attention: Stacked case statements 2-871 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 2-874 case: case: Attention: Stacked case statements 2-875 case: case: Attention: Stacked case statements 2-881 default: { halt; } Attention: Missing SwError 2-883 halt; Attention: Classified text in wrong file name: halt
2-928 dead_code = D + E; Attention: Dead Code 2-976 { FATAL Compile Error: Missing curly brace LE breaks path 2-1003 { case one: { run_this; break; } case two: { run_this; break; } // missing default } A = B-C; A = B/C; if (A != B) { A = B + C; D = E + F; } A = B/C; // (P) this is really improtant A = B+C; if (A le B) { A = B + C; D = E + F; } if (A gt B) { A = B + C; D = E + F; } // max LOC 85 } /* ----------------------------------------------------------------------------- --| NAME: ca.2.5 Attention: Missing default 2-1028 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
2-1051 ca.2.5
2-1118if (veg) Warning: Missing curly brace looked as far as 1124 2-1210 dead_code = B - C; Attention: Dead Code 2-1219 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-1233 case: case: Attention: Stacked case statements 2-1234 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 2-1237 case: case: Attention: Stacked case statements 2-1238 case: case: Attention: Stacked case statements 2-1244 default: { halt; } Attention: Missing SwError 2-1246 halt; Attention: Classified text in wrong file name: halt
2-1295 // ??? go see ws Attention: Possible problem Keyword ?? 2-1304 ca.2.6
2-1352 { case one: { switch (nested) Attention: Missing default 2-1354 { { switch (nested) Attention: Nested switch 2-1358 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 2-1379 Warning: goto Statement goto error; 2-1401 ca.2.7
2-1420 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 2-1493 Warning: do Loop do forever; 2-1515 dead_block = C * D; Attention: Dead Code 2-1539 case: case: Attention: Stacked case statements 2-1540 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 2-1543 case: case: Attention: Stacked case statements 2-1544 case: case: Attention: Stacked case statements 2-1550 default: { halt; } Attention: Missing SwError 2-1552 halt; Attention: Classified text in wrong file name: halt
2-1692 // missing break { run_this; // missing break } Attention: Missing break in case 2-1724 ca.2.8
2-1744 // ??? go see ws Attention: Possible problem Keyword ?? Source Lines 1813 Logical 63 SemiColons 698 LOC 761 Warning: Functions Exceed 8
Error: File with 761 LOC 3 3 Result: result/source/pr-app/pr-app-CA123/ca/ca-02.c


4 4 Source: source/pr-app/pr-app-CA123/ca/ca-02.h Note: OK Classification Marking
Note: Good Header
Source Lines 25 Logical 0 SemiColons 4 LOC 4 4 4 Result: result/source/pr-app/pr-app-CA123/ca/ca-02.h


5 5 Source: source/pr-app/pr-app-CA123/ca/ca-03.c Note: OK Classification Marking
Note: Good Header
3-15 ca.3.1
3-80 A = (long)B + C; Attention: Recasting (long) 3-98 ca.3.2
Source Lines 166 Logical 0 SemiColons 56 LOC 56 5 5 Result: result/source/pr-app/pr-app-CA123/ca/ca-03.c


6 6 Source: source/pr-app/pr-app-CA123/ca/ca-03.h Note: OK Classification Marking
Note: Good Header
Source Lines 22 Logical 0 SemiColons 1 LOC 1 6 6 Result: result/source/pr-app/pr-app-CA123/ca/ca-03.h


7 7 Source: source/pr-app/pr-app-CA123/ca/ca-04.c Note: OK Classification Marking
Note: Good Header
4-15 ca.4.1
4-55 A = (long)B + C; Attention: Recasting (long) 4-133 /* LE SV TOC-1054 this is a ca-04.1.41 req to halt*/ Attention: Classified text in wrong file name: halt
Source Lines 265 Logical 4 SemiColons 118 LOC 122 7 7 Result: result/source/pr-app/pr-app-CA123/ca/ca-04.c


8 8 Source: source/pr-app/pr-app-CA123/ca/ca-04.h Note: OK Classification Marking
Note: Good Header
Source Lines 26 Logical 0 SemiColons 5 LOC 5 8 8 Result: result/source/pr-app/pr-app-CA123/ca/ca-04.h


9 9 Source: source/pr-app/pr-app-CA123/ca/ca-05.c Note: OK Classification Marking
Note: Good Header
5-15 ca.5.1
5-152 ca.5.2
5-264 ca.5.3
5-435 A = (long)B + C; Attention: Recasting (long) 5-507 ca.5.4
5-520 Warning: do Loop do forever; 5-533 #ifdef LAZY Attention: Conditional Compile ifdef 5-537 #endif Attention: Conditional Compile #endif 5-701 // ??? go see ws Attention: Possible problem Keyword ?? 5-740 ca.5.5
5-848 ca.5.6
5-883 Warning: goto Statement goto error; 5-892 Warning: do Loop do forever; 5-901 dead_code = B - C; Attention: Dead Code 5-964 // ??? go see ws Attention: Possible problem Keyword ?? 5-1053 // TBD - what do I do now Attention: Possible problem Keyword TBD 5-1071 ca.5.7
5-1098 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 5-1152 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
5-1159 { FATAL Compile Error: Missing curly brace LE breaks path 5-1185 ca.5.8
5-1260 A = (int)B + C; Attention: Recasting (int) 5-1284 { case one: { switch (nested) Attention: Missing default 5-1286 { { switch (nested) Attention: Nested switch 5-1290 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 5-1327 Warning: do Loop do forever; Source Lines 1397 Logical 56 SemiColons 569 LOC 625 Warning: Functions Exceed 8
Error: File with 625 LOC 9 9 Result: result/source/pr-app/pr-app-CA123/ca/ca-05.c


10 10 Source: source/pr-app/pr-app-CA123/ca/ca-05.h Attention: File s_ Marking wrong or Header Classification blank
Attention: OOPs No Header
Source Lines 5 Logical 0 SemiColons 1 LOC 1 10 10 Result: result/source/pr-app/pr-app-CA123/ca/ca-05.h


11 11 Source: source/pr-app/pr-app-CA123/ca/ca-06.c Note: OK Classification Marking
Note: Good Header
6-15 ca.6.1
6-84 dead_code = D + E; Attention: Dead Code 6-183 // ??? go see ws Attention: Possible problem Keyword ?? 6-200 ca.6.2
6-261 Warning: goto Statement goto error; 6-307 free(FreePtr); Attention: Storage FreePtr); 6-385 #ifdef LAZY Attention: Conditional Compile ifdef 6-389 #endif Attention: Conditional Compile #endif 6-422 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 6-433 ca.6.3
6-484 /* LE SV TOC-1081 this is a ca-06.3.15 req to halt*/ Attention: Classified text in wrong file name: halt
6-648 { FATAL Compile Error: Missing curly brace LE breaks path 6-705 /* dead_code = A * B; */ Attention: Dead Code 6-760 ca.6.4
6-829 /* dead_code = A * B; */ Attention: Dead Code 6-872 #ifdef LAZY Attention: Conditional Compile ifdef 6-876 #endif Attention: Conditional Compile #endif 6-901 Warning: goto Statement goto error; 6-910 // ??? go see ws Attention: Possible problem Keyword ?? 6-941 ca.6.5
6-966 // missing break { run_this; // missing break } Attention: Missing break in case 6-1044 ca.6.6
6-1070 dead_code = D + E; Attention: Dead Code 6-1111 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
6-1150 ca.6.7
6-1238 A = (int)B + C; Attention: Recasting (int) 6-1260 Warning: goto Statement goto error; 6-1268 /* LE SV TOC-1092 this is a ca-06.7.31 req to halt*/ Attention: Classified text in wrong file name: halt
6-1377 Warning: goto Statement goto error; 6-1414 ca.6.8
6-1434 { FATAL Compile Error: Missing curly brace LE breaks path 6-1442 Warning: goto Statement goto error; 6-1479 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 6-1548 // TBD - what do I do now Attention: Possible problem Keyword TBD 6-1574 Warning: do Loop do forever; 6-1595 case: case: Attention: Stacked case statements 6-1596 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 6-1599 case: case: Attention: Stacked case statements 6-1600 case: case: Attention: Stacked case statements 6-1606 default: { halt; } Attention: Missing SwError 6-1608 halt; Attention: Classified text in wrong file name: halt
6-1656 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 6-1691 dead_code = B - C; Attention: Dead Code 6-1732 ca.6.9
6-1746 { FATAL Compile Error: Missing curly brace LE breaks path 6-1969 ca.6.10
6-1995 dead_block = E * F; */ Attention: Dead Code 6-1999 A = (float)B + C; FATAL Compile Error: LE breaks float path 6-2000 A = (float)B + C; Attention: Recasting (float) 6-2193 A = (long)B + C; Attention: Recasting (long) 6-2240 halt; Attention: Classified text in wrong file name: halt
Source Lines 2255 Logical 63 SemiColons 932 LOC 995 Warning: Functions Exceed 10
Error: File with 995 LOC 11 11 Result: result/source/pr-app/pr-app-CA123/ca/ca-06.c


12 12 Source: source/pr-app/pr-app-CA123/ca/ca-06.h Note: OK Classification Marking
Note: Good Header
Source Lines 26 Logical 0 SemiColons 5 LOC 5 12 12 Result: result/source/pr-app/pr-app-CA123/ca/ca-06.h


13 13 Source: source/pr-app/pr-app-CA123/ca/ca-07.c Note: OK Classification Marking
Note: Good Header
7-15 ca.7.1
7-52 { case one: { run_this; break; } case two: { run_this; break; } // missing default } A = B-C; A = B+C; A = B-C; A = B-C; if (A gt B) { A = B + C; D = E + F; } A = B/C; A = B*C; A = B*C; if { X = Y + Z; } else { halt; } A = B*C; if (A == B) { A = B + C; D = E + F; } A = B*C; if (A < B) { A = B + C; D = E + F; } /* LE SV TOC-1110 this is a ca-07.1.16 req to call isr*/ A = (int)B + C; A = B+C; A = B+C; A = B*C; A = B*C; if (A le B) { A = B + C; D = E + F; } if (A == B) { A = B + C; D = E + F; } A = B+C; A = B-C; A = B/C; A = B-C; if (A le B) { A = B + C; D = E + F; } A = B*C; A = B-C; A = B*C; if (A == B) { A = B + C; D = E + F; } if (A >= B) { A = B + C; D = E + F; } A = B*C; A = B+C; A = B/C; switch (ca stuff) Attention: Missing default 7-86 halt; Attention: Classified text in wrong file name: halt
7-105 A = (int)B + C; FATAL Compile Error: LE breaks int path 7-106 A = (int)B + C; Attention: Recasting (int) 7-191 dead_block = E * F; */ Attention: Dead Code 7-297 ca.7.2
7-362if (veg) Warning: Missing curly brace looked as far as 367 7-528 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 7-578 halt; Attention: Classified text in wrong file name: halt
7-592 ca.7.3
7-678 // TBD - what do I do now Attention: Possible problem Keyword TBD 7-699 A = (int)B + C; Attention: Recasting (int) 7-760 // missing break { run_this; // missing break } Attention: Missing break in case 7-797 ca.7.4
7-843 // TBD - what do I do now Attention: Possible problem Keyword TBD 7-903 ca.7.5
7-964 A = (int)B + C; Attention: Recasting (int) 7-981 ca.7.6
7-1167 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
7-1233 ca.7.7
Source Lines 1331 Logical 37 SemiColons 550 LOC 587 Warning: Functions Exceed 7
Error: File with 587 LOC 13 13 Result: result/source/pr-app/pr-app-CA123/ca/ca-07.c


14 14 Source: source/pr-app/pr-app-CA123/ca/ca-07.h Note: OK Classification Marking
Note: Good Header
Source Lines 25 Logical 0 SemiColons 4 LOC 4 14 14 Result: result/source/pr-app/pr-app-CA123/ca/ca-07.h


15 15 Source: source/pr-app/pr-app-CA123/ca/ca-08.c Note: OK Classification Marking
Note: Good Header
8-15 ca.8.1
8-63 dead_block = E * F; */ Attention: Dead Code 8-94 // missing break { run_this; // missing break } Attention: Missing break in case 8-134 A = (int)B + C; Attention: Recasting (int) 8-157 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 8-195 ca.8.2
8-249 ca.8.3
8-312 dead_block = C * D; Attention: Dead Code 8-388 ca.8.4
8-480 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 8-503 ca.8.5
8-571 ca.8.6
8-587 { FATAL Compile Error: Missing curly brace LE breaks path 8-641 // missing break { run_this; // missing break } Attention: Missing break in case 8-839 ca.8.7
8-963 halt; Attention: Classified text in wrong file name: halt
8-1032 { case one: { run_this; break; } case two: { run_this; break; } // missing default } A = B-C; A = B*C; A = B*C; A = B/C; A = B*C; A = B+C; A = B/C; // max LOC 51 } /* ----------------------------------------------------------------------------- --| NAME: ca.8.8 Attention: Missing default 8-1061 ca.8.8
8-1187 default: { // missing error call } Attention: Missing SwError 8-1227 ca.8.9
8-1295 ca.8.10
8-1345 ca.8.11
8-1540 ca.8.12
8-1574 // ??? go see ws Attention: Possible problem Keyword ?? Source Lines 1716 Logical 52 SemiColons 672 LOC 724 Warning: Functions Exceed 12
Error: File with 724 LOC 15 15 Result: result/source/pr-app/pr-app-CA123/ca/ca-08.c


16 16 Source: source/pr-app/pr-app-CA123/ca/ca-08.h Note: OK Classification Marking
Note: Good Header
Source Lines 22 Logical 0 SemiColons 1 LOC 1 16 16 Result: result/source/pr-app/pr-app-CA123/ca/ca-08.h


17 17 Source: source/pr-app/pr-app-CA123/ca/ca-09.c Attention: File s_ Marking wrong or Header Classification blank
your header
Attention: Possible problem Header

Possible Missing Fields BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE
Possible Extra Fields
9-12 ca.9.1
9-26 Warning: do Loop do forever; 9-52 // TBD - what do I do now Attention: Possible problem Keyword TBD 9-58 case: case: Attention: Stacked case statements 9-59 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 9-62 case: case: Attention: Stacked case statements 9-63 case: case: Attention: Stacked case statements 9-69 default: { halt; } Attention: Missing SwError 9-71 halt; Attention: Classified text in wrong file name: halt
9-151 Warning: do Loop do forever; 9-181 ca.9.2
9-218 dead_code = B - C; Attention: Dead Code 9-343 default: { // missing error call } Attention: Missing SwError 9-376 #ifdef LAZY Attention: Conditional Compile ifdef 9-380 #endif Attention: Conditional Compile #endif 9-439 ca.9.3
9-556 dead_block = E * F; */ Attention: Dead Code 9-602 ca.9.4
9-641 default: { // missing error call } Attention: Missing SwError 9-662 free(FreePtr); Attention: Storage FreePtr); 9-740 { case one: { switch (nested) Attention: Missing default 9-742 { { switch (nested) Attention: Nested switch 9-746 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 9-793 ca.9.5
9-807 { FATAL Compile Error: Missing curly brace LE breaks path 9-947 A = (int)B + C; Attention: Recasting (int) 9-1054 halt; Attention: Classified text in wrong file name: halt
9-1079 // missing break { run_this; // missing break } Attention: Missing break in case 9-1098 dead_code = D + E; Attention: Dead Code 9-1112 ca.9.6
9-1165 /* LE SV TOC-1158 this is a ca-09.6.15 req to halt*/ Attention: Classified text in wrong file name: halt
9-1172 dead_block = E * F; */ Attention: Dead Code 9-1178 // missing break { run_this; // missing break } Attention: Missing break in case 9-1233 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 9-1238 dead_code = D + E; Attention: Dead Code 9-1267 ca.9.7
9-1445 // missing break { run_this; // missing break } Attention: Missing break in case 9-1506 ca.9.8
9-1631 case: case: Attention: Stacked case statements 9-1632 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 9-1635 case: case: Attention: Stacked case statements 9-1636 case: case: Attention: Stacked case statements 9-1642 default: { halt; } Attention: Missing SwError 9-1644 halt; Attention: Classified text in wrong file name: halt
9-1824 ca.9.9
9-1867 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
9-1870 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 9-1875 dead_code = D + E; Attention: Dead Code 9-1930 /* LE SV TOC-1169 this is a ca-09.9.27 req to halt*/ Attention: Classified text in wrong file name: halt
9-1934 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 9-1979 ca.9.10
9-2046 // TBS - I need to figure this out Attention: Possible problem Keyword TBS 9-2129 ca.9.11
Source Lines 2165 Logical 85 SemiColons 869 LOC 954 Warning: Functions Exceed 11
Error: File with 954 LOC 17 17 Result: result/source/pr-app/pr-app-CA123/ca/ca-09.c


18 18 Source: source/pr-app/pr-app-CA123/ca/ca-09.h Note: OK Classification Marking
Note: Good Header
Source Lines 22 Logical 0 SemiColons 1 LOC 1 18 18 Result: result/source/pr-app/pr-app-CA123/ca/ca-09.h



Settings

Description 8

Master Directories
Project Instrumentation Test
Source Result Analysis
Metrics

Report Markings
Report Marking
Highest Code Classification
Lowest Code Classification
Classified Keywords

Headers
C Header
H Header
asm Header

File Controls
Assembly Extensions
Access Files
Ignore Files
Paths
File Path
Src Paths (websever /~iat no websever ../../)
URL (websever /~iat no websever ../../ dos is blank)

Source Dir Path
Result Dir Path
Analysis Dir Path(no websever setting ../ft-red-B1B2D6_Ry)
Analysis Report Name
Files
toc file bfw file hmi file
toc html bfw html

General Settings
CPCs
1 2 3 4 5 6 7 Colors

Log Event Patterns
SV Events case Insensitive
Filter SV Events case Insensitive (e.g. traffic)
Filter Files case Insensitive
DB Events case Sensitive
HMI Events case Sensitive
LOC Events case Sensitive
Filter LOC Events (e.g. traffic)

Table Driven Functions used by uncalled functions detector


Fixed Keywords case insensitive
C
H
Assembly

Keywords case insensitive
find 1
find 2
find 3
find 4
find 5

ignore lines

Keyword Window

Hamming Patterns


Log Events
SV Start DB Start HMI Start LOC Start
Instrument Source LE Summary Auto Trace Fix LE English

Show in Details Report
Abstract SV REQUIRED Full Header All SourceCode Only SVCV src
Comments CV REQUIRED Rquirements Functions Show Only Affected Files Analyze Only LE SV

Reports
Control Menu Keywords Stats Metrics Ham Values Details Problem Summaries Problem Descriptions Compare

Reports - Automatic Detectors Default Problems Locked Files Date (e.g. 01/05/2003)
Fatal Printf C Headers H Headers ASM Headers
Class SV Marking CV Marking Keywords Code Keywords Prologues
No Curly Braces ifdef Switch Default's Default Error Case Break
Nested Switches Stacked Cases Calling Rules No Error Exit ?: operator
Func/File LOC/File Line Length < 5 LOC/Func > 100 LOC/Func
Uncalled Func's Dead Code Fuzzy Log Events ++/-- in if, else, while do Loops
malloc free Re-Casting goto No Func Header

Regression noise reduction for Automatic Detectors - must run regression.pl first
new files
mod files

Metrics Baseline Accessed
Metrics Saved (enable stats)

Hide Controls Show Checked Summary Checked Details Not Checked All

done
12/08/2003 15:52:02 start
12/08/2003 15:52:14 end