prowide/prowide-core

View on GitHub
src/test/java/com/prowidesoftware/swift/model/mt/SequencesAPITest.java

Summary

Maintainability
A
2 hrs
Test Coverage

Method testMT564_SequenceB1 has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testMT564_SequenceB1() {
        MT564 mt = MT564.parse(
                "{1:F01SAMPLEXXXXXX0300000054}{2:O5641738190122EDISGB2LAXXX12345123451901230111N}{4:\n" + ":16R:GENL\n"
                        + ":20C::CORP//VQ8000V1LOI51000\n"

    Method testMT564_SequenceC has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        @Test
        public void testMT564_SequenceC() {
            final String s = "{1:F01SWHQBEBBAXXX0001000001}{2:I564SWHQBEBBXBILN}{3:{108:495}}{4:\n" + ":16R:GENL\n"
                    + ":20C::SEME//FU00003020000001\n"
                    + ":20C::CORP//OTHR000000000302\n"

      There are no issues that match your filters.

      Category
      Status