60 likes | 127 Views
04f522 Exam1 Figures. Fig. 2: HouseDB ERDiagram Fig. 3: $CASE/cs.log file samples Fig. 4: Histogram ERDiagram Fig. 5A CrossReference ERDiagram 1 Fig. 5B CrossReference ERDiagram 2. Figure 2: House ERDiagram. HO. CA. AP. DE. RO. WL. House HO Room RO
E N D
04f522 Exam1 Figures Fig. 2: HouseDB ERDiagram Fig. 3: $CASE/cs.log file samples Fig. 4: Histogram ERDiagram Fig. 5A CrossReference ERDiagram 1 Fig. 5B CrossReference ERDiagram 2 04f522Exam1FIgures.ppt – Slide 1
Figure 2: House ERDiagram HO CA AP DE RO WL House HO Room RO Wall WL WallSurface WS Catalog CA Aperture AP ApertureLoc AL Decoration DE DecorLoc DL WS DL? AL? 04f522Exam1FIgures.ppt – Slide 2
Fig. 3: $CASE/cs.log file samples • Saturn:who|wc: 17 Sun Oct 3 17:46:25 EDT 2004 • Saturn:who|wc: 12 Mon Oct 4 02:27:37 EDT 2004 • Saturn:who|wc: 19 Mon Oct 4 16:46:07 EDT 2004 • Saturn:who|wc: 19 Mon Oct 4 16:46:09 EDT 2004 • Saturn:who|wc: 9 Tue Oct 5 03:58:44 EDT 2004 This file is approx 19K lines. 04f522Exam1FIgures.ppt – Slide 3
Fig. 4: Histogram ERDiagram MA • LF LogFile • LE LogfileEntry • MA Matrix • DW DayofWeek • HD HourofDay • UC UserCount LF DW avgUsers HD avgUsers convert UC Nsamples totalCount LE 04f522Exam1FIgures.ppt – Slide 4
Fig. 5A CrossReference ERDiagram 1 XD <<root>> (This models C not C++) SF Input View: • SF SourceFile • SL SourceLine • ID Identifier • XR CrossReference Database View: • XD XrefDatabase • GV GlobalVariable • FI sourcecodeFIle • FD FuncDefn • FL FuncLine • VU VariableUse Convert FI VD 0..1 0..1 ID Var/Func? SL Decl/Opnl? FD FL <<ordered>> XR Defn/Updt/Read VU 1..1 0..* (default multiplicity, unless otherwise noted) 04f522Exam1FIgures.ppt – Slide 5
Fig. 5B CrossReference ERDiagram 2 (This models C not C++) XD SF Input View: • SF SourceFile • SL SourceLine • ID Identifier • XR CrossReference Database View: • XD XrefDatabase • GV GlobalVariable • FI sourceFIle • FU FunctionDefn • FS FuncStmt • VD VarDefn • VU VarUpdate • VR VarRead FI GV SL ID 0..1 0..1 Convert FU 0..1 0..1 AltParent XR Defn/Updt/Read ^Callee^ FS <<ordered>> VD Glob/File/Func VU 1..1 0..* Is default multiplicity, unless otherwise noted. VR 04f522Exam1FIgures.ppt – Slide 6