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

KurtWagner / zlinter / 17910998693
83%
master: 80%

Build:
Build:
LAST BUILD BRANCH: master_exhaustive_switch_rule
DEFAULT BRANCH: master
Ran 22 Sep 2025 09:34AM UTC
Jobs 1
Files 39
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

22 Sep 2025 09:31AM UTC coverage: 82.021% (-0.2%) from 82.201%
17910998693

push

github

KurtWagner
Refactor to pass lint document by pointer and to separate analyser (#118)

This avoids confusion around shallow copies and mutability as it was
mutating what the pointers in the shallow copies were pointing to.

This is breaking in that run accepts a pointer and context is
re-introduced.

Before:

```zig
fn (
    self: LintRule,
    doc: session.LintDocument,
    gpa: std.mem.Allocator,
    options: RunOptions,
) error{OutOfMemory}!?results.LintResult
```

After:

```zig
fn (
    self: LintRule,
    context: *session.LintContext,
    doc: *const session.LintDocument,
    gpa: std.mem.Allocator,
    options: RunOptions,
 ) error{OutOfMemory}!?results.LintResult
```

3198 of 3899 relevant lines covered (82.02%)

0.82 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.41
0.0% rules/no_swallow_error.zig
2
73.67
-0.59% lib/comments.zig
2
92.45
0.0% rules/declaration_naming.zig
2
95.52
0.0% rules/field_naming.zig
2
98.58
0.0% rules/import_ordering.zig
2
96.23
0.0% rules/max_positional_args.zig
4
82.61
0.0% lib/rules.zig
4
94.95
0.0% rules/function_naming.zig
5
81.48
0.0% rules/require_braces.zig
8
7.14
0.0% rules/switch_case_ordering.zig
11
91.52
-0.1% rules/no_deprecated.zig
12
77.38
0.0% rules/no_unused.zig
18
76.35
0.32% lib/testing.zig
18
35.96
0.0% rules/no_comment_out_code.zig
20
36.84
0.0% rules/no_todo.zig
22
80.32
-0.1% lib/ast.zig
26
88.66
-1.41% lib/session.zig
27
3.77
0.0% rules/no_hidden_allocations.zig
46
1.98
0.0% rules/field_ordering.zig
56
29.23
-0.54% rules/require_errdefer_dealloc.zig
Jobs
ID Job ID Ran Files Coverage
1 17910998693.1 22 Sep 2025 09:34AM UTC 39
82.02
GitHub Action Run
Source Files on build 17910998693
  • Tree
  • List 39
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17910998693
  • 13865e08 on github
  • Prev Build on 0.14.x (#17891995780)
  • Next Build on 0.14.x (#17911283183)
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