FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
1582900

com.sap.prd.mobile.ios.mios.FileUtilsTest

BugCategoryDetailsLinePriority
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testGetDelta()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME46High
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testGetDelta()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME46High
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testNoCommonPath()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME53High
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testNoCommonPath()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME53High
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsChild()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME59Medium
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsChild()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME59Medium
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsNotAChild()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME64Medium
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsNotAChild()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME64Medium
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.FileUtilsTest.checkForSymbolicLink(File): java.io.ByteArrayOutputStream.toString()I18NDM_DEFAULT_ENCODING139High
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.FileUtilsTest.checkForSymbolicLink(File): new java.io.PrintStream(OutputStream)I18NDM_DEFAULT_ENCODING134High

com.sap.prd.mobile.ios.mios.ForkerTest

BugCategoryDetailsLinePriority
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testMissingArguments_1(): new java.io.PrintStream(OutputStream, boolean)I18NDM_DEFAULT_ENCODING67High
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testMissingArguments_2(): new java.io.PrintStream(OutputStream, boolean)I18NDM_DEFAULT_ENCODING85High
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testMissingArguments_3(): new java.io.PrintStream(OutputStream, boolean)I18NDM_DEFAULT_ENCODING102High
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testStraightForward(): new java.io.PrintStream(OutputStream, boolean)I18NDM_DEFAULT_ENCODING42High
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testStraightForward(): new String(byte[])I18NDM_DEFAULT_ENCODING53High

com.sap.prd.mobile.ios.mios.ForkerTest$1DamagedPrintStream

BugCategoryDetailsLinePriority
Found reliance on default encoding in new com.sap.prd.mobile.ios.mios.ForkerTest$1DamagedPrintStream(ForkerTest, OutputStream): new com.sap.prd.mobile.ios.mios.ForkerTest$1DamagedPrintStream(OutputStream)I18NDM_DEFAULT_ENCODING124High

com.sap.prd.mobile.ios.mios.PListAccessorTest

BugCategoryDetailsLinePriority
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.PListAccessorTest.readStringFromNonExistingPList()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME100Medium
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.PListAccessorTest.writeStringToNonExistingPList()STYLEDMI_HARDCODED_ABSOLUTE_FILENAME107Medium
exceptional return value of java.io.File.delete() ignored in com.sap.prd.mobile.ios.mios.PListAccessorTest.after()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE59Medium

com.sap.prd.mobile.ios.mios.UpdateVersionInPListTaskTest

BugCategoryDetailsLinePriority
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.UpdateVersionInPListTaskTest.assertVersion(String, String, File): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING113High

com.sap.prd.mobile.ios.mios.VersionInfoManagerTest

BugCategoryDetailsLinePriority
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.VersionInfoManagerTest.testCreateVersionInfoStringGit(): new String(byte[])I18NDM_DEFAULT_ENCODING128High

com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo

BugCategoryDetailsLinePriority
Null pointer dereference of XCodeChangeAppIDMojo.watchkitAppPlist in com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo.execute()CORRECTNESSNP_ALWAYS_NULL210High
Null pointer dereference of XCodeChangeAppIDMojo.watchkitExtentionPlist in com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo.execute()CORRECTNESSNP_ALWAYS_NULL232High
Unused field: com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo.watchappPERFORMANCEUUF_UNUSED_FIELDNot availableMedium

com.sap.prd.mobile.ios.mios.XCodeContextTest

BugCategoryDetailsLinePriority
The method name com.sap.prd.mobile.ios.mios.XCodeContextTest.TestBuildActionEntryWithBlank() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION90-91Medium
exceptional return value of java.io.File.renameTo(File) ignored in com.sap.prd.mobile.ios.mios.XCodeContextTest.testIsImmutable()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE215Medium

com.sap.prd.mobile.ios.mios.XCodeManagerTest$1

BugCategoryDetailsLinePriority
Found reliance on default encoding in new com.sap.prd.mobile.ios.mios.XCodeManagerTest$1(XCodeManagerTest, OutputStream): new com.sap.prd.mobile.ios.mios.XCodeManagerTest$1(OutputStream)I18NDM_DEFAULT_ENCODING152High

com.sap.prd.mobile.ios.mios.XCodeTest

BugCategoryDetailsLinePriority
com.sap.prd.mobile.ios.mios.XCodeTest.getMavenXcodePluginVersion() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION87Medium

com.sap.prd.mobile.ios.mios.XCodeVersionUtil

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in com.sap.prd.mobile.ios.mios.XCodeVersionUtil.getXCodeVersionString()STYLEREC_CATCH_EXCEPTION50Medium