• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sergi / go-diff
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v1.0.0
DEFAULT BRANCH: master
Repo Added 06 Oct 2016 08:59AM UTC
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 46-refactor-diffHalfMatchI-and-remove-concat
branch: 46-refactor-diffHalfMatchI-and-remove-concat
CHANGE BRANCH
x
Reset
  • 46-refactor-diffHalfMatchI-and-remove-concat
  • 19-DiffCleanupSemantic
  • 21-invalid-utf8
  • 27-refactor-DiffCleanupMerge-to-use-runes-instead-of-strings
  • 28-handle-zero-deadlines-differently
  • 29-diff-equals-must-be-equal-to-originals
  • 32-fixed-bug-in-overlap-elimination
  • 43-refactor
  • master
  • migrate-to-github.com/stretchrcom/testify
  • remove-assertMapEqual-in-favor-of-assert.Equal
  • remove-the-stack-implementation
  • revamp-the-readme
  • support-1.6-and-1.7
  • travis-coveralls-linters

pending completion
32

push

travis-ci

zimmski
Refactor diffHalfMatchI and remove concat

- The variable j is just a loop index so use a for-loop
- Most indentations can be removed by doing early-exits
- By doing the concatenating of bestCommon later we can often save lots
of cycles
- "concat" is useless since in most parts of the code, it isn't used
either

Fixes #46

29 of 29 new or added lines in 1 file covered. (100.0%)

1681 of 1711 relevant lines covered (98.25%)

31611.95 hits per line

Relevant lines Covered
Build:
Build:
1711 RELEVANT LINES 1681 COVERED LINES
31611.95 HITS PER LINE
Source Files on 46-refactor-diffHalfMatchI-and-remove-concat
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32 46-refactor-diffHalfMatchI-and-remove-concat Refactor diffHalfMatchI and remove concat - The variable j is just a loop index so use a for-loop - Most indentations can be removed by doing early-exits - By doing the concatenating of bestCommon later we can often save lots of cycles - "concat"... push 02 Nov 2016 03:30PM UTC zimmski travis-ci pending completion  
See All Builds (75)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc