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

KurtWagner / zlinter / 17910804920
83%

Build:
DEFAULT BRANCH: master
Ran 22 Sep 2025 09:27AM 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:23AM UTC coverage: 81.865% (-0.2%) from 82.024%
17910804920

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
```

3205 of 3915 relevant lines covered (81.86%)

0.82 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.41
0.0% rules/no_swallow_error.zig
2
73.08
-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
89.71
-0.15% rules/no_deprecated.zig
13
77.38
0.0% rules/no_unused.zig
18
35.96
0.0% rules/no_comment_out_code.zig
20
73.91
0.16% lib/testing.zig
20
36.84
0.0% rules/no_todo.zig
22
80.0
-0.11% lib/ast.zig
28
87.84
-1.42% lib/session.zig
28
3.77
0.0% rules/no_hidden_allocations.zig
46
1.98
0.0% rules/field_ordering.zig
56
30.0
0.23% rules/require_errdefer_dealloc.zig
Jobs
ID Job ID Ran Files Coverage
1 17910804920.1 22 Sep 2025 09:27AM UTC 39
81.86
GitHub Action Run
Source Files on build 17910804920
  • 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 #17910804920
  • 14bddd3a on github
  • Prev Build on master (#17891987435)
  • Next Build on master (#17911223861)
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