checkstyle violations and dao test