File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
plugins/scanners/scanoss/src Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ import org.ossreviewtoolkit.plugins.api.OrtPluginOption
2525import org.ossreviewtoolkit.plugins.api.Secret
2626
2727data class ScanOssConfig (
28- /* * The URL of the ScanOSS server. */
28+ /* * The URL of the SCANOSS server. */
2929 @OrtPluginOption(defaultValue = ScanApi .DEFAULT_BASE_URL )
3030 val apiUrl : String ,
3131
32- /* * The API key used to authenticate with the ScanOSS server. */
32+ /* * The API key used to authenticate with the SCANOSS server. */
3333 @OrtPluginOption(defaultValue = " " )
3434 val apiKey : Secret ,
3535
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ private fun getCopyrightFindings(details: ScanFileDetails): List<CopyrightFindin
153153}
154154
155155/* *
156- * Get the snippet findings from the given [details]. If a snippet returned by ScanOSS contains several PURLs,
156+ * Get the snippet findings from the given [details]. If a snippet returned by SCANOSS contains several PURLs,
157157 * the function extracts the first PURL as the primary identifier while storing the remaining PURLs in additionalData
158158 * to preserve the complete information.
159159 */
@@ -184,7 +184,7 @@ private fun getSnippets(details: ScanFileDetails): List<Snippet> {
184184}
185185
186186/* *
187- * Split [lineRanges] returned by ScanOSS such as "32-105,117-199" into [TextLocation]s for the given [file].
187+ * Split [lineRanges] returned by SCANOSS such as "32-105,117-199" into [TextLocation]s for the given [file].
188188 */
189189private fun convertLines (file : String , lineRanges : String ): List <TextLocation > =
190190 lineRanges.split(' ,' ).map { lineRange ->
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ class ScanOssScannerDirectoryTest : StringSpec({
158158 // [fingerprint data for the file]
159159 // --boundary--
160160
161- // Extract included filenames using a regex pattern from the ScanOSS HTTP POST.
161+ // Extract included filenames using a regex pattern from the SCANOSS HTTP POST.
162162 // The pattern matches lines starting with "file=" followed by hash and size, then captures the filename.
163163 val filenamePattern = " file=.*?,.*?,(.+)" .toRegex(RegexOption .MULTILINE )
164164 val includedFiles = requestBodies.flatMap { body ->
You can’t perform that action at this time.
0 commit comments