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

rokucommunity / roku-debug / 26120672946

19 May 2026 07:37PM UTC coverage: 70.727% (+0.7%) from 70.049%
26120672946

Pull #351

github

web-flow
Merge eb0b2e542 into 5bbd82240
Pull Request #351: 0.23.8

3328 of 5046 branches covered (65.95%)

Branch coverage included in aggregate %.

5834 of 7908 relevant lines covered (73.77%)

35.01 hits per line

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

41.67
/src/adapters/customVariables/ifSocketOption.ts
1
import { VariableType } from '../../debugProtocol/events/responses/VariablesResponse';
2
import type { DebugProtocolAdapter, EvaluateContainer } from '../DebugProtocolAdapter';
2✔
3
import { pushCustomVariableToContainer } from './utils';
2✔
4

2✔
5
// https://developer.roku.com/en-ca/docs/references/brightscript/interfaces/ifsocketoption.md
2✔
6
export function pushIfSocketOptionVariables(adapter: DebugProtocolAdapter, expression: string, container: EvaluateContainer) {
7
    pushCustomVariableToContainer(adapter, container, {
8
        name: '$ttl',
×
9
        type: VariableType.Integer,
10
        presentationHint: { kind: 'virtual', lazy: true },
11
        evaluateName: `${expression}.GetTTL()`,
12
        value: '',
13
        children: []
14
    });
15

16
    pushCustomVariableToContainer(adapter, container, {
×
17
        name: '$reuseAddr',
18
        type: VariableType.Boolean,
19
        presentationHint: { kind: 'virtual', lazy: true },
20
        evaluateName: `${expression}.GetReuseAddr()`,
21
        value: '',
22
        children: []
23
    });
24

×
25
    pushCustomVariableToContainer(adapter, container, {
26
        name: '$oobInline',
27
        type: VariableType.Boolean,
28
        presentationHint: { kind: 'virtual', lazy: true },
29
        evaluateName: `${expression}.GetOOBInline()`,
30
        value: '',
31
        children: []
32
    });
×
33

34
    pushCustomVariableToContainer(adapter, container, {
35
        name: '$sendBuf',
36
        type: VariableType.Integer,
37
        presentationHint: { kind: 'virtual', lazy: true },
38
        evaluateName: `${expression}.GetSendBuf()`,
39
        value: '',
40
        children: []
×
41
    });
42

43
    pushCustomVariableToContainer(adapter, container, {
44
        name: '$rcvBuf',
45
        type: VariableType.Integer,
46
        presentationHint: { kind: 'virtual', lazy: true },
47
        evaluateName: `${expression}.GetRcvBuf()`,
48
        value: '',
×
49
        children: []
50
    });
51

52
    pushCustomVariableToContainer(adapter, container, {
53
        name: '$sendTimeout',
54
        type: VariableType.Integer,
55
        presentationHint: { kind: 'virtual', lazy: true },
56
        evaluateName: `${expression}.GetSendTimeout()`,
×
57
        value: '',
58
        children: []
59
    });
60

61
    pushCustomVariableToContainer(adapter, container, {
62
        name: '$receiveTimeout',
63
        type: VariableType.Integer,
64
        presentationHint: { kind: 'virtual', lazy: true },
65
        evaluateName: `${expression}.GetReceiveTimeout()`,
2✔
66
        value: '',
67
        children: []
68
    });
69
}
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