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

rokucommunity / brighterscript / #12717

14 Jun 2024 08:20PM UTC coverage: 85.629% (-2.3%) from 87.936%
#12717

push

web-flow
Merge 94311dc0a into 42db50190

10808 of 13500 branches covered (80.06%)

Branch coverage included in aggregate %.

6557 of 7163 new or added lines in 96 files covered. (91.54%)

83 existing lines in 17 files now uncovered.

12270 of 13451 relevant lines covered (91.22%)

26531.66 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';
387✔
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

© 2026 Coveralls, Inc