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

rokucommunity / brighterscript / #13186

15 Oct 2024 11:38AM UTC coverage: 89.043% (+2.2%) from 86.831%
#13186

push

web-flow
Merge 2b9d8bd39 into 1519a87aa

7212 of 8538 branches covered (84.47%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 1 file covered. (100.0%)

539 existing lines in 53 files now uncovered.

9619 of 10364 relevant lines covered (92.81%)

1781.3 hits per line

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

78.57
/src/types/ObjectType.ts
1
import type { BscType } from './BscType';
2
import { DynamicType } from './DynamicType';
1✔
3

4
export class ObjectType implements BscType {
1✔
5
    constructor(
6
        public typeText?: string
82✔
7
    ) { }
8

9
    public isAssignableTo(targetType: BscType) {
10
        return (
2✔
11
            targetType instanceof ObjectType ||
3✔
12
            targetType instanceof DynamicType
13
        );
14
    }
15

16
    public isConvertibleTo(targetType: BscType) {
UNCOV
17
        return this.isAssignableTo(targetType);
×
18
    }
19

20
    public toString() {
21
        return this.typeText ?? 'object';
9!
22
    }
23

24
    public toTypeString(): string {
25
        return this.toString();
9✔
26
    }
27

28
    public clone() {
UNCOV
29
        return new ObjectType(this.typeText);
×
30
    }
31
}
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