Genese complexity report

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