Genese complexity report

<- index.d.ts
Methods : 5
Complexity index : 4.3
Cyclomatic complexity : 5
Cognitive complexity
100 % Correct 5/5
0 % Warning 0/5 (threshold : 10)
0 % Error 0/5 (threshold : 20)
Cyclomatic complexity
100 % Correct 5/5
0 % Warning 0/5 (threshold : 5)
0 % Error 0/5 (threshold : 10)
Methods of index.d.ts
walk Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
            
            declare function walk(directory: string, callback: AsyncCallback): void; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
walk Complexity Index 1 Cyclomatic complexity 1
                            
                                
            
            declare function walk(directory: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void; // -------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
___promisify__ Complexity Index 1 Cyclomatic complexity 1
                            
                                
            
                function __promisify__(directory: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>; // -------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
walkSync Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
            
            declare function walkSync(directory: string, optionsOrSettings?: Options | Settings): Entry[]; // -------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
walkStream Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
            
            declare function walkStream(directory: string, optionsOrSettings?: Options | Settings): Readable; // -------- +0.8 Complexity index (+0.8 atomic)