| 785 | } |
| 786 | |
| 787 | bool Settings::collectLogCheckers(bool* summary, bool* xmlReport, bool* textReport) const |
| 788 | { |
| 789 | const bool s = safety || severity.isEnabled(Severity::information); |
| 790 | if (summary) |
| 791 | *summary = s; |
| 792 | const bool x = outputFormat == Settings::OutputFormat::xml && xml_version == 3; |
| 793 | if (xmlReport) |
| 794 | *xmlReport = x; |
| 795 | const bool t = !checkersReportFilename.empty(); |
| 796 | if (textReport) |
| 797 | *textReport = t; |
| 798 | |
| 799 | return s || x || t; |
| 800 | } |
no test coverage detected