Skip to content

Create Health Connect to FHIR converter module #7

Create Health Connect to FHIR converter module

Create Health Connect to FHIR converter module #7

GitHub Actions / detekt failed Jun 3, 2024 in 1s

reviewdog [detekt] report

reported by reviewdog 🐶

Findings (18)

modules/healthconnectonfhir/build.gradle.kts|1 col 1| File must end with a newline (\n)
modules/healthconnectonfhir/build.gradle.kts|12 col 2| The file /github/workspace/modules/healthconnectonfhir/build.gradle.kts is not ending with a new line.
modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt|1 col 1| File must end with a newline (\n)
modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt|186 col 2| The file /github/workspace/modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt is not ending with a new line.
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|66 col 1| Exceeded max line length (140)
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|80 col 1| Exceeded max line length (140)
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|108 col 1| Exceeded max line length (140)
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|125 col 1| Exceeded max line length (140)
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|28 col 50| Missing spacing before "{"
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|23 col 46| Missing trailing comma before ")"
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|1 col 1| File must end with a newline (\n)
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|18 col 15| Missing spacing before ":"
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|195 col 2| The file /github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt is not ending with a new line.
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|66 col 1| Line detected, which is longer than the defined maximum line length in the code style.
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|80 col 1| Line detected, which is longer than the defined maximum line length in the code style.
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|108 col 1| Line detected, which is longer than the defined maximum line length in the code style.
modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt|125 col 1| Line detected, which is longer than the defined maximum line length in the code style.

Filtered Findings (0)

Annotations

Check warning on line 1 in modules/healthconnectonfhir/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/build.gradle.kts#L1 <detekt.FinalNewline>

File must end with a newline (\n)
Raw output
/github/workspace/modules/healthconnectonfhir/build.gradle.kts:1:1: warning: File must end with a newline (\n) (detekt.FinalNewline)

Check warning on line 12 in modules/healthconnectonfhir/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/build.gradle.kts#L12 <detekt.NewLineAtEndOfFile>

The file /github/workspace/modules/healthconnectonfhir/build.gradle.kts is not ending with a new line.
Raw output
/github/workspace/modules/healthconnectonfhir/build.gradle.kts:12:2: warning: The file /github/workspace/modules/healthconnectonfhir/build.gradle.kts is not ending with a new line. (detekt.NewLineAtEndOfFile)

Check warning on line 1 in modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt#L1 <detekt.FinalNewline>

File must end with a newline (\n)
Raw output
/github/workspace/modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt:1:1: warning: File must end with a newline (\n) (detekt.FinalNewline)

Check warning on line 3 in modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt#L3 <detekt.ImportOrdering>

Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
Raw output
/github/workspace/modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt:3:1: warning: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (detekt.ImportOrdering)

Check warning on line 186 in modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt#L186 <detekt.NewLineAtEndOfFile>

The file /github/workspace/modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt is not ending with a new line.
Raw output
/github/workspace/modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt:186:2: warning: The file /github/workspace/modules/healthconnectonfhir/src/test/java/edu/stanford/healthconnectonfhir/CreateObservationTests.kt is not ending with a new line. (detekt.NewLineAtEndOfFile)

Check warning on line 66 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L66 <detekt.MaximumLineLength>

Exceeded max line length (140)
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:66:1: warning: Exceeded max line length (140) (detekt.MaximumLineLength)

Check warning on line 80 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L80 <detekt.MaximumLineLength>

Exceeded max line length (140)
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:80:1: warning: Exceeded max line length (140) (detekt.MaximumLineLength)

Check warning on line 108 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L108 <detekt.MaximumLineLength>

Exceeded max line length (140)
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:108:1: warning: Exceeded max line length (140) (detekt.MaximumLineLength)

Check warning on line 125 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L125 <detekt.MaximumLineLength>

Exceeded max line length (140)
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:125:1: warning: Exceeded max line length (140) (detekt.MaximumLineLength)

Check warning on line 28 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L28 <detekt.SpacingAroundCurly>

Missing spacing before "{"
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:28:50: warning: Missing spacing before "{" (detekt.SpacingAroundCurly)

Check warning on line 23 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L23 <detekt.TrailingCommaOnDeclarationSite>

Missing trailing comma before ")"
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:23:46: warning: Missing trailing comma before ")" (detekt.TrailingCommaOnDeclarationSite)

Check warning on line 1 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L1 <detekt.FinalNewline>

File must end with a newline (\n)
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:1:1: warning: File must end with a newline (\n) (detekt.FinalNewline)

Check warning on line 18 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L18 <detekt.SpacingAroundColon>

Missing spacing before ":"
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:18:15: warning: Missing spacing before ":" (detekt.SpacingAroundColon)

Check warning on line 195 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L195 <detekt.NewLineAtEndOfFile>

The file /github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt is not ending with a new line.
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:195:2: warning: The file /github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt is not ending with a new line. (detekt.NewLineAtEndOfFile)

Check warning on line 66 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L66 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:66:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)

Check warning on line 80 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L80 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:80:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)

Check warning on line 108 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L108 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:108:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)

Check warning on line 125 in modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt#L125 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/modules/healthconnectonfhir/src/main/java/edu/stanford/healthconnectonfhir/HealthConnectToFHIR.kt:125:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)