Logevents v111003 analysis/pr-app-MSAW123 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 16:09:09


Analysis Group Stats

Previous Stats ft-app-B1.0-entropy.pl
ItemPreviousCurrentNorm
Total Source Lines - c h asm s 96366 5120 0 5120- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 192732     prev:96366 cur:5120-91246
Total Non Blank Lines - c h asm s 52923 2772 0 2772- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 105846     prev:52923 cur:2772-50151
Total Logical - c h asm s 3246 180 0 180- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6492     prev:3246 cur:180-3066
Total SemiColons - c h asm s 38038 1952 0 1952- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76076     prev:38038 cur:1952-36086
Total LOC - c h asm s 41284 2132 0 2132- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 82568     prev:41284 cur:2132-39152

All Files - c h asm s (tot/analyzed) 134 8 / 8 0 8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 268     prev:134 cur:8-126
Files - C (tot/analyzed) 67 4 / 4 0 4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 134     prev:67 cur:4-63
Files - H (tot/analyzed) 67 4 / 4 0 4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 134     prev:67 cur:4-63
Files - ASM (tot/analyzed) 0.01 0 / 0
Perfect
Functions - C 537 29 0 29- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 1074     prev:537 cur:29-508

Log Events in Code 1235 58 0 58- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2470     prev:1235 cur:58-1177
TOC Reqs in Code 1194 56 0 56- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2388     prev:1194 cur:56-1138
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 4 0 4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 200     prev:100 cur:4-96
LOC per File - c h asm s 308 266 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -266- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 616     prev:308 cur:266-42
LOC per Function 76 73 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -73- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 152     prev:76 cur:73-3
Functions per File - C 8.01 7.25 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -7.25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 16.02     prev:8.01 cur:7.25-0.76

Non Blank Lines Per LOC 1.28 1.3 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.56     prev:1.28 cur:1.30.02
LOC Per Logical 12.71 11.84 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -11.84- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 25.42     prev:12.71 cur:11.84-0.87
C Per H 1.28 1.3 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.56     prev:1.28 cur:1.30.02

LOC per Req 34.57 38.07 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -38.07- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 69.14     prev:34.57 cur:38.073.5
Functions per Req 0.44 0.51 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.51- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.88     prev:0.44 cur:0.510.07
Logevents per Req 1.03 1.03 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.03- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.06     none


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 3-1285 . source/pr-app/pr-app-MSAW123/msaw-03.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
2 4-1091 . source/pr-app/pr-app-MSAW123/msaw-04.c FATAL Compile Error LE breaks long path near: A = (long)B + C; 1
3 4-1157 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
Summary: 3 out of 2132 LOC = 0.14%       or       2 out of 8 files = 25%
- - - 0.14
- - -- - -- - - 25


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

1 source/pr-app/pr-app-MSAW123/msaw-02.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 4 files = 25%
- - -- - -- - - 25


menu . H Header: out of 4 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-MSAW123/msaw-02.c File s_ marking wrong or Header Classification blank
Summary: 1 out of 8 files = 12.5%
- - -- - -- - -- - -- - -- - -- - -- - - 12.5


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 3-1184 . source/pr-app/pr-app-MSAW123/msaw-03.c Classified text in wrong file name: halt ;
2 3-1621 . Classified text in wrong file name: halt ;
3 3-1809 . Classified text in wrong file name: /* LE SV TOC-2228 this is a msaw-03.8.24 req to halt */
4 3-2307 . Classified text in wrong file name: /* LE SV TOC-2235 this is a msaw-03.12.12 req to halt */
5 3-44 . Classified text in wrong file name: halt ;
6 4-1281 . source/pr-app/pr-app-MSAW123/msaw-04.c Classified text in wrong file name: /* LE SV TOC-2251 this is a msaw-04.11.15 req to halt */
7 4-1715 . Classified text in wrong file name: halt ;
8 4-220 . Classified text in wrong file name: /* LE SV TOC-2240 this is a msaw-04.3.43 req to halt */
9 4-241 . Classified text in wrong file name: halt ;
10 4-813 . Classified text in wrong file name: // (P) this is really improtant
Summary: 10 out of 2132 LOC = 0.46%       or       2 out of 8 files = 25%
- - - 0.46
- - -- - -- - - 25


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 3-2217 . source/pr-app/pr-app-MSAW123/msaw-03.c // TBD - what do I do now
2 4-1164 . source/pr-app/pr-app-MSAW123/msaw-04.c // TBD - what do I do now
3 4-1271 . // TBD - what do I do now
4 4-1655 . // ? ?? go see ws
5 4-1744 . // TBD - what do I do now
6 4-310 . // ? ?? go see ws
7 4-320 . // TBS - I need to figure this out

H files

Assembly files

other files

Summary: 7 out of 2132 LOC = 0.32%       or       2 out of 8 files = 25%
- - - 0.32
- - -- - -- - - 25


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 2132 LOC = 0%       or       0 out of 8 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

Looks good no ifdef sets to consider :)
Summary: 0 out of 2132 LOC = 0%       or       0 out of 8 files = 0%
- - - 0
- - - 0


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 3-1388 . source/pr-app/pr-app-MSAW123/msaw-03.c Missing curly brace if (veg) looked as far as 1393
2 3-2011 . Missing curly brace if (veg) looked as far as 2019
3 3-411 . Missing curly brace if (veg) looked as far as 417
4 3-431 . Missing curly brace if (veg) looked as far as 437
5 4-1018 . source/pr-app/pr-app-MSAW123/msaw-04.c Missing curly brace if (veg) looked as far as 1023
6 4-105 . Missing curly brace if (veg) looked as far as 124
7 4-1082 . Missing curly brace if (veg) looked as far as 1094
8 4-1521 . Missing curly brace if (veg) looked as far as 1528
Summary: 8 out of 2132 LOC = 0.37%       or       2 out of 8 files = 25%
- - - 0.37
- - -- - -- - - 25


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-217 . source/pr-app/pr-app-MSAW123/msaw-02.c Missing default
2 3-1548 . source/pr-app/pr-app-MSAW123/msaw-03.c Missing default
3 3-2184 . Missing default
4 3-706 . Missing default
5 3-841 . Missing default
6 4-1333 . source/pr-app/pr-app-MSAW123/msaw-04.c Missing default
7 4-674 . Missing default
Summary: 7 out of 2132 LOC = 0.32%       or       3 out of 8 files = 37.5%
- - - 0.32
- - -- - -- - -- - -- - -- - - 37.5


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 3-1182 . source/pr-app/pr-app-MSAW123/msaw-03.c Missing SwError
2 4-239 . source/pr-app/pr-app-MSAW123/msaw-04.c Missing SwError
Summary: 2 out of 2132 LOC = 0.09%       or       2 out of 8 files = 25%
- - - 0.09
- - -- - -- - - 25


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 2-490 . source/pr-app/pr-app-MSAW123/msaw-02.c Missing break in case
2 2-560 . Missing break in case
3 2-596 . Missing break in case
4 3-2190 . source/pr-app/pr-app-MSAW123/msaw-03.c Missing break in case
5 3-335 . Missing break in case
6 3-712 . Missing break in case
7 4-1339 . source/pr-app/pr-app-MSAW123/msaw-04.c Missing break in case
8 4-498 . Missing break in case
9 4-680 . Missing break in case
Summary: 9 out of 2132 LOC = 0.42%       or       3 out of 8 files = 37.5%
- - - 0.42
- - -- - -- - -- - -- - -- - - 37.5


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

1 3-2186 . source/pr-app/pr-app-MSAW123/msaw-03.c Nested switch
2 3-708 . Nested switch
3 4-1335 . source/pr-app/pr-app-MSAW123/msaw-04.c Nested switch
4 4-676 . Nested switch
Summary: 4 out of 2132 LOC = 0.18%       or       2 out of 8 files = 25%
- - - 0.18
- - -- - -- - - 25


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

1 3-1171 . source/pr-app/pr-app-MSAW123/msaw-03.c Stacked case statements
2 3-1172 . Stacked case statements
3 3-1175 . Stacked case statements
4 3-1176 . Stacked case statements
5 4-228 . source/pr-app/pr-app-MSAW123/msaw-04.c Stacked case statements
6 4-229 . Stacked case statements
7 4-232 . Stacked case statements
8 4-233 . Stacked case statements
Summary: 8 out of 2132 LOC = 0.37%       or       2 out of 8 files = 25%
- - - 0.37
- - -- - -- - - 25


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 8 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-MSAW123/msaw-03.c 12
2 source/pr-app/pr-app-MSAW123/msaw-04.c 14
Summary: 2 out of 8 files = 25%
- - -- - -- - - 25


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-MSAW123/msaw-03.c Error: File with 1027 LOC detected
2 Error: File with 710 LOC detected
Summary: 1 out of 8 files = 12.5%
- - -- - -- - -- - -- - -- - -- - -- - - 12.5


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-MSAW123/msaw-02.c 273
2 source/pr-app/pr-app-MSAW123/msaw-03.c 1027
3 source/pr-app/pr-app-MSAW123/msaw-04.c 710
Summary: 3 out of 29 Functions = 10.34%       or       3 out of 8 files = 37.5%
- - -- - -- - -- - -- - -- - - 10.34
- - -- - -- - -- - -- - -- - - 37.5


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 29 Functions = 0%       or       0 out of 8 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 3-1140 . source/pr-app/pr-app-MSAW123/msaw-03.c B dead_block = C * D;
2 3-179 . A /* dead_code = A * B; */
3 3-1997 . B dead_block = C * D;
4 3-2290 . A /* dead_code = A * B; */
5 3-2349 . B dead_code = B - C;
6 3-617 . B dead_code = D + E;
7 3-623 . B dead_block = E * F; */
8 3-88 . B dead_code = D + E;
9 4-1064 . source/pr-app/pr-app-MSAW123/msaw-04.c B dead_code = B - C;
10 4-115 . B dead_block = E * F; */
11 4-490 . B dead_block = E * F; */
Summary: 11 out of 2132 LOC = 0.51%       or       2 out of 8 files = 25%
- - - 0.51
- - -- - -- - - 25


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


menu . do Loops

Looks good no do loop sets to consider :)
Summary: 0 out of 2132 LOC = 0%       or       0 out of 8 files = 0%
- - - 0
- - - 0


menu . goto Statements

1 3-537 . source/pr-app/pr-app-MSAW123/msaw-03.c goto Statement goto error;
2 4-1720 . source/pr-app/pr-app-MSAW123/msaw-04.c goto Statement goto error;
Summary: 2 out of 2132 LOC = 0.09%       or       2 out of 8 files = 25%
- - - 0.09
- - -- - -- - - 25


menu . ?: Operator

Looks good no q-operator sets to consider :)
Summary: 0 out of 2132 LOC = 0%       or       0 out of 8 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 2-165 . source/pr-app/pr-app-MSAW123/msaw-02.c FreePtr = HmiStringPtr;
2 2-350 . free( FreePtr);
3 2-412 . send_buffer = (U16 *) malloc(size+1);
4 3-2131 . source/pr-app/pr-app-MSAW123/msaw-03.c FreePtr = HmiStringPtr;
5 4-1203 . source/pr-app/pr-app-MSAW123/msaw-04.c FreePtr = HmiStringPtr;
6 4-1703 . send_buffer = (U16 *) malloc(size+1);
7 4-899 . free( FreePtr);
Summary: 7 out of 2132 LOC = 0.32%       or       3 out of 8 files = 37.5%
- - - 0.32
- - -- - -- - -- - -- - -- - - 37.5


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

1 1-216 . source/pr-app/pr-app-MSAW123/msaw-01.c A = (long) B + C;
2 3-1503 . source/pr-app/pr-app-MSAW123/msaw-03.c A = (int) B + C;
3 4-1092 . source/pr-app/pr-app-MSAW123/msaw-04.c A = (long) B + C;
4 4-134 . A = (long) B + C;
5 4-1362 . A = (float) B + C;
6 4-1581 . A = (long) B + C;
Summary: 6 out of 2132 LOC = 0.28%       or       3 out of 8 files = 37.5%
- - - 0.28
- - -- - -- - -- - -- - -- - - 37.5


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


Analysis Summary

menu Files With Problems:
source/pr-app/pr-app-MSAW123/msaw-01.c 2
source/pr-app/pr-app-MSAW123/msaw-02.c 11
source/pr-app/pr-app-MSAW123/msaw-03.c 39
source/pr-app/pr-app-MSAW123/msaw-04.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.14- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.28 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 52.22 sameprev:26.11 cur:25-1.1 - - - 0.14
- - -- - -- - - 25
C Header
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -25 17.9 prev:8.95 cur:2516.05 - - - 0
- - -- - -- - - 25
H Header
Perfect
Perfect
- - - 0
- - - 0
ASM Header
Perfect
Perfect
- - - 0
- - - 0
Possible Class Issues 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.46- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.86 0 - - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 77.6 prev:0.43 cur:0.460.03prev:38.8 cur:25-13.79 - - - 0.46
- - -- - -- - - 25
Must Fix Class
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -12.5- - -- - -- - -- - -- - - 14.92 prev:7.46 cur:12.55.04 - - - 0
- - -- - -- - -- - -- - -- - -- - -- - - 12.5
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.32- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.58 0 - - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 74.62 prev:0.29 cur:0.320.03prev:37.31 cur:25-12.31 - - - 0.32
- - -- - -- - - 25
Fixed Keywords Prologues
Perfect
Perfect
- - - 0
- - - 0
Conditional Compiles
Perfect
Perfect
- - - 0
- - - 0
Switch Default Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.32- - -- - -- - -- - -- - -- - - 0.42 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -37.5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 68.64 prev:0.21 cur:0.320.11prev:34.32 cur:37.53.18 - - - 0.32
- - -- - -- - -- - -- - -- - - 37.5
Default SwError Balance 0 - - -- - -- - -- - -0.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.48 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 62.68 prev:0.24 cur:0.09-0.15prev:31.34 cur:25-6.34 - - - 0.09
- - -- - -- - - 25
Case Break Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.42- - -- - -- - -- - - 0.5 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -37.5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 73.12 prev:0.25 cur:0.420.17prev:36.56 cur:37.50.93 - - - 0.42
- - -- - -- - -- - -- - -- - - 37.5
Nested Switches 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.18- - -- - -- - -- - -- - - 0.22 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 44.76 prev:0.11 cur:0.180.06prev:22.38 cur:252.62 - - - 0.18
- - -- - -- - - 25
Stacked Case Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -0.37- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 1.1 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50.74 prev:0.55 cur:0.37-0.18prev:25.37 cur:25-0.37 - - - 0.37
- - -- - -- - - 25
Calling Rules
Disabled
No Error Exits
Perfect
Perfect
- - - 0
- - - 0
Files > 5 Functions
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70.14 prev:35.07 cur:25-10.07 - - - 0
- - -- - -- - - 25
Files > 500 LOC
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -12.5 1.48 prev:0.74 cur:12.511.76 - - - 0
- - -- - -- - -- - -- - -- - -- - -- - - 12.5
Func's Norm Files Norm LOC Files Func's Files
C Functions > 100 LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -10.34- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 23.08 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -37.5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 92.52 prev:11.54 cur:10.34-1.19prev:46.26 cur:37.5-8.75 - - -- - -- - -- - -- - -- - - 10.34
- - -- - -- - -- - -- - -- - - 37.5
C Functions < 5 LOC
Perfect
Perfect
- - - 0
- - - 0
LOC Norm Files Norm LOC Files LOC Files
Uncalled Functions
Disabled
Dead Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.51- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.96 0 - - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76.1 prev:0.48 cur:0.510.03prev:38.05 cur:25-13.04 - - - 0.51
- - -- - -- - - 25
Log Events
Perfect
Perfect
- - - 0
- - - 0
Missing Curly Braces 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.37 0.18 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 40.28 prev:0.09 cur:0.370.28prev:20.14 cur:254.85 - - - 0.37
- - -- - -- - - 25
Line Length
Perfect
Perfect
- - - 0
- - - 0
do Loops
Perfect
Perfect
- - - 0
- - - 0
goto Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.22 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 47.76 prev:0.11 cur:0.09-0.02prev:23.88 cur:251.12 - - - 0.09
- - -- - -- - - 25
?: Operator
Perfect
Perfect
- - - 0
- - - 0
Increment In Decision
Disabled
Storage malloc free 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.32- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.66 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -37.5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76.1 prev:0.33 cur:0.32-0.01prev:38.05 cur:37.5-0.54 - - - 0.32
- - -- - -- - -- - -- - -- - - 37.5
Type ReCasting 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.28- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.54 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -37.5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 74.62 prev:0.27 cur:0.280.01prev:37.31 cur:37.50.18 - - - 0.28
- - -- - -- - -- - -- - -- - - 37.5
Missing Function Headers
menu

Metric ItemFlaggedTotalPercentNormPercent
LOC8421323.93% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3.93- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 7.68     prev:3.84 cur:3.930.09 - - -- - -- - - 3.93
Functions32910.34% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -10.34- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 23.08     prev:11.54 cur:10.34-1.2 - - -- - -- - -- - -- - -- - - 10.34
Files4850% 0 - - -- - -- - -- - -- - -- - -- - -50- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 176.1     prev:88.05 cur:50-38.05 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50
Total Up Flags17-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -17 0.02     prev:0.01 cur:1716.99
Total Down Flags14-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -14 0.02     prev:0.01 cur:1413.99
Total Same Flags1-- 0 1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76     prev:38 cur:1-37

Final Tally of Flags This version is WORSE up:17 dwn:14 3 out of 32 or 9% 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 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 116 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70 prev:58 cur:3-55prev:35 cur:2-33583352
C Header
Perfect
0 - - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 12 prev:6 cur:1-50.01061
H Header
Perfect
Perfect
0.01040
ASM Header
Perfect
Perfect
0.0100.010
Possible Class Issues 0 10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 360 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 104 prev:180 cur:10-170prev:52 cur:2-5018010522
Must Fix Class
Perfect
0 - - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 20 prev:10 cur:1-90.010101
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 242 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 100 prev:121 cur:7-114prev:50 cur:2-481217502
Fixed Keywords Prologues
Perfect
Perfect
0.0100.010
Conditional Compiles
Perfect
Perfect
860250
Switch Default Balance 0 7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 176 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 92 prev:88 cur:7-81prev:46 cur:3-43887463
Default SwError Balance 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 200 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 84 prev:100 cur:2-98prev:42 cur:2-401002422
Case Break Balance 0 - - -9- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 212 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 98 prev:106 cur:9-97prev:49 cur:3-461069493
Nested Switches 0 - - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 60 prev:47 cur:4-43prev:30 cur:2-28474302
Stacked Case Statements 0 8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 456 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 68 prev:228 cur:8-220prev:34 cur:2-322288342
Calling Rules
Disabled
No Error Exits
Perfect
Perfect
0.01020
Files > 5 Functions
Perfect
0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94 prev:47 cur:2-450.010472
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 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124 prev:62 cur:3-59prev:62 cur:3-59623623
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 11- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 400 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102 prev:200 cur:11-189prev:51 cur:2-4920011512
Log Events
Perfect
Perfect
0.0100.010
Missing Curly Braces 0 - - -- - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 54 prev:38 cur:8-30prev:27 cur:2-25388272
Line Length
Perfect
Perfect
0.0100.010
do Loops
Perfect
Perfect
380230
goto Statements 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 96 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 64 prev:48 cur:2-46prev:32 cur:2-30482322
?: Operator
Perfect
Perfect
0.0100.010
Increment In Decision
Disabled
Storage malloc free 0 7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 274 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102 prev:137 cur:7-130prev:51 cur:3-481377513
Type ReCasting 0 6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 228 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 100 prev:114 cur:6-108prev:50 cur:3-471146503
Missing Function Headers00
menu

Metric Item Flagged Norm Prev Cur
LOC 0 84- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 3178     prev:1589 cur:84-1505 1589 84
Functions 0 3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 124     prev:62 cur:3-59 62 3
Files 0 4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 236     prev:118 cur:4-114 118 4
Total Up Flags
Perfect
0.01 0
Total Down Flags 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -31 0.02     prev:0.01 cur:3130.99 0.01 31
Total Same Flags 0 1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 76     prev:38 cur:1-37 38 1

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


Details Report

1 1 Source: source/pr-app/pr-app-MSAW123/msaw-01.c
Note: OK Classification Marking
Note: Good Header
1-15 msaw.1.1
1-216 A = (long)B + C; Attention: Recasting (long) Source Lines 227 Logical 12 SemiColons 82 LOC 94 1 1 Result: result/source/pr-app/pr-app-MSAW123/msaw-01.c


2 2 Source: source/pr-app/pr-app-MSAW123/msaw-01.h Note: OK Classification Marking
Note: Good Header
Source Lines 30 Logical 0 SemiColons 9 LOC 9 2 2 Result: result/source/pr-app/pr-app-MSAW123/msaw-01.h


3 3 Source: source/pr-app/pr-app-MSAW123/msaw-02.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
2-13 msaw.2.1
2-165 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-217 { case one: { run_this; break; } case two: { run_this; break; } // missing default } A = B/C; A = B*C; A = B/C; if (A eq B) { A = B + C; D = E + F; } if (A != B) { A = B + C; D = E + F; } if (A lt B) { A = B + C; D = E + F; } if (A ge B) { A = B + C; D = E + F; } if (A != B) { A = B + C; D = E + F; } if (A <= B) { A = B + C; D = E + F; } switch (msaw stuff) Attention: Missing default 2-350 free(FreePtr); Attention: Storage FreePtr); 2-390 msaw.2.2
2-412 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 2-490 // missing break { run_this; // missing break } Attention: Missing break in case 2-560 // missing break { run_this; // missing break } Attention: Missing break in case 2-596 // missing break { run_this; // missing break } Attention: Missing break in case Source Lines 619 Logical 35 SemiColons 238 LOC 273 3 3 Result: result/source/pr-app/pr-app-MSAW123/msaw-02.c


4 4 Source: source/pr-app/pr-app-MSAW123/msaw-02.h Note: OK Classification Marking
Note: Good Header
Source Lines 29 Logical 0 SemiColons 8 LOC 8 4 4 Result: result/source/pr-app/pr-app-MSAW123/msaw-02.h


5 5 Source: source/pr-app/pr-app-MSAW123/msaw-03.c Note: OK Classification Marking
Note: Good Header
3-15 msaw.3.1
3-44 halt; Attention: Classified text in wrong file name: halt
3-88 dead_code = D + E; Attention: Dead Code 3-179 /* dead_code = A * B; */ Attention: Dead Code 3-335 // missing break { run_this; // missing break } Attention: Missing break in case 3-382 msaw.3.2
3-411if (veg) Warning: Missing curly brace looked as far as 417 3-431if (veg) Warning: Missing curly brace looked as far as 437 3-537 Warning: goto Statement goto error; 3-617 dead_code = D + E; Attention: Dead Code 3-623 dead_block = E * F; */ Attention: Dead Code 3-647 msaw.3.3
3-706 { case one: { switch (nested) Attention: Missing default 3-708 { { switch (nested) Attention: Nested switch 3-712 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 3-841 { case one: { run_this; break; } case two: { run_this; break; } // missing default } 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; if (A ne B) { A = B + C; D = E + F; } if (A gt B) { A = B + C; D = E + F; } A = B-C; A = B+C; A = B/C; // max LOC 62 } /* ----------------------------------------------------------------------------- --| NAME: msaw.3.4 Attention: Missing default 3-898 msaw.3.4
3-1024 msaw.3.5
3-1116 msaw.3.6
3-1140 dead_block = C * D; Attention: Dead Code 3-1171 case: case: Attention: Stacked case statements 3-1172 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 3-1175 case: case: Attention: Stacked case statements 3-1176 case: case: Attention: Stacked case statements 3-1182 default: { halt; } Attention: Missing SwError 3-1184 halt; Attention: Classified text in wrong file name: halt
3-1285 { FATAL Compile Error: Missing curly brace LE breaks path 3-1362 msaw.3.7
3-1388if (veg) Warning: Missing curly brace looked as far as 1393 3-1503 A = (int)B + C; Attention: Recasting (int) 3-1548 { case one: { run_this; break; } case two: { run_this; break; } // missing default } if (A ne B) { A = B + C; D = E + F; } A = B+C; A = B/C; if (A le B) { A = B + C; D = E + F; } if (A le B) { A = B + C; D = E + F; } if (A ge B) { A = B + C; D = E + F; } switch (msaw stuff) Attention: Missing default 3-1621 halt; Attention: Classified text in wrong file name: halt
3-1706 msaw.3.8
3-1809 /* LE SV TOC-2228 this is a msaw-03.8.24 req to halt*/ Attention: Classified text in wrong file name: halt
3-1849 msaw.3.9
3-1913 msaw.3.10
3-1997 dead_block = C * D; Attention: Dead Code 3-2011if (veg) Warning: Missing curly brace looked as far as 2019 3-2033 msaw.3.11
3-2131 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 3-2184 { case one: { switch (nested) Attention: Missing default 3-2186 { { switch (nested) Attention: Nested switch 3-2190 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 3-2217 // TBD - what do I do now Attention: Possible problem Keyword TBD 3-2247 msaw.3.12
3-2290 /* dead_code = A * B; */ Attention: Dead Code 3-2307 /* LE SV TOC-2235 this is a msaw-03.12.12 req to halt*/ Attention: Classified text in wrong file name: halt
3-2349 dead_code = B - C; Attention: Dead Code Source Lines 2401 Logical 90 SemiColons 937 LOC 1027 Warning: Functions Exceed 12
Error: File with 1027 LOC 5 5 Result: result/source/pr-app/pr-app-MSAW123/msaw-03.c


6 6 Source: source/pr-app/pr-app-MSAW123/msaw-03.h Note: OK Classification Marking
Note: Good Header
Source Lines 26 Logical 0 SemiColons 5 LOC 5 6 6 Result: result/source/pr-app/pr-app-MSAW123/msaw-03.h


7 7 Source: source/pr-app/pr-app-MSAW123/msaw-04.c Note: OK Classification Marking
Note: Good Header
4-15 msaw.4.1
4-46 msaw.4.2
4-80 msaw.4.3
4-105if (veg) Warning: Missing curly brace looked as far as 124 4-115 dead_block = E * F; */ Attention: Dead Code 4-134 A = (long)B + C; Attention: Recasting (long) 4-220 /* LE SV TOC-2240 this is a msaw-04.3.43 req to halt*/ Attention: Classified text in wrong file name: halt
4-228 case: case: Attention: Stacked case statements 4-229 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 4-232 case: case: Attention: Stacked case statements 4-233 case: case: Attention: Stacked case statements 4-239 default: { halt; } Attention: Missing SwError 4-241 halt; Attention: Classified text in wrong file name: halt
4-280 msaw.4.4
4-310 // ??? go see ws Attention: Possible problem Keyword ?? 4-320 // TBS - I need to figure this out Attention: Possible problem Keyword TBS 4-490 dead_block = E * F; */ Attention: Dead Code 4-498 // missing break { run_this; // missing break } Attention: Missing break in case 4-560 msaw.4.5
4-674 { case one: { switch (nested) Attention: Missing default 4-676 { { switch (nested) Attention: Nested switch 4-680 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 4-713 msaw.4.6
4-761 msaw.4.7
4-813 // (P) this is really improtant Attention: Classified text in wrong file name: (P)
4-834 msaw.4.8
4-899 free(FreePtr); Attention: Storage FreePtr); 4-932 msaw.4.9
4-1003 msaw.4.10
4-1018if (veg) Warning: Missing curly brace looked as far as 1023 4-1064 dead_code = B - C; Attention: Dead Code 4-1082if (veg) Warning: Missing curly brace looked as far as 1094 4-1091 A = (long)B + C; FATAL Compile Error: LE breaks long path 4-1092 A = (long)B + C; Attention: Recasting (long) 4-1157 { FATAL Compile Error: Missing curly brace LE breaks path 4-1164 // TBD - what do I do now Attention: Possible problem Keyword TBD 4-1203 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 4-1235 msaw.4.11
4-1271 // TBD - what do I do now Attention: Possible problem Keyword TBD 4-1281 /* LE SV TOC-2251 this is a msaw-04.11.15 req to halt*/ Attention: Classified text in wrong file name: halt
4-1333 { case one: { switch (nested) Attention: Missing default 4-1335 { { switch (nested) Attention: Nested switch 4-1339 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 4-1362 A = (float)B + C; Attention: Recasting (float) 4-1445 msaw.4.12
4-1501 msaw.4.13
4-1521if (veg) Warning: Missing curly brace looked as far as 1528 4-1581 A = (long)B + C; Attention: Recasting (long) 4-1655 // ??? go see ws Attention: Possible problem Keyword ?? 4-1688 msaw.4.14
4-1703 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 4-1715 halt; Attention: Classified text in wrong file name: halt
4-1720 Warning: goto Statement goto error; 4-1744 // TBD - what do I do now Attention: Possible problem Keyword TBD Source Lines 1761 Logical 43 SemiColons 667 LOC 710 Warning: Functions Exceed 14
Error: File with 710 LOC 7 7 Result: result/source/pr-app/pr-app-MSAW123/msaw-04.c


8 8 Source: source/pr-app/pr-app-MSAW123/msaw-04.h Note: OK Classification Marking
Note: Good Header
Source Lines 27 Logical 0 SemiColons 6 LOC 6 8 8 Result: result/source/pr-app/pr-app-MSAW123/msaw-04.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 16:09:09 start
12/08/2003 16:09:13 end