13

Click here to load reader

Mining Software Archives 2010 Presentation

Embed Size (px)

DESCRIPTION

http://seal.ifi.uzh.ch/msa2010/

Citation preview

Page 1: Mining Software Archives 2010 Presentation

Ahmed LamkanfiSerge Demeyer

Lab On ReengineeringUniversity of Antwerp

Impact Analysis of Software Maintenance using Software Traceability

Page 2: Mining Software Archives 2010 Presentation

Introduction

•Source code continually changes

Page 3: Mining Software Archives 2010 Presentation

Introduction

•Source code continually changes

•The origin of changes➡ track modifications back to their origin

➡ analyze

Page 4: Mining Software Archives 2010 Presentation

Introduction

•Two steps:➡ reconstruct traceability

➡ analyzing the evolution of traceability

•Source code continually changes

•The origin of changes➡ track modifications back to their origin

➡ analyze

Page 5: Mining Software Archives 2010 Presentation

Software Traceability

Source code unit

Requirement traceability link

Page 6: Mining Software Archives 2010 Presentation

Software Traceability

Source code unit

Requirement

• file

• class

• method

• use case

• test case

• bug report

traceability link

Page 7: Mining Software Archives 2010 Presentation

Software Traceability

Source code unit

Requirement

• file

• class

• method

• use case

• test case

• bug report

traceability link

➡ text mining

➡ static analysis

➡ dynamic analysis

Page 8: Mining Software Archives 2010 Presentation

Traceability Evolution

version 1

R1

R2

C1

C2

C3

Page 9: Mining Software Archives 2010 Presentation

Traceability Evolution

version 1

R1

R2

C1

C2

C3

version 2

R1

R2

C1

C2

C3

C4

Page 10: Mining Software Archives 2010 Presentation

Traceability Evolution

version 1

R1

R2

C1

C2

C3

version 2

R1

R2

C1

C2

C3

C4

. . .

version n

R1

R3

C1

C2

C3

C4R4

Page 11: Mining Software Archives 2010 Presentation

Traceability Evolution

•Look for Frequently Applied Changes➡ in the source code➡ in the requirements

•(How) do they relate?

version 1

R1

R2

C1

C2

C3

version 2

R1

R2

C1

C2

C3

C4

. . .

version n

R1

R3

C1

C2

C3

C4R4

Page 12: Mining Software Archives 2010 Presentation

Traceability Evolution

•What impact do changing requirements have on the source code?

•What impact do reported bugs have on the source code?

Page 13: Mining Software Archives 2010 Presentation

The past is behind, learn from it.The future is ahead, prepare for it.

Thomas S. Monson