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