Abstract
Most of the data produced in software projects is of textual nature: source code, specifications, or documentation. The advances in quantitative analysis methods drove a lot of data analytics in software engineering. This has overshadowed to some degree the importance of texts and their qualitative analysis. Such analysis has, however, merits for researchers and practitioners as well.In this chapter, we describe the basics of analyzing text in software projects. We first describe how to manually analyze and code textual data. Next, we give an overview of mixed methods for automatic text analysis, including n-grams and clone detection, as well as more sophisticated natural language processing identifying syntax and contexts of words. Those methods and tools are of critical importance to aid in the challenges associated with today's huge amounts of textual data.We illustrate the methods introduced via a running example and conclude by presenting two industrial studies.
Original language | English |
---|---|
Title of host publication | The Art and Science of Analyzing Software Data |
Publisher | Elsevier Inc. |
Pages | 39-72 |
Number of pages | 34 |
ISBN (Electronic) | 9780124115439 |
ISBN (Print) | 9780124115194 |
DOIs | |
State | Published - 1 Sep 2015 |
Externally published | Yes |
Keywords
- Automated analysis
- Manual coding
- Qualitative analysis
- Text analytics