diff --git a/SCC-OUTPUT-REPORT.html b/SCC-OUTPUT-REPORT.html index 5b3e403bb..32fb78b5c 100644 --- a/SCC-OUTPUT-REPORT.html +++ b/SCC-OUTPUT-REPORT.html @@ -12,12 +12,12 @@ Go 30 - 9219 - 1449 + 9222 + 1446 448 - 7322 - 1503 - 392214 + 7328 + 1506 + 392596 Java 24 @@ -48,12 +48,12 @@ Markdown 10 - 1398 - 332 + 1442 + 342 0 - 1066 + 1100 0 - 58030 + 62112 YAML 8 @@ -787,11 +787,11 @@ Total 191 - 93896 - 4531 + 93943 + 4538 5940 - 83425 - 2889 - 3134394 + 83465 + 2892 + 3138858 \ No newline at end of file diff --git a/processor/formatters.go b/processor/formatters.go index 248fc39b0..86ebfb8ff 100644 --- a/processor/formatters.go +++ b/processor/formatters.go @@ -260,7 +260,9 @@ func toCSVSummary(input chan *FileJob) string { fmt.Sprint(result.Comment), fmt.Sprint(result.Blank), fmt.Sprint(result.Complexity), - fmt.Sprint(result.Bytes)}) + fmt.Sprint(result.Bytes), + fmt.Sprint(len(ulocLanguageCount[result.Name])), + }) } // Cater for the common case of adding plural even for those options that don't make sense @@ -321,8 +323,9 @@ func toCSVSummary(input chan *FileJob) string { "Comments", "Blanks", "Complexity", - "Bytes"}, - } + "Bytes", + "ULOC", + }} recordsEnd = append(recordsEnd, records...) @@ -347,7 +350,9 @@ func toCSVFiles(input chan *FileJob) string { fmt.Sprint(result.Comment), fmt.Sprint(result.Blank), fmt.Sprint(result.Complexity), - fmt.Sprint(result.Bytes)}) + fmt.Sprint(result.Bytes), + fmt.Sprint(result.Uloc), + }) } // Cater for the common case of adding plural even for those options that don't make sense @@ -412,8 +417,9 @@ func toCSVFiles(input chan *FileJob) string { "Comments", "Blanks", "Complexity", - "Bytes"}, - } + "Bytes", + "ULOC", + }} recordsEnd = append(recordsEnd, records...)