A delta‐oriented approach to support the safe reuse of black‐box code rewriters. Issue 8 (12th August 2019)
- Record Type:
- Journal Article
- Title:
- A delta‐oriented approach to support the safe reuse of black‐box code rewriters. Issue 8 (12th August 2019)
- Main Title:
- A delta‐oriented approach to support the safe reuse of black‐box code rewriters
- Authors:
- Benni, Benjamin
Mosser, Sébastien
Moha, Naouel
Riveill, Michel - Other Names:
- Capilla Rafael guestEditor.
Gallina Barbara guestEditor.
Cetina Englada Carlos guestEditor. - Abstract:
- Abstract: Large‐scale corrective and perfective maintenance is often automated thanks to rewriting rules using tools such asPython2to3, Spoon, orCoccinelle . Such tools consider these rules as black‐boxes and compose multiple rules by chaining them: giving the output of a given rewriting rule as input to the next one. It is up to the developer to identify the right order (if it exists) among all the different rules to yield the right program. In this paper, we define a formal model compatible with the black‐box assumption that reifies the modifications (Δs) made by each rule. Leveraging these Δs, we propose a way to safely compose multiple rules when applied to the same program by (a) ensuring the isolated application of the different rules and (b) identifying unexpected behaviors that were silently ignored before. We assess this approach on two large‐scale case studies: (a) identifying conflicts in the Linux source‐code automated maintenance and (b) fixing energy antipatterns existing in Android applications available on GitHub.
- Is Part Of:
- Journal of software. Volume 31:Issue 8(2019)
- Journal:
- Journal of software
- Issue:
- Volume 31:Issue 8(2019)
- Issue Display:
- Volume 31, Issue 8 (2019)
- Year:
- 2019
- Volume:
- 31
- Issue:
- 8
- Issue Sort Value:
- 2019-0031-0008-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2019-08-12
- Subjects:
- code rewriting -- conflict detection -- rule composition -- software reuse
Software engineering -- Periodicals
Computer software -- Development -- Periodicals
Software maintenance -- Periodicals
005.1 - Journal URLs:
- http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)2047-7481 ↗
http://onlinelibrary.wiley.com/ ↗ - DOI:
- 10.1002/smr.2208 ↗
- Languages:
- English
- ISSNs:
- 2047-7473
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 11399.xml