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

IgniteUI / igniteui-angular / 16193550997

10 Jul 2025 11:12AM UTC coverage: 4.657% (-87.0%) from 91.64%
16193550997

Pull #16028

github

web-flow
Merge f7a9963b8 into 87246e3ce
Pull Request #16028: fix(radio-group): dynamically added radio buttons do not initialize

178 of 15764 branches covered (1.13%)

18 of 19 new or added lines in 2 files covered. (94.74%)

25721 existing lines in 324 files now uncovered.

1377 of 29570 relevant lines covered (4.66%)

0.53 hits per line

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

13.33
/projects/igniteui-angular/src/lib/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