10
LOGO JMVA Comprehension and Analysis 75 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi Ma Qian Wang Zi Wang

JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Embed Size (px)

DESCRIPTION

Approaches Going Through Background Comprehending concepts of JMT and JMVA Reading Tests Written by Author Understanding major procedure of solving Analyzing with Stan4J Forming general overview of application Searching & Tracing in Eclipse Finding out sequences of calling methods Testing Units Dealing with details of codebase

Citation preview

Page 1: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

LOGO

JMVA Comprehension and Analysis

475 Software Engineering for Industry - Coursework 1

Zhongxi Ren Tianyi MaQian WangZi Wang

Page 2: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

JMVA Introduction

JMVA An analytical evaluation tool of queuing network models using

Mean value Analysis (MVA) algorithm. User Interaction — Wizard interface

INPUT• Workload intensities• Stations • Service demands • (What-if Analysis)• (Comments)

OUTPUTTextual• Throughput• Customers numbers• Residence time …Graphical• Performance Index

Page 3: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Approaches

Going Through Background Comprehending concepts of JMT and JMVA

Reading Tests Written by Author Understanding major procedure of solving

Analyzing with Stan4J Forming general overview of application

Searching & Tracing in Eclipse Finding out sequences of calling methods

Testing Units Dealing with details of codebase

Page 4: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Architecture of Application I

Overview of the architecture: Package View

Page 5: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Architecture of Application II

Deeper discovery of the architecture: MVC model

Page 6: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Three Main Features in JMVA

What-if SolutionOffers same what-if analysis functionalities of JSIMengineExecute faster on models of small number of workload classes

XML Usage

Automated algorithm chosen

Works as an intermediate vector for passing messages among methods

Decide which algorithm to be applied by the system automatically

Page 7: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Main Features — Diagram

Page 8: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Design and Code Evaluation

User InteractionHeuristic Evaluation :

Component DependencyStan4J: Cycles occur between several packages. Too large classes with unrelated methods in it.

Complexity & Repetition Eclipse Metric: Nested Block Depth,McCabe Cycloramic

Complexity, Number of Parameters CPD From PMD: Found a 525 line (3213 tokens) duplication

Programming StyleCheckstyle : Some variables should have been set to be private, Some method should have been set to be abstract or final Puzzling and repeating method naming

Page 9: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

Conclusion

We have gained a lot from it — interesting points

Page 10: JMVA Comprehension and Analysis 475 Software Engineering for Industry - Coursework 1 Zhongxi Ren Tianyi…

LOGO