• 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

0.0
/projects/igniteui-angular/grids/core/src/common/random.ts
1
/**
2
 * Use the function to get a random UUID string when secure context is not guaranteed making crypto.randomUUID unavailable.
3
 * @returns A random UUID string.
4
 */
5
export function getUUID(): `${string}-${string}-${string}-${string}-${string}` {
UNCOV
6
    if (typeof crypto.randomUUID === 'function') {
×
UNCOV
7
        return crypto.randomUUID();
×
8
    }
9
    // Secure fallback using crypto.getRandomValues()
UNCOV
10
    const bytes = new Uint8Array(16);
×
UNCOV
11
    crypto.getRandomValues(bytes);
×
12

13
    // Set version (4) and variant (RFC 4122)
UNCOV
14
    bytes[6] = (bytes[6] & 0x0f) | 0x40; // Version 4
×
UNCOV
15
    bytes[8] = (bytes[8] & 0x3f) | 0x80; // Variant 1
×
16

UNCOV
17
    const a = [...bytes].map((b) => b.toString(16).padStart(2, '0')).join('');
×
UNCOV
18
    return `${a.slice(0, 8)}-${a.slice(8, 12)}-${a.slice(12, 16)}-${a.slice(16, 20)}-${a.slice(20)}`;
×
19
}
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