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

anachronauts / jeff65 / 374
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: pass-schedule
DEFAULT BRANCH: master
Ran 17 Sep 2018 10:56PM UTC
Jobs 3
Files 24
Run time 33s
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

pending completion
374

Pull #70

travis-ci

web-flow
Improve lexer efficiency for large tokens

Lexer now loads file by blocks, rather than lines. Technically, the
lexer is still O(n^2) on token size, but the coefficient on the
quadratic term is low enough that it shouldn't be an issue unless you
have alarmingly long block comments. (Or strings, but you'll have bigger
things to worry about than lex times then.)

If ReStream is passed an in-memory string stream, it'll bypass the
stream API. This is mainly to get around the fact that StringIO objects
don't have an underlying binary stream to detach.

Fixes a bug where a token which is partially matched at the end of the
file is emitted as if it were a full match. This was masked by the way
that comments are currently parsed, but would have been turned up later
when we switch comment syntax.

Added catchall token regexes for string and comment modes to the
gold-syntax lexer. This was unnecessary with the original line-oriented
matcher, and was then masked by the above bug in the multiline matcher.

Removed the noisy+slow "Produced token" logging line which I forgot to
remove before the last commit.
Pull Request #70: Teach lexer to match token regexes over multiple lines

454 of 527 branches covered (86.15%)

Branch coverage included in aggregate %.

78 of 78 new or added lines in 4 files covered. (100.0%)

1526 of 1717 relevant lines covered (88.88%)

2.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 374.1 17 Sep 2018 10:56PM UTC 0
88.33
Travis Job 374.1
2 374.2 17 Sep 2018 10:56PM UTC 0
88.38
Travis Job 374.2
3 374.3 17 Sep 2018 10:56PM UTC 0
88.17
Travis Job 374.3
Source Files on build 374
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #374
  • Pull Request #70
  • PR Base - master (#365)
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

© 2026 Coveralls, Inc