Genese complexity report

<- array.d.ts
Methods : 2
Complexity index : 1.9
Cyclomatic complexity : 2
Cognitive complexity
100 % Correct 2/2
0 % Warning 0/2 (threshold : 10)
0 % Error 0/2 (threshold : 20)
Cyclomatic complexity
100 % Correct 2/2
0 % Warning 0/2 (threshold : 5)
0 % Error 0/2 (threshold : 10)
Methods of array.d.ts
flatten Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
            export declare function flatten<T>(items: T[][]): T[] // -------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
splitWhen Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
            
            export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][]; // -------- +1.1 Complexity index (+1.1 atomic)