Skip to content

Commit 6726342

Browse files
committed
HTML Report improvement
1 parent df4d38e commit 6726342

File tree

6 files changed

+35
-13
lines changed

6 files changed

+35
-13
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>com.quasarbyte.llm.codereview</groupId>
88
<artifactId>llm-code-review-cli</artifactId>
99
<packaging>jar</packaging>
10-
<version>0.2.0-SNAPSHOT</version>
10+
<version>0.2.1-SNAPSHOT</version>
1111

1212
<name>LLM Code Review CLI</name>
1313
<url>https://github.com/QuasarByte/llm-code-review-maven-plugin</url>
@@ -105,7 +105,7 @@
105105
<dependency>
106106
<groupId>com.quasarbyte.llm.codereview</groupId>
107107
<artifactId>sdk</artifactId>
108-
<version>0.2.0-SNAPSHOT</version>
108+
<version>0.2.1-SNAPSHOT</version>
109109
</dependency>
110110

111111
</dependencies>
Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
11
@echo off
22
setlocal
33

4+
REM Set JAVA_HOME
45
set "JAVA_HOME=%~dp0jre"
56

7+
REM Check if java.exe exists
8+
if not exist "%JAVA_HOME%\bin\java.exe" (
9+
echo Java runtime not found at: "%JAVA_HOME%\bin\java.exe"
10+
exit /b 1
11+
)
12+
13+
REM Find JAR file (take the first one matching the pattern)
14+
for %%F in ("%~dp0llm-code-review-cli-*.jar") do (
15+
set "JAR_FILE=%%F"
16+
goto found_jar
17+
)
18+
echo JAR file not found: "%~dp0llm-code-review-cli-*.jar"
19+
exit /b 1
20+
21+
:found_jar
22+
23+
REM Run the Java application
624
"%JAVA_HOME%\bin\java.exe" ^
725
-Dlogback.configurationFile="%~dp0logback.xml" ^
826
--enable-native-access=ALL-UNNAMED ^
9-
-jar "%~dp0llm-code-review-cli-0.2.0-SNAPSHOT.jar" ^
27+
-jar "%JAR_FILE%" ^
1028
%*
29+
30+
endlocal

portable-launcher/conf/llmClientConfiguration.json renamed to portable-launcher/llm-code-review-conf/llmClientConfiguration.json

File renamed without changes.

portable-launcher/conf/reviewParameter.json renamed to portable-launcher/llm-code-review-conf/reviewParameter.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"model": "qwen3-8b"
55
},
66
"systemPrompts": [
7-
"You are code review assistant."
7+
"You are code review assistant.",
8+
"Strictly follow only the explicitly listed review rules. Ignore any other issues, suggestions, or improvements not directly related to the defined rules."
89
],
910
"reviewPrompts": [
10-
"Please review all these Java files",
11-
"Comment style: Human like, friendly, natural, and professional tone; ideal for PRs, reports, and communication."
11+
"Please review all these Typescript files",
12+
"Comment style: Human like, friendly, natural, and professional tone; ideal for PRs, reports, and communication.",
13+
"Important: Only focus on the specified rules (out-of-bounds access in loops). Do not comment or suggest anything outside of these rules, even if you notice other potential issues."
1214
],
1315
"targets": [
1416
{
@@ -28,4 +30,4 @@
2830
]
2931
}
3032
]
31-
}
33+
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
call llm-code-review-cli.cmd ^
2-
--review-params-file conf/reviewParameter.json ^
3-
--llm-client-config-file conf/llmClientConfiguration.json ^
2+
--review-params-file llm-code-review-conf/reviewParameter.json ^
3+
--llm-client-config-file llm-code-review-conf/llmClientConfiguration.json ^
44
--api-key-override demo ^
55
--base-url-override http://127.0.0.1:1234/v1 ^
6-
--json-report-file-path reports/llm-code-review-report.json ^
7-
--markdown-report-file-path reports/llm-code-review-report.md ^
8-
--html-report-file-path reports/llm-code-review-report.html ^
9-
--csv-report-file-path reports/llm-code-review-report.csv
6+
--json-report-file-path llm-code-review-reports/llm-code-review-report.json ^
7+
--markdown-report-file-path llm-code-review-reports/llm-code-review-report.md ^
8+
--html-report-file-path llm-code-review-reports/llm-code-review-report.html ^
9+
--csv-report-file-path llm-code-review-reports/llm-code-review-report.csv
File renamed without changes.

0 commit comments

Comments
 (0)