Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
195 211 0 0

Files

Class Bugs
com.android.ddmlib.testrunner.MonkeyTestRunner 4
com.simpligility.maven.plugins.android.AbstractAndroidMojo 1
com.simpligility.maven.plugins.android.AbstractEmulatorMojo 6
com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1 5
com.simpligility.maven.plugins.android.AbstractPublisherMojo 3
com.simpligility.maven.plugins.android.AbstractPublisherMojo$1 1
com.simpligility.maven.plugins.android.AndroidNdk 7
com.simpligility.maven.plugins.android.AndroidSdk 2
com.simpligility.maven.plugins.android.AndroidSigner 1
com.simpligility.maven.plugins.android.AndroidTestRunListener$1 1
com.simpligility.maven.plugins.android.CommandExecutor$Factory$DefaultCommandExecutor 1
com.simpligility.maven.plugins.android.IncludeExcludeSet 2
com.simpligility.maven.plugins.android.InclusionExclusionResolver$2 1
com.simpligility.maven.plugins.android.InclusionExclusionResolver$3 1
com.simpligility.maven.plugins.android.InclusionExclusionResolver$4 1
com.simpligility.maven.plugins.android.PluginInfo 2
com.simpligility.maven.plugins.android.common.AaptCommandBuilder$AaptPackageCommandBuilder 1
com.simpligility.maven.plugins.android.common.AndroidPublisherHelper 2
com.simpligility.maven.plugins.android.common.ArtifactResolverHelper 1
com.simpligility.maven.plugins.android.common.DependencyResolver$1 1
com.simpligility.maven.plugins.android.common.NativeHelper 4
com.simpligility.maven.plugins.android.common.NativeHelper$1 1
com.simpligility.maven.plugins.android.common.UnpackedLibHelper 3
com.simpligility.maven.plugins.android.common.ZipExtractor 1
com.simpligility.maven.plugins.android.common.ZipExtractor$2 1
com.simpligility.maven.plugins.android.compiler.JackCompiler 1
com.simpligility.maven.plugins.android.compiler.JackCompiler$1 1
com.simpligility.maven.plugins.android.config.ConfigHandler 8
com.simpligility.maven.plugins.android.configuration.Apk 3
com.simpligility.maven.plugins.android.configuration.ConfigHelper 2
com.simpligility.maven.plugins.android.configuration.DeployApk 3
com.simpligility.maven.plugins.android.configuration.Dex 1
com.simpligility.maven.plugins.android.configuration.Emma 4
com.simpligility.maven.plugins.android.configuration.Emulator 4
com.simpligility.maven.plugins.android.configuration.HeaderFilesDirective 4
com.simpligility.maven.plugins.android.configuration.Monkey 5
com.simpligility.maven.plugins.android.configuration.MonkeyRunner 1
com.simpligility.maven.plugins.android.configuration.Proguard 4
com.simpligility.maven.plugins.android.configuration.Pull 2
com.simpligility.maven.plugins.android.configuration.Push 2
com.simpligility.maven.plugins.android.configuration.RegexVersionElementParser 1
com.simpligility.maven.plugins.android.configuration.Run 1
com.simpligility.maven.plugins.android.configuration.SimpleVersionElementParser 1
com.simpligility.maven.plugins.android.configuration.UIAutomator 1
com.simpligility.maven.plugins.android.configuration.Unpack 2
com.simpligility.maven.plugins.android.configuration.UsesSdk 3
com.simpligility.maven.plugins.android.configuration.VersionGenerator 1
com.simpligility.maven.plugins.android.phase01generatesources.ConflictingLayoutDetector 1
com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo 12
com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo$1 1
com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo$2 1
com.simpligility.maven.plugins.android.phase01generatesources.ResourceClassGenerator 1
com.simpligility.maven.plugins.android.phase04processclasses.EmmaMojo 1
com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo 4
com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo$ProGuardInput 1
com.simpligility.maven.plugins.android.phase08preparepackage.DexMojo 1
com.simpligility.maven.plugins.android.phase09package.AarMojo 2
com.simpligility.maven.plugins.android.phase09package.AarMojo$1 1
com.simpligility.maven.plugins.android.phase09package.ApkMojo 16
com.simpligility.maven.plugins.android.phase09package.ApkMojo$1 1
com.simpligility.maven.plugins.android.phase09package.ApklibMojo$1 1
com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant 5
com.simpligility.maven.plugins.android.resource.XpathAppendingTransformer 2
com.simpligility.maven.plugins.android.resource.XpathAppendingTransformer$1 1
com.simpligility.maven.plugins.android.standalonemojos.CompatibleScreen 2
com.simpligility.maven.plugins.android.standalonemojos.HelpMojo 1
com.simpligility.maven.plugins.android.standalonemojos.LintMojo 8
com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo 1
com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo 4
com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo 12
com.simpligility.maven.plugins.android.standalonemojos.MonkeyRunnerMojo 5
com.simpligility.maven.plugins.android.standalonemojos.PublishApkMojo 1
com.simpligility.maven.plugins.android.standalonemojos.PublishListingMojo 2
com.simpligility.maven.plugins.android.standalonemojos.PullMojo$1 2
com.simpligility.maven.plugins.android.standalonemojos.RunMojo 2
com.simpligility.maven.plugins.android.standalonemojos.RunMojo$1 2
com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo 4
com.simpligility.maven.plugins.android.standalonemojos.UnpackMojo 1
com.simpligility.maven.plugins.android.standalonemojos.ZipalignMojo 3

com.android.ddmlib.testrunner.MonkeyTestRunner

Bug Category Details Line Priority
Format string "%2$s" needs argument 2 but only 1 are provided in com.android.ddmlib.testrunner.MonkeyTestRunner.run(Collection) CORRECTNESS VA_FORMAT_STRING_MISSING_ARGUMENT 260 High
Format string "%3$s" needs argument 3 but only 2 are provided in com.android.ddmlib.testrunner.MonkeyTestRunner.run(Collection) CORRECTNESS VA_FORMAT_STRING_MISSING_ARGUMENT 268 High
Format string "%3$s" needs argument 3 but only 2 are provided in com.android.ddmlib.testrunner.MonkeyTestRunner.run(Collection) CORRECTNESS VA_FORMAT_STRING_MISSING_ARGUMENT 241 High
Format string "%3$s" needs argument 3 but only 2 are provided in com.android.ddmlib.testrunner.MonkeyTestRunner.run(Collection) CORRECTNESS VA_FORMAT_STRING_MISSING_ARGUMENT 250 High

com.simpligility.maven.plugins.android.AbstractAndroidMojo

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.AbstractAndroidMojo.SUPPORTED_PACKAGING_TYPES is a mutable collection MALICIOUS_CODE MS_MUTABLE_COLLECTION 88 High

com.simpligility.maven.plugins.android.AbstractEmulatorMojo

Bug Category Details Line Priority
Hard coded reference to an absolute pathname in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptUnix() STYLE DMI_HARDCODED_ABSOLUTE_FILENAME 545 Medium
Hard coded reference to an absolute pathname in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptUnix() STYLE DMI_HARDCODED_ABSOLUTE_FILENAME 552 Medium
Hard coded reference to an absolute pathname in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptUnix() STYLE DMI_HARDCODED_ABSOLUTE_FILENAME 548 Medium
Use of non-localized String.toUpperCase() or String.toLowerCase() in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.isWindows() I18N DM_CONVERT_CASE 186 Low
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptUnix(): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 559 High
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptWindows(): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 500 High

com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1.call() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 732 Low
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1.call(): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 715 High
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1.call(): new java.io.PrintWriter(OutputStream, boolean) I18N DM_DEFAULT_ENCODING 714 High
com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1.call() discards result of readLine after checking if it is non-null STYLE RV_DONT_JUST_NULL_CHECK_READLINE 716 Medium
The class com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 705-738 Low

com.simpligility.maven.plugins.android.AbstractPublisherMojo

Bug Category Details Line Priority
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractPublisherMojo.readFile(File, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 78 High
Should com.simpligility.maven.plugins.android.AbstractPublisherMojo.getLocaleDirs() return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 123 Low
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.AbstractPublisherMojo.initializePublisher(String) STYLE REC_CATCH_EXCEPTION 65 Low

com.simpligility.maven.plugins.android.AbstractPublisherMojo$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.AbstractPublisherMojo$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 126-132 Low

com.simpligility.maven.plugins.android.AndroidNdk

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.AndroidNdk.NDK_ARCHITECTURES is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 38 High
com.simpligility.maven.plugins.android.AndroidNdk.ARM64_TOOLCHAIN should be package protected MALICIOUS_CODE MS_PKGPROTECT 50 Medium
com.simpligility.maven.plugins.android.AndroidNdk.ARM_TOOLCHAIN should be package protected MALICIOUS_CODE MS_PKGPROTECT 44 Medium
com.simpligility.maven.plugins.android.AndroidNdk.MIPS64_TOOLCHAIN should be package protected MALICIOUS_CODE MS_PKGPROTECT 71 Medium
com.simpligility.maven.plugins.android.AndroidNdk.MIPS_TOOLCHAIN should be package protected MALICIOUS_CODE MS_PKGPROTECT 65 Medium
com.simpligility.maven.plugins.android.AndroidNdk.X86_64_TOOLCHAIN should be package protected MALICIOUS_CODE MS_PKGPROTECT 60 Medium
com.simpligility.maven.plugins.android.AndroidNdk.X86_TOOLCHAIN should be package protected MALICIOUS_CODE MS_PKGPROTECT 55 Medium

com.simpligility.maven.plugins.android.AndroidSdk

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.AndroidSdk.loadSDKToolsMajorVersion() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 487 Medium
com.simpligility.maven.plugins.android.AndroidSdk.loadSDKToolsMajorVersion() may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 487 Medium

com.simpligility.maven.plugins.android.AndroidSigner

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in new com.simpligility.maven.plugins.android.AndroidSigner(String) I18N DM_CONVERT_CASE 46 Low

com.simpligility.maven.plugins.android.AndroidTestRunListener$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.AndroidTestRunListener$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 228-243 Low

com.simpligility.maven.plugins.android.CommandExecutor$Factory$DefaultCommandExecutor

Bug Category Details Line Priority
Nullcheck of CommandExecutor$Factory$DefaultCommandExecutor.logger at line 236 of value previously dereferenced in com.simpligility.maven.plugins.android.CommandExecutor$Factory$DefaultCommandExecutor.executeCommand(String, List, File, boolean) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 234 High

com.simpligility.maven.plugins.android.IncludeExcludeSet

Bug Category Details Line Priority
Unwritten field: com.simpligility.maven.plugins.android.IncludeExcludeSet.excludes CORRECTNESS UWF_UNWRITTEN_FIELD 18 Medium
Unwritten field: com.simpligility.maven.plugins.android.IncludeExcludeSet.includes CORRECTNESS UWF_UNWRITTEN_FIELD 13 Medium

com.simpligility.maven.plugins.android.InclusionExclusionResolver$2

Bug Category Details Line Priority
artifactQualifier must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 81 Medium

com.simpligility.maven.plugins.android.InclusionExclusionResolver$3

Bug Category Details Line Priority
value must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 126 Medium

com.simpligility.maven.plugins.android.InclusionExclusionResolver$4

Bug Category Details Line Priority
value must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 135 Medium

com.simpligility.maven.plugins.android.PluginInfo

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.PluginInfo.loadProperties() may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 32 Medium
com.simpligility.maven.plugins.android.PluginInfo.loadProperties() may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 32 Low

com.simpligility.maven.plugins.android.common.AaptCommandBuilder$AaptPackageCommandBuilder

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.common.AaptCommandBuilder$AaptPackageCommandBuilder.setProguardOptionsOutputFile(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 370 Medium

com.simpligility.maven.plugins.android.common.AndroidPublisherHelper

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.common.AndroidPublisherHelper.checkClientSecretsFile(GoogleClientSecrets) invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 124 Low
Private method com.simpligility.maven.plugins.android.common.AndroidPublisherHelper.checkClientSecretsFile(GoogleClientSecrets) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 119-126 Low

com.simpligility.maven.plugins.android.common.ArtifactResolverHelper

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.common.ArtifactResolverHelper.EXCLUDE_NON_PACKAGED_SCOPES is a mutable collection which should be package protected MALICIOUS_CODE MS_MUTABLE_COLLECTION_PKGPROTECT 37 Medium

com.simpligility.maven.plugins.android.common.DependencyResolver$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.common.DependencyResolver$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 74-79 Low

com.simpligility.maven.plugins.android.common.NativeHelper

Bug Category Details Line Priority
Found reliance on default encoding in com.simpligility.maven.plugins.android.common.NativeHelper.getAppAbi(File): new java.util.Scanner(File) I18N DM_DEFAULT_ENCODING 236 High
Possible null pointer dereference in com.simpligility.maven.plugins.android.common.NativeHelper.getNativeDependenciesArtifacts(AbstractAndroidMojo, File, boolean) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 127 Medium
Should com.simpligility.maven.plugins.android.common.NativeHelper.getAppAbi(File) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 258 Low
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.common.NativeHelper.processTransitiveDependencies(Dependency, boolean) STYLE REC_CATCH_EXCEPTION 222 Low

com.simpligility.maven.plugins.android.common.NativeHelper$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.common.NativeHelper$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 191-195 Low

com.simpligility.maven.plugins.android.common.UnpackedLibHelper

Bug Category Details Line Priority
Possible null pointer dereference in com.simpligility.maven.plugins.android.common.UnpackedLibHelper.extractAarLib(Artifact) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 140 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.common.UnpackedLibHelper.extractAarLib(Artifact) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 120 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.common.UnpackedLibHelper.extractApklib(Artifact) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 86 Medium

com.simpligility.maven.plugins.android.common.ZipExtractor

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.common.ZipExtractor.extract(File, File, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 38 Medium

com.simpligility.maven.plugins.android.common.ZipExtractor$2

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.common.ZipExtractor$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 41-45 Low

com.simpligility.maven.plugins.android.compiler.JackCompiler

Bug Category Details Line Priority
Found reliance on default encoding in com.simpligility.maven.plugins.android.compiler.JackCompiler.compileOutOfProcess(File, File, String, String[]): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 116 High

com.simpligility.maven.plugins.android.compiler.JackCompiler$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.compiler.JackCompiler$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 205-209 Low

com.simpligility.maven.plugins.android.config.ConfigHandler

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.config.ConfigHandler.initConfigPojo() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 271 Medium
com.simpligility.maven.plugins.android.config.ConfigHandler.getValueFromObject(Object, String) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 219 Low
Use of non-localized String.toUpperCase() or String.toLowerCase() in com.simpligility.maven.plugins.android.config.ConfigHandler.getFieldNameWithoutPrefix(Field, String) I18N DM_CONVERT_CASE 244 Low
Use of non-localized String.toUpperCase() or String.toLowerCase() in com.simpligility.maven.plugins.android.config.ConfigHandler.toFirstLetterUppercase(String) I18N DM_CONVERT_CASE 254 Low
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.config.ConfigHandler.initConfigPojo() STYLE REC_CATCH_EXCEPTION 271 Medium
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.config.ConfigHandler.getValueFromAnnotation(Field) STYLE REC_CATCH_EXCEPTION 166 Low
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.config.ConfigHandler.getValueFromObject(Object, String) STYLE REC_CATCH_EXCEPTION 219 Low
Illegal format string "Required parameter %1$ has no value. Please supply with -D%1$=value on the command line or as property or plugin configuration in your pom or settings file." in com.simpligility.maven.plugins.android.config.ConfigHandler.getValueFromAnnotation(Field) CORRECTNESS VA_FORMAT_STRING_ILLEGAL 175 High

com.simpligility.maven.plugins.android.configuration.Apk

Bug Category Details Line Priority
Unused field: com.simpligility.maven.plugins.android.configuration.Apk.debug PERFORMANCE UUF_UNUSED_FIELD Not available Medium
Unused field: com.simpligility.maven.plugins.android.configuration.Apk.metaInf PERFORMANCE UUF_UNUSED_FIELD Not available Medium
Unused field: com.simpligility.maven.plugins.android.configuration.Apk.nativeToolchain PERFORMANCE UUF_UNUSED_FIELD Not available Medium

com.simpligility.maven.plugins.android.configuration.ConfigHelper

Bug Category Details Line Priority
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in com.simpligility.maven.plugins.android.configuration.ConfigHelper.copyValues(AbstractMojo, String) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 24 Low
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.configuration.ConfigHelper.copyValues(AbstractMojo, String) STYLE REC_CATCH_EXCEPTION 90 Low

com.simpligility.maven.plugins.android.configuration.DeployApk

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in com.simpligility.maven.plugins.android.configuration.DeployApk.validFileParameter(File) I18N DM_CONVERT_CASE 51 Low
Confusing to have methods com.simpligility.maven.plugins.android.configuration.DeployApk.getPackagename() and com.simpligility.maven.plugins.android.standalonemojos.RunMojo$LauncherInfo.getPackageName() BAD_PRACTICE NM_CONFUSING 29 Low
Confusing to have methods com.simpligility.maven.plugins.android.configuration.DeployApk.setPackagename(String) and com.simpligility.maven.plugins.android.standalonemojos.RunMojo$LauncherInfo.setPackageName(String) BAD_PRACTICE NM_CONFUSING 34-35 Low

com.simpligility.maven.plugins.android.configuration.Dex

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.configuration.Dex.getJvmArguments() may expose internal representation by returning Dex.jvmArguments MALICIOUS_CODE EI_EXPOSE_REP 66 Medium

com.simpligility.maven.plugins.android.configuration.Emma

Bug Category Details Line Priority
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emma.classFolders CORRECTNESS UWF_UNWRITTEN_FIELD 46 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emma.enable CORRECTNESS UWF_UNWRITTEN_FIELD 41 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emma.filters CORRECTNESS UWF_UNWRITTEN_FIELD 36 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emma.outputMetaFile CORRECTNESS UWF_UNWRITTEN_FIELD 51 Medium

com.simpligility.maven.plugins.android.configuration.Emulator

Bug Category Details Line Priority
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emulator.avd CORRECTNESS UWF_UNWRITTEN_FIELD 33 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emulator.executable CORRECTNESS UWF_UNWRITTEN_FIELD 48 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emulator.options CORRECTNESS UWF_UNWRITTEN_FIELD 43 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Emulator.wait CORRECTNESS UWF_UNWRITTEN_FIELD 38 Medium

com.simpligility.maven.plugins.android.configuration.HeaderFilesDirective

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.configuration.HeaderFilesDirective.getExcludes() may expose internal representation by returning HeaderFilesDirective.excludes MALICIOUS_CODE EI_EXPOSE_REP 47 Medium
com.simpligility.maven.plugins.android.configuration.HeaderFilesDirective.getIncludes() may expose internal representation by returning HeaderFilesDirective.includes MALICIOUS_CODE EI_EXPOSE_REP 57 Medium
com.simpligility.maven.plugins.android.configuration.HeaderFilesDirective.setExcludes(String[]) may expose internal representation by storing an externally mutable object into HeaderFilesDirective.excludes MALICIOUS_CODE EI_EXPOSE_REP2 52 Medium
com.simpligility.maven.plugins.android.configuration.HeaderFilesDirective.setIncludes(String[]) may expose internal representation by storing an externally mutable object into HeaderFilesDirective.includes MALICIOUS_CODE EI_EXPOSE_REP2 62 Medium

com.simpligility.maven.plugins.android.configuration.Monkey

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.configuration.Monkey.getCategories() may expose internal representation by returning Monkey.categories MALICIOUS_CODE EI_EXPOSE_REP 168 Medium
com.simpligility.maven.plugins.android.configuration.Monkey.getPackages() may expose internal representation by returning Monkey.packages MALICIOUS_CODE EI_EXPOSE_REP 163 Medium
Unused field: com.simpligility.maven.plugins.android.configuration.Monkey.debugNoEvents PERFORMANCE UUF_UNUSED_FIELD Not available Medium
Unused field: com.simpligility.maven.plugins.android.configuration.Monkey.hprof PERFORMANCE UUF_UNUSED_FIELD Not available Medium
Unused field: com.simpligility.maven.plugins.android.configuration.Monkey.ignoreCrashes PERFORMANCE UUF_UNUSED_FIELD Not available Medium

com.simpligility.maven.plugins.android.configuration.MonkeyRunner

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.configuration.MonkeyRunner.getPlugins() may expose internal representation by returning MonkeyRunner.plugins MALICIOUS_CODE EI_EXPOSE_REP 47 Medium

com.simpligility.maven.plugins.android.configuration.Proguard

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.configuration.Proguard.getConfigs() may expose internal representation by returning Proguard.configs MALICIOUS_CODE EI_EXPOSE_REP 47 Medium
com.simpligility.maven.plugins.android.configuration.Proguard.getJvmArguments() may expose internal representation by returning Proguard.jvmArguments MALICIOUS_CODE EI_EXPOSE_REP 62 Medium
com.simpligility.maven.plugins.android.configuration.Proguard.getOptions() may expose internal representation by returning Proguard.options MALICIOUS_CODE EI_EXPOSE_REP 87 Medium
Unused field: com.simpligility.maven.plugins.android.configuration.Proguard.attachMap PERFORMANCE UUF_UNUSED_FIELD Not available Medium

com.simpligility.maven.plugins.android.configuration.Pull

Bug Category Details Line Priority
Unwritten field: com.simpligility.maven.plugins.android.configuration.Pull.destination CORRECTNESS UWF_UNWRITTEN_FIELD 28 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Pull.source CORRECTNESS UWF_UNWRITTEN_FIELD 23 Medium

com.simpligility.maven.plugins.android.configuration.Push

Bug Category Details Line Priority
Unwritten field: com.simpligility.maven.plugins.android.configuration.Push.destination CORRECTNESS UWF_UNWRITTEN_FIELD 28 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.Push.source CORRECTNESS UWF_UNWRITTEN_FIELD 23 Medium

com.simpligility.maven.plugins.android.configuration.RegexVersionElementParser

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive com.simpligility.maven.plugins.android.configuration.RegexVersionElementParser.parseVersionElements(String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 45 High

com.simpligility.maven.plugins.android.configuration.Run

Bug Category Details Line Priority
Unwritten public or protected field: com.simpligility.maven.plugins.android.configuration.Run.debug STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 19 Medium

com.simpligility.maven.plugins.android.configuration.SimpleVersionElementParser

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive com.simpligility.maven.plugins.android.configuration.SimpleVersionElementParser.parseVersionElements(String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 22 High

com.simpligility.maven.plugins.android.configuration.UIAutomator

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.configuration.UIAutomator.getTestClassOrMethods() may expose internal representation by returning UIAutomator.testClassOrMethods MALICIOUS_CODE EI_EXPOSE_REP 72 Medium

com.simpligility.maven.plugins.android.configuration.Unpack

Bug Category Details Line Priority
Unused field: com.simpligility.maven.plugins.android.configuration.Unpack.lazy PERFORMANCE UUF_UNUSED_FIELD Not available Medium
Unused field: com.simpligility.maven.plugins.android.configuration.Unpack.metaInf PERFORMANCE UUF_UNUSED_FIELD Not available Medium

com.simpligility.maven.plugins.android.configuration.UsesSdk

Bug Category Details Line Priority
Unwritten field: com.simpligility.maven.plugins.android.configuration.UsesSdk.maxSdkVersion CORRECTNESS UWF_UNWRITTEN_FIELD 24 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.UsesSdk.minSdkVersion CORRECTNESS UWF_UNWRITTEN_FIELD 19 Medium
Unwritten field: com.simpligility.maven.plugins.android.configuration.UsesSdk.targetSdkVersion CORRECTNESS UWF_UNWRITTEN_FIELD 29 Medium

com.simpligility.maven.plugins.android.configuration.VersionGenerator

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive new com.simpligility.maven.plugins.android.configuration.VersionGenerator(String, String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 42 High

com.simpligility.maven.plugins.android.phase01generatesources.ConflictingLayoutDetector

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.phase01generatesources.ConflictingLayoutDetector.getConflictingLayouts() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 38 Medium

com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo

Bug Category Details Line Priority
Found reliance on default encoding in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.copyManifest(): new java.io.FileWriter(File, boolean) I18N DM_DEFAULT_ENCODING 353 High
com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.EXCLUDED_DEPENDENCY_SCOPES_FOR_EXTRACTION is a mutable collection which should be package protected MALICIOUS_CODE MS_MUTABLE_COLLECTION_PKGPROTECT 183 Medium
com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.isBuildConfigPresent(Artifact, String) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 1051 Medium
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.copyManifest() STYLE REC_CATCH_EXCEPTION 370 Low
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.copyManifest() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 351 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.execute() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 206 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.extractApksources(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 425 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateAidlFiles(Map) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1118 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateBuildConfigForPackage(String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1068 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 773 Medium
Private method com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.isBuildConfigPresent(Artifact) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 1035-1037 Medium
com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateAidlFiles(Map) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 1128 Medium

com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 418-422 Low

com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo$2

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 1178-1181 Low

com.simpligility.maven.plugins.android.phase01generatesources.ResourceClassGenerator

Bug Category Details Line Priority
Unread field: com.simpligility.maven.plugins.android.phase01generatesources.ResourceClassGenerator.androidUtilsLog PERFORMANCE URF_UNREAD_FIELD 37 Low

com.simpligility.maven.plugins.android.phase04processclasses.EmmaMojo

Bug Category Details Line Priority
Invocation of toString on EmmaMojo.parsedEmmaClassFolders in com.simpligility.maven.plugins.android.phase04processclasses.EmmaMojo.execute() CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 92 High

com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo

Bug Category Details Line Priority
Private method com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo.getDefaultJvmArguments() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 816 Low
Private method com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo.getDefaultProguardConfigs() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 827 Low
Private method com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo.getDefaultProguardOptions() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 838 Low
Private method com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo.getProguardJarPath() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 766 Low

com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo$ProGuardInput

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo$ProGuardInput.toPath() uses the same code for two branches STYLE DB_DUPLICATE_BRANCHES 342-343 Medium

com.simpligility.maven.plugins.android.phase08preparepackage.DexMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase08preparepackage.DexMojo.predexJarPath(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 530 Medium

com.simpligility.maven.plugins.android.phase09package.AarMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.createNewFile() ignored in com.simpligility.maven.plugins.android.phase09package.AarMojo.createAarLibraryFile(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 240 Medium
Exceptional return value of java.io.File.mkdir() ignored in com.simpligility.maven.plugins.android.phase09package.AarMojo.createAarLibraryFile(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 218 Medium

com.simpligility.maven.plugins.android.phase09package.AarMojo$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.phase09package.AarMojo$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 406-409 Low

com.simpligility.maven.plugins.android.phase09package.ApkMojo

Bug Category Details Line Priority
Possible null pointer dereference in com.simpligility.maven.plugins.android.phase09package.ApkMojo.doAPKWithAPKBuilder(File, File, File, Collection, List, Collection, boolean) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 779 Medium
Possible null pointer dereference in com.simpligility.maven.plugins.android.phase09package.ApkMojo.removeDuplicatesFromFolder(File, File, List, Set, ZipOutputStream) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 963 Medium
com.simpligility.maven.plugins.android.phase09package.ApkMojo.removeDuplicatesFromFolder(File, File, List, Set, ZipOutputStream) may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 984 Medium
com.simpligility.maven.plugins.android.phase09package.ApkMojo.computeDuplicateFiles(File) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 554 Medium
com.simpligility.maven.plugins.android.phase09package.ApkMojo.removeDuplicatesFromFolder(File, File, List, Set, ZipOutputStream) may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 1000 Low
com.simpligility.maven.plugins.android.phase09package.ApkMojo.removeDuplicatesFromJar(File, List, Set, ZipOutputStream, int) may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 886 Low
com.simpligility.maven.plugins.android.phase09package.ApkMojo.updateWithMetaInf(ZipOutputStream, File, Set, boolean) may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 472 Low
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.phase09package.ApkMojo.copyGdbServer(File, String) STYLE REC_CATCH_EXCEPTION 1154 Low
Exceptional return value of java.io.File.delete() ignored in com.simpligility.maven.plugins.android.phase09package.ApkMojo.addMetaInf(File, ArrayList) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 461 Medium
Exceptional return value of java.io.File.createNewFile() ignored in com.simpligility.maven.plugins.android.phase09package.ApkMojo.extractDuplicateFiles(List, Collection) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 620 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase09package.ApkMojo.extractDuplicateFiles(List, Collection) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 616 Medium
Exceptional return value of java.io.File.delete() ignored in com.simpligility.maven.plugins.android.phase09package.ApkMojo.removeDuplicatesFromFolder(File, File, List, Set, ZipOutputStream) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1006 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase09package.ApkMojo.removeDuplicatesFromJar(File, List, Set, ZipOutputStream, int) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 848 Medium
Exceptional return value of java.io.File.createNewFile() ignored in com.simpligility.maven.plugins.android.phase09package.ApkMojo.removeDuplicatesFromJar(File, List, Set, ZipOutputStream, int) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 861 Low
Private method com.simpligility.maven.plugins.android.phase09package.ApkMojo.getDefaultMetaInf() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 1262-1267 Low
com.simpligility.maven.plugins.android.phase09package.ApkMojo.extractDuplicateFiles(List, Collection) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 599 Medium

com.simpligility.maven.plugins.android.phase09package.ApkMojo$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.phase09package.ApkMojo$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 772-775 Low

com.simpligility.maven.plugins.android.phase09package.ApklibMojo$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.phase09package.ApklibMojo$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 325-328 Low

com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant.addLibsJarsToClassPath(UnpackedLibHelper, MavenProject, Artifact) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 233 Medium
com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant.addClassesToClasspath(UnpackedLibHelper, MavenProject, Artifact) may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 295 Low
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant.addClassesToClasspath(UnpackedLibHelper, MavenProject, Artifact) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 292 Medium
Exceptional return value of java.io.File.createNewFile() ignored in com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant.addLibsJarsToClassPath(UnpackedLibHelper, MavenProject, Artifact) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 252 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant.addLibsJarsToClassPath(UnpackedLibHelper, MavenProject, Artifact) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 250 Medium

com.simpligility.maven.plugins.android.resource.XpathAppendingTransformer

Bug Category Details Line Priority
Unwritten field: com.simpligility.maven.plugins.android.resource.XpathAppendingTransformer.elements CORRECTNESS UWF_UNWRITTEN_FIELD 85 Medium
Unwritten field: com.simpligility.maven.plugins.android.resource.XpathAppendingTransformer.resource CORRECTNESS UWF_UNWRITTEN_FIELD 47 Medium

com.simpligility.maven.plugins.android.resource.XpathAppendingTransformer$1

Bug Category Details Line Priority
The class com.simpligility.maven.plugins.android.resource.XpathAppendingTransformer$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 66-70 Low

com.simpligility.maven.plugins.android.standalonemojos.CompatibleScreen

Bug Category Details Line Priority
CompatibleScreen.screenDensity not initialized in constructor and dereferenced in com.simpligility.maven.plugins.android.standalonemojos.CompatibleScreen.equals(Object) STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 38 Low
CompatibleScreen.screenSize not initialized in constructor and dereferenced in com.simpligility.maven.plugins.android.standalonemojos.CompatibleScreen.equals(Object) STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 38 Low

com.simpligility.maven.plugins.android.standalonemojos.HelpMojo

Bug Category Details Line Priority
Usage of GetResource in com.simpligility.maven.plugins.android.standalonemojos.HelpMojo.build() may be unsafe if class is extended BAD_PRACTICE UI_INHERITANCE_UNSAFE_GETRESOURCE 70 Low

com.simpligility.maven.plugins.android.standalonemojos.LintMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.standalonemojos.LintMojo.createReportDirIfNeeded(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 699 Medium
Useless control flow in com.simpligility.maven.plugins.android.standalonemojos.LintMojo.runLint() STYLE UCF_USELESS_CONTROL_FLOW 590 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.LintMojo.getClasspath() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 716-720 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.LintMojo.getHtmlOutputPath() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 660-666 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.LintMojo.getLibraries() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 725-746 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.LintMojo.getSimpleHtmlOutputPath() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 672-678 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.LintMojo.getSources() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 706-710 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.LintMojo.getXmlOutputPath() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 684-692 Low

com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo

Bug Category Details Line Priority
Unwritten public or protected field: com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo.manifestUsesSdk STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 262 Medium

com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo.writeManifest(File, Document) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 494 Medium
Unwritten public or protected field: com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo.manifestCompatibleScreens STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 433 Medium
Unwritten public or protected field: com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo.manifestSupportsScreens STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 425 Medium
Unwritten public or protected field: com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo.manifestUsesSdk STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 449 Medium

com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getCategories() may expose internal representation by returning MonkeyMojo.parsedCategories MALICIOUS_CODE EI_EXPOSE_REP 639 Medium
com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPackages() may expose internal representation by returning MonkeyMojo.parsedPackages MALICIOUS_CODE EI_EXPOSE_REP 631 Medium
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentAnyevent() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 623 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentAppswitch() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 614 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentMajorNav() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 596 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentMotion() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 569 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentNav() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 587 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentSyskeys() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 605 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentTouch() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 560 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getPercentTrackball() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 578 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getSeed() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 542 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo.getThrottle() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 551 Low

com.simpligility.maven.plugins.android.standalonemojos.MonkeyRunnerMojo

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.standalonemojos.MonkeyRunnerMojo.getPlugins() may expose internal representation by returning MonkeyRunnerMojo.parsedPlugins MALICIOUS_CODE EI_EXPOSE_REP 480 Medium
Return value of String.substring(int) ignored in com.simpligility.maven.plugins.android.standalonemojos.MonkeyRunnerMojo.run(IDevice, ITestRunListener[]) CORRECTNESS RV_RETURN_VALUE_IGNORED 305 High
MonkeyRunnerMojo.errorListener not initialized in constructor and dereferenced in com.simpligility.maven.plugins.android.standalonemojos.MonkeyRunnerMojo.handleCrash() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 411 Low
Unwritten field: com.simpligility.maven.plugins.android.standalonemojos.MonkeyRunnerMojo.mRunName CORRECTNESS UWF_UNWRITTEN_FIELD 365 Medium
Unwritten field: com.simpligility.maven.plugins.android.standalonemojos.MonkeyRunnerMojo.eventCount CORRECTNESS UWF_UNWRITTEN_FIELD 365 Low

com.simpligility.maven.plugins.android.standalonemojos.PublishApkMojo

Bug Category Details Line Priority
PublishApkMojo.apkFile not initialized in constructor and dereferenced in com.simpligility.maven.plugins.android.standalonemojos.PublishApkMojo.publishApk(String) STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 67 Low

com.simpligility.maven.plugins.android.standalonemojos.PublishListingMojo

Bug Category Details Line Priority
Possible null pointer dereference in com.simpligility.maven.plugins.android.standalonemojos.PublishListingMojo.getImageListAsStream(File, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 167 Medium
Redundant nullcheck of contentGraphicList, which is known to be non-null in com.simpligility.maven.plugins.android.standalonemojos.PublishListingMojo.uploadScreenShots(File, String, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 230 Low

com.simpligility.maven.plugins.android.standalonemojos.PullMojo$1

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdir() ignored in com.simpligility.maven.plugins.android.standalonemojos.PullMojo$1.doWithDevice(IDevice) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 134 Medium
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.standalonemojos.PullMojo$1.doWithDevice(IDevice) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 133 Medium

com.simpligility.maven.plugins.android.standalonemojos.RunMojo

Bug Category Details Line Priority
com.simpligility.maven.plugins.android.standalonemojos.RunMojo.getLauncherActivity() invokes toString() method on a String PERFORMANCE DM_STRING_TOSTRING 283 Low
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.standalonemojos.RunMojo.execute() STYLE REC_CATCH_EXCEPTION 192 Low

com.simpligility.maven.plugins.android.standalonemojos.RunMojo$1

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive com.simpligility.maven.plugins.android.standalonemojos.RunMojo$1.doWithDevice(IDevice) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 351 High
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.standalonemojos.RunMojo$1.doWithDevice(IDevice) STYLE REC_CATCH_EXCEPTION 371 Low

com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo

Bug Category Details Line Priority
Private method com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo.getJarFile() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 392-398 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo.getPropertiesKeyPrefix() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 414 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo.getReportSuffix() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 409 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo.getTestClassOrMethods() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 404 Low

com.simpligility.maven.plugins.android.standalonemojos.UnpackMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in com.simpligility.maven.plugins.android.standalonemojos.UnpackMojo.unpackClasses() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 99 Medium

com.simpligility.maven.plugins.android.standalonemojos.ZipalignMojo

Bug Category Details Line Priority
Private method com.simpligility.maven.plugins.android.standalonemojos.ZipalignMojo.getInputApkPath() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 238-242 Low
Private method com.simpligility.maven.plugins.android.standalonemojos.ZipalignMojo.getOutputApkPath() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 254-259 Low
ZipalignMojo.parsedOutputApk not initialized in constructor and dereferenced in com.simpligility.maven.plugins.android.standalonemojos.ZipalignMojo.getTemporaryOutputApkFilename() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 227 Low