esoe
3 years ago
21 changed files with 320 additions and 33 deletions
@ -1,4 +1,4 @@ |
|||||||
package main.java.ru.egspt.moodle; |
package ru.egspt; |
||||||
|
|
||||||
public class BaseControls { |
public class BaseControls { |
||||||
//
|
//
|
@ -0,0 +1,4 @@ |
|||||||
|
package ru.egspt; |
||||||
|
public class Data { |
||||||
|
|
||||||
|
} |
@ -1,4 +0,0 @@ |
|||||||
package main.java.ru.egspt.moodle; |
|
||||||
public class Data { |
|
||||||
|
|
||||||
} |
|
@ -1,18 +0,0 @@ |
|||||||
package ru.egspt; |
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test; |
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals; |
|
||||||
|
|
||||||
/** |
|
||||||
* Unit test for simple App. |
|
||||||
*/ |
|
||||||
class AppTest { |
|
||||||
/** |
|
||||||
* Rigorous Test. |
|
||||||
*/ |
|
||||||
@Test |
|
||||||
void testApp() { |
|
||||||
assertEquals(1, 1); |
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,3 @@ |
|||||||
|
#Wed May 11 16:06:06 MSK 2022 |
||||||
|
module-resource*?\:checkstyle/suppressions.xml=3B4ADFBFB42AA213119FAA5299E87F0537A02AFD |
||||||
|
configuration*?=9FACA937F0890BA0B556BC18568485F706CFAEA2 |
@ -0,0 +1,175 @@ |
|||||||
|
<?xml version="1.0" ?> |
||||||
|
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd"> |
||||||
|
<module name="Checker"> |
||||||
|
<!-- Annotations --> |
||||||
|
<module name="SuppressionFilter"> |
||||||
|
<property name="file" value="checkstyle/suppressions.xml" /> |
||||||
|
<property name="optional" value="true" /> |
||||||
|
</module> |
||||||
|
<!-- Allow suppressing with an annotation --> |
||||||
|
<module name="SuppressWarningsFilter" /> |
||||||
|
|
||||||
|
<!-- |
||||||
|
If you set the basedir property below, then all reported file |
||||||
|
names will be relative to the specified directory. See |
||||||
|
http://checkstyle.sourceforge.net/5.x/config.html#Checker |
||||||
|
|
||||||
|
<property name="basedir" value="${basedir}"/> |
||||||
|
--> |
||||||
|
<property name="fileExtensions" value="java, properties, xml" /> |
||||||
|
<module name="NewlineAtEndOfFile" /> |
||||||
|
<module name="Translation" /> |
||||||
|
<module name="FileLength" /> |
||||||
|
<module name="FileTabCharacter" /> |
||||||
|
<module name="RegexpSingleline"> |
||||||
|
<property name="format" value="\s+$" /> |
||||||
|
<property name="minimum" value="0" /> |
||||||
|
<property name="maximum" value="0" /> |
||||||
|
<property name="message" value="Line has trailing spaces." /> |
||||||
|
</module> |
||||||
|
<module name="LineLength"> |
||||||
|
<property name="max" value="120" /> |
||||||
|
</module> |
||||||
|
<module name="TreeWalker"> |
||||||
|
<!-- Block Checks --> |
||||||
|
<module name="AvoidNestedBlocks" /> |
||||||
|
<module name="EmptyBlock" /> |
||||||
|
<module name="LeftCurly" /> |
||||||
|
<module name="NeedBraces" /> |
||||||
|
<module name="RightCurly" /> |
||||||
|
<!-- Class Design --> |
||||||
|
<module name="FinalClass" /> |
||||||
|
<module name="HideUtilityClassConstructor" /> |
||||||
|
<module name="InterfaceIsType" /> |
||||||
|
<module name="OneTopLevelClass" /> |
||||||
|
<module name="VisibilityModifier" /> |
||||||
|
<!-- Coding --> |
||||||
|
<module name="CovariantEquals" /> |
||||||
|
<module name="DeclarationOrder" /> |
||||||
|
<module name="DefaultComesLast" /> |
||||||
|
<module name="EmptyStatement" /> |
||||||
|
<module name="EqualsAvoidNull" /> |
||||||
|
<module name="EqualsHashCode" /> |
||||||
|
<module name="ExplicitInitialization" /> |
||||||
|
<module name="FallThrough" /> |
||||||
|
<module name="HiddenField"> |
||||||
|
<property name="ignoreConstructorParameter" value="true" /> |
||||||
|
<property name="ignoreSetter" value="true" /> |
||||||
|
</module> |
||||||
|
<module name="IllegalCatch" /> |
||||||
|
<module name="IllegalInstantiation" /> |
||||||
|
<module name="IllegalThrows" /> |
||||||
|
<module name="IllegalType" /> |
||||||
|
<module name="InnerAssignment" /> |
||||||
|
<module name="MagicNumber"> |
||||||
|
<property name="ignoreFieldDeclaration" value="true" /> |
||||||
|
<property name="ignoreAnnotation" value="true" /> |
||||||
|
<property name="ignoreHashCodeMethod" value="true" /> |
||||||
|
</module> |
||||||
|
<module name="MissingSwitchDefault" /> |
||||||
|
<module name="ModifiedControlVariable" /> |
||||||
|
<module name="MultipleVariableDeclarations" /> |
||||||
|
<module name="NestedForDepth" /> |
||||||
|
<module name="NestedIfDepth" /> |
||||||
|
<module name="NestedTryDepth" /> |
||||||
|
<module name="NoClone" /> |
||||||
|
<module name="NoFinalizer" /> |
||||||
|
<module name="OneStatementPerLine" /> |
||||||
|
<module name="OverloadMethodsDeclarationOrder" /> |
||||||
|
<module name="PackageDeclaration" /> |
||||||
|
<module name="ParameterAssignment" /> |
||||||
|
<module name="SimplifyBooleanExpression" /> |
||||||
|
<module name="SimplifyBooleanReturn" /> |
||||||
|
<module name="StringLiteralEquality" /> |
||||||
|
<module name="UnnecessaryParentheses" /> |
||||||
|
<!-- Headers --> |
||||||
|
<!-- Imports --> |
||||||
|
<module name="AvoidStarImport"> |
||||||
|
<property name="excludes" value="java.awt,java.io,java.util,javax.swing,java.lang.Math,org.junit.Assert,org.mockito.Mockito,org.springframework.test.web.servlet.result.MockMvcResultMatchers" /> |
||||||
|
</module> |
||||||
|
<module name="IllegalImport" /> |
||||||
|
<module name="ImportOrder"> |
||||||
|
<property name="option" value="bottom" /> |
||||||
|
<property name="sortStaticImportsAlphabetically" value="true" /> |
||||||
|
<property name="separatedStaticGroups" value="true" /> |
||||||
|
</module> |
||||||
|
<module name="RedundantImport" /> |
||||||
|
<module name="UnusedImports" /> |
||||||
|
<!-- Javadoc Comments --> |
||||||
|
<module name="JavadocMethod"> |
||||||
|
<property name="allowedAnnotations" value="Override,Test,ParameterizedTest,Before,BeforeClass,BeforeEach,BeforeAll,After,AfterClass,AfterEach,AfterAll,DisplayName" /> |
||||||
|
<property name="scope" value="package" /> |
||||||
|
<property name="allowMissingParamTags" value="true" /> |
||||||
|
<property name="allowMissingReturnTag" value="true" /> |
||||||
|
</module> |
||||||
|
<module name="JavadocStyle" /> |
||||||
|
<module name="JavadocType" /> |
||||||
|
<module name="JavadocVariable"> |
||||||
|
<property name="scope" value="protected" /> <!-- *** don't document private fields --> |
||||||
|
</module> |
||||||
|
<module name="MissingJavadocMethod"> |
||||||
|
<property name="scope" value="package" /> |
||||||
|
<property name="allowMissingPropertyJavadoc" value="true" /> |
||||||
|
<property name="minLineCount" value="2" /> |
||||||
|
<property name="allowedAnnotations" value="Override,Test,ParameterizedTest,Before,BeforeClass,BeforeEach,BeforeAll,After,AfterClass,AfterEach,AfterAll,DisplayName" /> |
||||||
|
</module> |
||||||
|
<module name="MissingJavadocType"> |
||||||
|
<property name="scope" value="package" /> |
||||||
|
</module> |
||||||
|
<!-- Metrics --> |
||||||
|
<!-- Miscellaneous --> |
||||||
|
<module name="ArrayTypeStyle" /> |
||||||
|
<module name="CommentsIndentation" /> |
||||||
|
<module name="Indentation" /> |
||||||
|
<module name="OuterTypeFilename" /> |
||||||
|
<module name="UpperEll" /> |
||||||
|
<!-- Modifiers --> |
||||||
|
<module name="ModifierOrder" /> |
||||||
|
<module name="RedundantModifier" /> |
||||||
|
<!-- Naming conventions --> |
||||||
|
<module name="ConstantName" /> |
||||||
|
<module name="LocalFinalVariableName" /> |
||||||
|
<module name="LocalVariableName" /> |
||||||
|
<module name="MemberName" /> |
||||||
|
<module name="MethodName"> |
||||||
|
<!-- *** using Google flavor to permit underscore in test method names --> |
||||||
|
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$" /> |
||||||
|
<message key="name.invalidPattern" value="Method name ''{0}'' must match pattern ''{1}''." /> |
||||||
|
</module> |
||||||
|
<module name="PackageName"> |
||||||
|
<!-- |
||||||
|
*** ensure packages start with a lowercase letter and only contain lowercase letters or numbers |
||||||
|
--> |
||||||
|
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$" /> |
||||||
|
</module> |
||||||
|
<module name="ParameterName" /> |
||||||
|
<module name="StaticVariableName" /> |
||||||
|
<module name="TypeName" /> |
||||||
|
<!-- Regexp --> |
||||||
|
<!-- Size violations --> |
||||||
|
<module name="MethodLength" /> |
||||||
|
<module name="ParameterNumber" /> |
||||||
|
<!-- Whitespace --> |
||||||
|
<module name="EmptyForIteratorPad" /> |
||||||
|
<module name="EmptyLineSeparator"> |
||||||
|
<property name="allowNoEmptyLineBetweenFields" value="true" /> |
||||||
|
<property name="allowMultipleEmptyLines" value="false" /> |
||||||
|
</module> |
||||||
|
<module name="GenericWhitespace" /> |
||||||
|
<module name="MethodParamPad" /> |
||||||
|
<module name="NoWhitespaceAfter" /> |
||||||
|
<module name="NoWhitespaceBefore" /> |
||||||
|
<module name="OperatorWrap" /> |
||||||
|
<module name="ParenPad" /> |
||||||
|
<module name="TypecastParenPad" /> |
||||||
|
<module name="WhitespaceAfter" /> |
||||||
|
<module name="WhitespaceAround"> |
||||||
|
<property name="allowEmptyConstructors" value="true" /> |
||||||
|
<property name="allowEmptyMethods" value="true" /> |
||||||
|
<property name="allowEmptyTypes" value="true" /> |
||||||
|
</module> |
||||||
|
|
||||||
|
<!-- make annotations available to SuppressWarningsFilter --> |
||||||
|
<module name="SuppressWarningsHolder" /> |
||||||
|
</module> |
||||||
|
</module> |
@ -0,0 +1,122 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<checkstyle version="8.39"> |
||||||
|
<file name="C:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\App.java"> |
||||||
|
<error line="2" column="1" severity="error" message="'import' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="6" column="1" severity="error" message="Extra separation in import group before 'ru.egspt.moodle.AccessPane'" source="com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck"/> |
||||||
|
<error line="10" severity="error" message="First sentence should end with a period." source="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck"/> |
||||||
|
<error line="13" column="32" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="14" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck"/> |
||||||
|
<error line="14" column="17" severity="error" message="Variable 'base' must be private and have accessor methods." source="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck"/> |
||||||
|
<error line="15" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck"/> |
||||||
|
<error line="15" column="17" severity="error" message="Variable 'data' must be private and have accessor methods." source="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck"/> |
||||||
|
<error line="17" column="23" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="21" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="21" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="21" column="28" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="25" column="27" severity="error" message="'640' is a magic number." source="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"/> |
||||||
|
<error line="25" column="32" severity="error" message="'480' is a magic number." source="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"/> |
||||||
|
<error line="29" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="29" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="29" column="28" severity="error" message="'(' is followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="29" column="44" severity="error" message="')' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="30" column="5" severity="error" message="'{' at column 5 should be on the previous line." source="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"/> |
||||||
|
<error line="31" column="27" severity="error" message="'(' is followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="31" column="106" severity="error" message="')' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="37" severity="error" message="Line has trailing spaces." source="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck"/> |
||||||
|
</file> |
||||||
|
<file name="C:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\moodle\Access.java"> |
||||||
|
<error line="2" column="1" severity="error" message="'CLASS_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="2" column="1" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck"/> |
||||||
|
<error line="9" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="15" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="21" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="27" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="33" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="39" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="42" severity="error" message="Line has trailing spaces." source="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck"/> |
||||||
|
</file> |
||||||
|
<file name="C:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\moodle\AccessPane.java"> |
||||||
|
<error line="2" column="1" severity="error" message="'import' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="3" column="1" severity="error" message="Wrong order for 'java.awt.Color' import." source="com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck"/> |
||||||
|
<error line="16" column="1" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck"/> |
||||||
|
<error line="24" column="21" severity="error" message="Name 'DisconnButton' must match pattern '^[a-z][a-zA-Z0-9]*$'." source="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck"/> |
||||||
|
<error line="25" severity="error" message="Line has trailing spaces." source="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck"/> |
||||||
|
<error line="26" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="26" column="33" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="27" column="35" severity="error" message="';' is not followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck"/> |
||||||
|
<error line="28" column="42" severity="error" message="';' is not followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck"/> |
||||||
|
<error line="41" severity="error" message="Line is longer than 120 characters (found 141)." source="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"/> |
||||||
|
<error line="44" column="22" severity="error" message="'320' is a magic number." source="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"/> |
||||||
|
<error line="44" column="27" severity="error" message="'240' is a magic number." source="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"/> |
||||||
|
<error line="50" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="56" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="62" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="65" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="65" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="65" column="28" severity="error" message="'(' is followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="65" column="44" severity="error" message="')' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="65" column="45" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="68" column="27" severity="error" message="'(' is followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="68" column="77" severity="error" message="')' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"/> |
||||||
|
<error line="73" column="27" severity="error" message="'320' is a magic number." source="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"/> |
||||||
|
<error line="73" column="32" severity="error" message="'240' is a magic number." source="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"/> |
||||||
|
<error line="76" severity="error" message="Line has trailing spaces." source="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck"/> |
||||||
|
</file> |
||||||
|
<file name="C:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\moodle\Base.java"> |
||||||
|
<error line="2" column="1" severity="error" message="'import' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="5" column="1" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck"/> |
||||||
|
<error line="6" column="24" severity="error" message="Variable 'connection' explicitly initialized to 'null' (default value for its type)." source="com.puppycrawl.tools.checkstyle.checks.coding.ExplicitInitializationCheck"/> |
||||||
|
<error line="10" column="5" severity="error" message="'CTOR_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="10" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="10" column="18" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="15" column="5" severity="error" message="'CTOR_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="15" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="15" column="53" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="23" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="29" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="35" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="41" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="44" severity="error" message="Line has trailing spaces." source="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck"/> |
||||||
|
<error line="46" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="46" column="26" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="49" column="9" severity="error" message="'try' is not followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="49" column="12" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="50" severity="error" message="Line is longer than 120 characters (found 122)." source="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"/> |
||||||
|
<error line="50" column="48" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
<error line="51" column="32" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
<error line="52" column="9" severity="error" message="'}' at column 9 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally)." source="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck"/> |
||||||
|
<error line="53" column="9" severity="error" message="Catching 'Exception' is not allowed." source="com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck"/> |
||||||
|
<error line="53" column="29" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="54" column="32" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
<error line="56" column="32" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
<error line="61" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="61" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="61" column="29" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="62" column="37" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="63" column="13" severity="error" message="'try' is not followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="63" column="16" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="65" column="39" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
<error line="66" column="36" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
<error line="67" column="13" severity="error" message="'}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally)." source="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck"/> |
||||||
|
<error line="68" column="13" severity="error" message="Catching 'Exception' is not allowed." source="com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck"/> |
||||||
|
<error line="68" column="33" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="69" column="36" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
<error line="70" column="36" severity="error" message="'(' is preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck"/> |
||||||
|
</file> |
||||||
|
<file name="C:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\moodle\BaseControls.java"> |
||||||
|
<error line="3" column="1" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck"/> |
||||||
|
<error line="3" column="1" severity="error" message="Utility classes should not have a public or default constructor." source="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck"/> |
||||||
|
<error line="5" column="5" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck"/> |
||||||
|
<error line="5" column="24" severity="error" message="Method name 'ConnectToServer' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'." source="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck"/> |
||||||
|
<error line="5" column="73" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
<error line="13" column="23" severity="error" message="';' is not followed by whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck"/> |
||||||
|
<error line="15" column="5" severity="error" message="'METHOD_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="15" column="24" severity="error" message="Method name 'DisconnectFromServer' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'." source="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck"/> |
||||||
|
<error line="15" column="55" severity="error" message="'{' is not preceded with whitespace." source="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"/> |
||||||
|
</file> |
||||||
|
<file name="C:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\moodle\Data.java"> |
||||||
|
<error line="2" column="1" severity="error" message="'CLASS_DEF' should be separated from previous statement." source="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck"/> |
||||||
|
<error line="2" column="1" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck"/> |
||||||
|
<error line="3" severity="error" message="Line has trailing spaces." source="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck"/> |
||||||
|
</file> |
||||||
|
</checkstyle> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue