<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-23T02:38:11Z</responseDate><request verb="GetRecord" identifier="oai:uwspace.uwaterloo.ca:10012/11753" metadataPrefix="dim">https://dspacemainprd01.lib.uwaterloo.ca/server/oai/request</request><GetRecord><record><header><identifier>oai:uwspace.uwaterloo.ca:10012/11753</identifier><datestamp>2025-03-26T23:31:36Z</datestamp><setSpec>com_10012_9924</setSpec><setSpec>com_10012_1</setSpec><setSpec>col_10012_9930</setSpec><setSpec>col_10012_6</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:doc="http://www.lyncode.com/xoai" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="advisor">Holmes, Reid</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="advisor">Godfrey, Michael</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="author" authority="bbee38c6-eb4e-455c-8189-cbbff6fe76a9" confidence="600">Inozemtseva, Laura Michelle McLean</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2017-04-26T19:00:52Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2017-04-26T19:00:52Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2017-04-26</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">2017</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">http://hdl.handle.net/10012/11753</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract" lang="en">Maintaining and evolving modern software systems is a difficult task: their scope and&#xd;
complexity mean that seemingly inconsequential changes can have far-reaching consequences.&#xd;
Most software development companies attempt to reduce the number of faults introduced by&#xd;
adopting maintenance processes. These processes can be developed in various ways. In this&#xd;
thesis, we argue that data science techniques can be used to support process development.&#xd;
Specifically, we claim that robust development processes are necessary to minimize the&#xd;
number of faults introduced when evolving complex software systems. These processes&#xd;
should be based on empirical research findings. Data science techniques allow software&#xd;
engineering researchers to develop research insights that may be difficult or impossible to&#xd;
obtain with other research methodologies. These research insights support the creation of&#xd;
development processes. Thus, data science techniques support the creation of empirically-based&#xd;
development processes.&#xd;
&#xd;
We support this argument with three examples. First, we present insights into automated&#xd;
malicious Android application (app) detection. Many of the prior studies done on this topic&#xd;
used small corpora that may provide insufficient variety to create a robust app classifier.&#xd;
Currently, no empirically established guidelines for corpus size exist, meaning that previous&#xd;
studies have used anywhere from tens of apps to hundreds of thousands of apps to draw&#xd;
their conclusions. This variability makes it difficult to judge if the findings of any one study&#xd;
generalize. We attempted to establish such guidelines and found that 1,000 apps may be&#xd;
sufficient for studies that are concerned with what the majority of apps do, while more than&#xd;
a million apps may be required in studies that want to identify outliers. Moreover, many&#xd;
prior studies of malicious app detection used outdated malware corpora in their experiments&#xd;
that, combined with the rapid evolution of the Android API, may have influenced the&#xd;
accuracy of the studies. We investigated this problem by studying 1.3 million apps and&#xd;
showed that the evolution of the API does affect classifier accuracy, but not in the way we&#xd;
originally predicted. We also used our API usage data to identify the most infrequently used&#xd;
API methods. The use of data science techniques allowed us to study an order of magnitude&#xd;
more apps than previous work in the area; additionally, our insights into infrequently used&#xd;
methods illustrate how data science can be used to guide API deprecation.&#xd;
&#xd;
Second, we present insights into the costs and benefits of regression testing. Regression&#xd;
test suites grow over time, and while a comprehensive suite can detect faults that are&#xd;
introduced into the system, such a suite can be expensive to write, maintain, and execute.&#xd;
These costs may or may not be justified, depending on the number and severity of faults&#xd;
the suite can detect. By studying 61 projects that use Travis CI, a continuous integration&#xd;
system, we were able to characterize the cost/benefit tradeoff of their test suites. For &#xd;
example, we found that only 74% of non-flaky test failures are caused by defects in the&#xd;
system under test; the other 26% were caused by incorrect or obsolete tests and thus&#xd;
represent a maintenance cost rather than a benefit of the suite. Data about the costs&#xd;
and benefits of testing can help system maintainers understand whether their test suite&#xd;
is a good investment, shaping their subsequent maintenance decisions. The use of data&#xd;
science techniques allowed us to study a large number of projects, increasing the external&#xd;
generalizability of the study and making the insights gained more useful.&#xd;
&#xd;
Third, we present insights into the use of mutants to replace real faulty programs in&#xd;
testing research. Mutants are programs that contain deliberately injected faults, where&#xd;
the faults are generated by applying mutation operators. Applying an operator means&#xd;
making a small change to the program source code, such as replacing a constant with&#xd;
another constant. The use of mutants is appealing because large numbers of mutants can&#xd;
be automatically generated and used when known faults are unavailable or insufficient in&#xd;
number. However, prior to this work, there was little experimental evidence to support the&#xd;
use of mutants as a replacement for real faults. We studied this problem and found that, in&#xd;
general, mutants are an adequate substitute for faults when conducting testing research.&#xd;
That is, a test suite’s ability to detect mutants is correlated with its ability to detect real&#xd;
faults that developers have fixed, for both developer-written and automatically-generated&#xd;
test suites. However, we also found that additional mutation operators should be developed&#xd;
and some classes of faults cannot be generated via mutation. The use of data science&#xd;
techniques was an essential part of generating the set of real faults used in the study.&#xd;
&#xd;
Taken together, the results of these three studies provide evidence that data science&#xd;
techniques allow software engineering researchers to develop insights that are difficult or&#xd;
impossible to obtain using other research methodologies</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso" lang="en">en</dim:field>
   <dim:field mdschema="dc" element="publisher" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">data science</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">software maintenance</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">software evolution</dim:field>
   <dim:field mdschema="dc" element="title" lang="en">Data Science for Software Maintenance</dim:field>
   <dim:field mdschema="dc" element="type" lang="en">Doctoral Thesis</dim:field>
   <dim:field mdschema="dc" element="pending">false</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="department" lang="en">David R. Cheriton School of Computer Science</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="discipline" lang="en">Computer Science</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="grantor" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="uws-etd" element="degree" lang="en">Doctor of Philosophy</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="advisor">Holmes, Reid</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="advisor">Godfrey, Michael</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="affiliation1" lang="en">Faculty of Mathematics</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="city" lang="en">Waterloo</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="country" lang="en">Canada</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="province" lang="en">Ontario</dim:field>
   <dim:field mdschema="uws" element="typeOfResource" lang="en">Text</dim:field>
   <dim:field mdschema="uws" element="peerReviewStatus" lang="en">Unreviewed</dim:field>
   <dim:field mdschema="uws" element="scholarLevel" lang="en">Graduate</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>