Genese complexity report

<- perf_hooks.d.ts
Methods : 4
Complexity index : 1.5
Cyclomatic complexity : 3
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 perf_hooks.d.ts
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                
                    constructor(callback: PerformanceObserverCallback); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
disconnect Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Disconnects the PerformanceObserver instance from all notifications.
                     */
                    disconnect(): void; // ----------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
observe Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes.
                     * When options.buffered is false, the callback will be invoked once for every PerformanceEntry instance.
                     * Property buffered defaults to false.
                     * @param options
                     */
                    observe(options: { entryTypes: ReadonlyArray<EntryType>; buffered?: boolean }): void; // ----------------------------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
monitorEventLoopDelay Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
            
                function monitorEventLoopDelay(options?: EventLoopMonitorOptions): EventLoopDelayMonitor; // ------- +0.4 Complexity index (+0.4 atomic)