TASSAL: Autofolding for Source Code Summarization

Jaroslav Fowkes, Pankajan Chanthirasegaran, Razvan Ranca, Miltiadis Allamanis, Maria Lapata, Charles Sutton

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract / Description of output

We present a novel tool, TASSAL, that automatically creates a summary of each source file in a project by folding its least salient code regions. The intended use-case for our tool is the first-look problem: to help developers who are unfamiliar with a new code base and are attempting to understand it. TASSAL is intended to aid developers in this task by folding away less informative regions of code and allowing them to focus their efforts on the most informative ones. While modern code editors do provide code folding to selectively hide blocks of code, it is impractical to use as folding decisions must be made manually or based on simple rules. We find through a case study that TASSAL is strongly preferred by experienced developers over simple folding baselines, demonstrating its usefulness. In short,we strongly believe TASSAL can aid program comprehension by turning code folding into a usable and valuable tool.A video highlighting the main features of TASSAL can be found at https://youtu.be/_yu7JZgiBA4.
Original languageEnglish
Title of host publicationICSE '16 Proceedings of the 38th International Conference on Software Engineering Companion
Number of pages4
ISBN (Print)978-1-4503-4205-6
Publication statusPublished - May 2016
Event38th International Conference on Software Engineering Companion - Austin, United States
Duration: 14 May 201622 May 2016


Conference38th International Conference on Software Engineering Companion
Abbreviated titleICSE 2016
Country/TerritoryUnited States
Internet address


Dive into the research topics of 'TASSAL: Autofolding for Source Code Summarization'. Together they form a unique fingerprint.

Cite this