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

mozilla-releng / balrog / #5214

16 Feb 2026 01:14AM UTC coverage: 16.352% (-73.5%) from 89.9%
#5214

Pull #3672

circleci

renovate-bot
chore(deps): lock file maintenance (pep621)
Pull Request #3672: chore(deps): lock file maintenance (pep621)

267 of 2546 branches covered (10.49%)

Branch coverage included in aggregate %.

1169 of 6236 relevant lines covered (18.75%)

0.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

28.57
/src/auslib/util/data_structures.py
1
import operator
1✔
2
from collections import defaultdict
1✔
3
from functools import reduce
1✔
4

5

6
def infinite_defaultdict():
1✔
7
    return defaultdict(infinite_defaultdict)
×
8

9

10
def deep_dict(depth, default):
1✔
11
    if depth > 1:
×
12
        return defaultdict(lambda: deep_dict(depth - 1, default))
×
13

14
    return defaultdict(lambda: default)
×
15

16

17
def get_by_path(root, items):
1✔
18
    """Access a nested object in root by item sequence."""
19
    try:
×
20
        return reduce(operator.getitem, items, root)
×
21
    except KeyError:
×
22
        return None
×
23

24

25
def set_by_path(root, items, value):
1✔
26
    """Set a value in a nested object in root by item sequence."""
27
    get_by_path(root, items[:-1])[items[-1]] = value
×
28

29

30
def ensure_path_exists(root, items):
1✔
31
    cur = root
×
32
    for i in items:
×
33
        if i not in cur:
×
34
            cur[i] = {}
×
35
        cur = cur[i]
×
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