src-d / go-git
Files Coverage
blame.go 58.40%
cli/go-git/main.go 0.00%
cli/go-git/receive_pack.go 0.00%
cli/go-git/upload_pack.go 0.00%
cli/go-git/version.go 0.00%
common.go 100.00%
config/branch.go 77.14%
config/config.go 88.00%
config/modules.go 91.67%
config/refspec.go 100.00%
internal/revision/parser.go 89.13%
internal/revision/scanner.go 90.48%
internal/url/url.go 100.00%
object_walker.go 73.91%
options.go 84.81%
plumbing/cache/buffer_lru.go 100.00%
plumbing/cache/object_lru.go 100.00%
plumbing/error.go 33.33%
plumbing/filemode/filemode.go 100.00%
plumbing/format/commitgraph/encoder.go 75.24%
plumbing/format/commitgraph/file.go 58.39%
plumbing/format/commitgraph/memory.go 86.21%
plumbing/format/config/common.go 100.00%
plumbing/format/config/decoder.go 100.00%
plumbing/format/config/encoder.go 62.50%
plumbing/format/config/option.go 89.58%
plumbing/format/config/section.go 69.39%
plumbing/format/diff/unified_encoder.go 95.03%
plumbing/format/gitattributes/attributes.go 86.60%
plumbing/format/gitattributes/dir.go 68.00%
plumbing/format/gitattributes/matcher.go 93.33%
plumbing/format/gitattributes/pattern.go 100.00%
plumbing/format/gitignore/dir.go 80.00%
plumbing/format/gitignore/matcher.go 100.00%
plumbing/format/gitignore/pattern.go 100.00%
plumbing/format/idxfile/decoder.go 68.67%
plumbing/format/idxfile/encoder.go 75.68%
plumbing/format/idxfile/idxfile.go 85.21%
plumbing/format/idxfile/writer.go 92.86%
plumbing/format/index/decoder.go 69.42%
plumbing/format/index/encoder.go 80.00%
plumbing/format/index/index.go 60.98%
plumbing/format/index/match.go 39.64%
plumbing/format/objfile/reader.go 79.55%
plumbing/format/objfile/writer.go 90.00%
plumbing/format/packfile/common.go 76.00%
plumbing/format/packfile/delta_index.go 100.00%
plumbing/format/packfile/delta_selector.go 78.18%
plumbing/format/packfile/diff_delta.go 91.07%
plumbing/format/packfile/encoder.go 84.47%
plumbing/format/packfile/error.go 60.00%
plumbing/format/packfile/fsobject.go 56.10%
plumbing/format/packfile/object_pack.go 89.39%
plumbing/format/packfile/packfile.go 69.97%
plumbing/format/packfile/parser.go 75.31%
plumbing/format/packfile/patch_delta.go 80.29%
plumbing/format/packfile/scanner.go 77.17%
plumbing/format/pktline/encoder.go 100.00%
plumbing/format/pktline/scanner.go 100.00%
plumbing/hash.go 100.00%
plumbing/memory.go 100.00%
plumbing/object.go 100.00%
plumbing/object/blob.go 73.58%
plumbing/object/change.go 96.61%
plumbing/object/change_adaptor.go 100.00%
plumbing/object/commit.go 73.26%
plumbing/object/commit_walker.go 81.99%
plumbing/object/commit_walker_bfs.go 80.00%
plumbing/object/commit_walker_bfs_filtered.go 86.84%
plumbing/object/commit_walker_ctime.go 82.22%
plumbing/object/commit_walker_file.go 83.33%
plumbing/object/commit_walker_limit.go 80.00%
plumbing/object/commitgraph/commitnode.go 71.43%
plumbing/object/commitgraph/commitnode_graph.go 70.91%
plumbing/object/commitgraph/commitnode_object.go 80.00%
plumbing/object/commitgraph/commitnode_walker_ctime.go 71.74%
plumbing/object/common.go 100.00%
plumbing/object/difftree.go 92.31%
plumbing/object/file.go 76.92%
plumbing/object/merge_base.go 93.33%
plumbing/object/object.go 80.00%
plumbing/object/patch.go 80.49%
plumbing/object/tag.go 76.10%
plumbing/object/tree.go 81.58%
plumbing/object/treenoder.go 80.36%
plumbing/protocol/packp/advrefs.go 77.27%
plumbing/protocol/packp/advrefs_decode.go 93.66%
plumbing/protocol/packp/advrefs_encode.go 87.34%
plumbing/protocol/packp/capability/capability.go 100.00%
plumbing/protocol/packp/capability/list.go 97.53%
plumbing/protocol/packp/common.go 100.00%
plumbing/protocol/packp/report_status.go 91.89%
plumbing/protocol/packp/shallowupd.go 83.33%
plumbing/protocol/packp/sideband/common.go 100.00%
plumbing/protocol/packp/sideband/demux.go 100.00%
plumbing/protocol/packp/sideband/muxer.go 91.30%
plumbing/protocol/packp/srvresp.go 83.02%
plumbing/protocol/packp/ulreq.go 83.08%
plumbing/protocol/packp/ulreq_decode.go 88.28%
plumbing/protocol/packp/ulreq_encode.go 72.37%
plumbing/protocol/packp/updreq.go 80.00%
plumbing/protocol/packp/updreq_decode.go 93.65%
plumbing/protocol/packp/updreq_encode.go 80.00%
plumbing/protocol/packp/uppackreq.go 88.89%
plumbing/protocol/packp/uppackresp.go 89.19%
plumbing/reference.go 93.15%
plumbing/revision.go 0.00%
plumbing/revlist/revlist.go 72.73%
plumbing/storer/object.go 98.28%
plumbing/storer/reference.go 91.36%
plumbing/transport/client/client.go 100.00%
plumbing/transport/common.go 93.26%
plumbing/transport/file/client.go 81.69%
plumbing/transport/file/server.go 0.00%
plumbing/transport/git/common.go 76.19%
plumbing/transport/http/common.go 86.67%
plumbing/transport/http/receive_pack.go 70.00%
plumbing/transport/http/upload_pack.go 74.55%
plumbing/transport/internal/common/common.go 83.87%
plumbing/transport/internal/common/server.go 0.00%
plumbing/transport/server/loader.go 85.71%
plumbing/transport/server/server.go 56.52%
plumbing/transport/ssh/auth_method.go 58.73%
plumbing/transport/ssh/common.go 73.33%
plumbing/transport/test/receive_pack.go 98.31%
plumbing/transport/test/upload_pack.go 100.00%
prune.go 56.52%
references.go 76.34%
remote.go 76.87%
repository.go 74.23%
status.go 57.14%
storage/filesystem/config.go 65.38%
storage/filesystem/deltaobject.go 100.00%
storage/filesystem/dotgit/dotgit.go 76.73%
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go 20.00%
storage/filesystem/dotgit/dotgit_setref.go 73.68%
storage/filesystem/dotgit/writers.go 78.68%
storage/filesystem/index.go 79.17%
storage/filesystem/module.go 60.00%
storage/filesystem/object.go 68.81%
storage/filesystem/reference.go 64.71%
storage/filesystem/shallow.go 78.95%
storage/filesystem/storage.go 100.00%
storage/memory/storage.go 84.81%
storage/test/storage_suite.go 95.56%
storage/transactional/config.go 88.89%
storage/transactional/index.go 80.00%
storage/transactional/object.go 84.21%
storage/transactional/reference.go 65.57%
storage/transactional/shallow.go 83.33%
storage/transactional/storage.go 83.33%
submodule.go 63.92%
utils/binary/read.go 71.01%
utils/binary/write.go 100.00%
utils/diff/diff.go 100.00%
utils/ioutil/common.go 96.15%
utils/merkletrie/change.go 94.92%
utils/merkletrie/difftree.go 46.53%
utils/merkletrie/doubleiter.go 62.71%
utils/merkletrie/filesystem/node.go 72.29%
utils/merkletrie/index/node.go 93.94%
utils/merkletrie/internal/frame/frame.go 100.00%
utils/merkletrie/internal/fsnoder/dir.go 100.00%
utils/merkletrie/internal/fsnoder/file.go 100.00%
utils/merkletrie/internal/fsnoder/new.go 94.74%
utils/merkletrie/iter.go 91.04%
utils/merkletrie/noder/path.go 100.00%
worktree.go 70.80%
worktree_commit.go 77.59%
worktree_linux.go 80.00%
worktree_status.go 72.49%
Project Totals (171 files) 79.66%
Loading