PROPRIETARY

Logevents v111003 analysis/zz-iatdemo-B1.0 s_stats-problems.html C:\perl\bin\perl.exe 5.006

Logevents is a web based analysis tool used to analyze source code for SV CV attributes, insert log events, save the newly modified source, and perform a DIFF between the orginal source and the resulting source code. The classification markings appear in the web page title, top, bottom, and after each access of an s_ file.

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

11/14/2003 13:01:16


Settings

Description 8

Master Directory Names Project Instrumentation Test Source Result Analysis Metrics
Report Marking
Highest Code Classification
Lowest Code Classification
Classified Keywords

C Header
H Header
asm Header

Assembly Extensions
Access Files
Ignore Files

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

TOC File BFW File HMI File
TOC HTML BFW HTML
CPCs

1 2 3 4 5 6 7 Colors

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 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 do Loops
Class SV Marking CV Marking Fixed Keywords Code ifdef
Missing Curly Braces Switch Default Ballance Default Error Fixed Keywords Prologues Case Break
Nested Switches Stacked Cases Calling Rules No Error Exit ?: operator
Func/File LOC/File GT 100 LOC/Func LT 5 LOC/Func ++/-- within if, else, while Missing Function Headers
Uncalled Functions Dead Code Fuzzy Log Events Line Length do Loops
Storage malloc free Type ReCasting goto

Regression noise reduction for Automatic Detectors - must run regression.pl first
new files
mod files

Metrics Baseline Accessed
Metrics Saved

Hide Controls Show Checked Not Checked All


Possible Problems

1 1-151 . 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 1-30 . Possible COMPILE ERROR LE In Header 1
3 1-41 . FATAL Compile Error LE breaks long path near: long D; 1
4 5-41 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c FATAL Compile Error printf detected 1
          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
          BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE

          BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE

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
1 5-63 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c Classified text in wrong file name: A = A + halt ; CCC PVL
C files
1 1-87 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c // TBD - what do I do now

H files
2 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 CCC

Assembly files

other files

C files
1 1-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 ? ?? CCC

Assembly files

other files

1 1-181 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c # ifdef LAZY CCC
2 1-185 . #endif CCC
1 1-70 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing curly brace if (veg) looked as far as 83 CCC
1 ErrorHandlingRpt . 1-90 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing default function_b CCC
1 ErrorHandlingRpt . 1-111 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing SwError function_b CCC
1 ErrorHandlingRpt . 1-115 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Missing break in case function_b CCC
1 ErrorHandlingRpt . 1-99 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Nested switch function_b CCC
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
1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c 16
1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c Error: File with 583 LOC detected
1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c function_c 117
2 function_d 111
1 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c static void function_a (void) 1
2 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badheader.c 1
3 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/file.c static void function_1 (void) 1
4 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/missingheader.c 1
5 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c static void function_1a (void) 1 PVL
6 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c function_1 2
7 function_2 2
8 static void function_1 (void) 1
9 source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c static void function_1b (void) 1
1 1-140 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c /* A = B + C; */ CCC
1 1-122 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Log Event After SwError Call SwError;
2 1-136 . Log Event After SwError Call SwError;
3 1-92 . Encoding Problem/* LE /* LE S TOC-003 this is paraphrase of 003 - but bad encoding */
4 1-93 . Encoding Problem/* L SV TOC-0 /* L SV TOC-004 this is paraphrase of 004 - but bad encoding */
5 1-94 . Encoding Problem/* LE /* LE TOC-005 this is paraphrase of 005 - but bad encoding */
6 1-95 . Encoding Problem/* SV TOC-0 /* SV TOC-006 this is paraphrase of 006 - but bad encoding */
1 1-138 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c Line Length is 140 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; CCC
1 1-192 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c do Loop do CCC
1 1-176 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c goto Statement goto error; CCC
1 1-165 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c send_buffer = (U16 *) malloc(size+1); CCC
2 1-173 . FreePtr = HmiStringPtr; CCC
3 1-174 . free( FreePtr); CCC
1 1-157 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c A = (int) B + C; CCC
2 1-158 . A = (long) B + C; CCC
3 1-159 . A = (float) B + C; CCC
1 1-85 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c No Function Header static void function_c (void) CCC
2 6-369 . source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyfuncs.c No Function Header static void function_16 (void) CCC


Analysis Summary

menu Files With Problems:
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/possclasscontent.c 1
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/badcoding.c 40
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 7
source/zz-iatdemo/zz-iatdemo-B1.0/pwr/toomanyloc.c 1


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 Content-type: text/html

Software error:

Illegal division by zero at c:/project-iat/inst/logevents.cgi line 5127.

For help, please send mail to the webmaster (you@your.address), giving this error message and the time and date of the error.