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

npge / lua-npge / 195 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2015 09:27PM UTC
Files 110
Run time 5s
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

29 Apr 2015 09:01PM UTC coverage: 99.784% (+0.007%) from 99.777%
LUA=lua5.2

push

travis-ci

starius
C++, BlockSet: use segment tree to find overlaps

Simple sorted array of fragments is not sufficient if
a fragment is inside other fragment:

    f1      ###########
    f2       #####
    f3        ###########
    pattern        ????

If this is detected (if order of max positions disagrees
with order of min positions), then additional data structure
is created: segment tree [1].

Non-leaf nodes of segment tree are stored in array of size
N-1, where N is number of fragments.

New test was added: many random overlapping fragments.

[1] https://en.wikipedia.org/wiki/Segment_tree

3694 of 3702 relevant lines covered (99.78%)

116267.81 hits per line

Source Files on job 195.2 (LUA=lua5.2)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 195
  • Travis Job 195.2
  • 3d255bfb on github
  • Prev Job for LUA=lua5.2 on master (#194.2)
  • Next Job for LUA=lua5.2 on master (#196.2)
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