From 95cc5a826832f29061a62361b6ebe3a4c064925e Mon Sep 17 00:00:00 2001 From: Ben Boyter Date: Tue, 23 Feb 2021 08:39:16 +1100 Subject: [PATCH] spdx fix --- SCC-OUTPUT-REPORT.html | 16 ++++++++-------- main.go | 3 +-- processor/cocomo.go | 2 ++ processor/cocomo_test.go | 2 ++ processor/detector.go | 2 ++ processor/detector_test.go | 2 ++ processor/file.go | 2 ++ processor/file_test.go | 2 ++ processor/filereader.go | 2 ++ processor/formatters.go | 2 ++ processor/formatters_test.go | 2 ++ processor/helpers.go | 2 ++ processor/helpers_test.go | 2 ++ processor/processor.go | 2 ++ processor/processor_test.go | 2 ++ processor/processor_unix.go | 2 ++ processor/processor_unix_test.go | 2 ++ processor/structs.go | 2 ++ processor/structs_test.go | 2 ++ processor/workers.go | 2 ++ processor/workers_regression_test.go | 2 ++ processor/workers_test.go | 2 ++ processor/workers_tokei_test.go | 2 ++ 23 files changed, 51 insertions(+), 10 deletions(-) diff --git a/SCC-OUTPUT-REPORT.html b/SCC-OUTPUT-REPORT.html index 2246a225c..d48d815ca 100644 --- a/SCC-OUTPUT-REPORT.html +++ b/SCC-OUTPUT-REPORT.html @@ -12,12 +12,12 @@ Go 34 - 8383 - 1356 - 378 + 8424 + 1377 + 398 6649 1376 - 331899 + 332840 Java 24 @@ -571,11 +571,11 @@ Total 168 - 25539 - 2901 - 1698 + 25580 + 2922 + 1718 20940 2325 - 1772509 + 1773450 \ No newline at end of file diff --git a/main.go b/main.go index dd9a1c758..bb67e525e 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: MIT -// SPDX-License-Identifier: Unlicense +// SPDX-License-Identifier: MIT OR Unlicense package main diff --git a/processor/cocomo.go b/processor/cocomo.go index d1a8b69af..73165e1b2 100644 --- a/processor/cocomo.go +++ b/processor/cocomo.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/cocomo_test.go b/processor/cocomo_test.go index 4a1a0526f..6aec72b99 100644 --- a/processor/cocomo_test.go +++ b/processor/cocomo_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/detector.go b/processor/detector.go index d34ac04f0..60da6c94b 100644 --- a/processor/detector.go +++ b/processor/detector.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/detector_test.go b/processor/detector_test.go index 437265779..c27a2ec4b 100644 --- a/processor/detector_test.go +++ b/processor/detector_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/file.go b/processor/file.go index c2e3aa97a..fd96fd00f 100644 --- a/processor/file.go +++ b/processor/file.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/file_test.go b/processor/file_test.go index 8e81cec3a..d8cc4a20c 100644 --- a/processor/file_test.go +++ b/processor/file_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/filereader.go b/processor/filereader.go index 7889e8dfd..9253172de 100644 --- a/processor/filereader.go +++ b/processor/filereader.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/formatters.go b/processor/formatters.go index 5f76a268d..ca77dc2b0 100644 --- a/processor/formatters.go +++ b/processor/formatters.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/formatters_test.go b/processor/formatters_test.go index de36de596..8de191653 100644 --- a/processor/formatters_test.go +++ b/processor/formatters_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/helpers.go b/processor/helpers.go index ed7192c34..2982e39c2 100644 --- a/processor/helpers.go +++ b/processor/helpers.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/helpers_test.go b/processor/helpers_test.go index 4fae69399..b51b031ef 100644 --- a/processor/helpers_test.go +++ b/processor/helpers_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/processor.go b/processor/processor.go index 7bb68f548..a6a860a11 100644 --- a/processor/processor.go +++ b/processor/processor.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/processor_test.go b/processor/processor_test.go index 29645c4c3..25be28c4b 100644 --- a/processor/processor_test.go +++ b/processor/processor_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/processor_unix.go b/processor/processor_unix.go index 099d95290..0e83a4920 100644 --- a/processor/processor_unix.go +++ b/processor/processor_unix.go @@ -1,5 +1,7 @@ // +build linux darwin +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/processor_unix_test.go b/processor/processor_unix_test.go index 1b6e57d06..d2be57aca 100644 --- a/processor/processor_unix_test.go +++ b/processor/processor_unix_test.go @@ -1,5 +1,7 @@ // +build linux darwin +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/structs.go b/processor/structs.go index 16c58ed36..ac5e901ea 100644 --- a/processor/structs.go +++ b/processor/structs.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/structs_test.go b/processor/structs_test.go index f4a3707e5..bfe098ed4 100644 --- a/processor/structs_test.go +++ b/processor/structs_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/workers.go b/processor/workers.go index 1b05158ce..dfa63a49c 100644 --- a/processor/workers.go +++ b/processor/workers.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/workers_regression_test.go b/processor/workers_regression_test.go index 096b98132..1e1e39692 100644 --- a/processor/workers_regression_test.go +++ b/processor/workers_regression_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import "testing" diff --git a/processor/workers_test.go b/processor/workers_test.go index 4b9e904f6..01764f0f6 100644 --- a/processor/workers_test.go +++ b/processor/workers_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import ( diff --git a/processor/workers_tokei_test.go b/processor/workers_tokei_test.go index 8894c3552..8762b3c7e 100644 --- a/processor/workers_tokei_test.go +++ b/processor/workers_tokei_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT OR Unlicense + package processor import (