Logevents v111003 analysis/pr-app-FDP123 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:50:36


Analysis Group Stats

Previous Stats ft-app-B1.0-entropy.pl
ItemPreviousCurrentNorm
Total Source Lines - c h asm s 96366 7152 0 7152- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 192732     prev:96366 cur:7152-89214
Total Non Blank Lines - c h asm s 52923 3932 0 3932- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 105846     prev:52923 cur:3932-48991
Total Logical - c h asm s 3246 256 0 256- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6492     prev:3246 cur:256-2990
Total SemiColons - c h asm s 38038 2824 0 2824- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76076     prev:38038 cur:2824-35214
Total LOC - c h asm s 41284 3080 0 3080- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 82568     prev:41284 cur:3080-38204

All Files - c h asm s (tot/analyzed) 134 10 / 10 0 10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 268     prev:134 cur:10-124
Files - C (tot/analyzed) 67 5 / 5 0 5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 134     prev:67 cur:5-62
Files - H (tot/analyzed) 67 5 / 5 0 5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 134     prev:67 cur:5-62
Files - ASM (tot/analyzed) 0.01 0 / 0
Perfect
Functions - C 537 40 0 40- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 1074     prev:537 cur:40-497

Log Events in Code 1235 78 0 78- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2470     prev:1235 cur:78-1157
TOC Reqs in Code 1194 76 0 76- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2388     prev:1194 cur:76-1118
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 6 0 6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 200     prev:100 cur:6-94
LOC per File - c h asm s 308 308 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -308- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 616     none
LOC per Function 76 77 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -77- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 152     prev:76 cur:771
Functions per File - C 8.01 8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 16.02     prev:8.01 cur:8-0.00

Non Blank Lines Per LOC 1.28 1.27 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.27- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.56     prev:1.28 cur:1.27-0.01
LOC Per Logical 12.71 12.03 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -12.03- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 25.42     prev:12.71 cur:12.03-0.68
C Per H 1.28 1.27 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.27- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.56     prev:1.28 cur:1.27-0.01

LOC per Req 34.57 40.52 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -40.52- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 69.14     prev:34.57 cur:40.525.95
Functions per Req 0.44 0.52 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.52- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.88     prev:0.44 cur:0.520.08
Logevents per Req 1.03 1.02 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.02- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.06     prev:1.03 cur:1.02-0.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-1524 . source/pr-app/pr-app-FDP123/fdp-01.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
2 2-539 . source/pr-app/pr-app-FDP123/fdp-02.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
Summary: 2 out of 3080 LOC = 0.06%       or       2 out of 10 files = 20%
- - - 0.06
- - -- - -- - -- - -- - -- - -- - - 20


menu . C Header: out of 5 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

Looks good no header c findings :)


menu . H Header: out of 5 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

Looks good no header h findings :)


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-FDP123/p_fdp-06.c Header Classification Marking Wrong PVL
2 source/pr-app/pr-app-FDP123/p_fdp-06.h Header Classification Marking Wrong PVL
Summary: 2 out of 10 files = 20%
- - -- - -- - -- - -- - -- - -- - - 20


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-1148 . source/pr-app/pr-app-FDP123/fdp-01.c Classified text in wrong file name: // (P) this is really improtant
2 1-2100 . Classified text in wrong file name: halt ;
3 1-2138 . Classified text in wrong file name: halt ;
4 1-2204 . Classified text in wrong file name: halt ;
5 1-2321 . Classified text in wrong file name: halt ;
6 1-773 . Classified text in wrong file name: halt ;
7 2-1066 . source/pr-app/pr-app-FDP123/fdp-02.c Classified text in wrong file name: // (P) this is really improtant
8 2-1182 . Classified text in wrong file name: // (P) this is really improtant
9 5-486 . source/pr-app/pr-app-FDP123/p_fdp-06.c Classified text in wrong file name: halt ; PVL
10 5-703 . Classified text in wrong file name: halt ;
11 5-752 . Classified text in wrong file name: halt ;
12 5-781 . Classified text in wrong file name: /* LE SV TOC-1470 this is a p_fdp-06.6.43 req to halt */
Summary: 12 out of 3080 LOC = 0.38%       or       3 out of 10 files = 30%
- - - 0.38
- - -- - -- - -- - -- - -- - -- - -- - - 30


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-1990 . source/pr-app/pr-app-FDP123/fdp-01.c // ? ?? go see ws
2 1-726 . // TBS - I need to figure this out
3 2-1390 . source/pr-app/pr-app-FDP123/fdp-02.c // TBD - what do I do now
4 2-246 . // TBS - I need to figure this out
5 2-55 . // TBD - what do I do now
6 5-1333 . source/pr-app/pr-app-FDP123/p_fdp-06.c // ? ?? go see ws PVL

H files

Assembly files

other files

Summary: 6 out of 3080 LOC = 0.19%       or       3 out of 10 files = 30%
- - - 0.19
- - -- - -- - -- - -- - -- - -- - -- - - 30


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 3080 LOC = 0%       or       0 out of 10 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 2-733 . source/pr-app/pr-app-FDP123/fdp-02.c # ifdef LAZY
2 2-737 . #endif
3 2-860 . # ifdef LAZY
4 2-864 . #endif
Summary: 4 out of 3080 LOC = 0.12%       or       1 out of 10 files = 10%
- - - 0.12
- - -- - -- - -- - -- - -- - - 10


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-1109 . source/pr-app/pr-app-FDP123/fdp-01.c Missing curly brace if (veg) looked as far as 1114
2 2-44 . source/pr-app/pr-app-FDP123/fdp-02.c Missing curly brace if (veg) looked as far as 49
3 5-381 . source/pr-app/pr-app-FDP123/p_fdp-06.c Missing curly brace if (veg) looked as far as 389 PVL
4 5-625 . Missing curly brace if (veg) looked as far as 632
Summary: 4 out of 3080 LOC = 0.12%       or       3 out of 10 files = 30%
- - - 0.12
- - -- - -- - -- - -- - -- - -- - -- - - 30


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 1-1167 . source/pr-app/pr-app-FDP123/fdp-01.c Missing default
2 1-1470 . Missing default
3 1-1667 . Missing default
4 1-1857 . Missing default
5 4-169 . source/pr-app/pr-app-FDP123/fdp-04.c Missing default
6 5-1539 . source/pr-app/pr-app-FDP123/p_fdp-06.c Missing default PVL
7 5-1658 . Missing default
8 5-2078 . Missing default
9 5-279 . Missing default
10 5-435 . Missing default
11 5-503 . Missing default
Summary: 11 out of 3080 LOC = 0.35%       or       3 out of 10 files = 30%
- - - 0.35
- - -- - -- - -- - -- - -- - -- - -- - - 30


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-175 . source/pr-app/pr-app-FDP123/fdp-01.c Missing SwError
2 1-1922 . Missing SwError
3 1-2136 . Missing SwError
4 1-2249 . Missing SwError
5 1-2269 . Missing SwError
6 1-710 . Missing SwError
7 1-771 . Missing SwError
8 5-484 . source/pr-app/pr-app-FDP123/p_fdp-06.c Missing SwError PVL
9 5-750 . Missing SwError
Summary: 9 out of 3080 LOC = 0.29%       or       2 out of 10 files = 20%
- - - 0.29
- - -- - -- - -- - -- - -- - -- - - 20


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-1673 . source/pr-app/pr-app-FDP123/fdp-01.c Missing break in case
2 4-144 . source/pr-app/pr-app-FDP123/fdp-04.c Missing break in case
3 5-1545 . source/pr-app/pr-app-FDP123/p_fdp-06.c Missing break in case PVL
4 5-2084 . Missing break in case
5 5-441 . Missing break in case
6 5-509 . Missing break in case
Summary: 6 out of 3080 LOC = 0.19%       or       3 out of 10 files = 30%
- - - 0.19
- - -- - -- - -- - -- - -- - -- - -- - - 30


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

1 1-1669 . source/pr-app/pr-app-FDP123/fdp-01.c Nested switch
2 5-1541 . source/pr-app/pr-app-FDP123/p_fdp-06.c Nested switch PVL
3 5-2080 . Nested switch
4 5-437 . Nested switch
5 5-505 . Nested switch
Summary: 5 out of 3080 LOC = 0.16%       or       2 out of 10 files = 20%
- - - 0.16
- - -- - -- - -- - -- - -- - -- - - 20


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

1 1-2125 . source/pr-app/pr-app-FDP123/fdp-01.c Stacked case statements
2 1-2126 . Stacked case statements
3 1-2129 . Stacked case statements
4 1-2130 . Stacked case statements
5 1-760 . Stacked case statements
6 1-761 . Stacked case statements
7 1-764 . Stacked case statements
8 1-765 . Stacked case statements
9 5-473 . source/pr-app/pr-app-FDP123/p_fdp-06.c Stacked case statements PVL
10 5-474 . Stacked case statements
11 5-477 . Stacked case statements
12 5-478 . Stacked case statements
13 5-739 . Stacked case statements
14 5-740 . Stacked case statements
15 5-743 . Stacked case statements
16 5-744 . Stacked case statements
Summary: 16 out of 3080 LOC = 0.51%       or       2 out of 10 files = 20%
- - - 0.51
- - -- - -- - -- - -- - -- - -- - - 20


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

Looks good no missing error exit findings :)
Summary: 0 out of 10 files = 0%
- - - 0


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-FDP123/fdp-01.c 14
2 source/pr-app/pr-app-FDP123/fdp-02.c 10
3 source/pr-app/pr-app-FDP123/p_fdp-06.c 12 PVL
Summary: 3 out of 10 files = 30%
- - -- - -- - -- - -- - -- - -- - -- - - 30


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-FDP123/fdp-01.c Error: File with 1035 LOC detected
2 source/pr-app/pr-app-FDP123/fdp-02.c Error: File with 754 LOC detected
3 Error: File with 941 LOC detected
Summary: 1 out of 10 files = 10%
- - -- - -- - -- - -- - -- - - 10


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-FDP123/fdp-01.c 1035
2 source/pr-app/pr-app-FDP123/fdp-02.c 754
3 source/pr-app/pr-app-FDP123/fdp-03.c 209
4 source/pr-app/pr-app-FDP123/fdp-04.c 119
5 source/pr-app/pr-app-FDP123/p_fdp-06.c 941 PVL
Summary: 5 out of 40 Functions = 12.5%       or       5 out of 10 files = 50%
- - -- - -- - -- - -- - -- - -- - -- - - 12.5
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50


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 40 Functions = 0%       or       0 out of 10 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-1072 . source/pr-app/pr-app-FDP123/fdp-01.c B dead_block = E * F; */
2 1-1241 . B dead_block = C * D;
3 1-1296 . B dead_block = C * D;
4 1-1322 . B dead_block = C * D;
5 1-2110 . B dead_code = D + E;
6 1-222 . B dead_block = C * D;
7 1-297 . B dead_block = E * F; */
8 1-683 . B dead_block = E * F; */
9 1-796 . B dead_block = C * D;
10 2-115 . source/pr-app/pr-app-FDP123/fdp-02.c B dead_block = C * D;
11 2-128 . B dead_code = D + E;
12 2-1285 . B dead_code = B - C;
13 2-135 . B dead_block = C * D;
14 2-364 . A /* dead_code = A * B; */
15 2-687 . B dead_code = D + E;
16 2-707 . A /* dead_code = A * B; */
17 2-848 . B dead_block = E * F; */
18 3-433 . source/pr-app/pr-app-FDP123/fdp-03.c B dead_block = C * D;
19 4-201 . source/pr-app/pr-app-FDP123/fdp-04.c B dead_code = B - C;
20 4-248 . B dead_code = D + E;
21 5-1442 . source/pr-app/pr-app-FDP123/p_fdp-06.c B dead_block = C * D; PVL
22 5-1972 . B dead_code = D + E;
23 5-2016 . B dead_code = D + E;
24 5-976 . B dead_block = C * D;
Summary: 24 out of 3080 LOC = 0.77%       or       5 out of 10 files = 50%
- - - 0.77
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50


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 3080 LOC = 0%       or       0 out of 10 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 3080 LOC = 0%       or       0 out of 10 files = 0%
- - - 0
- - - 0


menu . do Loops

1 5-1840 . source/pr-app/pr-app-FDP123/p_fdp-06.c do Loop do forever; PVL
Summary: 1 out of 3080 LOC = 0.03%       or       1 out of 10 files = 10%
- - - 0.03
- - -- - -- - -- - -- - -- - - 10


menu . goto Statements

1 1-1357 . source/pr-app/pr-app-FDP123/fdp-01.c goto Statement goto error;
2 2-965 . source/pr-app/pr-app-FDP123/fdp-02.c goto Statement goto error;
3 5-2104 . source/pr-app/pr-app-FDP123/p_fdp-06.c goto Statement goto error; PVL
4 5-767 . goto Statement goto error;
5 5-963 . goto Statement goto error;
Summary: 5 out of 3080 LOC = 0.16%       or       3 out of 10 files = 30%
- - - 0.16
- - -- - -- - -- - -- - -- - -- - -- - - 30


menu . ?: Operator

Looks good no q-operator sets to consider :)
Summary: 0 out of 3080 LOC = 0%       or       0 out of 10 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-1158 . source/pr-app/pr-app-FDP123/fdp-01.c send_buffer = (U16 *) malloc(size+1);
2 1-2403 . free( FreePtr);
3 2-1085 . source/pr-app/pr-app-FDP123/fdp-02.c send_buffer = (U16 *) malloc(size+1);
4 2-1632 . FreePtr = HmiStringPtr;
5 2-1641 . FreePtr = HmiStringPtr;
6 2-202 . FreePtr = HmiStringPtr;
7 2-757 . free( FreePtr);
8 2-816 . FreePtr = HmiStringPtr;
9 5-1494 . source/pr-app/pr-app-FDP123/p_fdp-06.c FreePtr = HmiStringPtr; PVL
10 5-621 . free( FreePtr);
11 5-764 . free( FreePtr);
Summary: 11 out of 3080 LOC = 0.35%       or       3 out of 10 files = 30%
- - - 0.35
- - -- - -- - -- - -- - -- - -- - -- - - 30


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

1 3-122 . source/pr-app/pr-app-FDP123/fdp-03.c A = (float) B + C;
2 3-223 . A = (long) B + C;
3 4-88 . source/pr-app/pr-app-FDP123/fdp-04.c A = (long) B + C;
4 5-1383 . source/pr-app/pr-app-FDP123/p_fdp-06.c A = (int) B + C; PVL
Summary: 4 out of 3080 LOC = 0.12%       or       3 out of 10 files = 30%
- - - 0.12
- - -- - -- - -- - -- - -- - -- - -- - - 30


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 3080 LOC = 0%       or       0 out of 10 files = 0%
- - - 0
- - - 0


Analysis Summary

menu Files With Problems:
source/pr-app/pr-app-FDP123/fdp-01.c 46
source/pr-app/pr-app-FDP123/fdp-02.c 35
source/pr-app/pr-app-FDP123/fdp-03.c 5
source/pr-app/pr-app-FDP123/fdp-04.c 6
source/pr-app/pr-app-FDP123/p_fdp-06.c 52


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.06- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.28 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -20- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 52.22 prev:0.14 cur:0.06-0.08prev:26.11 cur:20-6.11 - - - 0.06
- - -- - -- - -- - -- - -- - -- - - 20
C Header
Perfect
Perfect
- - - 0
- - - 0
H Header
Perfect
Perfect
- - - 0
- - - 0
ASM Header
Perfect
Perfect
- - - 0
- - - 0
Possible Class Issues 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.38- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.86 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 77.6 prev:0.43 cur:0.38-0.04prev:38.8 cur:30-8.79 - - - 0.38
- - -- - -- - -- - -- - -- - -- - -- - - 30
Must Fix Class
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -20 14.92 prev:7.46 cur:2012.54 - - - 0
- - -- - -- - -- - -- - -- - -- - - 20
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 - - -- - -- - -- - -- - -- - -- - -- - -0.19- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.58 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 74.62 prev:0.29 cur:0.19-0.09prev:37.31 cur:30-7.31 - - - 0.19
- - -- - -- - -- - -- - -- - -- - -- - - 30
Fixed Keywords Prologues
Perfect
Perfect
- - - 0
- - - 0
Conditional Compiles 0 - - -- - -- - -- - -- - -- - -- - -0.12- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.4 0 - - -- - -- - -- - -- - -- - -10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 37.3 prev:0.2 cur:0.12-0.08prev:18.65 cur:10-8.64 - - - 0.12
- - -- - -- - -- - -- - -- - - 10
Switch Default Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.35- - -- - -- - -- - -- - - 0.42 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 68.64 prev:0.21 cur:0.350.13prev:34.32 cur:30-4.32 - - - 0.35
- - -- - -- - -- - -- - -- - -- - -- - - 30
Default SwError Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.29- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.48 0 - - -- - -- - -- - -- - -- - -- - -20- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 62.68 prev:0.24 cur:0.290.04prev:31.34 cur:20-11.34 - - - 0.29
- - -- - -- - -- - -- - -- - -- - - 20
Case Break Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -0.19- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.5 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 73.12 prev:0.25 cur:0.19-0.06prev:36.56 cur:30-6.56 - - - 0.19
- - -- - -- - -- - -- - -- - -- - -- - - 30
Nested Switches 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.16- - -- - -- - -- - -- - -- - -- - - 0.22 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -20- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 44.76 prev:0.11 cur:0.160.05prev:22.38 cur:20-2.37 - - - 0.16
- - -- - -- - -- - -- - -- - -- - - 20
Stacked Case Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.51- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 1.1 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -20- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50.74 prev:0.55 cur:0.51-0.04prev:25.37 cur:20-5.37 - - - 0.51
- - -- - -- - -- - -- - -- - -- - - 20
Calling Rules
Disabled
No Error Exits
Perfect
Perfect
- - - 0
- - - 0
Files > 5 Functions
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70.14 prev:35.07 cur:30-5.07 - - - 0
- - -- - -- - -- - -- - -- - -- - -- - - 30
Files > 500 LOC
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -10 1.48 prev:0.74 cur:109.26 - - - 0
- - -- - -- - -- - -- - -- - - 10
Func's Norm Files Norm LOC Files Func's Files
C Functions > 100 LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -12.5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 23.08 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -50- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 92.52 prev:11.54 cur:12.50.96prev:46.26 cur:503.74 - - -- - -- - -- - -- - -- - -- - -- - - 12.5
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50
C Functions < 5 LOC
Perfect
Perfect
- - - 0
- - - 0
LOC Norm Files Norm LOC Files LOC Files
Uncalled Functions
Disabled
Dead Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.77- - -- - -- - -- - -- - - 0.96 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -50- - -- - -- - -- - -- - -- - -- - -- - -- - - 76.1 prev:0.48 cur:0.770.29prev:38.05 cur:5011.95 - - - 0.77
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50
Log Events
Perfect
Perfect
- - - 0
- - - 0
Missing Curly Braces 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.12- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.18 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - - 40.28 prev:0.09 cur:0.120.03prev:20.14 cur:309.86 - - - 0.12
- - -- - -- - -- - -- - -- - -- - -- - - 30
Line Length
Perfect
Perfect
- - - 0
- - - 0
do Loops 0 - - -- - -- - -- - -0.03- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.18 0 - - -- - -- - -- - -- - -- - -- - -10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 34.32 prev:0.09 cur:0.03-0.06prev:17.16 cur:10-7.16 - - - 0.03
- - -- - -- - -- - -- - -- - - 10
goto Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.16- - -- - -- - -- - -- - -- - -- - - 0.22 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 47.76 prev:0.11 cur:0.160.05prev:23.88 cur:306.12 - - - 0.16
- - -- - -- - -- - -- - -- - -- - -- - - 30
?: Operator
Perfect
Perfect
- - - 0
- - - 0
Increment In Decision
Disabled
Storage malloc free 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.35- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.66 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76.1 prev:0.33 cur:0.350.01prev:38.05 cur:30-8.04 - - - 0.35
- - -- - -- - -- - -- - -- - -- - -- - - 30
Type ReCasting 0 - - -- - -- - -- - -- - -0.12- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.54 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -30- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 74.62 prev:0.27 cur:0.12-0.15prev:37.31 cur:30-7.31 - - - 0.12
- - -- - -- - -- - -- - -- - -- - -- - - 30
Missing Function Headers
menu

Metric ItemFlaggedTotalPercentNormPercent
LOC12030803.89% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3.89- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 7.68     prev:3.84 cur:3.890.05 - - -- - -- - - 3.89
Functions54012.5% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -12.5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 23.08     prev:11.54 cur:12.50.96 - - -- - -- - -- - -- - -- - -- - -- - - 12.5
Files51050% 0 - - -- - -- - -- - -- - -- - -- - -50- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 176.1     prev:88.05 cur:50-38.05 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50
Total Up Flags14-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -14 0.02     prev:0.01 cur:1413.99
Total Down Flags21-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -21 0.02     prev:0.01 cur:2120.99
Total Same Flags0--
Perfect

Final Tally of Flags This version is BETTER up:14 dwn:21 -7 out of 35 or -20% 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 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 116 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70 prev:58 cur:2-56prev:35 cur:2-33582352
C Header
Perfect
Perfect
0.01060
H Header
Perfect
Perfect
0.01040
ASM Header
Perfect
Perfect
0.0100.010
Possible Class Issues 0 12- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 360 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 104 prev:180 cur:12-168prev:52 cur:3-4918012523
Must Fix Class
Perfect
0 - - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 20 prev:10 cur:2-80.010102
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 242 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 100 prev:121 cur:6-115prev:50 cur:3-471216503
Fixed Keywords Prologues
Perfect
Perfect
0.0100.010
Conditional Compiles 0 4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 172 0 1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50 prev:86 cur:4-82prev:25 cur:1-24864251
Switch Default Balance 0 - - -11- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 176 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 92 prev:88 cur:11-77prev:46 cur:3-438811463
Default SwError Balance 0 - - -9- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 200 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 84 prev:100 cur:9-91prev:42 cur:2-401009422
Case Break Balance 0 6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 212 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 98 prev:106 cur:6-100prev:49 cur:3-461066493
Nested Switches 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 60 prev:47 cur:5-42prev:30 cur:2-28475302
Stacked Case Statements 0 16- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 456 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 68 prev:228 cur:16-212prev:34 cur:2-3222816342
Calling Rules
Disabled
No Error Exits
Perfect
Perfect
0.01020
Files > 5 Functions
Perfect
0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94 prev:47 cur:3-440.010473
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 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124 prev:62 cur:5-57prev:62 cur:5-57625625
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 - - -24- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 400 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102 prev:200 cur:24-176prev:51 cur:5-4620024515
Log Events
Perfect
Perfect
0.0100.010
Missing Curly Braces 0 - - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76 0 - - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 54 prev:38 cur:4-34prev:27 cur:3-24384273
Line Length
Perfect
Perfect
0.0100.010
do Loops 0 1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76 0 1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 46 prev:38 cur:1-37prev:23 cur:1-22381231
goto Statements 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 96 0 - - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 64 prev:48 cur:5-43prev:32 cur:3-29485323
?: Operator
Perfect
Perfect
0.0100.010
Increment In Decision
Disabled
Storage malloc free 0 - - -11- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 274 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102 prev:137 cur:11-126prev:51 cur:3-4813711513
Type ReCasting 0 4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 228 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 100 prev:114 cur:4-110prev:50 cur:3-471144503
Missing Function Headers00
menu

Metric Item Flagged Norm Prev Cur
LOC 0 120- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 3178     prev:1589 cur:120-1469 1589 120
Functions 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124     prev:62 cur:5-57 62 5
Files 0 5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 236     prev:118 cur:5-113 118 5
Total Up Flags
Perfect
0.01 0
Total Down Flags 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -34 0.02     prev:0.01 cur:3433.99 0.01 34
Total Same Flags 0 1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76     prev:38 cur:1-37 38 1

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


Details Report

1 1 Source: source/pr-app/pr-app-FDP123/fdp-01.c
Note: OK Classification Marking
Note: Good Header
1-15 fdp.1.1
1-175 default: { // missing error call } Attention: Missing SwError 1-222 dead_block = C * D; Attention: Dead Code 1-243 fdp.1.2
1-297 dead_block = E * F; */ Attention: Dead Code 1-389 fdp.1.3
1-454 fdp.1.4
1-616 fdp.1.5
1-683 dead_block = E * F; */ Attention: Dead Code 1-710 default: { // missing error call } Attention: Missing SwError 1-726 // TBS - I need to figure this out Attention: Possible problem Keyword TBS 1-760 case: case: Attention: Stacked case statements 1-761 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 1-764 case: case: Attention: Stacked case statements 1-765 case: case: Attention: Stacked case statements 1-771 default: { halt; } Attention: Missing SwError 1-773 halt; Attention: Classified text in wrong file name: halt
1-796 dead_block = C * D; Attention: Dead Code 1-814 fdp.1.6
1-905 fdp.1.7
1-1072 dead_block = E * F; */ Attention: Dead Code 1-1109if (veg) Warning: Missing curly brace looked as far as 1114 1-1136 fdp.1.8
1-1148 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
1-1158 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 1-1167 { 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; A = B+C; // max LOC 12 } /* ----------------------------------------------------------------------------- --| NAME: fdp.1.9 Attention: Missing default 1-1197 fdp.1.9
1-1241 dead_block = C * D; Attention: Dead Code 1-1296 dead_block = C * D; Attention: Dead Code 1-1322 dead_block = C * D; Attention: Dead Code 1-1357 Warning: goto Statement goto error; 1-1452 fdp.1.10
1-1470 { case one: { run_this; break; } case two: { run_this; break; } // missing default } A = B-C; A = B*C; A = B+C; A = 0x0009; if (A ge 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; } A = B/C; if (A le B) { A = B + C; D = E + F; } A = B+C; if (A >= B) { A = B + C; D = E + F; } if ($fdp stuff > $otherfdp stuff) /* LE SV TOC-008 we really should log all error calls */ { A = B + C; } A = B/C; A = B/C; // max LOC 19 } /* ----------------------------------------------------------------------------- --| NAME: fdp.1.11 Attention: Missing default 1-1524 { FATAL Compile Error: Missing curly brace LE breaks path 1-1538 fdp.1.11
1-1667 { case one: { switch (nested) Attention: Missing default 1-1669 { { switch (nested) Attention: Nested switch 1-1673 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 1-1774 fdp.1.12
1-1857 { case one: { run_this; break; } case two: { run_this; break; } // missing default } if (A <= B) { A = B + C; D = E + F; } A = B-C; if (A ne B) { A = B + C; D = E + F; } if (A eq B) { A = B + C; D = E + F; } if (A gt B) { A = B + C; D = E + F; } A = B*C; if (A lt B) { A = B + C; D = E + F; } switch (fdp stuff) Attention: Missing default 1-1922 default: { // missing error call } Attention: Missing SwError 1-1990 // ??? go see ws Attention: Possible problem Keyword ?? 1-2058 fdp.1.13
1-2100 halt; Attention: Classified text in wrong file name: halt
1-2110 dead_code = D + E; Attention: Dead Code 1-2125 case: case: Attention: Stacked case statements 1-2126 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 1-2129 case: case: Attention: Stacked case statements 1-2130 case: case: Attention: Stacked case statements 1-2136 default: { halt; } Attention: Missing SwError 1-2138 halt; Attention: Classified text in wrong file name: halt
1-2204 halt; Attention: Classified text in wrong file name: halt
1-2249 default: { // missing error call } Attention: Missing SwError 1-2269 default: { // missing error call } Attention: Missing SwError 1-2321 halt; Attention: Classified text in wrong file name: halt
1-2354 fdp.1.14
1-2403 free(FreePtr); Attention: Storage FreePtr); Source Lines 2420 Logical 78 SemiColons 957 LOC 1035 Warning: Functions Exceed 14
Error: File with 1035 LOC 1 1 Result: result/source/pr-app/pr-app-FDP123/fdp-01.c


2 2 Source: source/pr-app/pr-app-FDP123/fdp-01.h Note: OK Classification Marking
Note: Good Header
Source Lines 28 Logical 0 SemiColons 7 LOC 7 2 2 Result: result/source/pr-app/pr-app-FDP123/fdp-01.h


3 3 Source: source/pr-app/pr-app-FDP123/fdp-02.c Note: OK Classification Marking
Note: Good Header
2-15 fdp.2.1
2-44if (veg) Warning: Missing curly brace looked as far as 49 2-55 // TBD - what do I do now Attention: Possible problem Keyword TBD 2-115 dead_block = C * D; Attention: Dead Code 2-128 dead_code = D + E; Attention: Dead Code 2-135 dead_block = C * D; Attention: Dead Code 2-156 fdp.2.2
2-202 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-246 // TBS - I need to figure this out Attention: Possible problem Keyword TBS 2-302 fdp.2.3
2-364 /* dead_code = A * B; */ Attention: Dead Code 2-443 fdp.2.4
2-539 { FATAL Compile Error: Missing curly brace LE breaks path 2-558 fdp.2.5
2-687 dead_code = D + E; Attention: Dead Code 2-707 /* dead_code = A * B; */ Attention: Dead Code 2-733 #ifdef LAZY Attention: Conditional Compile ifdef 2-737 #endif Attention: Conditional Compile #endif 2-757 free(FreePtr); Attention: Storage FreePtr); 2-795 fdp.2.6
2-816 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-848 dead_block = E * F; */ Attention: Dead Code 2-860 #ifdef LAZY Attention: Conditional Compile ifdef 2-864 #endif Attention: Conditional Compile #endif 2-888 fdp.2.7
2-965 Warning: goto Statement goto error; 2-1066 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
2-1085 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 2-1149 fdp.2.8
2-1182 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
2-1285 dead_code = B - C; Attention: Dead Code 2-1390 // TBD - what do I do now Attention: Possible problem Keyword TBD 2-1425 fdp.2.9
2-1487 fdp.2.10
2-1632 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-1641 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; Source Lines 1744 Logical 52 SemiColons 702 LOC 754 Warning: Functions Exceed 10
Error: File with 754 LOC 3 3 Result: result/source/pr-app/pr-app-FDP123/fdp-02.c


4 4 Source: source/pr-app/pr-app-FDP123/fdp-02.h Note: OK Classification Marking
Note: Good Header
Source Lines 22 Logical 0 SemiColons 1 LOC 1 4 4 Result: result/source/pr-app/pr-app-FDP123/fdp-02.h


5 5 Source: source/pr-app/pr-app-FDP123/fdp-03.c Note: OK Classification Marking
Note: Good Header
3-15 fdp.3.1
3-76 fdp.3.2
3-122 A = (float)B + C; Attention: Recasting (float) 3-223 A = (long)B + C; Attention: Recasting (long) 3-243 fdp.3.3
3-433 dead_block = C * D; Attention: Dead Code Source Lines 477 Logical 16 SemiColons 193 LOC 209 5 5 Result: result/source/pr-app/pr-app-FDP123/fdp-03.c


6 6 Source: source/pr-app/pr-app-FDP123/fdp-03.h Note: OK Classification Marking
Note: Good Header
Source Lines 28 Logical 0 SemiColons 7 LOC 7 6 6 Result: result/source/pr-app/pr-app-FDP123/fdp-03.h


7 7 Source: source/pr-app/pr-app-FDP123/fdp-04.c Note: OK Classification Marking
Note: Good Header
4-15 fdp.4.1
4-88 A = (long)B + C; Attention: Recasting (long) 4-144 // missing break { run_this; // missing break } Attention: Missing break in case 4-169 { 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; A = B+C; A = B-C; A = B*C; A = B*C; A = B/C; /* dead_code = B - C; dead_code = D - E; dead_code = F - G; */ A = B/C; if (A gt B) { A = B + C; D = E + F; } A = B*C; A = B+C; A = B-C; A = B-C; A = B*C; if (A != B) { A = B + C; D = E + F; } A = B+C; if (A != B) { A = B + C; D = E + F; } A = B*C; A = B+C; if (A >= B) { A = B + C; D = E + F; } A = B+C; A = B+C; A = B/C; /* dead_code = B + C; dead_code = D + E; dead_code = F + G; */ A = B+C; A = B/C; A = B/C; A = B-C; A = B/C; A = B*C; // max LOC 67 } Attention: Missing default 4-201 dead_code = B - C; Attention: Dead Code 4-248 dead_code = D + E; Attention: Dead Code Source Lines 260 Logical 11 SemiColons 108 LOC 119 7 7 Result: result/source/pr-app/pr-app-FDP123/fdp-04.c


8 8 Source: source/pr-app/pr-app-FDP123/fdp-04.h Note: OK Classification Marking
Note: Good Header
Source Lines 25 Logical 0 SemiColons 4 LOC 4 8 8 Result: result/source/pr-app/pr-app-FDP123/fdp-04.h


9 9 Source: source/pr-app/pr-app-FDP123/p_fdp-06.c

Attention: Header Classification Marking Wrong
Note: Good Header
5-15 fdp.6.1
5-144 fdp.6.2
5-187 fdp.6.3
5-279 { case one: { run_this; break; } case two: { run_this; break; } // missing default } A = B/C; A = B-C; if (A lt B) { A = B + C; D = E + F; } A = B/C; A = B-C; if (A >= B) { A = B + C; D = E + F; } A = B*C; if (A ne B) { A = B + C; D = E + F; } A = B/C; A = B+C; A = B/C; A = B+C; A = B*C; /* LE SV TOC-1460 this is a p_fdp-06.3.36 req to translate*/ A = B*C; /* LE SV TOC-1461 this is a p_fdp-06.3.37 req to reject*/ A = B/C; A = B*C; A = B/C; A = B*C; A = B-C; A = B*C; A = B-C; A = B+C; A = B-C; switch (fdp stuff) Attention: Missing default 5-381if (veg) Warning: Missing curly brace looked as far as 389 5-402 fdp.6.4
5-435 { case one: { switch (nested) Attention: Missing default 5-437 { { switch (nested) Attention: Nested switch 5-441 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 5-473 case: case: Attention: Stacked case statements 5-474 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 5-477 case: case: Attention: Stacked case statements 5-478 case: case: Attention: Stacked case statements 5-484 default: { halt; } Attention: Missing SwError 5-486 halt; Attention: Classified text in wrong file name: halt
5-503 { case one: { switch (nested) Attention: Missing default 5-505 { { switch (nested) Attention: Nested switch 5-509 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 5-588 fdp.6.5
5-621 free(FreePtr); Attention: Storage FreePtr); 5-625if (veg) Warning: Missing curly brace looked as far as 632 5-637 fdp.6.6
5-703 halt; Attention: Classified text in wrong file name: halt
5-739 case: case: Attention: Stacked case statements 5-740 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 5-743 case: case: Attention: Stacked case statements 5-744 case: case: Attention: Stacked case statements 5-750 default: { halt; } Attention: Missing SwError 5-752 halt; Attention: Classified text in wrong file name: halt
5-764 free(FreePtr); Attention: Storage FreePtr); 5-767 Warning: goto Statement goto error; 5-781 /* LE SV TOC-1470 this is a p_fdp-06.6.43 req to halt*/ Attention: Classified text in wrong file name: halt
5-846 fdp.6.7
5-888 fdp.6.8
5-963 Warning: goto Statement goto error; 5-976 dead_block = C * D; Attention: Dead Code 5-1219 fdp.6.9
5-1333 // ??? go see ws Attention: Possible problem Keyword ?? 5-1383 A = (int)B + C; Attention: Recasting (int) 5-1411 fdp.6.10
5-1442 dead_block = C * D; Attention: Dead Code 5-1494 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 5-1539 { case one: { switch (nested) Attention: Missing default 5-1541 { { switch (nested) Attention: Nested switch 5-1545 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 5-1585 fdp.6.11
5-1658 { case one: { run_this; break; } case two: { run_this; break; } // missing default } if (A != B) { A = B + C; D = E + F; } A = B*C; if (A >= B) { A = B + C; D = E + F; } if (A < B) { A = B + C; D = E + F; } if (A ge B) { A = B + C; D = E + F; } A = B+C; A = B/C; A = B*C; A = B+C; A = B+C; switch (fdp stuff) Attention: Missing default 5-1840 Warning: do Loop do forever; 5-1855 fdp.6.12
5-1972 dead_code = D + E; Attention: Dead Code 5-2016 dead_code = D + E; Attention: Dead Code 5-2078 { case one: { switch (nested) Attention: Missing default 5-2080 { { switch (nested) Attention: Nested switch 5-2084 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 5-2104 Warning: goto Statement goto error; Source Lines 2124 Logical 99 SemiColons 842 LOC 941 Warning: Functions Exceed 12
Error: File with 941 LOC 9 9 Result: result/source/pr-app/pr-app-FDP123/p_fdp-06.c


10 10 Source: source/pr-app/pr-app-FDP123/p_fdp-06.h

Attention: Header Classification Marking Wrong
Note: Good Header
Source Lines 24 Logical 0 SemiColons 3 LOC 3 10 10 Result: result/source/pr-app/pr-app-FDP123/p_fdp-06.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:50:36 start
12/08/2003 15:50:40 end