Path 1: 10 calls (1.0)

Table (10)

1def visit_table(self, layout: Table) -> None:
2        """Display a table as text."""
3        table_content = self.get_table_content(layout)
4        # get columns width
5        cols_width = [0] * len(table_content[0])
6        for row in table_content:
7            for index, col in enumerate(row):
8                cols_width[index] = max(cols_width[index], len(col))
9        self.default_table(layout, table_content, cols_width)
10        self.writeln()