Dynamic Inference of Change Contracts

Software evolves and thus developers frequently make changes to systems that are logged in version control systems. These changes are often poorly documented -- often commit logs are empty or only contain minimal information. Thus, it is often a challenge to understand why certain changes are made e...

Full description

Saved in:
Bibliographic Details
Main Authors: LE, Tien-Duy B., Yi, Jooyong, LO, David, THUNG, Ferdian, Roychoudhury, Abhik
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2014
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/2429
https://ink.library.smu.edu.sg/context/sis_research/article/3429/viewcontent/icsme14_contracts.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-3429
record_format dspace
spelling sg-smu-ink.sis_research-34292020-12-07T08:30:19Z Dynamic Inference of Change Contracts LE, Tien-Duy B. Yi, Jooyong LO, David THUNG, Ferdian Roychoudhury, Abhik Software evolves and thus developers frequently make changes to systems that are logged in version control systems. These changes are often poorly documented -- often commit logs are empty or only contain minimal information. Thus, it is often a challenge to understand why certain changes are made especially if they were introduced many months or even years ago. Understanding these changes is important when pertinent questions are raised during future bug fixing or software evolution efforts. Thus, there is a need for an automated approach that can help developers better document changes with little or minimal effort. To address this need, we propose a dynamic inference framework that automatically infers change contracts. Recently, change contract is proposed as a formalism to capture the semantics of changes. Different from standard program contract, change contract focuses in expressing the changed behavior between two versions of software systems. Our system infers candidate contracts based on actual changes and developers can further modify these contracts to reflect intended changes. We have performed a preliminary evaluation of our dynamic inference framework on a set of 15 real bug fixing changes from AspectJ with promising results. 2014-10-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/2429 info:doi/10.1109/ICSME.2014.72 https://ink.library.smu.edu.sg/context/sis_research/article/3429/viewcontent/icsme14_contracts.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Software Engineering
spellingShingle Software Engineering
LE, Tien-Duy B.
Yi, Jooyong
LO, David
THUNG, Ferdian
Roychoudhury, Abhik
Dynamic Inference of Change Contracts
description Software evolves and thus developers frequently make changes to systems that are logged in version control systems. These changes are often poorly documented -- often commit logs are empty or only contain minimal information. Thus, it is often a challenge to understand why certain changes are made especially if they were introduced many months or even years ago. Understanding these changes is important when pertinent questions are raised during future bug fixing or software evolution efforts. Thus, there is a need for an automated approach that can help developers better document changes with little or minimal effort. To address this need, we propose a dynamic inference framework that automatically infers change contracts. Recently, change contract is proposed as a formalism to capture the semantics of changes. Different from standard program contract, change contract focuses in expressing the changed behavior between two versions of software systems. Our system infers candidate contracts based on actual changes and developers can further modify these contracts to reflect intended changes. We have performed a preliminary evaluation of our dynamic inference framework on a set of 15 real bug fixing changes from AspectJ with promising results.
format text
author LE, Tien-Duy B.
Yi, Jooyong
LO, David
THUNG, Ferdian
Roychoudhury, Abhik
author_facet LE, Tien-Duy B.
Yi, Jooyong
LO, David
THUNG, Ferdian
Roychoudhury, Abhik
author_sort LE, Tien-Duy B.
title Dynamic Inference of Change Contracts
title_short Dynamic Inference of Change Contracts
title_full Dynamic Inference of Change Contracts
title_fullStr Dynamic Inference of Change Contracts
title_full_unstemmed Dynamic Inference of Change Contracts
title_sort dynamic inference of change contracts
publisher Institutional Knowledge at Singapore Management University
publishDate 2014
url https://ink.library.smu.edu.sg/sis_research/2429
https://ink.library.smu.edu.sg/context/sis_research/article/3429/viewcontent/icsme14_contracts.pdf
_version_ 1770572143780691968