Repository Analysis

languagetool-org/languagetool

Style and Grammar Checker for 25+ Languages

1.8 Likely human-written View on GitHub
1.8
Adjusted Score
1.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
14,538
Stars
Java
Language
1,639,347
Lines of Code
2963
Files
1014
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 337HIGH 1MEDIUM 25LOW 651

Pattern Findings

1014 matches across 13 categories. Click a row to expand file-level details.

Hallucination Indicators337 hits · 2370 pts
SeverityFileLineSnippet
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1154 // Construct using org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.newBuilder()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3364 // Construct using org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.newBuilder()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3948 // Construct using org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch.newBuilder()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java5220 // Construct using org.languagetool.tools.Cache.ProtoResultCache.CachedRule.newBuilder()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java377 return org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.getDescriptor().getEnumTypes().get(0);
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java420 return rule_ == null ? org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDefaultInstance() : rule_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java427 return rule_ == null ? org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDefaultInstance() : rule_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java532 return patternPosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java543 return patternPosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java562 return offsetPosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java569 return offsetPosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java588 return sentencePosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance(
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java595 return sentencePosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance(
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java692 org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.MatchType result = org.languagetool.tools.Cache.Pr
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java864 if (type_ != org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.MatchType.UnknownWord.getNumber()) {
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java917 if (type_ != org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.MatchType.UnknownWord.getNumber()) {
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1231 return org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.getDefaultInstance();
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1245 org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch result = new org.languagetool.tools.Cache.ProtoR
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1367 if (other == org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.getDefaultInstance()) return this;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1530 org.languagetool.rules.ml.MLServerProto.SuggestedReplacement.parser(),
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1558 org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch.parser(),
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1611 return rule_ == null ? org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDefaultInstance() : rule_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1653 rule_ != org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDefaultInstance()) {
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1696 org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDefaultInstance() : rule_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1884 return patternPosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstan
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1938 patternPosition_ != org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()) {
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java1993 org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance() : patternPosition_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2033 return offsetPosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstanc
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2075 offsetPosition_ != org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()) {
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2118 org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance() : offsetPosition_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2154 return sentencePosition_ == null ? org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInsta
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2196 sentencePosition_ != org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()) {
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2239 org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance() : sentencePosition_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2400 com.google.protobuf.AbstractMessageLite.Builder.addAll(
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2467 org.languagetool.rules.ml.MLServerProto.SuggestedReplacement.getDefaultInstance());
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2475 index, org.languagetool.rules.ml.MLServerProto.SuggestedReplacement.getDefaultInstance());
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2596 org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch.MatchType result = org.languagetool.tools.Cache.
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2797 com.google.protobuf.AbstractMessageLite.Builder.addAll(
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2864 org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch.getDefaultInstance());
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java2872 index, org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch.getDefaultInstance());
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3058 DEFAULT_INSTANCE = new org.languagetool.tools.Cache.ProtoResultCache.CachedResultMatch();
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3391 return org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance();
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3405 org.languagetool.tools.Cache.ProtoResultCache.MatchPosition result = new org.languagetool.tools.Cache.ProtoResul
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3464 if (other == org.languagetool.tools.Cache.ProtoResultCache.MatchPosition.getDefaultInstance()) return this;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3606 DEFAULT_INSTANCE = new org.languagetool.tools.Cache.ProtoResultCache.MatchPosition();
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3975 return org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch.getDefaultInstance();
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java3989 org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch result = new org.languagetool.tools.Cache.ProtoRe
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java4048 if (other == org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch.getDefaultInstance()) return this;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java4232 DEFAULT_INSTANCE = new org.languagetool.tools.Cache.ProtoResultCache.NewLanguageMatch();
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java4589 return org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDescriptor().getEnumTypes().get(0);
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java4849 return category_ == null ? org.languagetool.rules.ml.MLServerProto.RuleCategory.getDefaultInstance() : category_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java4856 return category_ == null ? org.languagetool.rules.ml.MLServerProto.RuleCategory.getDefaultInstance() : category_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java4878 org.languagetool.tools.Cache.ProtoResultCache.CachedRule.Tag result = org.languagetool.tools.Cache.Proto
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java5266 return org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDefaultInstance();
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java5280 org.languagetool.tools.Cache.ProtoResultCache.CachedRule result = new org.languagetool.tools.Cache.ProtoResultCa
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java5374 if (other == org.languagetool.tools.Cache.ProtoResultCache.CachedRule.getDefaultInstance()) return this;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java5969 return category_ == null ? org.languagetool.rules.ml.MLServerProto.RuleCategory.getDefaultInstance() : categor
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java6011 category_ != org.languagetool.rules.ml.MLServerProto.RuleCategory.getDefaultInstance()) {
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java6054 org.languagetool.rules.ml.MLServerProto.RuleCategory.getDefaultInstance() : category_;
CRITICAL…ava/org/languagetool/tools/Cache/ProtoResultCache.java6264 DEFAULT_INSTANCE = new org.languagetool.tools.Cache.ProtoResultCache.CachedRule();
277 more matches not shown…
Over-Commented Block593 hits · 511 pts
SeverityFileLineSnippet
LOWcreate_snapshot.sh1#!/bin/bash
LOWdo_release.sh1#!/usr/bin/env bash
LOWinstall.sh1#!/bin/bash
LOWdeploy-modules.sh1#!/usr/bin/env bash
LOWdeploy-modules.sh21
LOWtest-modules.sh1#!/usr/bin/env bash
LOWtest-modules.sh21
LOWdeploy_release.sh1#!/bin/bash
LOW…getool-dev/src/main/resources/tools/test-broken-url.sh1#!/bin/bash
LOW…ool/language/identifier/DefaultLanguageIdentifier.java61 private static final int SHORT_ALGO_THRESHOLD = 50;
LOW…l/rules/spelling/symspell/implementation/SymSpell.java1package org.languagetool.rules.spelling.symspell.implementation;
LOW…l/rules/spelling/symspell/implementation/SymSpell.java301 /// <returns>A List of SymSpell.SuggestItem object representing suggested correct spellings for the input word,
LOW…l/rules/spelling/symspell/implementation/SymSpell.java721
LOW…l/rules/spelling/symspell/implementation/SymSpell.java761 /// <returns>The word segmented String,
LOW…rules/spelling/symspell/implementation/ChunkArray.java1package org.languagetool.rules.spelling.symspell.implementation;
LOW…les/spelling/symspell/implementation/EditDistance.java1package org.languagetool.rules.spelling.symspell.implementation;
LOW…ules/spelling/symspell/implementation/SuggestItem.java1package org.languagetool.rules.spelling.symspell.implementation;
LOW…/spelling/symspell/implementation/SuggestionStage.java1package org.languagetool.rules.spelling.symspell.implementation;
LOW…ces/org/languagetool/resource/sl/hunspell/spelling.txt1# Words that extend the spell checker. See ignore.txt for words that should be
LOW…esources/org/languagetool/resource/sk/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/sk/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…/main/resources/org/languagetool/resource/sk/added.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ain/resources/org/languagetool/resource/sk/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…ces/org/languagetool/resource/sk/hunspell/spelling.txt1# Words that extend the spell checker. See ignore.txt for words that should be
LOW…esources/org/languagetool/resource/pl/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/pl/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…/main/resources/org/languagetool/resource/pl/added.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ain/resources/org/languagetool/resource/pl/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…esources/org/languagetool/resource/sv/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/sv/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…/main/resources/org/languagetool/resource/sv/added.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ain/resources/org/languagetool/resource/sv/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…ces/org/languagetool/resource/sv/hunspell/spelling.txt1# Words that extend the spell checker. See ignore.txt for words that should be
LOW…esources/org/languagetool/resource/ga/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/ga/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…n/resources/org/languagetool/resource/ga/compounds.txt1# Irish compound words that are usually not written as
LOW…ain/resources/org/languagetool/resource/ga/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…esources/org/languagetool/resource/km/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/km/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…/main/resources/org/languagetool/resource/km/added.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ain/resources/org/languagetool/resource/km/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…ces/org/languagetool/resource/km/hunspell/spelling.txt1# Words that extend the spell checker. See ignore.txt for words that should be
LOW…esources/org/languagetool/resource/be/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/be/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…/main/resources/org/languagetool/resource/be/added.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ain/resources/org/languagetool/resource/be/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…ces/org/languagetool/resource/be/hunspell/spelling.txt1# Words that extend the spell checker. See ignore.txt for words that should be
LOW…esources/org/languagetool/resource/da/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/da/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…/main/resources/org/languagetool/resource/da/added.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ain/resources/org/languagetool/resource/da/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…ces/org/languagetool/resource/da/hunspell/spelling.txt1# Words that extend the spell checker. See ignore.txt for words that should be
LOW…c/main/resources/org/languagetool/rules/el/replace.txt1# General replacement rules, used by org.languagetool.rules.el.ReplaceHomonymsRule
LOW…esources/org/languagetool/resource/el/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/el/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…/main/resources/org/languagetool/resource/el/added.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ain/resources/org/languagetool/resource/el/removed.txt1# The opposite of added.txt: these readings will be removed.
LOW…esources/org/languagetool/resource/it/added_custom.txt1# A part-of-speech dictionary that's used additionally to the binary dictionary (*.dict).
LOW…ources/org/languagetool/resource/it/removed_custom.txt1# The opposite of added.txt: these readings will be removed.
LOW…ain/resources/org/languagetool/resource/it/removed.txt1# The opposite of added.txt: these readings will be removed.
533 more matches not shown…
Decorative Section Separators16 hits · 48 pts
SeverityFileLineSnippet
MEDIUM…urces/org/languagetool/resource/nl/spelling/ignore.txt2#-------------------------------------------------------------------
MEDIUM…ources/org/languagetool/resource/de/other_prefixes.txt1# =========================================================================
MEDIUM…ources/org/languagetool/resource/de/other_prefixes.txt11# =========================================================================
MEDIUM…sources/org/languagetool/resource/de/verb_prefixes.txt1# =========================================================================
MEDIUM…sources/org/languagetool/resource/de/verb_prefixes.txt5# =========================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt1# =========================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt20# ==========================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt23# ===========================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt272# ============================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt274# =============================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt1429# ==============================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt1432# ===============================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt1668# ================================================================================
MEDIUM…n/resources/org/languagetool/resource/de/compounds.txt1676# =================================================================================
MEDIUM…/resources/org/languagetool/resource/de/verb_stems.txt1# =========================================================================
MEDIUM…/resources/org/languagetool/resource/de/verb_stems.txt11# =========================================================================
Fake / Example Data29 hits · 36 pts
SeverityFileLineSnippet
LOW…rces/org/languagetool/rules/xx/remote-rule-filters.xml69 <example correction="">Lorem ipsum <marker>foo</marker>.</example>
LOW…a/org/languagetool/rules/patterns/PatternRuleTest.java471 if (msg.equalsIgnoreCase("todo") || msg.equalsIgnoreCase("lorem ipsum")) {
LOW…a/org/languagetool/rules/patterns/PatternRuleTest.java472 fail("Unfinished message ('todo' or 'lorem ipsum') of rule " + rule.getFullId() + ": '" + msg + "'");
LOW…s_ordering/DetailedDamerauLevenstheinDistanceTest.java59 String text = "This is a test text. Random edits will occur here. Foo bar baz. Bla bla. Lorem ipsum dolor sit amet."
LOW…s_ordering/DetailedDamerauLevenstheinDistanceTest.java59 String text = "This is a test text. Random edits will occur here. Foo bar baz. Bla bla. Lorem ipsum dolor sit amet."
LOW…esources/org/languagetool/resource/spelling_global.txt16023Lorem ipsum
LOW…esources/org/languagetool/resource/spelling_global.txt16024Lorem ipsum dolor sit amet
LOW…esources/org/languagetool/resource/spelling_global.txt16024Lorem ipsum dolor sit amet
LOW…/resources/org/languagetool/resource/ca/multiwords.txt14374lorem ipsum;_Latin_
LOW…es/org/languagetool/resource/de/multitoken-suggest.txt1084Lorem Ipsum
LOW…es/org/languagetool/resource/de/multitoken-suggest.txt1085Lorem ipsum
LOW…/resources/org/languagetool/resource/es/multiwords.txt1354lorem ipsum;_Latin_
LOW…/resources/org/languagetool/resource/en/multiwords.txt674lorem ipsum NNP
LOW…/resources/org/languagetool/resource/en/multiwords.txt4655Lorem ipsum dolor sit amet UH
LOW…/resources/org/languagetool/resource/en/multiwords.txt4655Lorem ipsum dolor sit amet UH
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java29 String testString = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incidunt.";
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java29 String testString = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incidunt.";
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java30 String testStringShortened = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incidunt.
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java30 String testStringShortened = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incidunt.
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java31 String testLongString = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incidunt ut la
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java31 String testLongString = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incidunt ut la
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java32 String testLongStringShortened = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incid
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java32 String testLongStringShortened = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod tempor incid
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java33 String testVeryLongString = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod (tempor incidunt
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java33 String testVeryLongString = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod (tempor incidunt
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java34 String testVeryLongStringShortened = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod (tempor
LOW…mons/src/test/java/org/languagetool/gui/ToolsTest.java34 String testVeryLongStringShortened = "Lorem ipsum dolor sit amet, consectetur (adipisici elit), sed eiusmod (tempor
LOW…anguagetool/server/DictionarySpellMatchFilterTest.java61 " Rick Astley NNP Lorem ipsum dolor sit amet.";
LOW…anguagetool/server/DictionarySpellMatchFilterTest.java61 " Rick Astley NNP Lorem ipsum dolor sit amet.";
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippet
LOW…esources/org/languagetool/resource/sr/script/pos2lt.py89 # Check if there is a tag
LOW…esources/org/languagetool/resource/sr/script/csv2pg.py134 # Check if there is a tag
LOW…esources/org/languagetool/resource/sr/script/csv2pg.py137 # Check if there is (wordform, lemma) combination in DB
LOW…sources/org/languagetool/resource/sr/script/wic2pos.py128# Open files for writing words in directory specified with "-b" option
LOW…sources/org/languagetool/resource/sr/script/gettags.py85 # Check if line matches regex
LOW…sources/org/languagetool/resource/sr/script/lex2pos.py118# Open files for writing words in directory specified with "-b" option
LOW…/org/languagetool/resource/ast/hunspell/create_dict.sh4# Set LT_VERSION to the version you are currently building on.
LOW…s/org/languagetool/resource/de/hunspell/create_dict.sh4# Set LT_VERSION to the version you are currently building on.
LOW…agetool-rpm-package/src/main/resources/makekeystore.sh12# Check if required files exits
Deep Nesting13 hits · 13 pts
SeverityFileLineSnippet
LOW…esources/org/languagetool/resource/sr/script/pos2lt.py78
LOW…esources/org/languagetool/resource/sr/script/csv2pg.py123
LOW…rces/org/languagetool/resource/sr/script/srptagging.py129
LOW…rces/org/languagetool/resource/sr/script/srptagging.py188
LOW…rces/org/languagetool/resource/sr/script/srptagging.py269
LOW…rces/org/languagetool/resource/sr/script/srptagging.py332
LOW…rces/org/languagetool/resource/sr/script/srptagging.py476
LOW…rces/org/languagetool/resource/sr/script/srptagging.py587
LOW…sources/org/languagetool/resource/sr/script/wic2pos.py426
LOW…sources/org/languagetool/resource/sr/script/gettags.py69
LOW…sources/org/languagetool/resource/sr/script/lex2pos.py178
LOW…sources/org/languagetool/resource/sr/script/lex2pos.py235
LOW…es/org/languagetool/resource/sr/script/makewordlist.py55
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippet
MEDIUM…sources/org/languagetool/resource/sr/script/wic2pos.py168 # Create a regular expression from the dictionary keys
MEDIUM…sources/org/languagetool/resource/sr/script/lex2pos.py158 # Create a regular expression from the dictionary keys
MEDIUM…sources/org/languagetool/resource/br/create-lexicon.pl2578# Create the list of unique tags.
MEDIUM…ol/resource/br/hunspell/create-fsa-spell-dictionary.sh3# Create the Breton FSA spelling dictionary from
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippet
MEDIUM…ool-core/src/main/java/org/languagetool/Languages.java121 // avoid duplicates - this way we are robust against problems with the maven assembly
MEDIUM…tool/rules/pt/MorfologikPortugueseSpellerRuleTest.java284 // test that we are able to leverage the synthesiser to expand the lookup (plurals are not on the list)
MEDIUM…java/org/languagetool/tagging/pt/PortugueseTagger.java46 // Removed 're' and 'auto' because of 'reune', 'autossabotar', etc.; we need more robust logic for this elsewhere
Slop Phrases5 hits · 7 pts
SeverityFileLineSnippet
MEDIUM…rces/org/languagetool/rules/en/remote-rule-filters.xml991 <example correction="">Let me know if you need any assistance to finish or <marker>approve</marker> expe
MEDIUM…rces/org/languagetool/rules/en/remote-rule-filters.xml2075 <example correction="">Even if the work performed by PGE is included as part of CSUF's CEQA filing for t
LOW…uagetool/rules/en/EnglishConfusionProbabilityRule.java747 addExamplePair(Example.wrong("Don't forget to put on the <marker>breaks</marker>."),
LOW…uagetool/rules/en/EnglishConfusionProbabilityRule.java748 Example.fixed("Don't forget to put on the <marker>brakes</marker>."));
LOW…c/main/resources/org/languagetool/rules/lt/grammar.xml10Don't forget to check this and next resolutions against these rules !
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippet
HIGH…t/java/org/languagetool/ProtoResultMatchCacheTest.java47 "Now some sentences generated by openAI!. ",
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippet
LOW…sources/org/languagetool/resource/sr/script/lex2pos.py210def distribute_word_frequencies():
LOW…es/org/languagetool/resource/sr/script/makewordlist.py87def distribute_word_frequencies():
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOW…uagetool/rules/pt/MorfologikPortugueseSpellerRule.java206 // that, theoretically, it is possible for dialect issues to emerge, we need to check if the flagged word is
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOW…esources/org/languagetool/resource/sr/script/csv2pg.py17