Genese complexity report

<- string_decoder.d.ts
Methods : 3
Complexity index : 1
Cyclomatic complexity : 2
Cognitive complexity
100 % Correct 3/3
0 % Warning 0/3 (threshold : 10)
0 % Error 0/3 (threshold : 20)
Cyclomatic complexity
100 % Correct 3/3
0 % Warning 0/3 (threshold : 5)
0 % Error 0/3 (threshold : 10)
Methods of string_decoder.d.ts
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                
                    constructor(encoding?: BufferEncoding); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
write Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    write(buffer: Buffer): string; // ---------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
end Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    end(buffer?: Buffer): string; // -------- +0.4 Complexity index (+0.4 atomic)