Top Banner
SENG 426 Tool Presentation 1 ~ Prepared by Sherif Saad ~ Summer 2009 ~
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

Dec 24, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

THANKS

45