Refactor CiclomaticComplexity.java