ͳͥεςʔτϝϯτΧόϨοδ
͚ͩͳͷ͔
• AppleͷυΩϡϝϯτʹ
ʮCode coverage in Xcode is a testing
option supported by LLVMʯ
➡ ΧόϨοδऔಘLLVMͷػೳ
https://developer.apple.com/library/archive/documentation/DeveloperTools/
Conceptual/testing_with_xcode/chapters/07-code_coverage.html
Slide 20
Slide 20 text
ClangͷυΩϡϝϯτʹҎԼͷ
4͕ͭܭଌͰ͖Δͱॻ͍ͯ͋Δ
• Function coverage
• Instantiation coverage
• Line coverage
• Region coverage
ClangͰ৭ʑऔΕΔͳΒಉ͡LLVM͏SwiftͰऔΕͳ͍͔ͳ…
https://clang.llvm.org/docs/SourceBasedCodeCoverage.html