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

dnsimple / dns_erlang / 15111319503
84%

Build:
DEFAULT BRANCH: main
Ran 19 May 2025 11:05AM UTC
Jobs 2
Files 9
Run time 1min
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

19 May 2025 11:04AM UTC coverage: 79.534% (+5.7%) from 73.808%
15111319503

push

github

web-flow
Rewrite most of the encode/decode logic (#72)

1. Use maps for options, as they can be typed and have better
   performance characteristics than proplists.
2. Use `erlang:system_time/1` for timestamps, for way better performance
   and no garbage-collection needed.
3. Split encode and decode logic into separate helper modules, to keep
   modules more manageable in size and responsibilities.
4. Reimplement decoding logic to always keep the input binary as the
   first argument, to help with BEAM registry allocation.
5. Reimplement encoding logic to always build responses that contain the
   full question section, and optionally drop the answers if the
   response is to be truncated.
6. Split TSIG functionality to a dedicated module.

It also fixes the ex_doc generation (a binary was defined as <<_:6 * 8>>, which the Elixir AST compiler in the most recent version fo ExDoc failed to quote, should have been <<_:48>>.

Also, tackles #19, reorganises and extends documentation, and increments code coverage considerably.

749 of 901 new or added lines in 7 files covered. (83.13%)

6 existing lines in 2 files now uncovered.

1127 of 1417 relevant lines covered (79.53%)

851.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.83
15.42% src/dns.erl
5
67.46
0.17% src/dnssec.erl
18
91.22
src/dns_decode.erl
32
67.68
src/dns_tsig.erl
96
76.53
src/dns_encode.erl

Uncovered Existing Lines

Lines Coverage ∆ File
2
67.46
0.17% src/dnssec.erl
4
89.83
15.42% src/dns.erl
Jobs
ID Job ID Ran Files Coverage
1 15111319503.1 19 May 2025 11:05AM UTC 9
76.93
GitHub Action Run
2 15111319503.2 19 May 2025 11:05AM UTC 9
76.93
GitHub Action Run
Source Files on build 15111319503
  • Tree
  • List 9
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15111319503
  • bb23796f on github
  • Prev Build on main (#15106970029)
  • Next Build on main (#15111683587)
  • Delete
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