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

akrennmair / newsbeuter / 795
60%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2016 05:50PM UTC
Jobs 9
Files 129
Run time 101min
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
795

push

travis-ci

Minoru
Fix #447

The bug was introduced in 26522a931,
where I re-wrote `strprintf` to use variadic templates. `strprintf` has
an internal buffer of 1024 characters; if formatted string doesn't fit
into it, new buffer is allocated and later destroyed.

As part of the re-write, I replaced `new` and `delete` with
`unique_ptr`, but I failed to update the rest of the function
accordingly. Specifically, when it came time to initialize `std::string`
out of `unique_ptr`'s contents, I used `operator*` which *only extracts
the first symbol*.

As a result, any line longer than internal buffer was reduced to its
first symbol.

`textformatter::format_text_to_list` uses `strprintf` to place input
string into a chunk of STFL markup that looks like this:

    {listitem text:\"Here goes the text\"}

Due to the aforementioned bug in `strprintf`, if the input text was long
enough, this format turned into a single character "{". STFL tripped
over it as described in #447.

4327 of 13343 relevant lines covered (32.43%)

831.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 795.1 (COMPILER=g++-4.9 GCOV=/usr/bin/gcov-4.9) 12 Dec 2016 05:52PM UTC 0
31.14
Travis Job 795.1
2 795.2 (COMPILER=g++-5 GCOV=/usr/bin/gcov-5) 12 Dec 2016 05:53PM UTC 0
31.25
Travis Job 795.2
3 795.3 (COMPILER=g++-6 GCOV=/usr/bin/gcov-6) 12 Dec 2016 05:53PM UTC 0
31.9
Travis Job 795.3
4 795.4 (COMPILER=clang++-3.6 GCOV=/usr/bin/gcov) 12 Dec 2016 05:50PM UTC 0
30.3
Travis Job 795.4
5 795.5 (COMPILER=clang++-3.7 GCOV=/usr/bin/gcov) 12 Dec 2016 05:51PM UTC 0
31.81
Travis Job 795.5
6 795.6 (COMPILER=clang++-3.8 GCOV=/usr/bin/gcov) 12 Dec 2016 05:58PM UTC 0
31.81
Travis Job 795.6
7 795.7 (COMPILER=clang++-4.0 GCOV=/usr/bin/gcov) 12 Dec 2016 06:00PM UTC 0
31.81
Travis Job 795.7
8 795.8 (COMPILER=g++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog) 12 Dec 2016 06:38PM UTC 0
31.95
Travis Job 795.8
9 795.9 (COMPILER=clang++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog) 12 Dec 2016 07:31PM UTC 0
31.95
Travis Job 795.9
Source Files on build 795
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #795
  • e527095d on github
  • Prev Build on master (#794)
  • Next Build on master (#799)
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