The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is low
Effort is max
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 |
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 |
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 | 558 | Medium |
Hard coded reference to an absolute pathname in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptUnix() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 565 | Medium |
Hard coded reference to an absolute pathname in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptUnix() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 561 | Medium |
Use of non-localized String.toUpperCase() or String.toLowerCase() in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.isWindows() | I18N | DM_CONVERT_CASE | 199 | Low |
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptUnix(): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 572 | High |
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractEmulatorMojo.writeEmulatorStartScriptWindows(): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 513 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1.call() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 745 | Low |
Found reliance on default encoding in com.simpligility.maven.plugins.android.AbstractEmulatorMojo$1.call(): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 728 | 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 | 727 | 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 | 729 | 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 | 718-751 | Low |
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 |
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 |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.simpligility.maven.plugins.android.AndroidSdk.loadSDKToolsMajorVersion() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 499 | Medium |
com.simpligility.maven.plugins.android.AndroidSdk.loadSDKToolsMajorVersion() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 499 | Medium |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.simpligility.maven.plugins.android.configuration.D8.getArguments() may expose internal representation by returning D8.arguments | MALICIOUS_CODE | EI_EXPOSE_REP | 57 | Medium |
com.simpligility.maven.plugins.android.configuration.D8.getJvmArguments() may expose internal representation by returning D8.jvmArguments | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
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 |
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 | 65 | Medium |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.simpligility.maven.plugins.android.phase01generatesources.ClassLoaderFactory.create() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 57 | Medium |
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 |
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 | 352 | 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 | 182 | Medium |
com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.isBuildConfigPresent(Artifact, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 1073 | Medium |
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.copyManifest() | STYLE | REC_CATCH_EXCEPTION | 369 | 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 | 350 | 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 | 205 | 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 | 424 | 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 | 1140 | 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 | 1090 | 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 | 772 | Medium |
Private method com.simpligility.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.isBuildConfigPresent(Artifact) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 1057-1059 | 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 | 1150 | Medium |
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 | 417-421 | Low |
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 | 1200-1203 | Low |
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 |
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 |
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 |
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 | 550 | Medium |
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 | 250 | 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 | 228 | Medium |
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 | 416-419 | Low |
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 | 1007 | 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 | 1028 | Medium |
com.simpligility.maven.plugins.android.phase09package.ApkMojo.computeDuplicateFiles(File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 553 | 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 | 1044 | 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 | 930 | 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 | 471 | Low |
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.phase09package.ApkMojo.copyGdbServer(File, String) | STYLE | REC_CATCH_EXCEPTION | 1198 | 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 | 460 | 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 | 619 | 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 | 615 | 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 | 1050 | 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 | 892 | 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 | 905 | Low |
Private method com.simpligility.maven.plugins.android.phase09package.ApkMojo.getDefaultMetaInf() is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 1306-1311 | 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 | 598 | Medium |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Boxing/unboxing to parse a primitive com.simpligility.maven.plugins.android.standalonemojos.RunMojo$1.findPid(IDevice, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 400 | High |
Exception is caught when Exception is not thrown in com.simpligility.maven.plugins.android.standalonemojos.RunMojo$1.doWithDevice(IDevice) | STYLE | REC_CATCH_EXCEPTION | 354 | Low |
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 |
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 | 105 | Medium |
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 |