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

kroitor / asciichart / 72
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/glob-parent-5.1.2
DEFAULT BRANCH: master
Ran 01 Jul 2019 06:57PM UTC
Jobs 1
Files 1
Run time 1s
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
72

Pull #29

travis-ci

web-flow
Fix for exact specification of plot height.

This changes a bit of the logic for making the plot, some of which wasn't really necessary but made it easier / less confusing for me to work on it. `ratio` is the reciprocal of what it was before (it's now the change in y when you move up one row in the plot). The plot is stored in reverse order compared to before when in list form (e.g. `result[0]` is now the bottom row of the plot instead of the top one; I reverse the rows before joining them into the final plot string to make up for this). The actual change is a rework to how we convert from the data space to the row space of the plot which makes it (IMHO) less complex (removes `max2` and `min2`) and easy to guarantee exactly what the height is. Admittedly, I'm not sure what the thought process was behind the old method, so there may be some drawback that I haven't considered.
Pull Request #29: Fix for exact specification of plot height.

24 of 24 branches covered (100.0%)

Branch coverage included in aggregate %.

42 of 42 relevant lines covered (100.0%)

144.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 72.1 01 Jul 2019 06:57PM UTC 0
100.0
Travis Job 72.1
Source Files on build 72
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #72
  • Pull Request #29
  • PR Base - master (#69)
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