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

rokucommunity / brighterscript / #15024

13 Dec 2025 02:11AM UTC coverage: 87.29% (-0.5%) from 87.825%
#15024

push

web-flow
Merge d8dcd8d52 into a65ebfcad

14406 of 17439 branches covered (82.61%)

Branch coverage included in aggregate %.

36 of 36 new or added lines in 4 files covered. (100.0%)

909 existing lines in 49 files now uncovered.

15091 of 16353 relevant lines covered (92.28%)

24217.12 hits per line

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

31.48
/src/astUtils/xml.ts
1
import type { SGChildren, SGComponent, SGInterfaceField, SGInterfaceFunction, SGInterface, SGNode, SGScript, SGElement } from '../parser/SGTypes';
2

3
export function isSGComponent(tag: SGElement): tag is SGComponent {
1✔
4
    return tag?.constructor.name === 'SGComponent';
477✔
5
}
6
export function isSGInterface(tag: SGElement): tag is SGInterface {
1✔
UNCOV
7
    return tag?.constructor.name === 'SGInterface';
×
8
}
9
export function isSGScript(tag: SGElement): tag is SGScript {
1✔
10
    return tag?.constructor.name === 'SGScript';
30!
11
}
12
export function isSGChildren(tag: SGElement): tag is SGChildren {
1✔
UNCOV
13
    return tag?.constructor.name === 'SGChildren';
×
14
}
15
export function isSGInterfaceField(tag: SGElement): tag is SGInterfaceField {
1✔
UNCOV
16
    return tag?.constructor.name === 'SGField';
×
17
}
18
export function isSGInterfaceFunction(tag: SGElement): tag is SGInterfaceFunction {
1✔
UNCOV
19
    return tag?.constructor.name === 'SGFunction';
×
20
}
21
export function isSGNode(tag: SGElement): tag is SGNode {
1✔
UNCOV
22
    return tag?.constructor.name === 'SGNode';
×
23
}
24
export function isSGCustomization(tag: SGElement): tag is SGNode {
1✔
UNCOV
25
    return isSGNode(tag) && tag.tokens.startTagName?.text?.toLowerCase() === 'customization';
×
26
}
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