| 1 | package com.renomad.minum.web; | |
| 2 | ||
| 3 | class CountBytesRead{ | |
| 4 | private int count; | |
| 5 |
1
1. increment : Replaced integer addition with subtraction → KILLED |
public void increment() {count += 1;} |
| 6 | ||
| 7 | public void incrementBy(int i) { | |
| 8 |
1
1. incrementBy : Replaced integer addition with subtraction → KILLED |
count += i; |
| 9 | } | |
| 10 | ||
| 11 | public int getCount() { | |
| 12 |
1
1. getCount : replaced int return with 0 for com/renomad/minum/web/CountBytesRead::getCount → KILLED |
return count; |
| 13 | } | |
| 14 | } | |
Mutations | ||
| 5 |
1.1 |
|
| 8 |
1.1 |
|
| 12 |
1.1 |