Genese complexity report

<- trace_events.d.ts
Methods : 2
Complexity index : 0.7
Cyclomatic complexity : 2
Cognitive complexity
100 % Correct 2/2
0 % Warning 0/2 (threshold : 10)
0 % Error 0/2 (threshold : 20)
Cyclomatic complexity
100 % Correct 2/2
0 % Warning 0/2 (threshold : 5)
0 % Error 0/2 (threshold : 10)
Methods of trace_events.d.ts
createTracing Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Creates and returns a Tracing object for the given set of categories.
                 */
                function createTracing(options: CreateTracingOptions): Tracing; // ---------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
getEnabledCategories Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Returns a comma-separated list of all currently-enabled trace event
                 * categories. The current set of enabled trace event categories is
                 * determined by the union of all currently-enabled `Tracing` objects and
                 * any categories enabled using the `--trace-event-categories` flag.
                 */
                function getEnabledCategories(): string | undefined; // ---------------------------- +0.3 Complexity index (+0.3 atomic)