Fixed sonarqube findings

This commit is contained in:
2022-07-04 01:04:06 -04:00
parent 6f300a430a
commit b4817e8bb3
47 changed files with 289 additions and 311 deletions

View File

@@ -2,17 +2,17 @@
//Mattrixwv
// Created: 01-26-22
//Modified: 01-26-22
package com.mattrixwv.CipherStreamJava.combination;
package com.mattrixwv.cipherstream.combination;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestADFGVX{
@Test

View File

@@ -2,17 +2,17 @@
//Mattrixwv
// Created: 01-25-22
//Modified: 01-25-22
package com.mattrixwv.CipherStreamJava.combination;
package com.mattrixwv.cipherstream.combination;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestADFGX{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 01-26-22
//Modified: 01-26-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestAffine{
@Test

View File

@@ -2,15 +2,15 @@
//Mattrixwv
// Created: 07-25-21
//Modified: 02-22-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestAtbash{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 07-26-21
//Modified: 02-22-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestAutokey{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 01-12-22
//Modified: 01-12-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestBaconian{
@Test

View File

@@ -2,17 +2,17 @@
//Mattrixwv
// Created: 01-08-22
//Modified: 01-09-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidBaseException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidBaseException;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestBaseX{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 02-23-22
//Modified: 02-23-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestBeaufort{
@Test

View File

@@ -2,15 +2,15 @@
//Matthew Ellison
// Created: 07-25-21
//Modified: 01-04-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestCaesar{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 02-23-22
//Modified: 02-23-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestOneTimePad{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 02-28-22
//Modified: 02-28-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestPorta{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 02-22-22
//Modified: 02-22-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestSubstitution{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 07-25-21
//Modified: 02-22-22
package com.mattrixwv.CipherStreamJava.monoSubstitution;
package com.mattrixwv.cipherstream.monosubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestVigenere{
@Test

View File

@@ -2,17 +2,17 @@
//Mattrixwv
// Created: 03-03-22
//Modified: 03-03-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestBifid{
@Test

View File

@@ -2,17 +2,17 @@
//Mattrixwv
// Created: 01-16-22
//Modified: 03-03-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestColumnar{
@Test

View File

@@ -2,18 +2,18 @@
//Mattrixwv
// Created: 01-31-22
//Modified: 02-17-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;
import java.security.InvalidKeyException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestHill{
@Test

View File

@@ -2,7 +2,7 @@
//Matthew Ellison
// Created: 07-28-21
//Modified: 01-04-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;

View File

@@ -2,16 +2,16 @@
//Matthew Ellison
// Created: 07-30-21
//Modified: 01-04-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestPlayfair{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 01-04-22
//Modified: 01-09-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestPolybiusSquare{
@Test

View File

@@ -2,16 +2,16 @@
//Mattrixwv
// Created: 03-21-22
//Modified: 03-22-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidBaseException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidBaseException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
public class TestRailFence{
@Test

View File

@@ -2,18 +2,18 @@
//Mattrixwv
// Created: 03-03-22
//Modified: 03-03-22
package com.mattrixwv.CipherStreamJava.polySubstitution;
package com.mattrixwv.cipherstream.polysubstitution;
import static org.junit.Assert.assertEquals;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidBaseException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidCharacterException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidInputException;
import com.mattrixwv.CipherStreamJava.exceptions.InvalidKeywordException;
import org.junit.Test;
import com.mattrixwv.cipherstream.exceptions.InvalidBaseException;
import com.mattrixwv.cipherstream.exceptions.InvalidCharacterException;
import com.mattrixwv.cipherstream.exceptions.InvalidInputException;
import com.mattrixwv.cipherstream.exceptions.InvalidKeywordException;
public class TestTrifid{
@Test