Signature change analysis
Download
1 / 7

Signature Change Analysis - PowerPoint PPT Presentation


  • 115 Views
  • Uploaded on

Signature Change Analysis. Sunghun Kim, Jim Whitehead, Jennifer Bevan {hunkim, ejw, jbevan}@cs.ucsc.edu University of California, Santa Cruz. Biological and Software Evolution. v1. v2. v2. Biological and Software Evolution. v1. v2. v2. Biological and Software Evolution.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Signature Change Analysis' - aubrey-cash


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Signature change analysis

Signature Change Analysis

Sunghun Kim, Jim Whitehead, Jennifer Bevan

{hunkim, ejw, jbevan}@cs.ucsc.edu

University of California, Santa Cruz



Biological and software evolution1

v1

v2

v2

Biological and Software Evolution


Biological and software evolution2

v1

v2

v2

Biological and Software Evolution

  • Can we shape software evolution path?

    • LOC

    • Number of Changes

    • Structural Changes

    • Signature Changes


Found signature change properties
Found Signature Change properties

  • The most common signature change kinds are complex data type, parameter addition, parameter ordering, and parameter deletion.

  • More than half of function signatures never change. About 90% of function signatures change less than three times.

  • A function’s signature changes after every 5-15 function body changes.

  • A project’s average number of parameters per function remains relatively constant over time.

  • Functions typically have parameter lists with 1, 2, or 3 parameters.

  • Weak correlations between signature change and other changes including LOC and function body changes.

  • Each project has its own signature change patterns, and the pattern can be discovered after analyzing the first 1000 to 1500 revisions.

  • Probability of a change kind depends on previous changes.


Future work
Future Work

  • Signature change analysis on OOP (Java)

    • The results presented here are based on a procedural programming language (C) open source projects: Apache HTTP 1.3, Apache HTTP 2.0 , Apache Portable Runtime, APR utility, CVS, GCC, and Subversion

    • Find OOP signature change properties and compare the with those from a procedural language

  • Changes inside Struct/Class

    • Variable addition/deletion

    • Variable renaming

    • Method addition/deletion


Signature change analysis1

Signature Change Analysis

Sunghun Kim, Jim Whitehead, Jennifer Bevan

{hunkim, ejw, jbevan}@cs.ucsc.edu

University of California, Santa Cruz