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

Description none
AnalysisComment
HamvaluesThis analysis shows the hex numbers in the original source code and compares them against an accepted set of values with the acceptable hamming distance.
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:26


Good Hamming Values

2 0x0001 2 0x0002 2 0x0004 2 0x0007 2 0x0008


Possible Problem Hamming Values

2 0x0003 2 0x0006 2 0x0009

Possible Problem Hamming Distances Summmary
Files containing hex values which may set variables that may need to be a hamming distance. Visually inspect this summary report and the details to verify that hamming values do not apply to these cases.

1 1-245 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c A = 0x0003; 1
2 1-246 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c A = 0x0006; 1
3 1-247 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c A = 0x0009; 1
4 2-364 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c A = 0x0003; 1
5 2-366 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c A = 0x0006; 1
6 2-369 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c A = 0x0009; 1
Total 6


Details Report

1 1 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c
 1-240 . A = 0x0001; Note: Possible Ham value on list
 1-241 . A = 0x0002; Note: Possible Ham value on list
 1-242 . A = 0x0004; Note: Possible Ham value on list
 1-243 . A = 0x0007; Note: Possible Ham value on list
 1-244 . A = 0x0008; Note: Possible Ham value on list
 1-245 . A = 0x0003; Warning: Possible Ham value not on list
 1-246 . A = 0x0006; Warning: Possible Ham value not on list
 1-247 . A = 0x0009; Warning: Possible Ham value not on list

1 1 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/anylogevents.c


2 3 Source: source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c 2-362 . A = 0x0001; Note: Possible Ham value on list 2-363 . A = 0x0002; Note: Possible Ham value on list 2-364 . A = 0x0003; Warning: Possible Ham value not on list 2-365 . A = 0x0004; Note: Possible Ham value on list 2-366 . A = 0x0006; Warning: Possible Ham value not on list 2-367 . A = 0x0007; Note: Possible Ham value on list 2-368 . A = 0x0008; Note: Possible Ham value on list 2-369 . A = 0x0009; Warning: Possible Ham value not on list 2 3 Result: result/source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c



Settings

Description 5

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