Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed Apr 1, 2021
1 parent d83edf3 commit 6996e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/context/trace-context.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ test('Should complete trace ', async function (t) {
await util.sleep(501)

traceContext.completeTraceObject(trace)
t.ok(trace.spanRecorder.span.elapsedTime > 500)
t.ok(trace.spanRecorder.span.elapsedTime > 0)
})

test('new Trace', (t) => {
t.plan(4)

const dut = TraceContext.init(fixture.getAgentInfo(), dataSenderMock(), fixture.config)
t.true( dut.isSampling != null, 'dut is not null')
t.true(dut.isSampling != null, 'dut is not null')

const req = {
url: "http://test.com",
Expand Down

3 comments on commit 6996e79

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

78.91%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
lib
   agent.js74.70%62.50%75%78.18%130, 130, 130–134, 136, 140, 142–143, 29–32, 57–58, 79
   config.js94.27%89.80%100%95.24%106, 14, 151–152, 170–171, 177, 199, 209
lib/client
   data-sender-factory.js100%100%100%100%
   data-sender.js49.15%36.36%42.86%60%24, 28, 28, 28–29, 39, 41, 41, 41–43, 43, 43–44, 49, 49, 49–50, 55, 55, 55–56, 61, 61, 61–62
   grpc-bidirectional-stream.js75.68%50%100%80%17–18, 22–23, 29, 29–30, 34–35
   grpc-client-side-stream.js83.33%72.22%100%88%22–23, 25–27, 38, 38–39
   grpc-data-sender.js73.89%48%92%81.90%106–107, 110, 119, 119, 119–120, 130–131, 137, 145–146, 152, 161–162, 166, 166, 166, 166, 166–167, 175–176, 180, 180, 180, 180, 180–181, 189–190, 194, 194, 194, 194, 194–195, 201–202, 202, 202–203, 205, 210–211
   grpc-stream.js92.50%76.92%100%100%26, 43, 48
   grpc-unary-rpc.js97.30%88.89%100%100%36
   pinpoint-client.js58.33%100%33.33%66.67%20, 23, 27
lib/constant
   annotation-key.js100%100%100%100%
   annotation.js100%100%100%100%
   commaned-type.js100%100%100%100%
   http-header.js100%100%100%100%
   method-descriptor.js100%100%100%100%
   method-type.js100%100%100%100%
   service-type.js100%100%100%100%
   valued-type.js100%100%100%100%
lib/context
   annotation-key.js78.95%33.33%100%84.62%21, 23, 25–26
   annotation.js100%100%100%100%
   api-meta-service.js90.91%50%100%95.83%30, 35, 48
   async-id-accessor.js71.43%100%50%80%10
   async-id.js100%100%100%100%
   async-method-descriptor.js100%100%100%100%
   async-trace.js91.67%75%83.33%94.74%53, 66–67
   buffered-storage.js93.88%76.92%100%100%23, 34, 63
   context-manager.js94.44%75%100%100%15, 28
   disable-async-trace.js25%100%0%50%13, 21
   disable-span-event-recorder.js31.03%0%20%50%36, 36, 36–38, 40, 42, 67
   disable-trace.js43.75%0%44.44%62.50%33, 33, 33–35, 40, 40, 40–41, 50, 50, 50, 50
   id-generator.js100%100%100%100%
   method-descriptor.js100%100%100%100%
   sequence-generator.js86.67%75%100%87.50%17–18
   service-type.js75%40%100%80%24, 26, 26, 31–32, 37–38
   span-chunk.js91.53%70%100%95%15–16, 58, 68–69
   span-event-recorder.js62.90%54.55%68.75%69.81%102, 102, 102, 102, 102–104, 109, 115, 115, 115, 115, 115–116, 116, 116–117, 121, 121, 121, 121, 121–123, 129, 27, 31, 38, 44, 50, 56–57, 62, 66, 72, 78–81, 89, 96
   span-event.js92.31%80%100%96%10–11, 36
   span-events.js95.56%87.50%100%96.67%22, 25
   span-recorder.js64.56%56.10%80%71.43%19, 26, 32–35, 44, 50, 56, 62, 68, 68, 68, 68, 68–69, 69, 69–70, 74, 79, 79, 79, 79, 79–80
   span.js94.67%72.73%100%98.31%15–16, 46, 61
   string-meta-service.js34.48%0%50%38.10%25, 25, 25, 27–28, 28, 28–33, 35, 39–40, 42, 44
   trace-context.js93.48%91.30%100%93.22%26–27, 68–69, 84, 97
   trace-id.js100%100%100%100%
   trace.js63.11%41.38%75%70.97%100, 102–103, 107, 107, 107, 107, 107, 109–111, 119, 119, 119, 119, 52–53, 57–59, 62, 64, 67–68, 68, 68, 68, 68–70, 84, 91, 97–99
   transaction-id.js88.89%80%100%92.86%30, 32, 36
lib/data
   grpc-data-convertor.js59.11%43.14%69.57%62.05%100–101, 111–112, 123, 123, 123, 123, 123–124, 129, 129, 129–130, 132–141, 143–144, 148–149, 157–158, 16–17, 174–175, 184–185, 191, 191, 191–192, 194, 196–198, 200–203, 207, 210–211, 213–216, 232, 234–235, 235, 235, 235, 235, 235–236, 239–240, 244–245, 32–33, 44–45, 54, 54, 54–55, 57–60, 62, 62, 62–64, 67–78, 80–81, 83–84, 88–89
   typed-value.js53.33%40%66.67%59.26%15, 15, 15, 20–21, 26, 26, 26–27, 29, 31–32, 37, 45–47, 49, 49, 49–50
lib/data/dto
   agent-info.js95.24%0%100%100%14
   api-meta-info.js87.50%0%100%100%10
   string-meta-info.js85.71%0%100%100%10
lib/instrumentation
   http-shared.js74.36%57.14%92.31%80.85%106–107, 137, 140, 140, 140–141, 141, 141–142, 144, 144, 144–145, 147, 155, 37–38, 40–41, 53, 64–65, 65, 65, 65, 65–66, 66, 66–67, 69, 71, 88–89, 89, 89–90, 92
   module-hook.js82.46%66.67%100%83.33%38, 43, 51–52, 55, 68, 94, 94, 94–95
   request-data.js100%100%100%100%
   request-header-utils.js87.50%70.37%100%94.55%19–20, 25, 40, 42, 47, 62–63, 73–74, 78
lib/instrumentation/module
   express.js60.66%41.18%75%66.67%106–109, 111, 111, 111, 111, 111–116, 116, 116–117, 119, 122–123, 123, 123–124, 126–127, 132, 132, 132–133, 135, 33, 38, 38, 38, 52, 52, 52, 52, 54–55, 64, 75, 90, 93
   http.js100%100%100%100%
   https.js94.12%80%100%100%19
   koa-router.js25%6.25%28.57%31.11%17–19, 28, 28, 28, 32–35, 40–41, 41, 41–43, 43, 43, 45–46, 46, 46–50, 50, 50–53, 55, 57, 57, 57–61, 63, 65, 65, 65–66, 69, 74
   redis.js89.86%76.19%100%95.35%17–19, 32, 34, 53, 65
lib/metric
   active-trace-histogram.js6.90%0%0%11.76%13, 13, 13–18, 22, 22, 22–23, 26, 26, 26–28, 28, 28–30, 30, 30–31, 33
   active-trace.js65.45%64.29%57.14%67.65%26–27, 46–47, 51, 53, 53, 53–54, 57–58, 58, 58–60, 63
   agent-stats-monitor.js14.29%0%0%21.05%15–18, 22, 26, 26, 26–27, 29–31, 33–35, 38, 44
   histogram-schema.js100%100%100%100%
   ping-scheduler.js12.50%0%0%18.18%12–15, 17–18, 22, 22, 22–23, 25
   resource-stats-collector.js20%25%0%25%10, 18–19, 23, 30–31, 38–39, 41–45, 47, 47, 47, 49, 51
   v8-compatibility.js95.24%100%100%92.86%21
lib/sampler
   sampler.js60.87%37.50%100%69.23%17, 20, 20, 20–21, 21, 21–22, 24
   sampling-flag.js55.56%16.67%100%70%16, 20, 20, 20, 20, 20–21, 23
lib/utils
   ant-path-matcher.js84.59%79.82%86.36%87.36%107, 107, 109, 124, 126–127, 127, 127–128, 131, 166–167, 175–176, 219, 225, 237–238, 242, 252, 257, 272, 276, 302, 304, 307–311, 324, 330–331, 335, 42–44, 55, 55, 55, 55, 55–56, 58, 92–93
   convert-utils.js47.37%25%50%66.67%10–11, 11–12, 12, 17–18, 21–22
   logger.js78.05%70%88.89%77.27%25, 25, 25–27, 29, 37–38
   scheduler.js78.85%64.29%90.91%81.48%15, 22–24, 26–27, 50–52, 60
   simple-cache.js66.67%68.75%55.56%69.57%30, 32–33, 40–41, 41, 41–43, 48, 53, 57
   string-utils.js66.67%100%0%100%

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

78.91%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
lib
   agent.js74.70%62.50%75%78.18%130, 130, 130–134, 136, 140, 142–143, 29–32, 57–58, 79
   config.js94.27%89.80%100%95.24%106, 14, 151–152, 170–171, 177, 199, 209
lib/client
   data-sender-factory.js100%100%100%100%
   data-sender.js49.15%36.36%42.86%60%24, 28, 28, 28–29, 39, 41, 41, 41–43, 43, 43–44, 49, 49, 49–50, 55, 55, 55–56, 61, 61, 61–62
   grpc-bidirectional-stream.js75.68%50%100%80%17–18, 22–23, 29, 29–30, 34–35
   grpc-client-side-stream.js83.33%72.22%100%88%22–23, 25–27, 38, 38–39
   grpc-data-sender.js73.89%48%92%81.90%106–107, 110, 119, 119, 119–120, 130–131, 137, 145–146, 152, 161–162, 166, 166, 166, 166, 166–167, 175–176, 180, 180, 180, 180, 180–181, 189–190, 194, 194, 194, 194, 194–195, 201–202, 202, 202–203, 205, 210–211
   grpc-stream.js92.50%76.92%100%100%26, 43, 48
   grpc-unary-rpc.js97.30%88.89%100%100%36
   pinpoint-client.js58.33%100%33.33%66.67%20, 23, 27
lib/constant
   annotation-key.js100%100%100%100%
   annotation.js100%100%100%100%
   commaned-type.js100%100%100%100%
   http-header.js100%100%100%100%
   method-descriptor.js100%100%100%100%
   method-type.js100%100%100%100%
   service-type.js100%100%100%100%
   valued-type.js100%100%100%100%
lib/context
   annotation-key.js78.95%33.33%100%84.62%21, 23, 25–26
   annotation.js100%100%100%100%
   api-meta-service.js90.91%50%100%95.83%30, 35, 48
   async-id-accessor.js71.43%100%50%80%10
   async-id.js100%100%100%100%
   async-method-descriptor.js100%100%100%100%
   async-trace.js91.67%75%83.33%94.74%53, 66–67
   buffered-storage.js93.88%76.92%100%100%23, 34, 63
   context-manager.js97.22%87.50%100%100%28
   disable-async-trace.js25%100%0%50%13, 21
   disable-span-event-recorder.js31.03%0%20%50%36, 36, 36–38, 40, 42, 67
   disable-trace.js43.75%0%44.44%62.50%33, 33, 33–35, 40, 40, 40–41, 50, 50, 50, 50
   id-generator.js100%100%100%100%
   method-descriptor.js100%100%100%100%
   sequence-generator.js86.67%75%100%87.50%17–18
   service-type.js75%40%100%80%24, 26, 26, 31–32, 37–38
   span-chunk.js91.53%70%100%95%15–16, 58, 68–69
   span-event-recorder.js62.90%54.55%68.75%69.81%102, 102, 102, 102, 102–104, 109, 115, 115, 115, 115, 115–116, 116, 116–117, 121, 121, 121, 121, 121–123, 129, 27, 31, 38, 44, 50, 56–57, 62, 66, 72, 78–81, 89, 96
   span-event.js92.31%80%100%96%10–11, 36
   span-events.js95.56%87.50%100%96.67%22, 25
   span-recorder.js64.56%56.10%80%71.43%19, 26, 32–35, 44, 50, 56, 62, 68, 68, 68, 68, 68–69, 69, 69–70, 74, 79, 79, 79, 79, 79–80
   span.js94.67%72.73%100%98.31%15–16, 46, 61
   string-meta-service.js34.48%0%50%38.10%25, 25, 25, 27–28, 28, 28–33, 35, 39–40, 42, 44
   trace-context.js93.48%91.30%100%93.22%26–27, 68–69, 84, 97
   trace-id.js100%100%100%100%
   trace.js63.11%41.38%75%70.97%100, 102–103, 107, 107, 107, 107, 107, 109–111, 119, 119, 119, 119, 52–53, 57–59, 62, 64, 67–68, 68, 68, 68, 68–70, 84, 91, 97–99
   transaction-id.js88.89%80%100%92.86%30, 32, 36
lib/data
   grpc-data-convertor.js59.11%43.14%69.57%62.05%100–101, 111–112, 123, 123, 123, 123, 123–124, 129, 129, 129–130, 132–141, 143–144, 148–149, 157–158, 16–17, 174–175, 184–185, 191, 191, 191–192, 194, 196–198, 200–203, 207, 210–211, 213–216, 232, 234–235, 235, 235, 235, 235, 235–236, 239–240, 244–245, 32–33, 44–45, 54, 54, 54–55, 57–60, 62, 62, 62–64, 67–78, 80–81, 83–84, 88–89
   typed-value.js53.33%40%66.67%59.26%15, 15, 15, 20–21, 26, 26, 26–27, 29, 31–32, 37, 45–47, 49, 49, 49–50
lib/data/dto
   agent-info.js95.24%0%100%100%14
   api-meta-info.js87.50%0%100%100%10
   string-meta-info.js85.71%0%100%100%10
lib/instrumentation
   http-shared.js74.36%57.14%92.31%80.85%106–107, 137, 140, 140, 140–141, 141, 141–142, 144, 144, 144–145, 147, 155, 37–38, 40–41, 53, 64–65, 65, 65, 65, 65–66, 66, 66–67, 69, 71, 88–89, 89, 89–90, 92
   module-hook.js82.46%66.67%100%83.33%38, 43, 51–52, 55, 68, 94, 94, 94–95
   request-data.js100%100%100%100%
   request-header-utils.js87.50%70.37%100%94.55%19–20, 25, 40, 42, 47, 62–63, 73–74, 78
lib/instrumentation/module
   express.js60.66%41.18%75%66.67%106–109, 111, 111, 111, 111, 111–116, 116, 116–117, 119, 122–123, 123, 123–124, 126–127, 132, 132, 132–133, 135, 33, 38, 38, 38, 52, 52, 52, 52, 54–55, 64, 75, 90, 93
   http.js100%100%100%100%
   https.js94.12%80%100%100%19
   koa-router.js25%6.25%28.57%31.11%17–19, 28, 28, 28, 32–35, 40–41, 41, 41–43, 43, 43, 45–46, 46, 46–50, 50, 50–53, 55, 57, 57, 57–61, 63, 65, 65, 65–66, 69, 74
   redis.js89.86%76.19%100%95.35%17–19, 32, 34, 53, 65
lib/metric
   active-trace-histogram.js6.90%0%0%11.76%13, 13, 13–18, 22, 22, 22–23, 26, 26, 26–28, 28, 28–30, 30, 30–31, 33
   active-trace.js65.45%64.29%57.14%67.65%26–27, 46–47, 51, 53, 53, 53–54, 57–58, 58, 58–60, 63
   agent-stats-monitor.js14.29%0%0%21.05%15–18, 22, 26, 26, 26–27, 29–31, 33–35, 38, 44
   histogram-schema.js100%100%100%100%
   ping-scheduler.js12.50%0%0%18.18%12–15, 17–18, 22, 22, 22–23, 25
   resource-stats-collector.js20%25%0%25%10, 18–19, 23, 30–31, 38–39, 41–45, 47, 47, 47, 49, 51
   v8-compatibility.js95.24%100%100%92.86%21
lib/sampler
   sampler.js60.87%37.50%100%69.23%17, 20, 20, 20–21, 21, 21–22, 24
   sampling-flag.js55.56%16.67%100%70%16, 20, 20, 20, 20, 20–21, 23
lib/utils
   ant-path-matcher.js84.59%79.82%86.36%87.36%107, 107, 109, 124, 126–127, 127, 127–128, 131, 166–167, 175–176, 219, 225, 237–238, 242, 252, 257, 272, 276, 302, 304, 307–311, 324, 330–331, 335, 42–44, 55, 55, 55, 55, 55–56, 58, 92–93
   convert-utils.js47.37%25%50%66.67%10–11, 11–12, 12, 17–18, 21–22
   logger.js78.05%70%88.89%77.27%25, 25, 25–27, 29, 37–38
   scheduler.js78.85%64.29%90.91%81.48%15, 22–24, 26–27, 50–52, 60
   simple-cache.js66.67%68.75%55.56%69.57%30, 32–33, 40–41, 41, 41–43, 48, 53, 57
   string-utils.js66.67%100%0%100%

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

78.91%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
lib
   agent.js74.70%62.50%75%78.18%130, 130, 130–134, 136, 140, 142–143, 29–32, 57–58, 79
   config.js94.27%89.80%100%95.24%106, 14, 151–152, 170–171, 177, 199, 209
lib/client
   data-sender-factory.js100%100%100%100%
   data-sender.js49.15%36.36%42.86%60%24, 28, 28, 28–29, 39, 41, 41, 41–43, 43, 43–44, 49, 49, 49–50, 55, 55, 55–56, 61, 61, 61–62
   grpc-bidirectional-stream.js75.68%50%100%80%17–18, 22–23, 29, 29–30, 34–35
   grpc-client-side-stream.js83.33%72.22%100%88%22–23, 25–27, 38, 38–39
   grpc-data-sender.js73.89%48%92%81.90%106–107, 110, 119, 119, 119–120, 130–131, 137, 145–146, 152, 161–162, 166, 166, 166, 166, 166–167, 175–176, 180, 180, 180, 180, 180–181, 189–190, 194, 194, 194, 194, 194–195, 201–202, 202, 202–203, 205, 210–211
   grpc-stream.js92.50%76.92%100%100%26, 43, 48
   grpc-unary-rpc.js97.30%88.89%100%100%36
   pinpoint-client.js58.33%100%33.33%66.67%20, 23, 27
lib/constant
   annotation-key.js100%100%100%100%
   annotation.js100%100%100%100%
   commaned-type.js100%100%100%100%
   http-header.js100%100%100%100%
   method-descriptor.js100%100%100%100%
   method-type.js100%100%100%100%
   service-type.js100%100%100%100%
   valued-type.js100%100%100%100%
lib/context
   annotation-key.js78.95%33.33%100%84.62%21, 23, 25–26
   annotation.js100%100%100%100%
   api-meta-service.js90.91%50%100%95.83%30, 35, 48
   async-id-accessor.js71.43%100%50%80%10
   async-id.js100%100%100%100%
   async-method-descriptor.js100%100%100%100%
   async-trace.js91.67%75%83.33%94.74%53, 66–67
   buffered-storage.js93.88%76.92%100%100%23, 34, 63
   context-manager.js94.44%75%100%100%15, 28
   disable-async-trace.js25%100%0%50%13, 21
   disable-span-event-recorder.js31.03%0%20%50%36, 36, 36–38, 40, 42, 67
   disable-trace.js43.75%0%44.44%62.50%33, 33, 33–35, 40, 40, 40–41, 50, 50, 50, 50
   id-generator.js100%100%100%100%
   method-descriptor.js100%100%100%100%
   sequence-generator.js86.67%75%100%87.50%17–18
   service-type.js75%40%100%80%24, 26, 26, 31–32, 37–38
   span-chunk.js91.53%70%100%95%15–16, 58, 68–69
   span-event-recorder.js62.90%54.55%68.75%69.81%102, 102, 102, 102, 102–104, 109, 115, 115, 115, 115, 115–116, 116, 116–117, 121, 121, 121, 121, 121–123, 129, 27, 31, 38, 44, 50, 56–57, 62, 66, 72, 78–81, 89, 96
   span-event.js92.31%80%100%96%10–11, 36
   span-events.js95.56%87.50%100%96.67%22, 25
   span-recorder.js64.56%56.10%80%71.43%19, 26, 32–35, 44, 50, 56, 62, 68, 68, 68, 68, 68–69, 69, 69–70, 74, 79, 79, 79, 79, 79–80
   span.js94.67%72.73%100%98.31%15–16, 46, 61
   string-meta-service.js34.48%0%50%38.10%25, 25, 25, 27–28, 28, 28–33, 35, 39–40, 42, 44
   trace-context.js93.48%91.30%100%93.22%26–27, 68–69, 84, 97
   trace-id.js100%100%100%100%
   trace.js63.11%41.38%75%70.97%100, 102–103, 107, 107, 107, 107, 107, 109–111, 119, 119, 119, 119, 52–53, 57–59, 62, 64, 67–68, 68, 68, 68, 68–70, 84, 91, 97–99
   transaction-id.js88.89%80%100%92.86%30, 32, 36
lib/data
   grpc-data-convertor.js59.11%43.14%69.57%62.05%100–101, 111–112, 123, 123, 123, 123, 123–124, 129, 129, 129–130, 132–141, 143–144, 148–149, 157–158, 16–17, 174–175, 184–185, 191, 191, 191–192, 194, 196–198, 200–203, 207, 210–211, 213–216, 232, 234–235, 235, 235, 235, 235, 235–236, 239–240, 244–245, 32–33, 44–45, 54, 54, 54–55, 57–60, 62, 62, 62–64, 67–78, 80–81, 83–84, 88–89
   typed-value.js53.33%40%66.67%59.26%15, 15, 15, 20–21, 26, 26, 26–27, 29, 31–32, 37, 45–47, 49, 49, 49–50
lib/data/dto
   agent-info.js95.24%0%100%100%14
   api-meta-info.js87.50%0%100%100%10
   string-meta-info.js85.71%0%100%100%10
lib/instrumentation
   http-shared.js74.36%57.14%92.31%80.85%106–107, 137, 140, 140, 140–141, 141, 141–142, 144, 144, 144–145, 147, 155, 37–38, 40–41, 53, 64–65, 65, 65, 65, 65–66, 66, 66–67, 69, 71, 88–89, 89, 89–90, 92
   module-hook.js82.46%66.67%100%83.33%38, 43, 51–52, 55, 68, 94, 94, 94–95
   request-data.js100%100%100%100%
   request-header-utils.js87.50%70.37%100%94.55%19–20, 25, 40, 42, 47, 62–63, 73–74, 78
lib/instrumentation/module
   express.js60.66%41.18%75%66.67%106–109, 111, 111, 111, 111, 111–116, 116, 116–117, 119, 122–123, 123, 123–124, 126–127, 132, 132, 132–133, 135, 33, 38, 38, 38, 52, 52, 52, 52, 54–55, 64, 75, 90, 93
   http.js100%100%100%100%
   https.js94.12%80%100%100%19
   koa-router.js25%6.25%28.57%31.11%17–19, 28, 28, 28, 32–35, 40–41, 41, 41–43, 43, 43, 45–46, 46, 46–50, 50, 50–53, 55, 57, 57, 57–61, 63, 65, 65, 65–66, 69, 74
   redis.js89.86%76.19%100%95.35%17–19, 32, 34, 53, 65
lib/metric
   active-trace-histogram.js6.90%0%0%11.76%13, 13, 13–18, 22, 22, 22–23, 26, 26, 26–28, 28, 28–30, 30, 30–31, 33
   active-trace.js65.45%64.29%57.14%67.65%26–27, 46–47, 51, 53, 53, 53–54, 57–58, 58, 58–60, 63
   agent-stats-monitor.js14.29%0%0%21.05%15–18, 22, 26, 26, 26–27, 29–31, 33–35, 38, 44
   histogram-schema.js100%100%100%100%
   ping-scheduler.js12.50%0%0%18.18%12–15, 17–18, 22, 22, 22–23, 25
   resource-stats-collector.js20%25%0%25%10, 18–19, 23, 30–31, 38–39, 41–45, 47, 47, 47, 49, 51
   v8-compatibility.js95.24%100%100%92.86%21
lib/sampler
   sampler.js60.87%37.50%100%69.23%17, 20, 20, 20–21, 21, 21–22, 24
   sampling-flag.js55.56%16.67%100%70%16, 20, 20, 20, 20, 20–21, 23
lib/utils
   ant-path-matcher.js84.59%79.82%86.36%87.36%107, 107, 109, 124, 126–127, 127, 127–128, 131, 166–167, 175–176, 219, 225, 237–238, 242, 252, 257, 272, 276, 302, 304, 307–311, 324, 330–331, 335, 42–44, 55, 55, 55, 55, 55–56, 58, 92–93
   convert-utils.js47.37%25%50%66.67%10–11, 11–12, 12, 17–18, 21–22
   logger.js78.05%70%88.89%77.27%25, 25, 25–27, 29, 37–38
   scheduler.js78.85%64.29%90.91%81.48%15, 22–24, 26–27, 50–52, 60
   simple-cache.js66.67%68.75%55.56%69.57%30, 32–33, 40–41, 41, 41–43, 48, 53, 57
   string-utils.js66.67%100%0%100%

Please sign in to comment.