petertrr / kotlin-multiplatform-diff

Multiplaform kotlin library for calculating text differences. Based on java-diff-utils, supports JVM, JS and native targets.
Apache License 2.0
84 stars 5 forks source link

chore: Add detekt static analyzer #18

Closed petertrr closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #18 (8ab25eb) into main (dc2b266) will increase coverage by 0.95%. The diff coverage is 88.88%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #18      +/-   ##
============================================
+ Coverage     82.76%   83.72%   +0.95%     
- Complexity      101      104       +3     
============================================
  Files            12       12              
  Lines           470      467       -3     
  Branches         85       84       -1     
============================================
+ Hits            389      391       +2     
+ Misses           57       52       -5     
  Partials         24       24              
Flag Coverage Δ
unittests 83.72% <88.88%> (+0.95%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...n/kotlin/io/github/petertrr/diffutils/DiffUtils.kt 75.75% <0.00%> (-2.37%) :arrow_down:
...hub/petertrr/diffutils/algorithm/myers/PathNode.kt 75.00% <ø> (ø)
...kotlin/io/github/petertrr/diffutils/patch/Chunk.kt 66.66% <ø> (ø)
...n/io/github/petertrr/diffutils/text/StringUtils.kt 85.71% <0.00%> (+16.48%) :arrow_up:
...ub/petertrr/diffutils/algorithm/myers/MyersDiff.kt 89.83% <88.88%> (ø)
...n/io/github/petertrr/diffutils/algorithm/Change.kt 100.00% <100.00%> (ø)
...kotlin/io/github/petertrr/diffutils/patch/Patch.kt 82.97% <100.00%> (+1.72%) :arrow_up:
...github/petertrr/diffutils/text/DiffRowGenerator.kt 92.71% <100.00%> (+0.03%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dc2b266...8ab25eb. Read the comment docs.