3333 */
3434@ SuppressWarnings ("SpellCheckingInspection" )
3535public class ScanossConstants {
36+
37+ /** Private constructor to prevent instantiation. */
38+ private ScanossConstants () {
39+ }
40+
3641 /**
3742 * Default timeout for HTTP communication
3843 */
@@ -52,7 +57,7 @@ public class ScanossConstants {
5257 static final int MIN_FILE_SIZE = 256 ; // Minimum size for a file to be considered for snippet generation
5358 static final int MAX_LONG_LINE_CHARS = 1000 ; // Maximum length of a single source line to be considered source code
5459
55- // File extensions to ignore snippets for
60+ /** File extensions to ignore snippets for. */
5661 public static final List <String > SKIP_SNIPPET_EXT = Arrays .asList (
5762 ".exe" , ".zip" , ".tar" , ".tgz" , ".gz" , ".7z" , ".rar" , ".jar" , ".war" , ".ear" , ".class" , ".pyc" ,
5863 ".o" , ".a" , ".so" , ".obj" , ".dll" , ".lib" , ".out" , ".app" , ".bin" ,
@@ -61,17 +66,17 @@ public class ScanossConstants {
6166 ".pdf" , ".min.js" , ".mf" , ".sum" , ".woff" , ".woff2" , ".xsd" , ".pom" , ".whl"
6267 );
6368
64- // Folders to skip
69+ /** Folders to skip during scanning. */
6570 public static final List <String > FILTERED_DIRS = Arrays .asList (
6671 "nbproject" , "nbbuild" , "nbdist" , "__pycache__" , "venv" , "_yardoc" , "eggs" , "wheels" , "htmlcov" ,
6772 "__pypackages__" , "target"
6873 );
6974
70- // Folder endings to skip
75+ /** Folder suffixes to skip during scanning. */
7176 public static final List <String > FILTERED_DIR_EXT = List .of (".egg-info" );
7277
7378
74- // File extensions to skip
79+ /** File extensions to skip during scanning. */
7580 public static final List <String > FILTERED_EXTENSIONS = Arrays .asList (
7681 ".1" , ".2" , ".3" , ".4" , ".5" , ".6" , ".7" , ".8" , ".9" , ".ac" , ".adoc" , ".am" ,
7782 ".asciidoc" , ".bmp" , ".build" , ".cfg" , ".chm" , ".class" , ".cmake" , ".cnf" ,
@@ -94,7 +99,7 @@ public class ScanossConstants {
9499 "readme" , "swiftdoc" , "texidoc" , "todo" , "version" , "ignore" , "manifest" , "sqlite" , "sqlite3"
95100 );
96101
97- // Files to skip
102+ /** Files to skip during scanning. */
98103 public static final List <String > FILTERED_FILES = Arrays .asList (
99104 "gradlew" , "gradlew.bat" , "mvnw" , "mvnw.cmd" , "gradle-wrapper.jar" , "maven-wrapper.jar" ,
100105 "thumbs.db" , "babel.config.js" , "license.txt" , "license.md" , "copying.lib" , "makefile"
0 commit comments