Spotting the difference: A source code comparison tool

Source Code Management (SCM) is a valuable tool in most software development projects, whichever their size. SCM provides the ability to store, retrieve, and restore previous versions of files. File comparison tools complement SCM systems by offering the capability to compare files and versions, hig...

Full description

Bibliographic Details
Main Author: Lanna, Marconi
Format: Others
Language:en
Published: University of Ottawa (Canada) 2013
Subjects:
Online Access:http://hdl.handle.net/10393/28203
http://dx.doi.org/10.20381/ruor-12440
id ndltd-uottawa.ca-oai-ruor.uottawa.ca-10393-28203
record_format oai_dc
spelling ndltd-uottawa.ca-oai-ruor.uottawa.ca-10393-282032018-01-05T19:07:54Z Spotting the difference: A source code comparison tool Lanna, Marconi Computer Science. Source Code Management (SCM) is a valuable tool in most software development projects, whichever their size. SCM provides the ability to store, retrieve, and restore previous versions of files. File comparison tools complement SCM systems by offering the capability to compare files and versions, highlighting their differences. Most file comparison tools are built around a two-pane interface, with files displayed side by side. Such interfaces may be inefficient in their use of screen space---wasting horizontal real estate---and ineffective, for duplicating text makes it difficult to read, while placing most of the comparison burden on the user. In this work, we introduce an innovative metaphor for file comparison interfaces. Based on a single-pane interface, common text is displayed only once, with differences intelligently merged into a single text stream, making reading and comparing more natural and intuitive. To further improve usability, additional features were developed: difference classification---additions, deletions, and modifications ---using finer levels of granularity than is usually found in typical tools; a set of special artifacts to compare modifications ; and intelligent white space handling. A formal usability study conducted among sixteen participants using real-world code samples demonstrated the interface adequacy. Participants were, on average, 60% faster performing source code comparison tasks, while answer quality improved, on our weighted scale, by almost 80%. According to preference questionnaires, the proposed tool conquered unanimous participant preference. 2013-11-07T19:03:59Z 2013-11-07T19:03:59Z 2008 2008 Thesis Source: Masters Abstracts International, Volume: 48-04, page: 2319. http://hdl.handle.net/10393/28203 http://dx.doi.org/10.20381/ruor-12440 en 131 p. University of Ottawa (Canada)
collection NDLTD
language en
format Others
sources NDLTD
topic Computer Science.
spellingShingle Computer Science.
Lanna, Marconi
Spotting the difference: A source code comparison tool
description Source Code Management (SCM) is a valuable tool in most software development projects, whichever their size. SCM provides the ability to store, retrieve, and restore previous versions of files. File comparison tools complement SCM systems by offering the capability to compare files and versions, highlighting their differences. Most file comparison tools are built around a two-pane interface, with files displayed side by side. Such interfaces may be inefficient in their use of screen space---wasting horizontal real estate---and ineffective, for duplicating text makes it difficult to read, while placing most of the comparison burden on the user. In this work, we introduce an innovative metaphor for file comparison interfaces. Based on a single-pane interface, common text is displayed only once, with differences intelligently merged into a single text stream, making reading and comparing more natural and intuitive. To further improve usability, additional features were developed: difference classification---additions, deletions, and modifications ---using finer levels of granularity than is usually found in typical tools; a set of special artifacts to compare modifications ; and intelligent white space handling. A formal usability study conducted among sixteen participants using real-world code samples demonstrated the interface adequacy. Participants were, on average, 60% faster performing source code comparison tasks, while answer quality improved, on our weighted scale, by almost 80%. According to preference questionnaires, the proposed tool conquered unanimous participant preference.
author Lanna, Marconi
author_facet Lanna, Marconi
author_sort Lanna, Marconi
title Spotting the difference: A source code comparison tool
title_short Spotting the difference: A source code comparison tool
title_full Spotting the difference: A source code comparison tool
title_fullStr Spotting the difference: A source code comparison tool
title_full_unstemmed Spotting the difference: A source code comparison tool
title_sort spotting the difference: a source code comparison tool
publisher University of Ottawa (Canada)
publishDate 2013
url http://hdl.handle.net/10393/28203
http://dx.doi.org/10.20381/ruor-12440
work_keys_str_mv AT lannamarconi spottingthedifferenceasourcecodecomparisontool
_version_ 1718602536381841408