SENG 426 Tool Presentation 1 ~ Prepared by Sherif Saad ~ Summer 2009 ~
SENG 426Tool Presentation
1~ Prepared by Sherif Saad ~ Summer 2009 ~
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
Agenda• Project Overview.• Schedule and Evaluation.• Tools Presentation.
3
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
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
Project Part 1
6
1
2
Program Understanding and Documentation
Points = 20
Points = 15
Project Part 1 (continue…)
7
3
4
Program Understanding and Documentation
Points = 20
Points = 10
Project Part 1 (continue…)
8
5
6
Program Understanding and Documentation
Points = 15
Points = 20
Tool Presentation• Required Software
– Netbeans.– Rational Rose.– Bugzilla.– JUnit and EMMA.– CASRE (Computer Aided Software
Reliability Estimation).
9
NetBeans• You can use NetBeans for:
– IDE for programming and executing the code
– JUnit testing (later!)– Code coverage using EMMA (later!)
10
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
Importing JWP
12
Create New Project
13
Choose Project Name
14
Add Project Source
15
Add Project Source
16
Add Project Source
17
Add Project Source
18
Add Project Source
19
Add Project Source
20
Reverse Engineering • You can reverse engineering JWP and
create your UML diagrams Using:• 1- NetBeans.• 2- Rational Rose.
21
Reverse Engineering (NetBeans)
22
Reverse Engineering (NetBeans)
23
Reverse Engineering (NetBeans)
24
Reverse Engineering (NetBeans)
25
Reverse Engineering (NetBeans)
26
Reverse Engineering (NetBeans)
27
Reverse Engineering (NetBeans)
28
Reverse Engineering (NetBeans)
29
Reverse Engineering (NetBeans)
30
Reverse Engineering (Rational Rose)
• Following features of Rational Rose will be used:– Reverse Engineering– Creating various UML Diagrams
31
Rational Rose
~ Prepared by Sherif Saad ~ Spring 2009 ~ 32
Import JWP• Go to Tools and select Java/J2EE reverse engineering
~ Prepared by Sherif Saad ~ Spring 2009 ~ 33
Import JWP• From the Java reverse engineering dialog Click on edit class path
~ Prepared by Sherif Saad ~ Spring 2009 ~ 34
Import JWP• From the Project Specification dialog Click on insert new
~ Prepared by Sherif Saad ~ Spring 2009 ~ 35
Import JWP• From the Project Specification dialog Click on insert new
~ Prepared by Sherif Saad ~ Spring 2009 ~ 36
Import JWP• From the Add to Classpath dialog Click on Directory
~ Prepared by Sherif Saad ~ Spring 2009 ~ 37
Import JWP• Browse your directories and select the JWP src directory, and then press OK
38
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
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
Import JWP• Go to rational rose main window , then under the logical view you should see your java
code within its packaged hierarchy.
41
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
Assignment• One email per group listing group
member names and student numbers– To: [email protected]
43
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/
THANKS
45