lib/ext/posix_spawn.rb
Showing 3 of 3 total issues
Method read_and_write
has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring. Open
Open
def read_and_write(input, stdin, stdout, stderr, timeout=nil, max=nil) max = nil if max && max <= 0 @out, @err = '', '' offset = 0
- Read upRead up
Method read_and_write
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def read_and_write(input, stdin, stdout, stderr, timeout=nil, max=nil) max = nil if max && max <= 0 @out, @err = '', '' offset = 0
Method read_and_write
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def read_and_write(input, stdin, stdout, stderr, timeout=nil, max=nil)