Genese complexity report

<- events.d.ts
Methods : 5
Complexity index : 3.2
Cyclomatic complexity : 4
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 events.d.ts
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    function once(emitter: NodeEventTarget, event: string | symbol): Promise<any[]>; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function once(emitter: DOMEventTarget, event: string): Promise<any[]>; // ----------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                    
                        constructor(options?: EventEmitterOptions); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
listenerCount Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                        
                        /** @deprecated since v4.0.0 */
                        static listenerCount(emitter: EventEmitter, event: string | symbol): number; // ------- +0.6 Complexity index (+0.6 atomic)