Logevents v111003 analysis/zz-iatdemo-B1.0 s_locked-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:18

Locked Files Lock Date: 11/20/2003
These files are not subjected to analysis. The lock date points to a formal release with a previous analysis.

NotLocked 11/20/2003 15:10:22 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c
Locked 11/11/2003 18:8:54 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badclass.h
Locked 11/19/2003 16:8:33 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c
Locked 11/11/2003 18:8:16 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c
Locked 11/11/2003 18:4:38 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.c
Locked 11/13/2003 11:14:10 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.h
Locked 11/13/2003 18:54:44 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingclass.h
Locked 10/22/2003 12:24:56 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c
Locked 11/13/2003 13:1:56 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c
Locked 11/13/2003 14:14:48 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c
Locked 11/13/2003 14:22:16 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c



Analysis Group Stats

Previous Stats zz-iatdemo-B1.0-entropy.pl
ItemPreviousCurrentNorm
Total Source Lines - c h asm s 2297 336 0 - - -336- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4594     prev:2297 cur:336-1961
Total Non Blank Lines - c h asm s 1628 193 0 - - -193- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 3256     prev:1628 cur:193-1435
Total Logical - c h asm s 47 10 0 - - -- - -10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 94     prev:47 cur:10-37
Total SemiColons - c h asm s 1183 104 0 - - -104- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2366     prev:1183 cur:104-1079
Total LOC - c h asm s 1230 114 0 - - -114- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 2460     prev:1230 cur:114-1116

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 5 0 - - -5- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 78     prev:39 cur:5-34

Log Events in Code 35 25 0 - - -- - -- - -- - -- - -- - -- - -- - -25- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 70     prev:35 cur:25-10
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 10 0 - - -10- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 222     prev:111 cur:10-101
LOC per Function 31 22 0 - - -- - -- - -- - -- - -- - -- - -- - -22- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 62     prev:31 cur:22-9
Functions per File - C 4.87 0.62 0 - - -0.62- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 9.74     prev:4.87 cur:0.62-4.25

Non Blank Lines Per LOC 1.32 1.69 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.69- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.64     prev:1.32 cur:1.690.37
LOC Per Logical 26.17 11.4 0 - - -- - -- - -- - -- - -11.4- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 52.34     prev:26.17 cur:11.4-14.77
C Per H 1.32 1.69 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.69- - -- - -- - -- - -- - -- - -- - -- - -- - - 2.64     prev:1.32 cur:1.690.37

LOC per Req 82 7.6 0 - - -7.6- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 164     prev:82 cur:7.6-74.4
Functions per Req 2.6 0.33 0 - - -0.33- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 5.2     prev:2.6 cur:0.33-2.27
Logevents per Req 2.33 1.66 0 - - -- - -- - -- - -- - -- - -- - -- - -1.66- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4.66     prev:2.33 cur:1.66-0.67


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.

Looks good no fatal findings :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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

Looks good no header c findings :)


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.

Looks good no classification findings :)
Summary: 0 out of 11 files = 0%
- - - 0


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.

Looks good no classification findings :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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

Looks good no bad fixed keyword findings :)
C files

H files

Assembly files

other files

Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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 114 LOC = 0%       or       0 out of 11 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 114 LOC = 0%       or       0 out of 11 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.

Looks good no curly brace sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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.

Looks good no switch default sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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.

Looks good no default error sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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.

Looks good no case break sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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

Looks good no nested cases sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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

Looks good no stacked cases sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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 11 files = 0%
- - - 0


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

Looks good no gt function findings :)
Summary: 0 out of 11 files = 0%
- - - 0


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

Looks good no gt LOC per file sets to consider :)
Summary: 0 out of 11 files = 0%
- - - 0


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
Summary: 1 out of 5 Functions = 20%       or       1 out of 11 files = 9.09%
- - -- - -- - -- - -- - -- - -- - - 20
- - -- - -- - -- - -- - - 9.09


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 5 Functions = 0%       or       0 out of 11 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.

Looks good no dead code findings :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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 */
Summary: 2 out of 114 LOC = 1.75%       or       1 out of 11 files = 9.09%
- - - 1.75
- - -- - -- - -- - -- - - 9.09


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


menu . do Loops

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


menu . goto Statements

Looks good no goto sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 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.

Looks good no storage sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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

Looks good no type recasting sets to consider :)
Summary: 0 out of 114 LOC = 0%       or       0 out of 11 files = 0%
- - - 0
- - - 0


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


Analysis Summary

menu Files With Problems:
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.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
Perfect
Perfect
- - - 0
- - - 0
C Header
Perfect
Perfect
- - - 0
- - - 0
H Header
Perfect
Perfect
- - - 0
- - - 0
ASM Header
Perfect
Perfect
- - - 0
- - - 0
Possible Class Issues
Perfect
Perfect
- - - 0
- - - 0
Must Fix Class
Perfect
Perfect
- - - 0
- - - 0
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code
Perfect
Perfect
- - - 0
- - - 0
Fixed Keywords Prologues
Perfect
Perfect
- - - 0
- - - 0
Conditional Compiles
Perfect
Perfect
- - - 0
- - - 0
Switch Default Balance
Perfect
Perfect
- - - 0
- - - 0
Default SwError Balance
Perfect
Perfect
- - - 0
- - - 0
Case Break Balance
Perfect
Perfect
- - - 0
- - - 0
Nested Switches
Perfect
Perfect
- - - 0
- - - 0
Stacked Case Statements
Perfect
Perfect
- - - 0
- - - 0
Calling Rules
Disabled
No Error Exits
Perfect
Perfect
- - - 0
- - - 0
Files > 5 Functions
Perfect
Perfect
- - - 0
- - - 0
Files > 500 LOC
Perfect
Perfect
- - - 0
- - - 0
Func's Norm Files Norm LOC Files Func's Files
C Functions > 100 LOC 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -20- - - 20.5 0 - - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 72.72 prev:10.25 cur:209.75prev:36.36 cur:9.09-27.27 - - -- - -- - -- - -- - -- - -- - - 20
- - -- - -- - -- - -- - - 9.09
C Functions < 5 LOC
Perfect
Perfect
- - - 0
- - - 0
LOC Norm Files Norm LOC Files LOC Files
Uncalled Functions
Disabled
Dead Code
Perfect
Perfect
- - - 0
- - - 0
Log Events 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -1.75 1.12 0 - - -- - -- - -- - -- - -- - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 36.36 prev:0.56 cur:1.751.19prev:18.18 cur:9.09-9.09 - - - 1.75
- - -- - -- - -- - -- - - 9.09
Missing Curly Braces
Perfect
Perfect
- - - 0
- - - 0
Line Length
Perfect
Perfect
- - - 0
- - - 0
do Loops
Perfect
Perfect
- - - 0
- - - 0
goto Statements
Perfect
Perfect
- - - 0
- - - 0
?: Operator
Disabled
Increment In Decision
Disabled
Storage malloc free
Perfect
Perfect
- - - 0
- - - 0
Type ReCasting
Perfect
Perfect
- - - 0
- - - 0
Missing Function Headers
menu

Metric ItemFlaggedTotalPercentNormPercent
LOC21141.75% 0 - - -- - -- - -- - -- - -1.75- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8.28     prev:4.14 cur:1.75-2.39 - - - 1.75
Functions1520% 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -20- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 35.88     prev:17.94 cur:202.06 - - -- - -- - -- - -- - -- - -- - - 20
Files1119.09% 0 - - -9.09- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 181.8     prev:90.9 cur:9.09-81.81 - - -- - -- - -- - -- - - 9.09
Total Up Flags2-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2 0.02     prev:0.01 cur:21.99
Total Down Flags2-- 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -2 0.02     prev:0.01 cur:21.99
Total Same Flags0--
Perfect

Final Tally of Flags This version is the SAME 0 out of 4 or 0% 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
Perfect
Perfect
5020
C Header
Perfect
Perfect
0.01020
H Header
Perfect
Perfect
0.0100.010
ASM Header
Perfect
Perfect
0.0100.010
Possible Class Issues
Perfect
Perfect
4020
Must Fix Class
Perfect
Perfect
0.01030
SV Marking
Disabled
CV Marking
Disabled
Fixed Keywords Code
Perfect
Perfect
5020
Fixed Keywords Prologues
Perfect
Perfect
2020
Conditional Compiles
Perfect
Perfect
4010
Switch Default Balance
Perfect
Perfect
2010
Default SwError Balance
Perfect
Perfect
2010
Case Break Balance
Perfect
Perfect
2010
Nested Switches
Perfect
Perfect
1010
Stacked Case Statements
Perfect
Perfect
4010
Calling Rules
Disabled
No Error Exits
Perfect
Perfect
0.01060
Files > 5 Functions
Perfect
Perfect
0.01020
Files > 500 LOC
Perfect
Perfect
0.01010
ProblemFunctions NormFiles Norm LOC Files Prev Func's Cur Func's Prev Files Cur Files
C Functions > 100 LOC 0 - - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 0 - - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 8 prev:4 cur:1-3prev:4 cur:1-34141
C Functions < 5 LOC
Perfect
Perfect
3030
ProblemLOC NormFiles Norm LOC Files Prev LOC Cur LOC Prev Files Cur Files
Uncalled Functions
Disabled
Dead Code
Perfect
Perfect
3010
Log Events 0 - - -- - -- - -2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 14 0 - - -- - -- - -- - -- - -- - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 4 prev:7 cur:2-5prev:2 cur:1-17221
Missing Curly Braces
Perfect
Perfect
1010
Line Length
Perfect
Perfect
1010
do Loops
Perfect
Perfect
1010
goto Statements
Perfect
Perfect
1010
?: Operator
Disabled
Increment In Decision
Disabled
Storage malloc free
Perfect
Perfect
3010
Type ReCasting
Perfect
Perfect
3010
Missing Function Headers00
menu

Metric Item Flagged Norm Prev Cur
LOC 0 2- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 102     prev:51 cur:2-49 51 2
Functions 0 - - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 14     prev:7 cur:1-6 7 1
Files 0 - - -1- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - 20     prev:10 cur:1-9 10 1
Total Up Flags
Perfect
0.01 0
Total Down Flags 0 - - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -4 0.02     prev:0.01 cur:43.99 0.01 4
Total Same Flags
Perfect
45 0

Final Tally of Flags This version is BETTER up:0 dwn:4 -4 out of 4 or -100% 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



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