There was an error fetching the commit references. Please try again later.
Revert deletion of some classes
parent
039b1cee
No related branches found
No related tags found
Pipeline #
Showing
- src/input/BroadcastEventGenerator.java 40 additions, 0 deletionssrc/input/BroadcastEventGenerator.java
- src/test/AbstractMessageEventGeneratorTest.java 35 additions, 0 deletionssrc/test/AbstractMessageEventGeneratorTest.java
- src/test/BroadcastEventGeneratorTest.java 43 additions, 0 deletionssrc/test/BroadcastEventGeneratorTest.java
src/input/BroadcastEventGenerator.java
0 → 100644
src/test/BroadcastEventGeneratorTest.java
0 → 100644
-
SonarQube analysis reported 93 issues:
Watch the comments in this conversation to review them. Note: the following issues could not be reported as comments because they are located on lines that are not displayed in this commit:
-
Add some tests to this class.
-
Add some tests to this class.
-
Add some tests to this class.
-
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
-
The Cyclomatic Complexity of this method "MessageEventGenerator" is 11 which is greater than 10 authorized.
-
Change this comparison to use the equals method.
-
Change this comparison to use the equals method.
-
Split this class into smaller and more specialized ones to reduce its dependencies on other classes from 21 to the maximum authorized 20 or less.
-
Remove this unused private "drawEventRange" method.
-
Assign this magic number 2 to a well-named constant, and use the constant instead.
-
Assign this magic number 2 to a well-named constant, and use the constant instead.
-
Assign this magic number 2 to a well-named constant, and use the constant instead.
-
Assign this magic number 2 to a well-named constant, and use the constant instead.
-
Convert this usage of the ternary operator to an "if"/"else" structure.
-
Convert this usage of the ternary operator to an "if"/"else" structure.
-
Convert this usage of the ternary operator to an "if"/"else" structure.
-
Convert this usage of the ternary operator to an "if"/"else" structure.
-
Assign this magic number 2 to a well-named constant, and use the constant instead.
-
Assign this magic number 2 to a well-named constant, and use the constant instead.
-
Assign this magic number 2 to a well-named constant, and use the constant instead.
-
Catch a list of specific exception subtypes instead.
-
Remove the usage of the checked exception 'IOException'.
-
Catch a list of specific exception subtypes instead.
-
Either log or rethrow this exception.
-
This block of commented-out lines of code should be removed.
-
This block of commented-out lines of code should be removed.
-
This block of commented-out lines of code should be removed.
-
This block of commented-out lines of code should be removed.
-
This block of commented-out lines of code should be removed.
-
Assign this magic number 0.01 to a well-named constant, and use the constant instead.
-
Make this line start at column 9.
-
Make this line start at column 9.
-
Make this line start at column 17.
-
Remove this duplicated import.
-
Remove this duplicated import.
-
Make this line start at column 13.
-
Make this line start at column 9.
-
Make this line start at column 9.
-
Remove this duplicated import.
-
Remove this duplicated import.
-
Remove this duplicated import.
-
Remove this duplicated import.
-
Remove this duplicated import.
-
Replace all tab characters in this file by sequences of white-spaces.
-
Move this "else" on the same line that the previous closing curly brace.
-
Make this line start at column 13.
-
Move this "else" on the same line that the previous closing curly brace.
-
Move this "else" on the same line that the previous closing curly brace.
-
Move this "else" on the same line that the previous closing curly brace.
-
Move this "else" on the same line that the previous closing curly brace.
-
Move the array designator from the variable to the type.
-
Make this line start at column 5.
-
Make this line start at column 9.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 17.
-
Make this line start at column 17.
-
Make this line start at column 9.
-
Make this line start at column 13.
-
Make this line start at column 9.
-
Make this line start at column 9.
-
Make this line start at column 9.
-
Make this line start at column 13.
-
Make this line start at column 9.
-
Make this line start at column 13.
-
Make this line start at column 9.
-
Make this line start at column 9.
-
Remove this initialization to "0", the compiler will do that for you.
-
Remove this initialization to "0", the compiler will do that for you.
-
Use a cryptographically strong random number generator (RNG) like "java.security.SecureRandom" in place of this PRNG
-
Make "getDoubleOrDefault" a "static" method.
-
Remove this use of "java.io.FileReader"
-
Remove this use of constructor "FileReader(File)"
-
Remove this use of "java.io.FileReader"
-
Make this line start at column 9.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Make this line start at column 17.
-
Make this line start at column 9.
-
Make this line start at column 9.
-
Make this line start at column 13.
-
Make this line start at column 13.
-
Complete the task associated to this TODO comment.
-
Complete the task associated to this TODO comment.
-
Complete the task associated to this TODO comment.
-
Complete the task associated to this TODO comment.
-
Please register or sign in to comment