2017-02-25 02:44:56 +00:00
|
|
|
Test collecting code coverage data with Profiler.collectCoverage.
|
2017-02-22 10:21:57 +00:00
|
|
|
|
2017-03-06 20:49:11 +00:00
|
|
|
Running test: testPreciseBaseline
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName : fib
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
2017-03-06 20:49:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName : fib
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
2017-03-06 20:49:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-22 10:21:57 +00:00
|
|
|
Running test: testPreciseCoverage
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 119
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 15
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : iife
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 106
|
|
|
|
startOffset : 75
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : 1
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 11
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 119
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : iife
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 106
|
|
|
|
startOffset : 75
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : 1
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 11
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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: testBestEffortCoveragePrecise
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
description : 8
|
|
|
|
type : number
|
|
|
|
value : 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 119
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 15
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : iife
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 106
|
|
|
|
startOffset : 75
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : 4
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 11
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 119
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : fib
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 15
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 73
|
|
|
|
startOffset : 1
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : iife
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 106
|
|
|
|
startOffset : 75
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : 4
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
2017-03-08 07:23:21 +00:00
|
|
|
endOffset : 11
|
|
|
|
startOffset : 0
|
2017-02-22 10:21:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2017-03-20 14:00:02 +00:00
|
|
|
|
|
|
|
Running test: testEnablePreciseCoverageAtPause
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : undefined
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 114
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functionName : g
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 29
|
|
|
|
startOffset : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[2] : {
|
|
|
|
functionName : f
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 4
|
|
|
|
endOffset : 83
|
|
|
|
startOffset : 30
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
[3] : {
|
|
|
|
functionName : h
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 0
|
|
|
|
endOffset : 107
|
|
|
|
startOffset : 84
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : 5
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
functions : [
|
|
|
|
[0] : {
|
|
|
|
functionName :
|
|
|
|
ranges : [
|
|
|
|
[0] : {
|
|
|
|
count : 1
|
|
|
|
endOffset : 11
|
|
|
|
startOffset : 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|