lab1-summer 09 -0.1shsaad/seng426/resources/lab slides/lab1-seng09.pdf– editing plain text and rte...
TRANSCRIPT
![Page 1: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/1.jpg)
SENG 426Tool Presentation
1~ Prepared by Sherif Saad ~ Summer 2009 ~
![Page 2: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/2.jpg)
Lab Info• ELW B220• Wednesday (2:30 pm – 4:20 pm)
• Sherif Saad [email protected]– Lab B325– Office A342
• Lab website:http://www.ece.uvic.ca/~shsaad/seng426/
2
![Page 3: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/3.jpg)
Agenda• Project Overview.• Schedule and Evaluation.• Tools Presentation.
3
![Page 4: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/4.jpg)
Project Overview• JWP
– Word Processor written in J2SE.– Editing Plain Text and RTE files.
• Project Objectives:– Applying the quality checking techniques
and software engineering concepts.– expose and fix defects exist in the
code.– Improve the JWP quality.
4
![Page 5: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/5.jpg)
Project ScheduleActivity Weight
Project Part 1: Program Understanding and
Documentation(Due Jan 29, 2009)
8%
Project Part 2: Program Inspection
(Due Feb 12, 2009)10%
Project Part 3: Test Preparation(Due Mar 12, 2009) 10%
Project Part 4: Test Execution(Due Apr 2, 2009) 12%
5
![Page 6: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/6.jpg)
Project Part 1
6
1
2
Program Understanding and Documentation
Points = 20
Points = 15
![Page 7: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/7.jpg)
Project Part 1 (continue…)
7
3
4
Program Understanding and Documentation
Points = 20
Points = 10
![Page 8: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/8.jpg)
Project Part 1 (continue…)
8
5
6
Program Understanding and Documentation
Points = 15
Points = 20
![Page 9: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/9.jpg)
Tool Presentation• Required Software
– Netbeans.– Rational Rose.– Bugzilla.– JUnit and EMMA.– CASRE (Computer Aided Software
Reliability Estimation).
9
![Page 10: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/10.jpg)
NetBeans• You can use NetBeans for:
– IDE for programming and executing the code
– JUnit testing (later!)– Code coverage using EMMA (later!)
10
![Page 11: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/11.jpg)
Importing JWP• Download the JWP project source
code from:– http://www.ece.uvic.ca/~shsaad/seng42
6/downloads.html• Also download the project details pdf
file and part one marking distribution
11
![Page 12: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/12.jpg)
Importing JWP
12
![Page 13: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/13.jpg)
Create New Project
13
![Page 14: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/14.jpg)
Choose Project Name
14
![Page 15: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/15.jpg)
Add Project Source
15
![Page 16: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/16.jpg)
Add Project Source
16
![Page 17: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/17.jpg)
Add Project Source
17
![Page 18: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/18.jpg)
Add Project Source
18
![Page 19: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/19.jpg)
Add Project Source
19
![Page 20: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/20.jpg)
Add Project Source
20
![Page 21: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/21.jpg)
Reverse Engineering • You can reverse engineering JWP and
create your UML diagrams Using:• 1- NetBeans.• 2- Rational Rose.
21
![Page 22: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/22.jpg)
Reverse Engineering (NetBeans)
22
![Page 23: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/23.jpg)
Reverse Engineering (NetBeans)
23
![Page 24: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/24.jpg)
Reverse Engineering (NetBeans)
24
![Page 25: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/25.jpg)
Reverse Engineering (NetBeans)
25
![Page 26: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/26.jpg)
Reverse Engineering (NetBeans)
26
![Page 27: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/27.jpg)
Reverse Engineering (NetBeans)
27
![Page 28: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/28.jpg)
Reverse Engineering (NetBeans)
28
![Page 29: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/29.jpg)
Reverse Engineering (NetBeans)
29
![Page 30: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/30.jpg)
Reverse Engineering (NetBeans)
30
![Page 31: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/31.jpg)
Reverse Engineering (Rational Rose)
• Following features of Rational Rose will be used:– Reverse Engineering– Creating various UML Diagrams
31
![Page 32: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/32.jpg)
Rational Rose
~ Prepared by Sherif Saad ~ Spring 2009 ~ 32
![Page 33: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/33.jpg)
Import JWP• Go to Tools and select Java/J2EE reverse engineering
~ Prepared by Sherif Saad ~ Spring 2009 ~ 33
![Page 34: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/34.jpg)
Import JWP• From the Java reverse engineering dialog Click on edit class path
~ Prepared by Sherif Saad ~ Spring 2009 ~ 34
![Page 35: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/35.jpg)
Import JWP• From the Project Specification dialog Click on insert new
~ Prepared by Sherif Saad ~ Spring 2009 ~ 35
![Page 36: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/36.jpg)
Import JWP• From the Project Specification dialog Click on insert new
~ Prepared by Sherif Saad ~ Spring 2009 ~ 36
![Page 37: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/37.jpg)
Import JWP• From the Add to Classpath dialog Click on Directory
~ Prepared by Sherif Saad ~ Spring 2009 ~ 37
![Page 38: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/38.jpg)
Import JWP• Browse your directories and select the JWP src directory, and then press OK
38
![Page 39: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/39.jpg)
Import JWP• From the JWP src directory select the package you want to reverse engineering it• For example select JWP package and then press Add ALL
39
![Page 40: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/40.jpg)
Import JWP• Now after adding the java classes click on Select ALL and then click on Reverse.• When the process complete click on Done
40
![Page 41: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/41.jpg)
Import JWP• Go to rational rose main window , then under the logical view you should see your java
code within its packaged hierarchy.
41
![Page 42: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/42.jpg)
Import JWP• From their you can drag the classes into a new class diagram to see how they are
connected. See the image below.
42
![Page 43: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/43.jpg)
Assignment• One email per group listing group
member names and student numbers– To: [email protected]
43
![Page 44: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/44.jpg)
Lab Links• For more info on NetBeans check out
the following URLs:– More support docs for NetBeans can be
found at: • http://www.netbeans.org/kb/
– UML Modeling Learning Trail• http://www.netbeans.org/kb/trails/uml.html
• For more info on NetBeans check out the following URLs:
• http://homepages.uel.ac.uk/D.Bowden/
![Page 45: lab1-Summer 09 -0.1shsaad/seng426/resources/Lab Slides/Lab1-SENG09.pdf– Editing Plain Text and RTE files. • Project Objectives: – Applying the quality checking techniques and](https://reader033.vdocument.in/reader033/viewer/2022053118/609cb2f58524402a0354ed98/html5/thumbnails/45.jpg)
THANKS
45