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

avnomad / dop-parser / 21 / 2
95%
default: 95%

Build:
DEFAULT BRANCH: default
Ran 18 Jul 2020 04:29AM UTC
Files 0
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

18 Jul 2020 04:26AM UTC coverage: 0.0% (-96.9%) from 96.93%
21.2

push

travis-ci

avnomad
First take on using D's safety attributes.

Annotated all modules with the `@safe` attribute although I had to use the
`@trusted` and `@system` attributes on some functions for the program to
compile.

Intuitively all code written so far in this project should be safe as I haven't
used pointer arithmetic, type punning or similar constructs, but I'm getting
some unexpected and not very helpful errors from some code unless I use lower
safety levels for it. e.g. the compiler complains about standard library
functions like `stdin.byLineCopy` and `object.keys`.

In addition to the above, catching `Throwable` isn't allowed in `@safe` code and
since I need it to report errors in tests, the `catch` in question had to be
moved out of the `runUnitTests` function and put into a separate function that
was declared `@trusted`. That should minimize the `@trusted` code.

More work is needed to understand how to make all code `@safe`.

--HG--
branch : enhancement

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Source Files on job 21.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16
  • Travis Job 21.2
  • efad1bdc on github
  • Prev Job for on default (#20.1)
  • Next Job for on default (#22.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

© 2025 Coveralls, Inc