Method: pylint.reporters.ureports.nodes.Section.__init__
Calls: 582, Exceptions: 0, Paths: 3Back
Path 1: 555 calls (0.95)
None (555)
None (555)
() (555)
1def __init__(
2 self,
3 title: str | None = None,
4 description: str | None = None,
5 children: Iterable[Text | str] = (),
6 ) -> None:
7 super().__init__(children=children)
8 if description:
9 self.insert(0, Paragraph([Text(description)]))
10 if title:
11 self.insert(0, Title(children=(title,)))
12 self.report_id: str = "" # Used in ReportHandlerMixin.make_reports
Path 2: 24 calls (0.04)
'Statistics by type' (3) 'External dependencies' (3) 'Modules dependencies graph' (3) 'Raw metrics' (3) 'Duplication' (3) 'Messages by category' (3) '...
None (24)
() (24)
1def __init__(
2 self,
3 title: str | None = None,
4 description: str | None = None,
5 children: Iterable[Text | str] = (),
6 ) -> None:
7 super().__init__(children=children)
8 if description:
9 self.insert(0, Paragraph([Text(description)]))
10 if title:
11 self.insert(0, Title(children=(title,)))
12 self.report_id: str = "" # Used in ReportHandlerMixin.make_reports
Path 3: 3 calls (0.01)
'Report' (3)
'192 statements analysed.' (1) '4 statements analysed.' (1) '1 statements analysed.' (1)
() (3)
1def __init__(
2 self,
3 title: str | None = None,
4 description: str | None = None,
5 children: Iterable[Text | str] = (),
6 ) -> None:
7 super().__init__(children=children)
8 if description:
9 self.insert(0, Paragraph([Text(description)]))
10 if title:
11 self.insert(0, Title(children=(title,)))
12 self.report_id: str = "" # Used in ReportHandlerMixin.make_reports