Просмотр исходного кода

Increase default shown comparisons from 30 to 100.

Sebastian Hahner 4 лет назад
Родитель
Сommit
7f2729972f
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      README.md
  2. 1 1
      core/src/main/java/de/jplag/options/JPlagOptions.java

+ 1 - 1
README.md

@@ -75,7 +75,7 @@ named arguments:
                          as a matching section. A smaller <n>  increases  the sensitivity but might lead to more
                          as a matching section. A smaller <n>  increases  the sensitivity but might lead to more
                          false-positives
                          false-positives
   -n N                   The maximum number of comparisons that will  be  shown  in the generated report, if set
   -n N                   The maximum number of comparisons that will  be  shown  in the generated report, if set
-                         to -1 all comparisons will be shown (default: 30)
+                         to -1 all comparisons will be shown (default: 100)
   -r R                   Name of the directory in which the comparison results will be stored (default: result)
   -r R                   Name of the directory in which the comparison results will be stored (default: result)
 
 
 Advanced:
 Advanced:

+ 1 - 1
core/src/main/java/de/jplag/options/JPlagOptions.java

@@ -50,7 +50,7 @@ public record JPlagOptions(Language language, Integer minimumTokenMatch, Set<Fil
         boolean debugParser) {
         boolean debugParser) {
 
 
     public static final double DEFAULT_SIMILARITY_THRESHOLD = 0;
     public static final double DEFAULT_SIMILARITY_THRESHOLD = 0;
-    public static final int DEFAULT_SHOWN_COMPARISONS = 30;
+    public static final int DEFAULT_SHOWN_COMPARISONS = 100;
     public static final int SHOW_ALL_COMPARISONS = 0;
     public static final int SHOW_ALL_COMPARISONS = 0;
     public static final SimilarityMetric DEFAULT_SIMILARITY_METRIC = SimilarityMetric.AVG;
     public static final SimilarityMetric DEFAULT_SIMILARITY_METRIC = SimilarityMetric.AVG;
     public static final Charset CHARSET = StandardCharsets.UTF_8;
     public static final Charset CHARSET = StandardCharsets.UTF_8;