FileMetrics { public int numberOfStatements() { return numberOfStatements; } FileMetrics(PythonVisitorContext context); int numberOfStatements(); int numberOfFunctions(); int numberOfClasses(); int complexity(); int cognitiveComplexity(); List<Integer> functionComplexities(); FileLinesVisitor fileLinesVisitor();  }
@Test public void statements() { assertThat(metrics("statements.py").numberOfStatements()).isEqualTo(1); }