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
Classes | Bugs | Errors | Missing Classes |
---|
158 | 29 | 0 | 0 |
com.sap.prd.mobile.ios.mios.FileUtilsTest
Bug | Category | Details | Line | Priority |
---|
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testGetDelta() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 46 | High |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testGetDelta() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 46 | High |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testNoCommonPath() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 53 | High |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testNoCommonPath() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 53 | High |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsChild() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 59 | Medium |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsChild() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 59 | Medium |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsNotAChild() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 64 | Medium |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.FileUtilsTest.testIsNotAChild() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 64 | Medium |
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.FileUtilsTest.checkForSymbolicLink(File): java.io.ByteArrayOutputStream.toString() | I18N | DM_DEFAULT_ENCODING | 139 | High |
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.FileUtilsTest.checkForSymbolicLink(File): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 134 | High |
com.sap.prd.mobile.ios.mios.ForkerTest
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testMissingArguments_1(): new java.io.PrintStream(OutputStream, boolean) | I18N | DM_DEFAULT_ENCODING | 67 | High |
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testMissingArguments_2(): new java.io.PrintStream(OutputStream, boolean) | I18N | DM_DEFAULT_ENCODING | 85 | High |
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testMissingArguments_3(): new java.io.PrintStream(OutputStream, boolean) | I18N | DM_DEFAULT_ENCODING | 102 | High |
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testStraightForward(): new java.io.PrintStream(OutputStream, boolean) | I18N | DM_DEFAULT_ENCODING | 42 | High |
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.ForkerTest.testStraightForward(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 53 | High |
com.sap.prd.mobile.ios.mios.ForkerTest$1DamagedPrintStream
Bug | Category | Details | Line | Priority |
---|
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) | I18N | DM_DEFAULT_ENCODING | 124 | High |
com.sap.prd.mobile.ios.mios.PListAccessorTest
Bug | Category | Details | Line | Priority |
---|
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.PListAccessorTest.readStringFromNonExistingPList() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 100 | Medium |
Hard coded reference to an absolute pathname in com.sap.prd.mobile.ios.mios.PListAccessorTest.writeStringToNonExistingPList() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 107 | Medium |
exceptional return value of java.io.File.delete() ignored in com.sap.prd.mobile.ios.mios.PListAccessorTest.after() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 59 | Medium |
com.sap.prd.mobile.ios.mios.UpdateVersionInPListTaskTest
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.UpdateVersionInPListTaskTest.assertVersion(String, String, File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 113 | High |
com.sap.prd.mobile.ios.mios.VersionInfoManagerTest
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in com.sap.prd.mobile.ios.mios.VersionInfoManagerTest.testCreateVersionInfoStringGit(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 128 | High |
com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo
Bug | Category | Details | Line | Priority |
---|
Null pointer dereference of XCodeChangeAppIDMojo.watchkitAppPlist in com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo.execute() | CORRECTNESS | NP_ALWAYS_NULL | 210 | High |
Null pointer dereference of XCodeChangeAppIDMojo.watchkitExtentionPlist in com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo.execute() | CORRECTNESS | NP_ALWAYS_NULL | 232 | High |
Unused field: com.sap.prd.mobile.ios.mios.XCodeChangeAppIDMojo.watchapp | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
com.sap.prd.mobile.ios.mios.XCodeContextTest
Bug | Category | Details | Line | Priority |
---|
The method name com.sap.prd.mobile.ios.mios.XCodeContextTest.TestBuildActionEntryWithBlank() doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 90-91 | Medium |
exceptional return value of java.io.File.renameTo(File) ignored in com.sap.prd.mobile.ios.mios.XCodeContextTest.testIsImmutable() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 215 | Medium |
com.sap.prd.mobile.ios.mios.XCodeManagerTest$1
Bug | Category | Details | Line | Priority |
---|
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) | I18N | DM_DEFAULT_ENCODING | 152 | High |
com.sap.prd.mobile.ios.mios.XCodeTest
Bug | Category | Details | Line | Priority |
---|
com.sap.prd.mobile.ios.mios.XCodeTest.getMavenXcodePluginVersion() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 87 | Medium |
com.sap.prd.mobile.ios.mios.XCodeVersionUtil
Bug | Category | Details | Line | Priority |
---|
Exception is caught when Exception is not thrown in com.sap.prd.mobile.ios.mios.XCodeVersionUtil.getXCodeVersionString() | STYLE | REC_CATCH_EXCEPTION | 50 | Medium |