Logevents v111003 analysis/zz-iatdemo-B1.0 s_stats-problems.html C:\project-iat\inst\perl.exe 5.006001

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/09/2003 13:47:17


Analysis Group Stats

Previous Stats zz-iatdemo-B1.0-entropy.pl
ItemPreviousCurrentNorm
Total Source Lines - c h asm s 2297 2297 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2297- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4594     none
Total Non Blank Lines - c h asm s 1628 1628 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1628- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 3256     none
Total Logical - c h asm s 47 47 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -47- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94     none
Total SemiColons - c h asm s 1183 1183 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1183- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2366     none
Total LOC - c h asm s 1230 1230 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1230- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2460     none

All Files - c h asm s (tot/analyzed) 11 11 / 11 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -11- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 22     none
Files - C (tot/analyzed) 8 8 / 8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -8- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 16     none
Files - H (tot/analyzed) 3 3 / 3 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6     none
Files - ASM (tot/analyzed) 0.01 0 / 0
Perfect
Functions - C 39 39 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -39- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 78     none

Log Events in Code 35 35 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -35- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70     none
TOC Reqs in Code 15 15 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -15- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 30     none
TOC Reqs in SRDB 17 17 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -17- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 34     none
Debug Events 2 2 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4     none
HMI Events 1 1 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2     none
LOC Events 6 6 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 12     none

Code Req per SRDB Req (%) 88 88 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -88- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 176     none
LOC per File - c h asm s 111 111 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -111- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 222     none
LOC per Function 31 31 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -31- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 62     none
Functions per File - C 4.87 4.87 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4.87- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 9.74     none

Non Blank Lines Per LOC 1.32 1.32 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.32- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.64     none
LOC Per Logical 26.17 26.17 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -26.17- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 52.34     none
C Per H 1.32 1.32 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.32- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.64     none

LOC per Req 82 82 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -82- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 164     none
Functions per Req 2.6 2.6 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2.6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 5.2     none
Logevents per Req 2.33 2.33 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2.33- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4.66     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 2-298 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
2 2-34 . Possible COMPILE ERROR LE In Header 1
3 2-45 . FATAL Compile Error LE breaks long path near: long D; 1
4 2-93 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1
5 6-41 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c FATAL Compile Error printf detected 1
Summary: 5 out of 1230 LOC = 0.4%       or       2 out of 11 files = 18.18%
- - - 0.4
- - -- - -- - -- - -- - - 18.18


menu . C Header: 2 out of 8 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/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c Possible problem Header
          your header
          Possible Missing Fields: BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE
          Possible Extra Fields:
2 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c OOPs No Header
Summary: 2 out of 8 files = 25%
- - -- - -- - - 25


menu . H Header: out of 3 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/zz-iatdemo/zz-iatdemo-B1.0/pwr/badclass.h File s_ marking wrong or Header Classification blank
2 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingclass.h File s_ marking wrong or Header Classification blank
3 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c File s_ marking wrong or Header Classification blank
Summary: 3 out of 11 files = 27.27%
- - -- - -- - -- - -- - - 27.27


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 2-108 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Classified text in wrong file name: halt ;
2 2-134 . Classified text in wrong file name: // (P) this is really important
3 2-210 . Classified text in wrong file name: halt ;
4 6-63 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c Classified text in wrong file name: A = A + halt ; PVL
Summary: 4 out of 1230 LOC = 0.32%       or       2 out of 11 files = 18.18%
- - - 0.32
- - -- - -- - -- - -- - - 18.18


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 2-119 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c // TBD - what do I do now
2 2-124 . // TBS - I need to figure this out
3 2-129 . // ? ?? go see ws
4 2-143 . // TBD - what do I do now

H files
5 3-21 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingclass.h // TBD don't know what to add cause it might change file classification

Assembly files

other files

Summary: 5 out of 1230 LOC = 0.4%       or       2 out of 11 files = 18.18%
- - - 0.4
- - -- - -- - -- - -- - - 18.18


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|\?\?

C files
1 2-10 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c --| ??? I am really clueless about what to say ? ??

H files
2 2-10 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.h --| ??? I still don't know what to say ? ??

Assembly files

other files

Summary: 2 out of 1230 LOC = 0.16%       or       2 out of 11 files = 18.18%
- - - 0.16
- - -- - -- - -- - -- - - 18.18


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-354 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c # ifdef LAZY
2 2-358 . #endif
3 2-82 . # ifdef LAZY
4 2-86 . #endif
Summary: 4 out of 1230 LOC = 0.32%       or       1 out of 11 files = 9.09%
- - - 0.32
- - -- - -- - -- - -- - - 9.09


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 2-74 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing curly brace if (veg) looked as far as 92
Summary: 1 out of 1230 LOC = 0.08%       or       1 out of 11 files = 9.09%
- - - 0.08
- - -- - -- - -- - -- - - 9.09


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-149 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing default
2 2-241 . Missing default
Summary: 2 out of 1230 LOC = 0.16%       or       1 out of 11 files = 9.09%
- - - 0.16
- - -- - -- - -- - -- - - 9.09


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 2-185 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing SwError
2 2-208 . Missing SwError
Summary: 2 out of 1230 LOC = 0.16%       or       1 out of 11 files = 9.09%
- - - 0.16
- - -- - -- - -- - -- - - 9.09


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-220 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing break in case
2 2-247 . Missing break in case
Summary: 2 out of 1230 LOC = 0.16%       or       1 out of 11 files = 9.09%
- - - 0.16
- - -- - -- - -- - -- - - 9.09


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

1 2-243 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Nested switch
Summary: 1 out of 1230 LOC = 0.08%       or       1 out of 11 files = 9.09%
- - - 0.08
- - -- - -- - -- - -- - - 9.09


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

1 2-197 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Stacked case statements
2 2-198 . Stacked case statements
3 2-201 . Stacked case statements
4 2-202 . Stacked case statements
Summary: 4 out of 1230 LOC = 0.32%       or       1 out of 11 files = 9.09%
- - - 0.32
- - -- - -- - -- - -- - - 9.09


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

1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c
2 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.c
3 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c
4 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c PVL
5 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c
6 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c
Summary: 6 out of 11 files = 54.54%
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 54.54


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

1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c 16
2 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c 6
Summary: 2 out of 11 files = 18.18%
- - -- - -- - -- - -- - - 18.18


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

1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c Error: File with 583 LOC detected
Summary: 1 out of 11 files = 9.09%
- - -- - -- - -- - -- - - 9.09


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/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c 114
2 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c 387
3 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c 125
4 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c 583
Summary: 4 out of 39 Functions = 10.25%       or       4 out of 11 files = 36.36%
- - -- - -- - -- - -- - -- - - 10.25
- - -- - -- - -- - -- - - 36.36


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.

1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c 1
2 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.c 1
3 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c 1
Summary: 3 out of 39 Functions = 7.69%       or       3 out of 11 files = 27.27%
- - -- - -- - - 7.69
- - -- - -- - -- - -- - - 27.27


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 2-273 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c A /* dead_code1 = A * B; */
2 2-284 . B dead_code2 = D + E;
3 2-290 . B dead_code3 = B - C;
Summary: 3 out of 1230 LOC = 0.24%       or       1 out of 11 files = 9.09%
- - - 0.24
- - -- - -- - -- - -- - - 9.09


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.

1 1-153 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c Encoding Problem/* SV SV TOC-0 /* SV SV TOC-009 started green portion of req 9 */
2 1-157 . Encoding Problem/* SV SV TOC-0 /* SV SV TOC-009 completed green portion of req 9 */
3 2-154 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Encoding Problem/* LE /* LE S TOC-003 this is paraphrase of 003 - but bad encoding */
4 2-155 . Encoding Problem/* L SV TOC-0 /* L SV TOC-004 this is paraphrase of 004 - but bad encoding */
5 2-156 . Encoding Problem/* LE /* LE TOC-005 this is paraphrase of 005 - but bad encoding */
6 2-157 . Encoding Problem/* SV TOC-0 /* SV TOC-006 this is paraphrase of 006 - but bad encoding */
7 2-232 . Log Event After SwError Call SwError;
Summary: 7 out of 1230 LOC = 0.56%       or       2 out of 11 files = 18.18%
- - - 0.56
- - -- - -- - -- - -- - - 18.18


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

1 2-267 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Line Length is 136 one_huge_line = A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A;
Summary: 1 out of 1230 LOC = 0.08%       or       1 out of 11 files = 9.09%
- - - 0.08
- - -- - -- - -- - -- - - 9.09


menu . do Loops

1 2-338 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c do Loop do forever;
Summary: 1 out of 1230 LOC = 0.08%       or       1 out of 11 files = 9.09%
- - - 0.08
- - -- - -- - -- - -- - - 9.09


menu . goto Statements

1 2-332 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c goto Statement goto error;
Summary: 1 out of 1230 LOC = 0.08%       or       1 out of 11 files = 9.09%
- - - 0.08
- - -- - -- - -- - -- - - 9.09


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-318 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c send_buffer = (U16 *) malloc(size+1);
2 2-326 . FreePtr = HmiStringPtr;
3 2-327 . free( FreePtr);
Summary: 3 out of 1230 LOC = 0.24%       or       1 out of 11 files = 9.09%
- - - 0.24
- - -- - -- - -- - -- - - 9.09


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

1 2-308 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c A = (int) B + C;
2 2-310 . A = (long) B + C;
3 2-312 . A = (float) B + C;
Summary: 3 out of 1230 LOC = 0.24%       or       1 out of 11 files = 9.09%
- - - 0.24
- - -- - -- - -- - -- - - 9.09


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.

1 2-141 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c No Function Header static void function_c (void)
2 7-369 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c No Function Header static void function_16 (void)
Summary: 2 out of 1230 LOC = 0.16%       or       2 out of 11 files = 18.18%
- - - 0.16
- - -- - -- - -- - -- - - 18.18


Analysis Summary

menu Files With Problems:
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c 3
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c 55
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c 1
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.c 1
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.h 1
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingclass.h 1
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c 1
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c 7
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c 4
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c 3


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.4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -18.18- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 36.36 samesame - - - 0.4
- - -- - -- - -- - -- - - 18.18
C Header
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 50 same - - - 0
- - -- - -- - - 25
H Header
Perfect
Perfect
- - - 0
- - - 0
ASM Header
Perfect
Perfect
- - - 0
- - - 0
Possible Class Issues 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.32- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.64 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -18.18- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 36.36 samesame - - - 0.32
- - -- - -- - -- - -- - - 18.18
Must Fix Class
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -27.27- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 54.54 same - - - 0
- - -- - -- - -- - -- - - 27.27
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -18.18- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 36.36 samesame - - - 0.4
- - -- - -- - -- - -- - - 18.18
Fixed Keywords Prologues 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.16- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.32 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -18.18- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 36.36 samesame - - - 0.16
- - -- - -- - -- - -- - - 18.18
Conditional Compiles 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.32- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.64 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.32
- - -- - -- - -- - -- - - 9.09
Switch Default Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.16- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.32 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.16
- - -- - -- - -- - -- - - 9.09
Default SwError Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.16- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.32 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.16
- - -- - -- - -- - -- - - 9.09
Case Break Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.16- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.32 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.16
- - -- - -- - -- - -- - - 9.09
Nested Switches 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.08- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.16 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.08
- - -- - -- - -- - -- - - 9.09
Stacked Case Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.32- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.64 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.32
- - -- - -- - -- - -- - - 9.09
Calling Rules
Disabled
No Error Exits
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -54.54- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 109.08 same - - - 0
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 54.54
Files > 5 Functions
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -18.18- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 36.36 same - - - 0
- - -- - -- - -- - -- - - 18.18
Files > 500 LOC
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 same - - - 0
- - -- - -- - -- - -- - - 9.09
Func's Norm Files Norm LOC Files Func's Files
C Functions > 100 LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -10.25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 20.5 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -36.36- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 72.72 samesame - - -- - -- - -- - -- - -- - - 10.25
- - -- - -- - -- - -- - - 36.36
C Functions < 5 LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -7.69- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 15.38 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -27.27- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 54.54 samesame - - -- - -- - - 7.69
- - -- - -- - -- - -- - - 27.27
LOC Norm Files Norm LOC Files LOC Files
Uncalled Functions
Disabled
Dead Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.24- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.48 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.24
- - -- - -- - -- - -- - - 9.09
Log Events 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.56- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 1.12 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -18.18- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 36.36 samesame - - - 0.56
- - -- - -- - -- - -- - - 18.18
Missing Curly Braces 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.08- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.16 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.08
- - -- - -- - -- - -- - - 9.09
Line Length 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.08- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.16 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.08
- - -- - -- - -- - -- - - 9.09
do Loops 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.08- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.16 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.08
- - -- - -- - -- - -- - - 9.09
goto Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.08- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.16 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.08
- - -- - -- - -- - -- - - 9.09
?: Operator
Disabled
Increment In Decision
Disabled
Storage malloc free 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.24- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.48 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.24
- - -- - -- - -- - -- - - 9.09
Type ReCasting 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -0.24- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 0.48 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 18.18 samesame - - - 0.24
- - -- - -- - -- - -- - - 9.09
Missing Function Headersprev: cur:0.160.16prev: cur:18.1818.18
menu

Metric ItemFlaggedTotalPercentNormPercent
LOC5312304.3% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4.3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8.28     prev:4.14 cur:4.30.16 - - -- - -- - -- - - 4.3
Functions73917.94% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -17.94- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 35.88     none - - -- - -- - -- - - 17.94
Files101190.9% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -90.9- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 181.8     none - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 90.9
Total Up Flags2-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2 0.02     prev:0.01 cur:21.99
Total Down Flags0--
Perfect
Total Same Flags45-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -45- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 90     none

Final Tally of Flags This version is WORSE up:2 dwn:0 2 out of 47 or 4% than zz-iatdemo-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 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 10 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 samesame5522
C Header
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 same0.01022
H Header
Perfect
Perfect
0.0100.010
ASM Header
Perfect
Perfect
0.0100.010
Possible Class Issues 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 samesame4422
Must Fix Class
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6 same0.01033
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 10 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 samesame5522
Fixed Keywords Prologues 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 samesame2222
Conditional Compiles 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame4411
Switch Default Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame2211
Default SwError Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame2211
Case Break Balance 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame2211
Nested Switches 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame1111
Stacked Case Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame4411
Calling Rules
Disabled
No Error Exits
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 12 same0.01066
Files > 5 Functions
Perfect
0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 same0.01022
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 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 samesame4444
C Functions < 5 LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6 samesame3333
ProblemLOC NormFiles Norm LOC Files Prev LOC Cur LOC Prev Files Cur Files
Uncalled Functions
Disabled
Dead Code 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame3311
Log Events 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 14 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 samesame7722
Missing Curly Braces 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame1111
Line Length 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame1111
do Loops 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame1111
goto Statements 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame1111
?: Operator
Disabled
Increment In Decision
Disabled
Storage malloc free 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame3311
Type ReCasting 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -3- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 6 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2 samesame3311
Missing Function Headersprev: cur:22prev: cur:2222
menu

Metric Item Flagged Norm Prev Cur
LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -53- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102     prev:51 cur:532 51 53
Functions 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -7- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 14     none 7 7
Files 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 20     none 10 10
Total Up Flags 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2 0.02     prev:0.01 cur:21.99 0.01 2
Total Down Flags
Perfect
0.01 0
Total Same Flags 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -45- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 90     none 45 45

Final Tally of Flags This version is WORSE up:2 dwn:0 2 out of 47 or 4% than zz-iatdemo-B1.0-entropy.pl
menu


Details Report

1 1 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c
Note: OK Classification Marking
Note: Good Header
1-15 function_lefirst
1-37 function_lea
1-73 function_leb
1-176 function_led
1-217 function_lee
Source Lines 336 Logical 10 SemiColons 104 LOC 114 1 1 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c


2 2 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badclass.h Attention: File s_ Marking wrong or Header Classification blank
Note: Good Header
Source Lines 22 Logical 1 SemiColons 0 LOC 1 2 2 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badclass.h


3 3 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Note: OK Classification Marking
Note: Good Header
2-10 --| ??? I am really clueless about what to say ??? Attention: Possible problem Keyword ?? 2-16 function_first
2-30 function_a
2-34 Possible Compile Error: LE In Header 2-45 long D; FATAL Compile Error: LE breaks long path 2-59 function_b
2-74if (veg) Warning: Missing curly brace looked as far as 92 2-82 #ifdef LAZY Attention: Conditional Compile ifdef 2-86 #endif Attention: Conditional Compile #endif 2-93 { FATAL Compile Error: Missing curly brace LE breaks path 2-108 halt; Attention: Classified text in wrong file name: halt
2-119 // TBD - what do I do now Attention: Possible problem Keyword TBD 2-124 // TBS - I need to figure this out Attention: Possible problem Keyword TBS 2-129 // ??? go see ws Attention: Possible problem Keyword ?? 2-134 // (P) this is really important Attention: Classified text in wrong file name: (P)
2-141 function_c
2-141 static void function_c (void) Caution: No Function Header 1 2-143 // TBD - what do I do now Attention: Possible problem Keyword TBD 2-149 { case one: { run_this; /* LE S TOC-003 this is paraphrase of 003 - but bad encoding */ /* L SV TOC-004 this is paraphrase of 004 - but bad encoding */ /* LE TOC-005 this is paraphrase of 005 - but bad encoding */ /* SV TOC-006 this is paraphrase of 006 - but bad encoding */ /* LE SV TOC-007 */ // too lazy to paraphrase req break; } case two: { run_this; break; } // missing default } A = B + C; A = B + C; A = B + C; switch (stuff) Attention: Missing default 2-185 default: { // missing error call } Attention: Missing SwError 2-197 case: case: Attention: Stacked case statements 2-198 // stacked case statements but only if there is a new line in between case: Attention: Stacked case statements 2-201 case: case: Attention: Stacked case statements 2-202 case: case: Attention: Stacked case statements 2-208 default: { halt; } Attention: Missing SwError 2-210 halt; Attention: Classified text in wrong file name: halt
2-220 // missing break { run_this; // missing break } Attention: Missing break in case 2-241 { case one: { switch (nested) Attention: Missing default 2-243 { { switch (nested) Attention: Nested switch 2-247 X = Y + Z; X = Y + Z; case: Attention: Missing break in case 2-267 one_huge_line = A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A + A; Caution: Line Length is 136 2-273 /* dead_code1 = A * B; */ Attention: Dead Code 2-284 dead_code2 = D + E; Attention: Dead Code 2-290 dead_code3 = B - C; Attention: Dead Code 2-298 { FATAL Compile Error: Missing curly brace LE breaks path 2-308 A = (int)B + C; Attention: Recasting (int) 2-310 A = (long)B + C; Attention: Recasting (long) 2-312 A = (float)B + C; Attention: Recasting (float) 2-318 send_buffer = (U16 *) malloc(size+1); Attention: Storage malloc(size+1); 2-326 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 2-327 free(FreePtr); Attention: Storage FreePtr); 2-332 Warning: goto Statement goto error; 2-338 Warning: do Loop do forever; 2-354 #ifdef LAZY Attention: Conditional Compile ifdef 2-358 #endif Attention: Conditional Compile #endif 2-375 function_d
2-509 function_e
Source Lines 634 Logical 27 SemiColons 360 LOC 387 3 3 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c


4 4 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c Note: OK Classification Marking
your header
Attention: Possible problem Header

Possible Missing Fields BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE
Possible Extra Fields
Source Lines 20 Logical 2 SemiColons 0 LOC 2 4 4 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c


5 5 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.c Note: OK Classification Marking
Note: Good Header
4-15 function_1
4-40 function_2
4-57 function_3
Source Lines 71 Logical 1 SemiColons 0 LOC 1 5 5 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.c


6 6 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.h Note: OK Classification Marking
Note: Good Header
2-10 --| ??? I still don't know what to say ??? Attention: Possible problem Keyword ?? Source Lines 23 Logical 1 SemiColons 0 LOC 1 6 6 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.h


7 7 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingclass.h Attention: File s_ Marking wrong or Header Classification blank
Note: Good Header
3-21 // TBD don't know what to add cause it might change file classification Attention: Possible problem Keyword TBD Source Lines 23 Logical 1 SemiColons 0 LOC 1 7 7 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingclass.h


8 8 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c Attention: File s_ Marking wrong or Header Classification blank
Attention: OOPs No Header
Source Lines 2 Logical 1 SemiColons 0 LOC 1 8 8 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c


9 9 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c Note: OK Classification Marking
Note: Good Header
6-15 function_1a
6-41 printf("this is bad for most embedded worlds - use logevent services"); FATAL Compile Error: printf detected 6-46 function_2a
6-63 A = A + halt; Attention: Classified text in wrong file name: halt
Source Lines 66 Logical 1 SemiColons 13 LOC 14 9 9 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c


10 10 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c Note: OK Classification Marking
Note: Good Header
7-15 function_1
7-41 function_2
7-59 function_3
7-83 function_4
7-107 function_5
7-131 function_6
7-155 function_7
7-179 function_8
7-203 function_9
7-227 function_10
7-251 function_11
7-275 function_12
7-299 function_13
7-323 function_14
7-347 function_15
7-369 function_16
7-369 static void function_16 (void) Caution: No Function Header 1 7-383 function_17
Source Lines 405 Logical 1 SemiColons 124 LOC 125 Warning: Functions Exceed 16
10 10 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c


11 11 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c Note: OK Classification Marking
Note: Good Header
8-15 function_1b
8-136 function_2b
8-249 function_4b
8-361 function_5b
8-473 function_6b
8-585 function_7b
Source Lines 695 Logical 1 SemiColons 582 LOC 583 Warning: Functions Exceed 6
Error: File with 583 LOC 11 11 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c



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/09/2003 13:47:17 start
12/09/2003 13:47:18 end