Clustering Software Artifacts Based on Frequent common changes Presented by: Ashgan Fararooy Prepared by: Haroon Malik (Modified)

Slides:



Advertisements
Similar presentations
Clustering Software Artefacts Based on Frequent common changes Presented by Haroon Malik.
Advertisements

1 Software Design Introduction  The chapter will address the following questions:  How do you factor a program into manageable program modules that can.
Activity relationship analysis
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
What is Software Design?  Introduction  Software design consists of two components, modular design and packaging.  Modular design is the decomposition.
Copyright Irwin/McGraw-Hill Software Design Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Assessment. Schedule graph may be of help for selecting the best solution Best solution corresponds to a plateau before a high jump Solutions with very.
Author: Jie chen and Yousef Saad IEEE transactions of knowledge and data engineering.
Segmentation Graph-Theoretic Clustering.
Ranking by Odds Ratio A Probability Model Approach let be a Boolean random variable: document d is relevant to query q otherwise Consider document d as.
Chapter 1 Understanding the Web Design Environment
The Shortest Path Problem
Unit Testing CS 414 – Software Engineering I Don Bagert Rose-Hulman Institute of Technology January 16, 2003.
Software Configuration Management (SCM)
Clustering Unsupervised learning Generating “classes”
Department of Computer Science, University of California, Irvine Site Visit for UC Irvine KD-D Project, April 21 st 2004 The Java Universal Network/Graph.
Graph-based consensus clustering for class discovery from gene expression data Zhiwen Yum, Hau-San Wong and Hongqiang Wang Bioinformatics, 2007.
9.2 Graph Terminology and Special Types Graphs
S/W Project Management
Lesson 7 Guide for Software Design Description (SDD)
Software Engineering Modern Approaches
Dependency Tracking in software systems Presented by: Ashgan Fararooy.
The Architecture Business Cycle. Software Architecture Definition The software architecture of a program or computing system is the structure or structures.
Graph-based Segmentation. Main Ideas Convert image into a graph Vertices for the pixels Vertices for the pixels Edges between the pixels Edges between.
Unless otherwise noted, the content of this course material is licensed under a Creative Commons Attribution 3.0 License.
Information Flow using Edge Stress Factor Communities Extraction from Graphs Implied by an Instant Messages Corpus Franco Salvetti University of Colorado.
Graphs Chapter 12.
Configuration Management (CM)
VAST 2011 Sebastian Bremm, Tatiana von Landesberger, Martin Heß, Tobias Schreck, Philipp Weil, and Kay Hamacher Interactive-Graphics Systems TU Darmstadt,
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Copyright © 2007 Addison-Wesley. All rights reserved.1-1 Reasons for Studying Concepts of Programming Languages Increased ability to express ideas Improved.
 Three-Schema Architecture Three-Schema Architecture  Internal Level Internal Level  Conceptual Level Conceptual Level  External Level External Level.
Class 10: Introduction to CINET Using CINET for network analysis and visualization Network Science: Introduction to CINET 2015 Prof. Boleslaw K. Szymanski.
A genetic approach to the automatic clustering problem Author : Lin Yu Tseng Shiueng Bien Yang Graduate : Chien-Ming Hsiao.
Spectral Analysis based on the Adjacency Matrix of Network Data Leting Wu Fall 2009.
Semantic Wordfication of Document Collections Presenter: Yingyu Wu.
Andreas Papadopoulos - [DEXA 2015] Clustering Attributed Multi-graphs with Information Ranking 26th International.
A survey of different shape analysis techniques 1 A Survey of Different Shape Analysis Techniques -- Huang Nan.
1/24 Introduction to Graphs. 2/24 Graph Definition Graph : consists of vertices and edges. Each edge must start and end at a vertex. Graph G = (V, E)
Daniel A. Keim, Hans-Peter Kriegel Institute for Computer Science, University of Munich 3/23/ VisDB: Database exploration using Multidimensional.
Software Configuration Management (SCM) Source: Pressman, R., Software Engineering: A Practitioner ’ s Approach. Boston: McGraw Hill, Inc., 2005; Ghezzi,
Privacy Protection in Social Networks Instructor: Assoc. Prof. Dr. DANG Tran Khanh Present : Bui Tien Duc Lam Van Dai Nguyen Viet Dang.
® IBM Software Group © 2009 IBM Corporation Essentials of Modeling with IBM Rational Software Architect V7.5 Module 17: Team Modeling.
“Pajek”: Large Network Analysis. 2 Agenda Introduction Network Definitions Network Data Files Network Analysis 2.
Complexity and Efficient Algorithms Group / Department of Computer Science Testing the Cluster Structure of Graphs Christian Sohler joint work with Artur.
Community structure in graphs Santo Fortunato. More links “inside” than “outside” Graphs are “sparse” “Communities”
Topical Analysis and Visualization of (Network) Data Using Sci2 Ted Polley Research & Editorial Assistant Cyberinfrastructure for Network Science Center.
School of Information Sciences University of Pittsburgh TELCOM2125: Network Science and Analysis Konstantinos Pelechrinis Spring 2013 Figures are taken.
Energy Models for Graph Clustering Bo-Young Kim Applied Algorithm Lab, KAIST.
On the Ability of Graph Coloring Heuristics to Find Substructures in Social Networks David Chalupa By, Tejaswini Nallagatla.
Document Clustering with Prior Knowledge Xiang Ji et al. Document Clustering with Prior Knowledge. SIGIR 2006 Presenter: Suhan Yu.
Graph-based Segmentation
Graphical Presentation of Mobile networks
Metrics of Software Quality
Discrete ABC Based on Similarity for GCP
We propose a method which can be used to reduce high dimensional data sets into simplicial complexes with far fewer points which can capture topological.
Graphs 7/18/2018 7:39 AM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia, and.
Network analysis.
The Process of Object Modeling
Segmentation Graph-Theoretic Clustering.
Noémi Gaskó, Rodica Ioana Lung, Mihai Alexandru Suciu
Preparing Conference Papers (1)
Spectral Clustering Eric Xing Lecture 8, August 13, 2010
Graphs 4/29/15 01:28:20 PM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia,
Preparing Conference Papers (1)
Graphs G = (V, E) V are the vertices; E are the edges.
Charts A chart is a graphic or visual representation of data
HW 3 (Due Wednesday Feb 6) Create slide(s) for your 1 minute presentation on a graph theory application. Make sure your slide(s) include (1) Define the.
HW 3 (Due Wednesday Feb 6) Create slide(s) for your 1 minute presentation on a graph theory application. Make sure your slide(s) include (1) Define the.
Concepts of Computation
Presentation transcript:

Clustering Software Artifacts Based on Frequent common changes Presented by: Ashgan Fararooy Prepared by: Haroon Malik (Modified)

Abstract The clusters of artifacts that are frequently changed changed together are subsystem candidates. Two step method identification of clusters: Extracting Co-Change graph from the version control repository. Computing a layout of the co-changed graph. This reveals the cluster of frequent co-change artifacts.

Overview Software artifact : Is an entity that belongs to a software system E.g. A package, a file, a line of code or even a piece of document Version: State of a software artifact at a particular point in time. CVS system stores version of artifacts in a central repository. User of such systems modify local copies of the software artifacts, and check-in their changes to the central repository.

Proposed Model Software clustering groups software artifacts into subsystems which are as independent as possible with respected to comprehension, change, reuse etc. Co-change graph model is proposed for clustering software system

Proposed Model Co-change Graph: Abstraction of version control repositories. Vertices of this graph are: Software artifacts (Files or Functions) & Change transactions ( Commits in terms of CVS). Edges connect the change transaction with their participating artifacts.

Proposed Model Presentation: The result of clustering is not a partition of the graph vertices, but a layout of graph vertices. This layout of the graph refers to position of the graph vertices in two or three dimensional space. Heavily co-changed artifacts closer together. Rarely co-changed artifacts at larger distances. Layout is comprehensive and provides additional information  How clearly Clusters are Separated.  If artifacts are at center of the cluster or rather between two clusters.

Proposed Model Contents: Not just arranged in some nice way, but their positions have a well-defined interpretation with respect to their common changes. Two artifacts are placed closer to the degree of that their common change is stronger then random.

Co-Change Graph. The graph refers to the common changes of artifacts in version repositories. It can be easily extracted from version repositories. Ensures, that the clustering results have a clear interpretation in terms of repositories. Biases though arbitrary choices (e.g. weight function of values of free parameters) are minimized.

Co-Change Graph Change Transaction: It is a coherent sequence of ‘check-in’s of several software artifacts. Software artifacts that participate in the same change transaction are co-changed (commonly changed). The Co-change graph of a give version of repository is an undirected graph (V,E ). The set of vertices V of the co-change graph contains all the software artifacts and all change transaction of the version repository.

Co-Change Graph The set of edges E contains the undirected edge {c,a}, if the artifact a was changed by transaction c. Bipartite: It contains no edges that connect two change transaction of two software artifacts.

Co-Change Graph For a vertex v of a co-changed graph, the number of its adjacent vertices is called the degree of v and denoted by deg(v) For transaction vertices, the degree gives the number of artifacts that participate in the transaction. For artifacts, the degree gives the number of their changes.

Weight Co-change Graph It involves assigning a real number to each edge by weigh function (w) to set of Edges (E) The real number assigned to each edge interprets the importance of the corresponding change. Each edge is give same weight.

Condensed Co-Change Graph It is a weighted, undirected graph (V,E,w), for a given repository. Where, the set of vertices V contains all software artifacts in repository. Set of Edges E contains the edge {a,a’}, if the artifact a and a’ were commonly changed by a transaction.

Edge-Repulsion Linlog Energy Model This model specify the good graph layout. The basic idea is that in co-change graph edges causes both repulsion and attraction. Every edge will cause same amount of repulsion and attraction. Model helps in creating suitable readable layouts

Evaluation The Software system were chosen based on : Size, number of developers, project duration and artifacts in different programming languages Based on familiarity, because the evaluation requires the knowledge of authoritative decompositions

Evaluation The co-change graph were extracted on file level A tool cvs2cl2 is used to recover change transaction from CVS repository A calculator for relation generated the co-change graph from transaction ---- CrocoPat Duration, total changes indeed all number were obtained with tool Stat CVS Layout was computed using utomatically usig Edge repulsion linlog energy model

Artifacts in the CrocoPat repository

Artifacts in the Rabbit repository

Artifacts in the Blast repository

Conclusions Introduced a new method for clustering software artifacts. Defined the co-change graph as underlying formal model Evaluated our method on three example software systems with different types of documents and source code in several programming languages