2017-06-22 13:29:35 +00:00
|
|
|
Test collecting code coverage data with Profiler.collectCoverage.
|
|
|
|
|
|
|
|
Running test: testPreciseCountBaseline
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName : fib
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 15
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseCountBaseline
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testPreciseCountCoverage
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 221
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 15
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
count : 8
|
|
|
|
endOffset : 41
|
|
|
|
startOffset : 32
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
count : 7
|
2017-06-23 10:24:26 +00:00
|
|
|
endOffset : 71
|
2017-06-22 13:29:35 +00:00
|
|
|
startOffset : 41
|
|
|
|
}
|
2017-06-23 10:24:26 +00:00
|
|
|
[3] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 71
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : iife
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 177
|
|
|
|
}
|
2017-06-23 10:24:26 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 206
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseCountCoverage
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 38
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-02 10:07:40 +00:00
|
|
|
Running test: testPreciseCountCoverageIncremental
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 221
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 15
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
count : 8
|
|
|
|
endOffset : 41
|
|
|
|
startOffset : 32
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
count : 7
|
|
|
|
endOffset : 71
|
|
|
|
startOffset : 41
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 71
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : iife
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 177
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 206
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseCountCoverageIncremental
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : string
|
|
|
|
value : unoptimized
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 10946
|
|
|
|
type : number
|
|
|
|
value : 10946
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : string
|
|
|
|
value : unoptimized
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName : fib
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 21891
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
count : 10946
|
|
|
|
endOffset : 41
|
|
|
|
startOffset : 32
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
count : 10945
|
|
|
|
endOffset : 71
|
|
|
|
startOffset : 41
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 71
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 2
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
[1] : {
|
2017-07-14 11:01:00 +00:00
|
|
|
count : 0
|
|
|
|
endOffset : 156
|
|
|
|
startOffset : 145
|
|
|
|
}
|
|
|
|
[2] : {
|
2017-07-02 10:07:40 +00:00
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 173
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseCountCoverageIncremental
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 2
|
|
|
|
endOffset : 17
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 7
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-22 13:29:35 +00:00
|
|
|
Running test: testPreciseCoverageFail
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
error : {
|
|
|
|
code : -32000
|
|
|
|
message : Precise coverage has not been started.
|
|
|
|
}
|
|
|
|
id : <messageId>
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testBestEffortCoverage
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testBestEffortCoverageWithPreciseBinaryEnabled
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 221
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : iife
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 177
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testBestEffortCoverageWithPreciseBinaryEnabled
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 38
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 221
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : iife
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 177
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testBestEffortCoverageWithPreciseBinaryEnabled
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 38
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testBestEffortCoverageWithPreciseCountEnabled
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 221
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : iife
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 177
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testBestEffortCoverageWithPreciseCountEnabled
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 38
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 221
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : iife
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 177
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testBestEffortCoverageWithPreciseCountEnabled
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
2017-07-02 09:57:54 +00:00
|
|
|
isBlockCoverage : false
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 38
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testEnablePreciseCountCoverageAtPause
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : undefined
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 114
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : g
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 29
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : f
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 4
|
|
|
|
endOffset : 83
|
|
|
|
startOffset : 30
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : h
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 107
|
|
|
|
startOffset : 84
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testEnablePreciseCountCoverageAtPause
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 38
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testPreciseBinaryCoverage
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
2017-07-17 08:51:46 +00:00
|
|
|
isBlockCoverage : true
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 221
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
2017-07-17 08:51:46 +00:00
|
|
|
isBlockCoverage : true
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
|
|
|
}
|
2017-07-17 08:51:46 +00:00
|
|
|
[1] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 41
|
|
|
|
startOffset : 32
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 71
|
|
|
|
startOffset : 41
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 73
|
|
|
|
startOffset : 71
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : is_optimized
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : iife
|
2017-07-17 08:51:46 +00:00
|
|
|
isBlockCoverage : true
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 177
|
|
|
|
}
|
2017-07-17 08:51:46 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 208
|
|
|
|
startOffset : 206
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseBinaryCoverage
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : string
|
|
|
|
value : unoptimized
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 10946
|
|
|
|
type : number
|
|
|
|
value : 10946
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : string
|
|
|
|
value : optimized
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName : is_optimized
|
2017-07-17 08:51:46 +00:00
|
|
|
isBlockCoverage : true
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 74
|
|
|
|
}
|
2017-07-17 08:51:46 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 175
|
|
|
|
startOffset : 173
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseBinaryCoverage
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
2017-07-17 08:51:46 +00:00
|
|
|
isBlockCoverage : true
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 17
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
2017-07-17 08:51:46 +00:00
|
|
|
isBlockCoverage : true
|
2017-06-22 13:29:35 +00:00
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 7
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testPreciseEmptyScriptCoverageEntries
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testPreciseCountCoveragePartial
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : undefined
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 238
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : outer
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 224
|
|
|
|
startOffset : 10
|
|
|
|
}
|
2017-06-23 10:24:26 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 224
|
|
|
|
startOffset : 222
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : nested_0
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 176
|
|
|
|
startOffset : 31
|
|
|
|
}
|
2017-06-23 10:24:26 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 176
|
|
|
|
startOffset : 172
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : nested_1
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 172
|
|
|
|
startOffset : 64
|
|
|
|
}
|
2017-06-23 10:24:26 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 172
|
|
|
|
startOffset : 166
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
[4] : {
|
|
|
|
functionName : nested_2
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 166
|
|
|
|
startOffset : 99
|
|
|
|
}
|
2017-06-23 10:24:26 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 166
|
|
|
|
startOffset : 158
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
[5] : {
|
|
|
|
functionName : nested_3
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 158
|
|
|
|
startOffset : 136
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[6] : {
|
|
|
|
functionName : nested_4
|
|
|
|
isBlockCoverage : false
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 201
|
|
|
|
startOffset : 179
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseCountCoveragePartial
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName : nested_1
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 172
|
|
|
|
startOffset : 64
|
|
|
|
}
|
2017-06-23 10:24:26 +00:00
|
|
|
[1] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 172
|
|
|
|
startOffset : 166
|
|
|
|
}
|
2017-06-22 13:29:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : nested_2
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 166
|
|
|
|
startOffset : 99
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : testPreciseCountCoveragePartial
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
isBlockCoverage : true
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 3
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|