• 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

71.43
/src/adapters/customVariables/ifSocketConnection.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/ifsocketconnection.md
2✔
6
export function pushIfSocketConnectionVariables(adapter: DebugProtocolAdapter, expression: string, container: EvaluateContainer) {
7
    pushCustomVariableToContainer(adapter, container, {
8
        name: '$isListening',
×
9
        type: VariableType.Boolean,
10
        presentationHint: { kind: 'virtual', lazy: true },
11
        evaluateName: `${expression}.IsListening()`,
12
        value: '',
13
        children: []
14
    });
15

16
    pushCustomVariableToContainer(adapter, container, {
×
17
        name: '$isConnected',
18
        type: VariableType.Boolean,
19
        presentationHint: { kind: 'virtual', lazy: true },
20
        evaluateName: `${expression}.IsConnected()`,
21
        value: '',
22
        children: []
23
    });
24
}
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