Genese complexity report

<- timers.d.ts
Methods : 10
Complexity index : 7
Cyclomatic complexity : 10
Cognitive complexity
100 % Correct 10/10
0 % Warning 0/10 (threshold : 10)
0 % Error 0/10 (threshold : 20)
Cyclomatic complexity
100 % Correct 10/10
0 % Warning 0/10 (threshold : 5)
0 % Error 0/10 (threshold : 10)
Methods of timers.d.ts
setTimeout Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
            
                function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(ms: number): Promise<void>; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__<T>(ms: number, value: T): Promise<T>; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
clearTimeout Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
                function clearTimeout(timeoutId: NodeJS.Timeout): void; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
setInterval Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
                function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
clearInterval Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
                function clearInterval(intervalId: NodeJS.Timeout): void; // --------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
setImmediate Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                
                function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
___promisify__ Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(): Promise<void>; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__<T>(value: T): Promise<T>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
clearImmediate Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
                function clearImmediate(immediateId: NodeJS.Immediate): void; // ------- +0.5 Complexity index (+0.5 atomic)