yarpc / yarpc-go
Files Coverage
api/backoff/none.go 100.00%
api/encoding/call.go 100.00%
api/encoding/call_option.go 100.00%
api/encoding/inbound_call.go 100.00%
api/encoding/outbound_call.go 100.00%
api/middleware/inbound.go 100.00%
api/middleware/outbound.go 92.21%
api/middleware/router.go 100.00%
api/peer/connectionstatus_string.go 50.00%
api/peer/errors.go 100.00%
api/peer/status_stringer.go 100.00%
api/transport/errors.go 100.00%
api/transport/handler.go 100.00%
api/transport/handler_invoker.go 100.00%
api/transport/header.go 100.00%
api/transport/outboundconfig.go 100.00%
api/transport/propagation.go 100.00%
api/transport/request.go 93.10%
api/transport/router.go 100.00%
api/transport/stream.go 84.21%
api/transport/type_string.go 100.00%
api/x/restriction/restricter.go 100.00%
call.go 100.00%
compressor/grpc/grpc.go 100.00%
compressor/gzip/gzip.go 86.27%
compressor/snappy/snappy.go 100.00%
config.go 80.56%
dispatcher.go 96.23%
dispatcher_introspection.go 85.71%
dispatcher_startup.go 91.07%
encoding/json/inbound.go 48.89%
encoding/json/outbound.go 83.33%
encoding/json/register.go 90.43%
encoding/protobuf/error.go 98.25%
encoding/protobuf/inbound.go 65.52%
encoding/protobuf/marshal.go 94.64%
encoding/protobuf/outbound.go 74.23%
encoding/protobuf/protobuf.go 77.32%
encoding/protobuf/protoc-gen-yarpc-go-v2/internal/lib/lib.go 0.00%
encoding/protobuf/protoc-gen-yarpc-go-v2/main.go 0.00%
encoding/protobuf/protoc-gen-yarpc-go/internal/lib/lib.go 0.00%
encoding/protobuf/protoc-gen-yarpc-go/main.go 0.00%
encoding/protobuf/stream.go 100.00%
encoding/protobuf/v2/error.go 98.20%
encoding/protobuf/v2/inbound.go 55.17%
encoding/protobuf/v2/marshal.go 94.92%
encoding/protobuf/v2/outbound.go 58.76%
encoding/protobuf/v2/protobuf.go 75.26%
encoding/protobuf/v2/stream.go 100.00%
encoding/raw/inbound.go 44.83%
encoding/raw/outbound.go 85.37%
encoding/raw/register.go 41.67%
encoding/thrift/envelope.go 100.00%
encoding/thrift/inbound.go 93.02%
encoding/thrift/inbound_nowire.go 90.24%
encoding/thrift/inject.go 100.00%
encoding/thrift/multiplex.go 100.00%
encoding/thrift/options.go 92.31%
encoding/thrift/outbound.go 82.69%
encoding/thrift/outbound_nowire.go 90.65%
encoding/thrift/register.go 83.02%
encoding/thrift/thriftrw-plugin-yarpc/client.go 100.00%
encoding/thrift/thriftrw-plugin-yarpc/exception.go 88.00%
encoding/thrift/thriftrw-plugin-yarpc/fx.go 100.00%
encoding/thrift/thriftrw-plugin-yarpc/gomock.go 100.00%
encoding/thrift/thriftrw-plugin-yarpc/main.go 82.00%
encoding/thrift/thriftrw-plugin-yarpc/server.go 100.00%
encoding/thrift/thriftrw-plugin-yarpc/template.go 81.25%
errors.go 100.00%
header.go 100.00%
inject.go 96.55%
internal/backoff/exponential.go 85.71%
internal/bufferpool/buffer.go 100.00%
internal/bufferpool/bufferpool.go 91.67%
internal/clientconfig/multioutbound.go 100.00%
internal/config/attributemap.go 100.00%
internal/config/mapdecode.go 100.00%
internal/crossdock/client/apachethrift/behavior.go 100.00%
internal/crossdock/client/ctxpropagation/behavior.go 88.76%
internal/crossdock/client/dispatcher/dispatcher.go 100.00%
internal/crossdock/client/echo/behavior.go 100.00%
internal/crossdock/client/echo/json.go 100.00%
internal/crossdock/client/echo/protobuf.go 100.00%
internal/crossdock/client/echo/raw.go 100.00%
internal/crossdock/client/echo/thrift.go 100.00%
internal/crossdock/client/errorshttpclient/behavior.go 97.90%
internal/crossdock/client/errorstchclient/behavior.go 88.64%
internal/crossdock/client/gauntlet/behavior.go 92.43%
internal/crossdock/client/googlegrpcclient/googlegrpcclient.go 100.00%
internal/crossdock/client/googlegrpcserver/googlegrpcserver.go 100.00%
internal/crossdock/client/grpc/grpc.go 66.67%
internal/crossdock/client/headers/behavior.go 98.15%
internal/crossdock/client/httpserver/behavior.go 89.29%
internal/crossdock/client/oneway/json.go 90.48%
internal/crossdock/client/oneway/oneway.go 90.91%
internal/crossdock/client/oneway/raw.go 88.24%
internal/crossdock/client/oneway/thrift.go 87.50%
internal/crossdock/client/onewayctxpropagation/behavior.go 90.48%
internal/crossdock/client/random/rand.go 71.43%
internal/crossdock/client/start.go 100.00%
internal/crossdock/client/tchclient/behavior.go 88.24%
internal/crossdock/client/tchclient/json.go 100.00%
internal/crossdock/client/tchclient/raw.go 100.00%
internal/crossdock/client/tchclient/thrift.go 95.96%
internal/crossdock/client/tchserver/behavior.go 92.31%
internal/crossdock/client/tchserver/json.go 92.59%
internal/crossdock/client/tchserver/raw.go 77.50%
internal/crossdock/client/tchserver/skip.go 50.00%
internal/crossdock/client/tchserver/thrift.go 87.88%
internal/crossdock/client/timeout/behavior.go 80.00%
internal/crossdock/internal/header.go 100.00%
internal/crossdock/server/apachethrift/gauntlet.go 97.78%
internal/crossdock/server/apachethrift/server.go 85.19%
internal/crossdock/server/googlegrpc/echo.go 66.67%
internal/crossdock/server/googlegrpc/server.go 60.00%
internal/crossdock/server/http/server.go 66.67%
internal/crossdock/server/http/timeout.go 100.00%
internal/crossdock/server/oneway/echo.go 71.43%
internal/crossdock/server/oneway/server.go 66.67%
internal/crossdock/server/start.go 100.00%
internal/crossdock/server/tch/echo.go 80.00%
internal/crossdock/server/tch/gauntlet.go 100.00%
internal/crossdock/server/tch/server.go 42.31%
internal/crossdock/server/tch/timeout.go 77.78%
internal/crossdock/server/yarpc/echo.go 63.64%
internal/crossdock/server/yarpc/error.go 80.00%
internal/crossdock/server/yarpc/gauntlet.go 94.74%
internal/crossdock/server/yarpc/phone.go 80.00%
internal/crossdock/server/yarpc/second_service.go 100.00%
internal/crossdock/server/yarpc/server.go 75.00%
internal/crossdock/server/yarpc/sleep.go 81.82%
internal/digester/digester.go 100.00%
internal/errorsync/err.go 100.00%
internal/firstoutboundmiddleware/middleware.go 100.00%
internal/grpcctx/grpcctx.go 100.00%
internal/humanize/join.go 100.00%
internal/inboundcall/metadata.go 100.00%
internal/inboundmiddleware/chain.go 97.53%
internal/interpolate/parse.go 68.88%
internal/interpolate/types.go 84.00%
internal/introspection/router.go 53.33%
internal/iopool/copy.go 100.00%
internal/net/httpserver.go 90.00%
internal/observability/call.go 94.07%
internal/observability/codes.go 100.00%
internal/observability/extractor.go 100.00%
internal/observability/graph.go 93.13%
internal/observability/middleware.go 98.37%
internal/observability/stream.go 74.60%
internal/outboundmiddleware/chain.go 96.88%
internal/protoplugin-v2/generator.go 0.00%
internal/protoplugin-v2/multi_runner.go 100.00%
internal/protoplugin-v2/protoplugin.go 2.63%
internal/protoplugin-v2/registry.go 10.06%
internal/protoplugin-v2/runner.go 8.51%
internal/protoplugin-v2/utils.go 91.67%
internal/protoplugin/generator.go 0.00%
internal/protoplugin/multi_runner.go 100.00%
internal/protoplugin/protoplugin.go 5.26%
internal/protoplugin/registry.go 10.06%
internal/protoplugin/runner.go 23.40%
internal/request/validator_outbound.go 92.86%
internal/servicename.go 100.00%
internal/shard/main.go 83.33%
internal/testtime/scale.go 84.62%
internal/whitespace/expand.go 100.00%
internal/yarpcerrors/yarpcerrors.go 100.00%
middleware.go 100.00%
peer/abstractlist/list.go 97.17%
peer/abstractlist/peer.go 50.00%
peer/abstractpeer/peer.go 100.00%
peer/bind.go 75.44%
peer/direct/config.go 100.00%
peer/direct/direct.go 100.00%
peer/hashring32/config.go 100.00%
peer/hashring32/internal/farmhashring/fingerprint32.go 100.00%
peer/hashring32/internal/hashring32/hashring32.go 96.22%
peer/hashring32/internal/radixsort32/radixsort.go 100.00%
peer/hashring32/list.go 88.76%
peer/hashring32/ring.go 66.30%
peer/hostport/hostport.go 100.00%
peer/peerlist/list.go 69.89%
peer/peerlist/peer.go 76.92%
peer/peerlist/v2/list.go 71.33%
peer/peerlist/v2/peer.go 82.61%
peer/pendingheap/config.go 100.00%
peer/pendingheap/heap.go 95.51%
peer/pendingheap/list.go 89.09%
peer/pendingheap/score.go 100.00%
peer/randpeer/config.go 72.22%
peer/randpeer/list.go 80.95%
peer/randpeer/random.go 100.00%
peer/roundrobin/config.go 88.89%
peer/roundrobin/list.go 90.00%
peer/roundrobin/peerring.go 100.00%
peer/single.go 91.67%
peer/tworandomchoices/config.go 81.25%
peer/tworandomchoices/list.go 89.47%
peer/tworandomchoices/tworandomchoices.go 95.35%
peer/x/peerheap/config.go 100.00%
peer/x/peerheap/heap.go 100.00%
peer/x/peerheap/list.go 98.40%
peer/x/peerheap/score.go 100.00%
peer/x/roundrobin/deprecated.go 100.00%
pkg/encoding/encoding.go 100.00%
pkg/errors/client.go 100.00%
pkg/errors/errors.go 100.00%
pkg/errors/server.go 95.45%
pkg/lifecycle/once.go 95.06%
pkg/lifecycle/state_string.go 50.00%
pkg/procedure/procedure.go 100.00%
router.go 96.00%
serialize/serialize.go 76.47%
transport/grpc/codec.go 100.00%
transport/grpc/config.go 97.30%
transport/grpc/dialer.go 100.00%
transport/grpc/handler.go 90.00%
transport/grpc/headers.go 92.79%
transport/grpc/inbound.go 97.44%
transport/grpc/marshal.go 77.78%
transport/grpc/options.go 94.35%
transport/grpc/outbound.go 77.11%
transport/grpc/peer.go 96.61%
transport/grpc/response_writer.go 86.21%
transport/grpc/stream.go 91.49%
transport/grpc/transport.go 92.86%
transport/grpc/util.go 100.00%
transport/http/close_idle_go112.go 100.00%
transport/http/codes.go 100.00%
transport/http/config.go 95.74%
transport/http/handler.go 90.56%
transport/http/header.go 100.00%
transport/http/inbound.go 84.75%
transport/http/outbound.go 92.04%
transport/http/peer.go 95.24%
transport/http/request_sender.go 100.00%
transport/http/transport.go 93.53%
transport/http/ttl.go 100.00%
transport/internal/tls/dialer/dialer.go 100.00%
transport/internal/tls/metrics/observer.go 76.92%
transport/internal/tls/muxlistener/conn_sniffer.go 100.00%
transport/internal/tls/muxlistener/listener.go 93.88%
transport/internal/tls/muxlistener/tls_checker.go 100.00%
transport/internal/tls/testscenario/tlsscenario.go 100.00%
transport/tchannel/channel_inbound.go 93.10%
transport/tchannel/channel_outbound.go 81.11%
transport/tchannel/channel_transport.go 85.94%
transport/tchannel/config.go 93.85%
transport/tchannel/error.go 91.67%
transport/tchannel/handler.go 78.66%
transport/tchannel/header.go 97.87%
transport/tchannel/inbound.go 84.62%
transport/tchannel/internal/reader.go 100.00%
transport/tchannel/options.go 87.04%
transport/tchannel/outbound.go 77.03%
transport/tchannel/outbound_channel.go 100.00%
transport/tchannel/peer.go 96.51%
transport/tchannel/transport.go 87.42%
x/debug/debug.go 86.96%
x/debug/options.go 100.00%
yarpcconfig/backoff.go 100.00%
yarpcconfig/builder.go 98.77%
yarpcconfig/chooser.go 100.00%
yarpcconfig/configurator.go 84.81%
yarpcconfig/decode.go 66.32%
yarpcconfig/kit.go 100.00%
yarpcconfig/option.go 100.00%
yarpcconfig/spec.go 98.57%
yarpcerrors/codes.go 100.00%
yarpcerrors/errors.go 98.77%
Project Totals (270 files) 85.32%
Loading