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

rokucommunity / brighterscript / #13071

25 Sep 2024 04:16PM UTC coverage: 86.525% (-1.4%) from 87.933%
#13071

push

web-flow
Merge c610b9e4e into 56dcaaa63

10903 of 13389 branches covered (81.43%)

Branch coverage included in aggregate %.

6936 of 7533 new or added lines in 100 files covered. (92.07%)

83 existing lines in 18 files now uncovered.

12548 of 13714 relevant lines covered (91.5%)

27591.0 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';
391✔
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✔
NEW
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

© 2025 Coveralls, Inc