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

linkedin / asciietch / 19 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 04 May 2020 03:12AM UTC
Files 2
Run time 0s
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

04 May 2020 03:11AM UTC coverage: 87.023% (+2.1%) from 84.892%
19.1

push

travis-ci

web-flow
Removed unused variables and unused code (#8)

* Remove unused variables

* Update long description in setup.py

* Fix indentation errors

* Make new_min to have a default value of zero

New_min was being reassigned in the code with zero. So, instead we can make it have a default value of zero.

* Remove the cases in if-else that will never happen

y == y_prev can only happen in three ways:
1. y == y_prev and y_next < y       - already one of the elif cases
2. y == y_prev and y_next == y    -  handled by "elif y_next == y"
3. y == y_prev and y_next > y       - handle by "elif y_next > y:"

So, `y == y_prev` as a separate case will never be reached. So, removed it.

Similarly `y_prev < y` will also be never reached as the three cases in which this is possible are already accounted for in elifs before it.

* Remove the dict type check in _scale_x_values

The dict type checking is already done in asciigraph before calling _scale_x_values.
No need to do anything for it here.

* Compute standard deviation and mean only when needed

We need them only if label is set. So, we can compute them only if it is set.

114 of 131 relevant lines covered (87.02%)

0.87 hits per line

Source Files on job 19.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11
  • Travis Job 19.1
  • bb8e78fb on github
  • Prev Job for on master (#12.1)
  • Next Job for on master (#20.1)
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