Canada Spends Logo

Explore our Budget 2026 analysis

Grant: Engage Grants Program

University of Saskatchewan

$25,000.00

A framework for studying and predicting bug propagation through code cloning for mobile apps

FY 2019-20

Summary
Code cloning (i.e., copy/pasting) is a common yet controversial software engineering practice, which is often practised by the programmers during development and maintenance for repeating common functionalities. Such a practice results the existence of identical or nearly similar code fragments, also known as code clones, in a code-base. Two code fragments that are similar to each other form a clone-pair. While a number of studies have identified some positive impacts of code clones, other studies have shown strong empirical evidence of negative impacts too. Code clones can be directly related to bugs and inconsistencies in the code-base. If a particular code fragment in a code-base contains a temporarily hidden bug, and a programmer copies that fragment to several other places being unaware of the presence of the bug, the bug in the original fragment gets propagated. Given that software bugs are of primary concerns of any software, one must need to have tools and frameworks to deal with software bugs. However, there is no study on how frequently bug-propagation occurs during code cloning. Without studying the intensity of bug-propagation we cannot properly realize the impacts of code clones on software evolution and maintenance. Furthermore, there are no studies that investigated the propagated bugs for code clones for mobile applications. Given that Push Interactions mainly develop mobile applications, it is important for Push to make sure that their software applications do not have many of these propagated bugs. However, until now they do not have any such frameworks that can study the bug propagation through code cloning (propagation of bugs through copy/pasting of existing buggy code fragments). Furthermore, it is important to have a prediction model so that the model could predict which clone fragments might experience such propagated bugs in future during the evolution. With such toolset, Push Interactions would be able to have a clear idea about the presence of code clones in their mobile applications, their relationships to bugs, will find which clones are likely involve with bugs, and can predict the buggy clones. These will ensure proper maintenance and evolution of their mobile software applications.
Program
Engage Grants Program
Location
Saskatchewan, Canada
Recipient Type
Academia
Type
Grant
Source
NSERC's Awards Data

As published

Application id
543819-2019
Name nom
Roy, Chanchal
Department département
Computer Science
Organization id
16
Institution établissement
University of Saskatchewan
Province en
Saskatchewan
Province fr
Saskatchewan
Country en
CANADA
Country fr
CANADA
Fiscal year exercice financier
2019
Competition year année de concours
2019
Award amount
25000
Program id
EGP
Program name en
Engage Grants Program
Program name fr
Programme de subventions d'engagement partenariat
Group en
RESEARCH PARTNERSHIPS
Group fr
PARTENARIATS DE RECHERCHE
Committee code
1555
Committee name en
Prairie Internal Decision Committee
Committee name fr
Comité de décision interne pour les Prairies
Area of application code
801
Area of application group en
Information and communication services
Area of application group fr
Services d'information et de télécommunications
Area of application en
Computer software
Area of application fr
Logiciel
Research subject code
2705
Research subject group en
Information technology
Research subject group fr
Technologie de l'information
Research subject en
Software and development
Research subject fr
Logiciels et développement
Installment
inst:1 - 1
Partie
1
Nb partie
1
Application title
A framework for studying and predicting bug propagation through code cloning for mobile apps
Keyword
NSERC
Application summary
Code cloning (i.e., copy/pasting) is a common yet controversial software engineering practice, which is often practised by the programmers during development and maintenance for repeating common functionalities. Such a practice results the existence of identical or nearly similar code fragments, also known as code clones, in a code-base. Two code fragments that are similar to each other form a clone-pair. While a number of studies have identified some positive impacts of code clones, other studies have shown strong empirical evidence of negative impacts too. Code clones can be directly related to bugs and inconsistencies in the code-base. If a particular code fragment in a code-base contains a temporarily hidden bug, and a programmer copies that fragment to several other places being unaware of the presence of the bug, the bug in the original fragment gets propagated. Given that software bugs are of primary concerns of any software, one must need to have tools and frameworks to deal with software bugs. However, there is no study on how frequently bug-propagation occurs during code cloning. Without studying the intensity of bug-propagation we cannot properly realize the impacts of code clones on software evolution and maintenance. Furthermore, there are no studies that investigated the propagated bugs for code clones for mobile applications. Given that Push Interactions mainly develop mobile applications, it is important for Push to make sure that their software applications do not have many of these propagated bugs. However, until now they do not have any such frameworks that can study the bug propagation through code cloning (propagation of bugs through copy/pasting of existing buggy code fragments). Furthermore, it is important to have a prediction model so that the model could predict which clone fragments might experience such propagated bugs in future during the evolution. With such toolset, Push Interactions would be able to have a clear idea about the presence of code clones in their mobile applications, their relationships to bugs, will find which clones are likely involve with bugs, and can predict the buggy clones. These will ensure proper maintenance and evolution of their mobile software applications.