private void addFlogResults(String filePath, FlogFileResults flogResults, String line) {
Matcher matcher = methodRegex.matcher(line);
if (matcher.matches()) {
String methodName = prettifyMethodPath(filePath, matcher.group("method"));
FlogMethodResults methodResults = new FlogMethodResults(methodName, matcher.group("score"));
flogResults.addMethodResult(methodResults);
} else {
matcher = operatorRegex.matcher(line);
if (matcher.matches()) {
flogResults.addOperatorResult(matcher.group("operator"), matcher.group("score"));