Miscellaneous-BusyHeaders¶
Identify files with large product of includes and includers
Required inputs: IR
Rationale
Busy header files can cause long compilation times. Eliminate dependencies between headers to reduce the amount of code included in each translation unit.
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
busy_header |
File is too busy (large product of includes and includers) |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
detailed_entity¶
detailed_entity : bool = False
stop_on_files¶
stop_on_files : set[str] = set()
threshold¶
threshold : int = 1000