2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER) 2016
DOI: 10.1109/saner.2016.61
|View full text |Cite
|
Sign up to set email alerts
|

Negative Effects of Bytecode Instrumentation on Java Source Code Coverage

Abstract: Code coverage measurement is an important element in white-box testing, both in industrial practice and academic research. Other related areas are highly dependent on code coverage as well, including test case generation, test prioritization, fault localization, and others. Inaccuracies of a code coverage tool sometimes do not matter that much but in certain situations they can lead to serious confusion. For Java, the prevalent approach to code coverage measurement is to use bytecode instrumentation due to its… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
15
0

Year Published

2016
2016
2020
2020

Publication Types

Select...
4
1
1

Relationship

1
5

Authors

Journals

citations
Cited by 13 publications
(15 citation statements)
references
References 23 publications
0
15
0
Order By: Relevance
“…Contrary to what would be expected, this granularity level also involves diculties in the interpretation of code coverage, which was the main motivation for our research. In particular, we found signicant dierences between dierent code coverage measurement tools for Java congured for method level analysis (Tengeri et al, 2016).…”
Section: Dierent Types and Levels Of Code Coveragementioning
confidence: 91%
See 1 more Smart Citation
“…Contrary to what would be expected, this granularity level also involves diculties in the interpretation of code coverage, which was the main motivation for our research. In particular, we found signicant dierences between dierent code coverage measurement tools for Java congured for method level analysis (Tengeri et al, 2016).…”
Section: Dierent Types and Levels Of Code Coveragementioning
confidence: 91%
“…However, in most cases the application of code coverage is on the source code, hence it is worthwhile to investigate and compare the two approaches. In earlier work (Tengeri et al, 2016), we investigated these two types of code coverage measurement approaches via two representative tools on a set of open source Java programs. We found that there were many deviations in the raw coverage results due to the various technical and conceptual dierences of the instrumentation methods.…”
Section: Introductionmentioning
confidence: 99%
“…We modified the build processes of the systems to produce method level coverage information using the Clover coverage measurement tool. 2 This tool is based on source-code instrumentation and gives more precise information about source code entities than tools based on bytecode instrumentation Tengeri et al 2016).…”
Section: Subject Programs and Detection Frameworkmentioning
confidence: 99%
“…Finally, Tengeri et al (2016) argue that Jacoco which is based on bytecode instrumentation may produce erroneous results compared to source code instrumentations methods. Jacoco misses some really covered methods.…”
Section: Internal Validitymentioning
confidence: 99%