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

FontoXML / fontoxpath / 16482076398

23 Jul 2025 09:20PM UTC coverage: 91.572% (-0.004%) from 91.576%
16482076398

Pull #677

github

web-flow
Merge a8664b354 into d5ac00463
Pull Request #677: Add addition and substraction of xs:dayTimeDuration()

5021 of 5832 branches covered (86.09%)

Branch coverage included in aggregate %.

60 of 69 new or added lines in 5 files covered. (86.96%)

10854 of 11504 relevant lines covered (94.35%)

95958.25 hits per line

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

85.71
/src/expressions/dataTypes/valueTypes/AbstractDuration.ts
1
abstract class AbstractDuration {
2
        public equals(other: AbstractDuration) {
3
                return (
276✔
4
                        this.getRawMonths() === other.getRawMonths() &&
447✔
5
                        this.getRawSeconds() === other.getRawSeconds()
6
                );
7
        }
8

9
        public getDays() {
10
                return 0;
6✔
11
        }
12

13
        public getHours() {
14
                return 0;
6✔
15
        }
16

17
        public getMinutes() {
18
                return 0;
6✔
19
        }
20

21
        public getMonths() {
22
                return 0;
6✔
23
        }
24
        public getRawMonths() {
25
                return 0;
66✔
26
        }
27

28
        public getRawSeconds() {
29
                return 0;
30✔
30
        }
31

32
        public getSeconds() {
33
                return 0;
6✔
34
        }
35

36
        public getYears() {
37
                return 0;
6✔
38
        }
39

40
        public isPositive() {
41
                return true;
×
42
        }
43
        public negate() {
NEW
44
                return this;
×
45
        }
46
}
47

48
export default AbstractDuration;
15✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc