Genese complexity report

<- stream.d.ts
Methods : 167
Complexity index : 113.9
Cyclomatic complexity : 162
Cognitive complexity
100 % Correct 167/167
0 % Warning 0/167 (threshold : 10)
0 % Error 0/167 (threshold : 20)
Cyclomatic complexity
100 % Correct 167/167
0 % Warning 0/167 (threshold : 5)
0 % Error 0/167 (threshold : 10)
Methods of stream.d.ts
pipe Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                    
                        constructor(opts?: ReadableOptions); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
from Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
                        /**
                         * A utility method for creating Readable Streams out of iterators.
                         */
                        static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                        
                        constructor(opts?: ReadableOptions); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
_read Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        _read(size: number): void; // ----------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
read Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        read(size?: number): any; // -------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
setEncoding Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        setEncoding(encoding: BufferEncoding): this; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
pause Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                        
                        pause(): this; // ------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
resume Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                        
                        resume(): this; // ------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
isPaused Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                        
                        isPaused(): boolean; // ------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
unpipe Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        unpipe(destination?: NodeJS.WritableStream): this; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
unshift Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                        
                        unshift(chunk: any, encoding?: BufferEncoding): void; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
wrap Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        wrap(oldStream: NodeJS.ReadableStream): this; // --------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
push Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        push(chunk: any, encoding?: BufferEncoding): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
_destroy Complexity Index 1 Cyclomatic complexity 1
                            
                                
                        
                        _destroy(error: Error | null, callback: (error?: Error | null) => void): void; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
destroy Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        destroy(error?: Error): void; // -------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        /**
                         * Event emitter
                         * The defined events on documents including:
                         * 1. close
                         * 2. data
                         * 3. end
                         * 4. error
                         * 5. pause
                         * 6. readable
                         * 7. resume
                         */
                        addListener(event: "close", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "data", listener: (chunk: any) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "end", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "pause", listener: () => void): this; // ----------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "resume", listener: () => void): this; // --------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
            
                        emit(event: "close"): boolean; // ------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "data", chunk: any): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "end"): boolean; // -------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "error", err: Error): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "pause"): boolean; // ------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "readable"): boolean; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "resume"): boolean; // --------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: string | symbol, ...args: any[]): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        on(event: "close", listener: () => void): this; // -------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "data", listener: (chunk: any) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "end", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "pause", listener: () => void): this; // ----------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "resume", listener: () => void): this; // --------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        on(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        once(event: "close", listener: () => void): this; // --------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "data", listener: (chunk: any) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "end", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "pause", listener: () => void): this; // ----------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "resume", listener: () => void): this; // --------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        once(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        prependListener(event: "close", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "data", listener: (chunk: any) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "end", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "pause", listener: () => void): this; // ----------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "resume", listener: () => void): this; // --------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        prependOnceListener(event: "close", listener: () => void): this; // ------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "data", listener: (chunk: any) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "end", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "pause", listener: () => void): this; // ----------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "resume", listener: () => void): this; // --------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        removeListener(event: "close", listener: () => void): this; // ---------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "data", listener: (chunk: any) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "end", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "pause", listener: () => void): this; // ----------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "resume", listener: () => void): this; // --------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
            
                        [Symbol.asyncIterator](): AsyncIterableIterator<any>; // ----------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                        
                        constructor(opts?: WritableOptions); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
_write Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                        
                        _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
_writev Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                        
                        _writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
_destroy Complexity Index 1 Cyclomatic complexity 1
                            
                                
                        
                        _destroy(error: Error | null, callback: (error?: Error | null) => void): void; // ------------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
_final Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        _final(callback: (error?: Error | null) => void): void; // ------------------------------ +0.7 Complexity index (+0.7 atomic)
            
                            
                        
write Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                        
                        write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
write Complexity Index 1 Cyclomatic complexity 1
                            
                                
                        
                        write(chunk: any, encoding: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
setDefaultEncoding Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        setDefaultEncoding(encoding: BufferEncoding): this; // --------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
end Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        end(cb?: () => void): void; // ------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
end Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                        
                        end(chunk: any, cb?: () => void): void; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
end Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                        
                        end(chunk: any, encoding: BufferEncoding, cb?: () => void): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
cork Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                        
                        cork(): void; // ----------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
uncork Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                        
                        uncork(): void; // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
destroy Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        destroy(error?: Error): void; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        /**
                         * Event emitter
                         * The defined events on documents including:
                         * 1. close
                         * 2. drain
                         * 3. error
                         * 4. finish
                         * 5. pipe
                         * 6. unpipe
                         */
                        addListener(event: "close", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "pipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: "unpipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        addListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
            
                        emit(event: "close"): boolean; // ------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "drain"): boolean; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "error", err: Error): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "finish"): boolean; // ------------------ +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "pipe", src: Readable): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: "unpipe", src: Readable): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        emit(event: string | symbol, ...args: any[]): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        on(event: "close", listener: () => void): this; // -------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "pipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        on(event: "unpipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        on(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        once(event: "close", listener: () => void): this; // --------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "pipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        once(event: "unpipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        once(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        prependListener(event: "close", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "pipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: "unpipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        prependListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        prependOnceListener(event: "close", listener: () => void): this; // ------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
            
                        removeListener(event: "close", listener: () => void): this; // ---------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
removeListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
removeListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "pipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
removeListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: "unpipe", listener: (src: Readable) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
removeListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                        
                        removeListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                        
                        constructor(opts?: DuplexOptions); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
_write Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                        
                        _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
_writev Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                        
                        _writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
_destroy Complexity Index 1 Cyclomatic complexity 1
                            
                                
                        
                        _destroy(error: Error | null, callback: (error: Error | null) => void): void; // -------------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
_final Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                        
                        _final(callback: (error?: Error | null) => void): void; // ----------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
write Complexity Index 1 Cyclomatic complexity 1
                            
                                
                        
                        write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
write Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                        
                        write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; // ---------------------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
setDefaultEncoding Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                        
                        setDefaultEncoding(encoding: BufferEncoding): this; // ------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
end Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        end(cb?: () => void): void; // ------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
end Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                        
                        end(chunk: any, cb?: () => void): void; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
end Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                        
                        end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
cork Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                        
                        cork(): void; // ------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
            
                            
                        
uncork Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                        
                        uncork(): void; // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                    
                        constructor(opts?: TransformOptions); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
_transform Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                        
                        _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
_flush Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                        
                        _flush(callback: TransformCallback): void; // ------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
finished Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                    
                    function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options: FinishedOptions, callback: (err?: NodeJS.ErrnoException | null) => void): () => void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
finished Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                    
                    function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, callback: (err?: NodeJS.ErrnoException | null) => void): () => void; // --------------------------------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                    
                        function __promisify__(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options?: FinishedOptions): Promise<void>; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
pipeline Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: T, callback?: (err: NodeJS.ErrnoException | null) => void): T; // ------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
pipeline Complexity Index 1.9 Cyclomatic complexity 1
                            
                                
                    
                    function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: T, callback?: (err: NodeJS.ErrnoException | null) => void): T; // ------- +1.9 Complexity index (+1.9 atomic)
            
                            
                        
pipeline Complexity Index 2.2 Cyclomatic complexity 1
                            
                                
                    
                    function pipeline<T extends NodeJS.WritableStream>( // ----------------------------------------------------------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                        stream1: NodeJS.ReadableStream, // --------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                        stream2: NodeJS.ReadWriteStream, // -------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                        stream3: NodeJS.ReadWriteStream, // -------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                        stream4: T, // ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                        callback?: (err: NodeJS.ErrnoException | null) => void, // --------------------------------------------------------------------------------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
                    ): T; // --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
pipeline Complexity Index 2.5 Cyclomatic complexity 1
                            
                                
                    
                    function pipeline<T extends NodeJS.WritableStream>( // --------------- +0.4 Complexity index (+0.4 atomic)
                        stream1: NodeJS.ReadableStream, // ------------------------------- +0.3 Complexity index (+0.3 atomic)
                        stream2: NodeJS.ReadWriteStream, // ------------------------------ +0.3 Complexity index (+0.3 atomic)
                        stream3: NodeJS.ReadWriteStream, // ------------------------------ +0.3 Complexity index (+0.3 atomic)
                        stream4: NodeJS.ReadWriteStream, // ------------------------------ +0.3 Complexity index (+0.3 atomic)
                        stream5: T, // --------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                        callback?: (err: NodeJS.ErrnoException | null) => void, // ------- +0.6 Complexity index (+0.6 atomic)
                    ): T; // ------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
pipeline Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                    
                    function pipeline( // ---------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>, // ------- +0.9 Complexity index (+0.9 atomic)
                        callback?: (err: NodeJS.ErrnoException | null) => void, // ----------------------------------------------- +0.6 Complexity index (+0.6 atomic)
                    ): NodeJS.WritableStream; // --------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
pipeline Complexity Index 2.4 Cyclomatic complexity 1
                            
                                
                    
                    function pipeline( // ----------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        stream1: NodeJS.ReadableStream, // ------------------------------------------------------------------------------------------ +0.3 Complexity index (+0.3 atomic)
                        stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, // ----------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
                        ...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void)>, // ------- +1.2 Complexity index (+1.2 atomic)
                    ): NodeJS.WritableStream; // ---------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                        function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.WritableStream): Promise<void>; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                        
                        function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.WritableStream): Promise<void>; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                        
                        function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.ReadWriteStream, stream4: NodeJS.WritableStream): Promise<void>; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
___promisify__ Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                        
                        function __promisify__( // -------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                            stream1: NodeJS.ReadableStream, // -------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                            stream2: NodeJS.ReadWriteStream, // ------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                            stream3: NodeJS.ReadWriteStream, // ------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                            stream4: NodeJS.ReadWriteStream, // ------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                            stream5: NodeJS.WritableStream, // -------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                        ): Promise<void>; // -------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
___promisify__ Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                        
                        function __promisify__(streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>): Promise<void>; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 1.9 Cyclomatic complexity 1
                            
                                
                        
                        function __promisify__( // ---------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                            stream1: NodeJS.ReadableStream, // ---------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                            stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, // --------------------------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
                            ...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream>, // ----------------------------------------------------------------------- +0.7 Complexity index (+0.7 atomic)
                        ): Promise<void>; // ---------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)