| 82 | |
| 83 | |
| 84 | def overviewReport() -> str: |
| 85 | html = '<!DOCTYPE html>\n' |
| 86 | html += '<html><head><title>daca@home</title></head><body>\n' |
| 87 | html += '<h1>daca@home</h1>\n' |
| 88 | html += '<a href="crash.html">Crash report</a> - <a href="crash.html?pkgs=1">packages.txt</a><br>\n' |
| 89 | html += '<a href="timeout.html">Timeout report</a><br>\n' |
| 90 | html += '<a href="stale.html">Stale report</a><br>\n' |
| 91 | html += '<a href="diff.html">Diff report</a><br>\n' |
| 92 | html += '<a href="head.html">HEAD report</a><br>\n' |
| 93 | html += '<a href="headinfo.html">HEAD (information) report</a><br>\n' |
| 94 | html += '<a href="latest.html">Latest results</a><br>\n' |
| 95 | html += '<a href="time_lt.html">Time report (improved)</a><br>\n' |
| 96 | html += '<a href="time_gt.html">Time report (regressed)</a> - <a href="time_gt.html?pkgs=1">packages.txt</a><br>\n' |
| 97 | html += '<a href="time_slow.html">Time report (slowest)</a><br>\n' |
| 98 | html += '<br>\n' |
| 99 | html += '--check-library:<br>\n' |
| 100 | html += '<a href="check_library_function_report.html">checkLibraryFunction report</a><br>\n' |
| 101 | html += '<a href="check_library_noreturn_report.html">checkLibraryNoReturn report</a><br>\n' |
| 102 | html += '<a href="check_library_use_ignore_report.html">checkLibraryUseIgnore report</a><br>\n' |
| 103 | html += '<a href="check_library_check_type_report.html">checkLibraryCheckType report</a><br>\n' |
| 104 | html += '<br>\n' |
| 105 | html += 'Debug warnings:<br>\n' |
| 106 | html += '<a href="head-debug">debug</a><br>\n' |
| 107 | html += '<a href="head-varid0">varid0</a><br>\n' |
| 108 | html += '<a href="head-valueType">valueType</a><br>\n' |
| 109 | html += '<a href="head-noparamend">noparamend</a><br>\n' |
| 110 | html += '<a href="head-simplifyTypedef">simplifyTypedef</a><br>\n' |
| 111 | html += '<a href="head-simplifyUsingUnmatchedBodyEnd">simplifyUsingUnmatchedBodyEnd</a><br>\n' |
| 112 | html += '<a href="head-simplifyUsing">simplifyUsing</a><br>\n' |
| 113 | html += '<a href="head-valueFlowMaxIterations">valueFlowMaxIterations</a><br>\n' |
| 114 | html += '<a href="head-templateInstantiation">templateInstantiation</a><br>\n' |
| 115 | #html += '<a href="head-autoNoType">autoNoType</a><br>\n' |
| 116 | #html += '<a href="head-valueFlowBailout">valueFlowBailout</a><br>\n' |
| 117 | #html += '<a href="head-bailoutUninitVar">bailoutUninitVar</a><br>\n' |
| 118 | #html += '<a href="head-symbolDatabaseWarning">symbolDatabaseWarning</a><br>\n' |
| 119 | html += '<br>\n' |
| 120 | html += 'Custom reports:<br>\n' |
| 121 | html += '<a href="value_flow_bailout_incomplete_var.html">valueFlowBailoutIncompleteVar report</a><br>\n' |
| 122 | html += '<a href="unknown_macro.html">unknownMacro report</a><br>\n' |
| 123 | html += '<br>\n' |
| 124 | html += 'Important errors:<br>\n' |
| 125 | html += '<a href="head-cppcheckError">cppcheckError</a><br>\n' |
| 126 | html += '<a href="head-internalError">internalError</a><br>\n' |
| 127 | html += '<a href="head-internalAstError">internalAstError</a><br>\n' |
| 128 | html += '<a href="head-syntaxError">syntaxError</a><br>\n' |
| 129 | html += '<a href="head-DacaWrongData">DacaWrongData</a><br>\n' |
| 130 | html += '<a href="head-dacaWrongSplitTemplateRightAngleBrackets">dacaWrongSplitTemplateRightAngleBrackets</a><br>\n' |
| 131 | html += '<br>\n' |
| 132 | html += '<a href="clients.html">clients</a><br>\n' |
| 133 | html += '<br>\n' |
| 134 | html += 'version ' + SERVER_VERSION + '\n' |
| 135 | html += '</body></html>' |
| 136 | return html |
| 137 | |
| 138 | |
| 139 | def fmt(a: str, b: str, c: str = None, d: str = None, e: str = None, link: bool = True, column_width=None) -> str: |