Skip to content

Commit

Permalink
pinpoint-apm#86 Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed May 20, 2021
1 parent 1125902 commit efd335c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/client/grpc-data-sender-client-side-stream.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ test('gRPC client side stream reconnect test', (t) => {
t.deepEqual(actuals.data, {}, 'actuals data')
t.false(actuals.ended, 'client side stream lives')

given.deadline = given.deadline - (5 * 60 * 1000 + 100)
given.deadline = given.deadline - (10 * 60 * 1000 + 100)
const fistDeadline = given.deadline
given.write({ order: 2 })
t.deepEqual(actuals.data, { order: 2 }, 'actuals data is order: 2')
Expand Down Expand Up @@ -512,7 +512,7 @@ test('stream deadline test', (t) => {
}
}
})
t.equal(given.grpcStreamDeadline, 5 * 60 * 1000, 'default dealine times')
t.equal(given.grpcStreamDeadline, 10 * 60 * 1000, 'default dealine times')

given.setDeadlineMinutes(6)
t.equal(given.grpcStreamDeadline, 6 * 60 * 1000, '6 minutes dealine times')
Expand Down

3 comments on commit efd335c

@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.94%

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.js92.35%88.89%100%92.31%105, 150–151, 169–171, 175, 178, 182–183, 189, 211, 221
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.js66.67%42.11%100%78.95%17, 17, 17–18, 22, 22–23, 27, 27, 27–28, 32, 32, 32–33
   grpc-client-side-stream.js73.13%57.14%87.50%83.87%22–23, 25–27, 38, 38, 38, 38, 38, 38–39, 43, 43, 43–44, 65
   grpc-data-sender.js73.44%51.72%92%80.73%113–114, 117, 126, 126, 126–127, 137–138, 144, 152–153, 159, 168–169, 173, 173, 173, 173, 173–174, 182–183, 187, 187, 187, 187, 187–188, 196–197, 201, 201, 201, 201, 201–202, 208–209, 209, 209–210, 212, 217–218, 81–82, 90–91
   grpc-stream.js95.18%88.89%100%97.83%37–38, 78, 96
   grpc-unary-rpc.js97.44%90.91%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.js61.29%41.18%75%67.57%108–111, 113, 113, 113, 113, 113–118, 118, 118–119, 121, 124–125, 125, 125–126, 128–129, 134, 134, 134–135, 137, 33, 38, 38, 38, 52, 52, 52, 52, 54–55, 66, 77, 92, 95
   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.94%

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.js92.35%88.89%100%92.31%105, 150–151, 169–171, 175, 178, 182–183, 189, 211, 221
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.js66.67%42.11%100%78.95%17, 17, 17–18, 22, 22–23, 27, 27, 27–28, 32, 32, 32–33
   grpc-client-side-stream.js73.13%57.14%87.50%83.87%22–23, 25–27, 38, 38, 38, 38, 38, 38–39, 43, 43, 43–44, 65
   grpc-data-sender.js73.44%51.72%92%80.73%113–114, 117, 126, 126, 126–127, 137–138, 144, 152–153, 159, 168–169, 173, 173, 173, 173, 173–174, 182–183, 187, 187, 187, 187, 187–188, 196–197, 201, 201, 201, 201, 201–202, 208–209, 209, 209–210, 212, 217–218, 81–82, 90–91
   grpc-stream.js95.18%88.89%100%97.83%37–38, 78, 96
   grpc-unary-rpc.js97.44%90.91%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.js61.29%41.18%75%67.57%108–111, 113, 113, 113, 113, 113–118, 118, 118–119, 121, 124–125, 125, 125–126, 128–129, 134, 134, 134–135, 137, 33, 38, 38, 38, 52, 52, 52, 52, 54–55, 66, 77, 92, 95
   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.94%

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.js92.35%88.89%100%92.31%105, 150–151, 169–171, 175, 178, 182–183, 189, 211, 221
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.js66.67%42.11%100%78.95%17, 17, 17–18, 22, 22–23, 27, 27, 27–28, 32, 32, 32–33
   grpc-client-side-stream.js73.13%57.14%87.50%83.87%22–23, 25–27, 38, 38, 38, 38, 38, 38–39, 43, 43, 43–44, 65
   grpc-data-sender.js73.44%51.72%92%80.73%113–114, 117, 126, 126, 126–127, 137–138, 144, 152–153, 159, 168–169, 173, 173, 173, 173, 173–174, 182–183, 187, 187, 187, 187, 187–188, 196–197, 201, 201, 201, 201, 201–202, 208–209, 209, 209–210, 212, 217–218, 81–82, 90–91
   grpc-stream.js95.18%88.89%100%97.83%37–38, 78, 96
   grpc-unary-rpc.js97.44%90.91%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.js61.29%41.18%75%67.57%108–111, 113, 113, 113, 113, 113–118, 118, 118–119, 121, 124–125, 125, 125–126, 128–129, 134, 134, 134–135, 137, 33, 38, 38, 38, 52, 52, 52, 52, 54–55, 66, 77, 92, 95
   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.