/**** * * Code coverage example discussed in Lecture Notes Week 7. * */ public class CoverageExample { public static int f(int i, int j) { int k; if (i > j) { i++; j++; } k = g(i,j); if ((k > 0) && (i < 100)) { i++; j++; } else { i++; } return i+j-k; } static int g(int i, int j) { return i-j+1; } }