williamfzc / srctx

A library for extracting and analyzing definition/reference graphs from your codebase. Powered by tree-sitter and LSIF/SCIP.
Apache License 2.0
41 stars 5 forks source link

Test diffctx 2 #49

Closed williamfzc closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 75.00% and project coverage change: +3.55 :tada:

Comparison is base (4a587fb) 58.97% compared to head (763df80) 62.52%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #49 +/- ## ========================================== + Coverage 58.97% 62.52% +3.55% ========================================== Files 44 44 Lines 2781 2786 +5 ========================================== + Hits 1640 1742 +102 + Misses 912 816 -96 + Partials 229 228 -1 ``` | [Impacted Files](https://app.codecov.io/gh/williamfzc/srctx/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=williamfzc) | Coverage Δ | | |---|---|---| | [graph/function/api\_draw\_dot.go](https://app.codecov.io/gh/williamfzc/srctx/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=williamfzc#diff-Z3JhcGgvZnVuY3Rpb24vYXBpX2RyYXdfZG90Lmdv) | `13.51% <0.00%> (-0.38%)` | :arrow_down: | | [diff/git.go](https://app.codecov.io/gh/williamfzc/srctx/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=williamfzc#diff-ZGlmZi9naXQuZ28=) | `67.39% <50.00%> (ø)` | | | [cmd/srctx/main.go](https://app.codecov.io/gh/williamfzc/srctx/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=williamfzc#diff-Y21kL3NyY3R4L21haW4uZ28=) | `76.47% <100.00%> (+1.47%)` | :arrow_up: | | [parser/lsif/code\_hover.go](https://app.codecov.io/gh/williamfzc/srctx/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=williamfzc#diff-cGFyc2VyL2xzaWYvY29kZV9ob3Zlci5nbw==) | `87.50% <100.00%> (+0.40%)` | :arrow_up: | ... and [10 files with indirect coverage changes](https://app.codecov.io/gh/williamfzc/srctx/pull/49/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=williamfzc)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

github-actions[bot] commented 1 year ago

DiffCtx Report

Start from 4a587fbc95d1bea443f2dc2a273705731cc942e4 to de9e2f0e9727a774af53348663acaa27d91f8d93.

This commit directly influences 4 files, 16 / 390 lines, indirectly influences 98 / 66 files, 22 / 22 entries.

FileName AffectedLines DirectConnect IndirectConnect
.github/workflows/ci.yml 8.33% (9/108) 0.00% (0/66) 0.00% (0/66)
cmd/srctx/main.go 8.82% (3/34) 4.55% (3/66) 60.61% (40/66)
diff/git.go 2.70% (2/74) 6.06% (4/66) 10.61% (7/66)
parser/lsif/code_hover.go 1.15% (2/174) 3.03% (2/66) 77.27% (51/66)