Framing program comprehension as fault localization

dc.contributor.author Alexandre Campos Perez en
dc.contributor.author Rui Maranhão en
dc.date.accessioned 2018-01-15T16:32:01Z
dc.date.available 2018-01-15T16:32:01Z
dc.date.issued 2016 en
dc.description.abstract Program comprehension is a time-consuming task performed during the process of reusing, reengineering, and enhancing existing systems. There are tools to assist comprehension by means of dynamic analysis, but most cannot identify the topology and the interactions of certain functionality in need of change. We propose an approach, coined Spectrum-based Feature Comprehension (SFC), that borrows techniques from software-fault localization that were proven to be effective even when debugging large applications. SFC analyses the program by exploiting run-time information from test case executions to identify the components that are important for a given feature, helping software engineers to understand how a program is structured and each of the functionality's dependencies are. We present a toolset, coined PANGOLIN, that implements SFC and displays its report to the user using an intuitive visualization. A user study presented demonstrating PANGOLIN's efficiency in locating components that should be inspected when changing a certain functionality. Participants using SFC spent a median of 50 min locating the feature with greater accuracy, whereas participants using coverage tools took 60 min. Finally, we also detail the Participatory Feature Detection approach, where user interactions with the system are captured; removing the hindrance of requiring pre-existing automated tests. Copyright (C) 2016 John Wiley & Sons, Ltd. en
dc.identifier.uri http://repositorio.inesctec.pt/handle/123456789/6194
dc.identifier.uri http://dx.doi.org/10.1002/smr.1799 en
dc.language eng en
dc.relation 6415 en
dc.relation 5609 en
dc.rights info:eu-repo/semantics/openAccess en
dc.title Framing program comprehension as fault localization en
dc.type article en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
Thumbnail Image
Name:
P-00M-75K.pdf
Size:
1.58 MB
Format:
Adobe Portable Document Format
Description: