Skip to content

Conversation

@idodeclare
Copy link
Contributor

Hello,

Please consider for integration this patch to fix issue #2118.

Background: Universal ctags extracts tags from pathologically-long lines but only shows the pattern from the initial part of the line.

OpenGrok will now only try to find heuristically the position of tags beyond the initial pattern
up to a limit of 2,000 characters.

Also, a tiny cache is used to speed sequential tags from the same line.

… lines Background: Universal ctags extracts tags from pathologically-long lines but only shows the pattern from the initial part of the line. OpenGrok will now only try to find heuristically the position of tags beyond the initial pattern up to a limit of 2,000 characters. Also, a tiny cache is used to speed sequential tags from the same line.
@coveralls
Copy link

coveralls commented May 26, 2018

Pull Request Test Coverage Report for Build 2487

  • 9 of 10 (90.0%) changed or added relevant lines in 1 file are covered.
  • 13 unchanged lines in 6 files lost coverage.
  • Overall coverage decreased (-0.007%) to 73.084%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/org/opensolaris/opengrok/analysis/CtagsReader.java 9 10 90.0%
Files with Coverage Reduction New Missed Lines %
src/org/opensolaris/opengrok/history/SCCSRepository.java 1 79.27%
src/org/opensolaris/opengrok/history/HistoryGuru.java 2 73.75%
src/org/opensolaris/opengrok/history/BazaarRepository.java 2 70.16%
src/org/opensolaris/opengrok/configuration/RuntimeEnvironment.java 2 68.87%
src/org/opensolaris/opengrok/history/BitKeeperRepository.java 3 79.72%
src/org/opensolaris/opengrok/history/RepositoryFactory.java 3 85.71%
Totals Coverage Status
Change from base Build 2478: -0.007%
Covered Lines: 31082
Relevant Lines: 42529

💛 - Coveralls
@tarzanek tarzanek self-assigned this May 28, 2018
@tarzanek tarzanek added this to the 1.1 milestone May 28, 2018
@tarzanek
Copy link
Contributor

merging, thank you

@tarzanek tarzanek merged commit cfa7dbb into oracle:master May 28, 2018
@idodeclare idodeclare deleted the bugfix/limit_cut branch May 28, 2018 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants