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

rokucommunity / brighterscript / #13028

05 Sep 2024 06:50PM UTC coverage: 86.418% (-1.5%) from 87.933%
#13028

push

web-flow
Merge c5c56b09a into 43cbf8b72

10784 of 13272 branches covered (81.25%)

Branch coverage included in aggregate %.

153 of 158 new or added lines in 7 files covered. (96.84%)

811 existing lines in 44 files now uncovered.

12484 of 13653 relevant lines covered (91.44%)

27481.68 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';
390✔
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

© 2025 Coveralls, Inc