Genese complexity report

<- index.d.ts
Methods : 4
Complexity index : 3.3
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
stat Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
            
            declare function stat(path: string, callback: AsyncCallback): void; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
stat Complexity Index 1 Cyclomatic complexity 1
                            
                                
            
            declare function stat(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void; // -------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
            
                function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise<Stats>; // -------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
statSync Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
            
            declare function statSync(path: string, optionsOrSettings?: Options | Settings): Stats; // -------- +0.8 Complexity index (+0.8 atomic)