Genese complexity report

<- module.d.ts
Methods : 9
Complexity index : 3.4
Cyclomatic complexity : 7
Cognitive complexity
100 % Correct 9/9
0 % Warning 0/9 (threshold : 10)
0 % Error 0/9 (threshold : 20)
Cyclomatic complexity
100 % Correct 9/9
0 % Warning 0/9 (threshold : 5)
0 % Error 0/9 (threshold : 10)
Methods of module.d.ts
syncBuiltinESMExports Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports.
                     * It does not add or remove exported names from the ES Modules.
                     */
                    function syncBuiltinESMExports(): void; // ------------------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
            
                            
                        
findSourceMap Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function findSourceMap(path: string, error?: Error): SourceMap; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                        
                        constructor(payload: SourceMapPayload); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
findEntry Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        findEntry(line: number, column: number): SourceMapping; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
runMain Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                
                    static runMain(): void; // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
wrap Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    static wrap(code: string): string; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
createRequireFromPath Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
                     */
                    static createRequireFromPath(path: string): NodeRequire; // ---------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
createRequire Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    static createRequire(path: string | URL): NodeRequire; // --------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
Complexity Index 0.4 Cyclomatic complexity 0
                            
                                
                    
            
                    constructor(id: string, parent?: Module); // ------- +0.4 Complexity index (+0.4 atomic)