Project

General

Profile

action #105759

Updated by livdywan about 2 years ago

## Observation 
 See https://github.com/os-autoinst/os-autoinst/pull/1939#issuecomment-1023298597 

 https://app.codecov.io/gh/os-autoinst/os-autoinst/compare/1939/changes shows that the method `set_pipe_sz` would not be covered anymore: 

 ``` 
 sub set_pipe_sz ($self, $fd, $newsize) { 
     no autodie; 
     return fcntl($fd, F_SETPIPE_SZ(), int($newsize));      # uncoverable statement 
 ``` 

 as the return line already has "uncoverable statement" likely we should just add more such statements so that the complete function is excluded 

 ## Acceptance criteria 
 - **AC1**: Reported code coverage is stable

Back