Genese complexity report

<- path.d.ts
Methods : 4
Complexity index : 1.8
Cyclomatic complexity : 4
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 path.d.ts
unixify Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
            
            /**
             * Designed to work only with simple paths: `dir\\file`.
             */
            export declare function unixify(filepath: string): string; // -------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
makeAbsolute Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
            
            export declare function makeAbsolute(cwd: string, filepath: string): string; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
escape Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
            
            export declare function escape(pattern: Pattern): Pattern; // -------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
removeLeadingDotSegment Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
            
            export declare function removeLeadingDotSegment(entry: string): string; // -------- +0.4 Complexity index (+0.4 atomic)