Genese complexity report

<- eol.d.ts
Methods : 7
Complexity index : 2.9
Cyclomatic complexity : 7
Cognitive complexity
100 % Correct 7/7
0 % Warning 0/7 (threshold : 10)
0 % Error 0/7 (threshold : 20)
Cyclomatic complexity
100 % Correct 7/7
0 % Warning 0/7 (threshold : 5)
0 % Error 0/7 (threshold : 10)
Methods of eol.d.ts
auto Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
            
              /**
               * Normalize line endings in text for the current operating system
               * @return string with line endings normalized to \r\n or \n
               */
              export function auto(text: string): string; // ------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
crlf Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
              
            
              /**
               * Normalize line endings in text to CRLF (Windows, DOS)
               * @return string with line endings normalized to \r\n
               */
              export function crlf(text: string): string; // --------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
lf Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
              
            
              /**
               * Normalize line endings in text to LF (Unix, OS X)
               * @return string with line endings normalized to \n
               */
              export function lf(text: string): string; // ------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
cr Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
              
            
              /**
               * Normalize line endings in text to CR (Mac OS)
               * @return string with line endings normalized to \r
               */
              export function cr(text: string): string; // ------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
before Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
              
            
              /**
               * Add linebreak before text
               * @return string with linebreak added before text
               */
              export function before(text: string): string; // ------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
after Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
              
            
              /**
               * Add linebreak after text
               * @return string with linebreak added after text
               */
              export function after(text: string): string; // ------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
split Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
              
            
              /**
               * Split text by newline
               * @return array of lines
               */
              export function split(text: string): Array<string>; // -------- +0.5 Complexity index (+0.5 atomic)