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

IgniteUI / igniteui-angular / 26023601418

18 May 2026 08:57AM UTC coverage: 4.854% (-85.3%) from 90.174%
26023601418

Pull #17281

github

web-flow
Merge e7ce7a18e into 5a85df190
Pull Request #17281: feat: Added virtual scroll component and sample implementation

400 of 17347 branches covered (2.31%)

Branch coverage included in aggregate %.

63 of 222 new or added lines in 4 files covered. (28.38%)

27932 existing lines in 341 files now uncovered.

2022 of 32547 relevant lines covered (6.21%)

0.72 hits per line

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

8.7
/projects/igniteui-angular/core/src/data-operations/operations.ts
1
import { IGroupByKey } from './groupby-expand-state.interface';
2
import { IGroupByRecord } from './groupby-record.interface';
3
import { IGroupingExpression } from './grouping-expression.interface';
4
import { DefaultSortingStrategy } from './sorting-strategy';
5

6
export const isHierarchyMatch = (h1: Array<IGroupByKey>, h2: Array<IGroupByKey>, expressions: IGroupingExpression[]): boolean => {
3✔
UNCOV
7
    if (h1.length !== h2.length) {
×
UNCOV
8
        return false;
×
9
    }
UNCOV
10
    return h1.every((level, index): boolean => {
×
UNCOV
11
        const expr = expressions.find(e => e.fieldName === level.fieldName);
×
UNCOV
12
        const comparer = expr.groupingComparer || DefaultSortingStrategy.instance().compareValues;
×
UNCOV
13
        return level.fieldName === h2[index].fieldName && comparer(level.value, h2[index].value) === 0;
×
14
    });
15
};
16

17
export const getHierarchy = (gRow: IGroupByRecord): Array<IGroupByKey> => {
3✔
UNCOV
18
    const hierarchy: Array<IGroupByKey> = [];
×
UNCOV
19
    if (gRow !== undefined && gRow.expression) {
×
UNCOV
20
        hierarchy.push({ fieldName: gRow.expression.fieldName, value: gRow.value });
×
UNCOV
21
        while (gRow.groupParent) {
×
UNCOV
22
            gRow = gRow.groupParent;
×
UNCOV
23
            hierarchy.unshift({ fieldName: gRow.expression.fieldName, value: gRow.value });
×
24
        }
25
    }
UNCOV
26
    return hierarchy;
×
27
};
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