Branch Coverage

Serial.xs
Criterion Covered Total %
branch 0 18 0.0


line true false branch
28 0 0 if( n!=1)
36 0 0 if( n!=len )
44 0 0 if (read (fd, &x, 1) != 1)
53 0 0 while (bytes_read < nbytes){
56 0 0 if (0 >= result){
57 0 0 if (0 > result){
74 0 0 if (fd == -1) {
79 0 0 if (tcgetattr(fd, &toptions) < 0) {
119 0 0 if( tcsetattr(fd, TCSANOW, &toptions) < 0) {