Genese complexity report

<- dns.d.ts
Methods : 102
Complexity index : 102.7
Cyclomatic complexity : 102
Cognitive complexity
100 % Correct 102/102
0 % Warning 0/102 (threshold : 10)
0 % Error 0/102 (threshold : 20)
Cyclomatic complexity
100 % Correct 102/102
0 % Warning 0/102 (threshold : 5)
0 % Error 0/102 (threshold : 10)
Methods of dns.d.ts
lookup Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
lookup Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
lookup Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function lookup(hostname: string, options: LookupAllOptions, callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void): void; // ------------ +1.5 Complexity index (+1.5 atomic)
            
                            
                        
lookup Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
                function lookup(hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void): void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
lookup Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
                function lookup(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; // ------------------------------------------------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise<LookupAddress>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
lookupService Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
            
                function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(address: string, port: number): Promise<{ hostname: string, service: string }>; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
resolve Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                    
            
                function resolve(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "A", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "AAAA", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "ANY", callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "CNAME", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // -------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "MX", callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void; // -------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "NAPTR", callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "NS", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // --------------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "PTR", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "SOA", callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
resolve Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "SRV", callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                
                function resolve(hostname: string, rrtype: "TXT", callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void; // -------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
resolve Complexity Index 2.8 Cyclomatic complexity 1
                            
                                
                
                function resolve( // ------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    hostname: string, // --------------------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    rrtype: string, // ----------------------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    callback: (err: NodeJS.ErrnoException | null, addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]) => void, // ------- +2.2 Complexity index (+2.2 atomic)
                ): void; // ---------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise<string[]>; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>; // ------------------------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, rrtype: "MX"): Promise<MxRecord[]>; // --------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, rrtype: "SOA"): Promise<SoaRecord>; // ------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, rrtype: "TXT"): Promise<string[][]>; // -------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 2.1 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, rrtype: string): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>; // ------- +2.1 Complexity index (+2.1 atomic)
            
                            
                        
resolve4 Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolve4(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
resolve4 Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve4(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve4 Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
                function resolve4(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<string[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
resolve6 Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolve6(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
resolve6 Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                function resolve6(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
resolve6 Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
                function resolve6(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<string[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
resolveCname Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolveCname(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<string[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveMx Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolveMx(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<MxRecord[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveNaptr Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolveNaptr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<NaptrRecord[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveNs Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolveNs(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<string[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolvePtr Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolvePtr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<string[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveSoa Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                function resolveSoa(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<SoaRecord>; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
resolveSrv Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolveSrv(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<SrvRecord[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveTxt Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                function resolveTxt(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<string[][]>; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
resolveAny Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function resolveAny(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(hostname: string): Promise<AnyRecord[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
reverse Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                function reverse(ip: string, callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
setServers Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
                function setServers(servers: ReadonlyArray<string>): void; // ------------------------------------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
getServers Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
                function getServers(): string[]; // --------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
cancel Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
                    cancel(): void; // ---------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
getServers Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
                    function getServers(): string[]; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
lookup Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function lookup(hostname: string, family: number): Promise<LookupAddress>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
lookup Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    function lookup(hostname: string, options: LookupOneOptions): Promise<LookupAddress>; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
lookup Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function lookup(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
lookup Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
                    function lookup(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
lookup Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    function lookup(hostname: string): Promise<LookupAddress>; // ------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
lookupService Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    function lookupService(address: string, port: number): Promise<{ hostname: string, service: string }>; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
resolve Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolve(hostname: string): Promise<string[]>; // ------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "A"): Promise<string[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "AAAA"): Promise<string[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "CNAME"): Promise<string[]>; // -------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "MX"): Promise<MxRecord[]>; // -------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "NS"): Promise<string[]>; // --------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "PTR"): Promise<string[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "SOA"): Promise<SoaRecord>; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
resolve Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: "TXT"): Promise<string[][]>; // -------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
resolve Complexity Index 2.1 Cyclomatic complexity 1
                            
                                
                    
                    function resolve(hostname: string, rrtype: string): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>; // ------- +2.1 Complexity index (+2.1 atomic)
            
                            
                        
resolve4 Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolve4(hostname: string): Promise<string[]>; // -------------------------------------------------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolve4 Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve4 Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
                    function resolve4(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
resolve6 Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolve6(hostname: string): Promise<string[]>; // -------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolve6 Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
resolve6 Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
                    function resolve6(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
resolveAny Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveAny(hostname: string): Promise<AnyRecord[]>; // --------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveCname Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveCname(hostname: string): Promise<string[]>; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveMx Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveMx(hostname: string): Promise<MxRecord[]>; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveNaptr Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveNaptr(hostname: string): Promise<NaptrRecord[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveNs Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveNs(hostname: string): Promise<string[]>; // --------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolvePtr Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolvePtr(hostname: string): Promise<string[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveSoa Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveSoa(hostname: string): Promise<SoaRecord>; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
resolveSrv Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveSrv(hostname: string): Promise<SrvRecord[]>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
resolveTxt Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    function resolveTxt(hostname: string): Promise<string[][]>; // -------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
reverse Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function reverse(ip: string): Promise<string[]>; // ------------------ +0.6 Complexity index (+0.6 atomic)
            
                            
                        
setServers Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    function setServers(servers: ReadonlyArray<string>): void; // ------- +0.5 Complexity index (+0.5 atomic)