Genese complexity report

<- tools.service.d.ts
Methods : 3
Complexity index : 1.2
Cyclomatic complexity : 3
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 tools.service.d.ts
clone Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
            
             * clone object with deep copy
             */
            export declare function clone(model: any): any; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
isPrimitive Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
            
            /**
             * Check if an object is a primitive or not
             */
            export declare function isPrimitive(target: any): boolean; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
isSameObject Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
            
            /**
             * Check if two objects have the same values for every key
             */
            export declare function isSameObject(obj1: any, obj2: any): boolean; // ------- +0.5 Complexity index (+0.5 atomic)