Change root package

This commit is contained in:
2020-05-30 17:28:24 +02:00
parent 64437de14f
commit bc1ee810b8
81 changed files with 372 additions and 372 deletions

View File

@@ -30,7 +30,7 @@ dependencies {
jar {
manifest {
attributes 'Main-Class': 'com.bartek.esa.EsaMain'
attributes 'Main-Class': 'com.bartlomiejpluta.esa.EsaMain'
}
// FatJar

View File

@@ -1,10 +0,0 @@
package com.bartek.esa.core.archetype;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.core.model.object.Issue;
import java.util.Set;
public interface Plugin {
Set<Issue> runForIssues(Context context);
}

View File

@@ -1,28 +0,0 @@
package com.bartek.esa.di;
import com.bartek.esa.EsaMain;
import com.bartek.esa.analyser.di.AnalyserModule;
import com.bartek.esa.cli.di.CliModule;
import com.bartek.esa.context.di.ContextModule;
import com.bartek.esa.core.di.CoreModule;
import com.bartek.esa.core.di.PluginModule;
import com.bartek.esa.decompiler.di.DecompilerModule;
import com.bartek.esa.dispatcher.di.DispatcherModule;
import com.bartek.esa.file.di.FileModule;
import com.bartek.esa.formatter.di.FormatterModule;
import dagger.Component;
@Component(modules = {
CliModule.class,
DispatcherModule.class,
FileModule.class,
DecompilerModule.class,
CoreModule.class,
PluginModule.class,
AnalyserModule.class,
FormatterModule.class,
ContextModule.class
})
public interface DependencyInjector {
EsaMain esa();
}

View File

@@ -1,16 +1,16 @@
package com.bartek.esa;
package com.bartlomiejpluta.esa;
import com.bartek.esa.analyser.apk.ApkAnalyser;
import com.bartek.esa.analyser.source.SourceAnalyser;
import com.bartek.esa.cli.model.object.CliArgsOptions;
import com.bartek.esa.cli.parser.CliArgsParser;
import com.bartek.esa.core.model.object.Issue;
import com.bartek.esa.di.DaggerDependencyInjector;
import com.bartek.esa.dispatcher.dispatcher.MethodDispatcher;
import com.bartek.esa.dispatcher.model.DispatcherActions;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.formatter.archetype.Formatter;
import com.bartek.esa.formatter.provider.FormatterProvider;
import com.bartlomiejpluta.esa.analyser.apk.ApkAnalyser;
import com.bartlomiejpluta.esa.analyser.source.SourceAnalyser;
import com.bartlomiejpluta.esa.cli.model.object.CliArgsOptions;
import com.bartlomiejpluta.esa.cli.parser.CliArgsParser;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.di.DaggerDependencyInjector;
import com.bartlomiejpluta.esa.dispatcher.dispatcher.MethodDispatcher;
import com.bartlomiejpluta.esa.dispatcher.model.DispatcherActions;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.formatter.archetype.Formatter;
import com.bartlomiejpluta.esa.formatter.provider.FormatterProvider;
import io.vavr.control.Try;
import javax.inject.Inject;

View File

@@ -1,14 +1,14 @@
package com.bartek.esa.analyser.apk;
package com.bartlomiejpluta.esa.analyser.apk;
import com.bartek.esa.analyser.core.Analyser;
import com.bartek.esa.context.constructor.ContextConstructor;
import com.bartek.esa.core.archetype.Plugin;
import com.bartek.esa.core.executor.PluginExecutor;
import com.bartek.esa.decompiler.archetype.Decompiler;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.file.cleaner.FileCleaner;
import com.bartek.esa.file.matcher.GlobMatcher;
import com.bartek.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.analyser.core.Analyser;
import com.bartlomiejpluta.esa.context.constructor.ContextConstructor;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.core.executor.PluginExecutor;
import com.bartlomiejpluta.esa.decompiler.archetype.Decompiler;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.file.cleaner.FileCleaner;
import com.bartlomiejpluta.esa.file.matcher.GlobMatcher;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import java.io.File;
import java.util.Set;

View File

@@ -1,12 +1,12 @@
package com.bartek.esa.analyser.core;
package com.bartlomiejpluta.esa.analyser.core;
import com.bartek.esa.context.constructor.ContextConstructor;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.core.archetype.Plugin;
import com.bartek.esa.core.executor.PluginExecutor;
import com.bartek.esa.core.model.object.Issue;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.context.constructor.ContextConstructor;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.core.executor.PluginExecutor;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import java.io.File;
import java.util.Set;

View File

@@ -1,14 +1,14 @@
package com.bartek.esa.analyser.di;
package com.bartlomiejpluta.esa.analyser.di;
import com.bartek.esa.analyser.apk.ApkAnalyser;
import com.bartek.esa.analyser.source.SourceAnalyser;
import com.bartek.esa.context.constructor.ContextConstructor;
import com.bartek.esa.core.archetype.Plugin;
import com.bartek.esa.core.executor.PluginExecutor;
import com.bartek.esa.decompiler.archetype.Decompiler;
import com.bartek.esa.file.cleaner.FileCleaner;
import com.bartek.esa.file.matcher.GlobMatcher;
import com.bartek.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.analyser.apk.ApkAnalyser;
import com.bartlomiejpluta.esa.analyser.source.SourceAnalyser;
import com.bartlomiejpluta.esa.context.constructor.ContextConstructor;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.core.executor.PluginExecutor;
import com.bartlomiejpluta.esa.decompiler.archetype.Decompiler;
import com.bartlomiejpluta.esa.file.cleaner.FileCleaner;
import com.bartlomiejpluta.esa.file.matcher.GlobMatcher;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import dagger.Module;
import dagger.Provides;

View File

@@ -1,11 +1,11 @@
package com.bartek.esa.analyser.source;
package com.bartlomiejpluta.esa.analyser.source;
import com.bartek.esa.analyser.core.Analyser;
import com.bartek.esa.context.constructor.ContextConstructor;
import com.bartek.esa.core.archetype.Plugin;
import com.bartek.esa.core.executor.PluginExecutor;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.analyser.core.Analyser;
import com.bartlomiejpluta.esa.context.constructor.ContextConstructor;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.core.executor.PluginExecutor;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import java.io.File;
import java.util.Set;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.cli.di;
package com.bartlomiejpluta.esa.cli.di;
import com.bartek.esa.cli.parser.CliArgsParser;
import com.bartek.esa.cli.printer.PluginPrinter;
import com.bartek.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.cli.parser.CliArgsParser;
import com.bartlomiejpluta.esa.cli.printer.PluginPrinter;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import dagger.Module;
import dagger.Provides;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.cli.model.enumeration;
package com.bartlomiejpluta.esa.cli.model.enumeration;
public enum OutputType {
DEFAULT,

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.cli.model.object;
package com.bartlomiejpluta.esa.cli.model.object;
import com.bartek.esa.cli.model.enumeration.OutputType;
import com.bartlomiejpluta.esa.cli.model.enumeration.OutputType;
import lombok.Builder;
import lombok.Data;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.cli.parser;
package com.bartlomiejpluta.esa.cli.parser;
import com.bartek.esa.cli.model.enumeration.OutputType;
import com.bartek.esa.cli.model.object.CliArgsOptions;
import com.bartek.esa.cli.printer.PluginPrinter;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.cli.model.enumeration.OutputType;
import com.bartlomiejpluta.esa.cli.model.object.CliArgsOptions;
import com.bartlomiejpluta.esa.cli.printer.PluginPrinter;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import io.vavr.control.Try;
import org.apache.commons.cli.*;

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.cli.printer;
package com.bartlomiejpluta.esa.cli.printer;
import com.bartek.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import javax.inject.Inject;
import java.util.Set;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.context.constructor;
package com.bartlomiejpluta.esa.context.constructor;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.file.matcher.PackageNameMatcher;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.file.matcher.PackageNameMatcher;
import com.github.javaparser.ParseProblemException;
import com.github.javaparser.Problem;
import com.github.javaparser.StaticJavaParser;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.context.di;
package com.bartlomiejpluta.esa.context.di;
import com.bartek.esa.context.constructor.ContextConstructor;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartek.esa.file.matcher.PackageNameMatcher;
import com.bartlomiejpluta.esa.context.constructor.ContextConstructor;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.file.matcher.PackageNameMatcher;
import dagger.Module;
@Module

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.context.model;
package com.bartlomiejpluta.esa.context.model;
import com.github.javaparser.ast.CompilationUnit;
import lombok.Builder;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.context.model;
package com.bartlomiejpluta.esa.context.model;
import lombok.EqualsAndHashCode;
import lombok.Getter;

View File

@@ -1,7 +1,7 @@
package com.bartek.esa.core.archetype;
package com.bartlomiejpluta.esa.core.archetype;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.context.model.Source;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.context.model.Source;
import org.w3c.dom.Document;
public abstract class AndroidManifestPlugin extends BasePlugin {

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.archetype;
package com.bartlomiejpluta.esa.core.archetype;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.github.javaparser.ast.expr.Expression;
import org.w3c.dom.Node;

View File

@@ -1,7 +1,7 @@
package com.bartek.esa.core.archetype;
package com.bartlomiejpluta.esa.core.archetype;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.context.model.Source;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.context.model.Source;
import com.github.javaparser.ast.CompilationUnit;
public abstract class JavaPlugin extends BasePlugin {

View File

@@ -0,0 +1,10 @@
package com.bartlomiejpluta.esa.core.archetype;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import java.util.Set;
public interface Plugin {
Set<Issue> runForIssues(Context context);
}

View File

@@ -1,7 +1,7 @@
package com.bartek.esa.core.archetype;
package com.bartlomiejpluta.esa.core.archetype;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.context.model.Source;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.context.model.Source;
import org.w3c.dom.Document;
public abstract class ResourceLayoutPlugin extends BasePlugin {

View File

@@ -1,7 +1,7 @@
package com.bartek.esa.core.desc.provider;
package com.bartlomiejpluta.esa.core.desc.provider;
import com.bartek.esa.core.model.object.Issue;
import com.bartek.esa.error.EsaException;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.error.EsaException;
import io.vavr.control.Try;
import org.apache.commons.text.StringSubstitutor;

View File

@@ -1,12 +1,12 @@
package com.bartek.esa.core.di;
package com.bartlomiejpluta.esa.core.di;
import com.bartek.esa.core.desc.provider.DescriptionProvider;
import com.bartek.esa.core.executor.PluginExecutor;
import com.bartek.esa.core.helper.ParentNodeFinder;
import com.bartek.esa.core.helper.StaticScopeHelper;
import com.bartek.esa.core.helper.StringConcatenationChecker;
import com.bartek.esa.core.java.JavaSyntaxRegexProvider;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.core.desc.provider.DescriptionProvider;
import com.bartlomiejpluta.esa.core.executor.PluginExecutor;
import com.bartlomiejpluta.esa.core.helper.ParentNodeFinder;
import com.bartlomiejpluta.esa.core.helper.StaticScopeHelper;
import com.bartlomiejpluta.esa.core.helper.StringConcatenationChecker;
import com.bartlomiejpluta.esa.core.java.JavaSyntaxRegexProvider;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import dagger.Module;
import dagger.Provides;

View File

@@ -1,13 +1,13 @@
package com.bartek.esa.core.di;
package com.bartlomiejpluta.esa.core.di;
import com.bartek.esa.core.archetype.Plugin;
import com.bartek.esa.core.helper.ParentNodeFinder;
import com.bartek.esa.core.helper.StaticScopeHelper;
import com.bartek.esa.core.helper.StringConcatenationChecker;
import com.bartek.esa.core.java.JavaSyntaxRegexProvider;
import com.bartek.esa.core.plugin.*;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartek.esa.file.matcher.PackageNameMatcher;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.core.helper.ParentNodeFinder;
import com.bartlomiejpluta.esa.core.helper.StaticScopeHelper;
import com.bartlomiejpluta.esa.core.helper.StringConcatenationChecker;
import com.bartlomiejpluta.esa.core.java.JavaSyntaxRegexProvider;
import com.bartlomiejpluta.esa.core.plugin.*;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.file.matcher.PackageNameMatcher;
import dagger.Module;
import dagger.Provides;
import dagger.multibindings.ElementsIntoSet;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.executor;
package com.bartlomiejpluta.esa.core.executor;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.core.archetype.Plugin;
import com.bartek.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.core.archetype.Plugin;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import java.util.Set;
import java.util.function.Consumer;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.core.helper;
package com.bartlomiejpluta.esa.core.helper;
import com.github.javaparser.Position;
import com.github.javaparser.ast.Node;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.core.helper;
package com.bartlomiejpluta.esa.core.helper;
import com.github.javaparser.ast.Node;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.core.helper;
package com.bartlomiejpluta.esa.core.helper;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.ImportDeclaration;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.core.helper;
package com.bartlomiejpluta.esa.core.helper;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.Expression;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.core.java;
package com.bartlomiejpluta.esa.core.java;
import com.github.javaparser.ast.expr.Expression;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.core.model.enumeration;
package com.bartlomiejpluta.esa.core.model.enumeration;
import lombok.Getter;

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.core.model.object;
package com.bartlomiejpluta.esa.core.model.object;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import lombok.Builder;
import lombok.Data;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.AndroidManifestPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.AndroidManifestPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import org.w3c.dom.Document;
import org.w3c.dom.Node;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.helper.StaticScopeHelper;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.helper.StaticScopeHelper;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.MethodCallExpr;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.AndroidManifestPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.AndroidManifestPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.AndroidManifestPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.AndroidManifestPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import org.w3c.dom.Document;
import org.w3c.dom.Node;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.core.archetype.BasePlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartek.esa.file.matcher.PackageNameMatcher;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.core.archetype.BasePlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.file.matcher.PackageNameMatcher;
import com.github.javaparser.ast.expr.MethodCallExpr;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.helper.ParentNodeFinder;
import com.bartek.esa.core.helper.StaticScopeHelper;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.helper.ParentNodeFinder;
import com.bartlomiejpluta.esa.core.helper.StaticScopeHelper;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.body.MethodDeclaration;
import com.github.javaparser.ast.expr.MethodCallExpr;
@@ -12,7 +12,7 @@ import com.github.javaparser.ast.expr.MethodCallExpr;
import javax.inject.Inject;
import java.util.function.Consumer;
import static com.bartek.esa.core.helper.NodeUtil.is;
import static com.bartlomiejpluta.esa.core.helper.NodeUtil.is;
public class ExternalStoragePlugin extends JavaPlugin {
private final ParentNodeFinder parentNodeFinder;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.java.JavaSyntaxRegexProvider;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.java.JavaSyntaxRegexProvider;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.Node;
import com.github.javaparser.ast.NodeList;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Context;
import com.bartek.esa.core.archetype.BasePlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartek.esa.file.matcher.PackageNameMatcher;
import com.bartlomiejpluta.esa.context.model.Context;
import com.bartlomiejpluta.esa.core.archetype.BasePlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.file.matcher.PackageNameMatcher;
import com.github.javaparser.ast.expr.MethodCallExpr;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.helper.StaticScopeHelper;
import com.bartek.esa.core.helper.StringConcatenationChecker;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.helper.StaticScopeHelper;
import com.bartlomiejpluta.esa.core.helper.StringConcatenationChecker;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.MethodCallExpr;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.MethodCallExpr;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.AndroidManifestPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.AndroidManifestPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.ObjectCreationExpr;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.AndroidManifestPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.AndroidManifestPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import org.w3c.dom.Document;
import org.w3c.dom.Node;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.helper.StringConcatenationChecker;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.helper.StringConcatenationChecker;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.MethodCallExpr;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.helper.StaticScopeHelper;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.helper.StaticScopeHelper;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.MethodCallExpr;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.AnnotationExpr;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.CastExpr;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.ResourceLayoutPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.ResourceLayoutPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.AndroidManifestPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.xml.XmlHelper;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.AndroidManifestPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.xml.XmlHelper;
import org.w3c.dom.Document;
import org.w3c.dom.Node;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.Expression;
import com.github.javaparser.ast.expr.MethodCallExpr;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.core.plugin;
package com.bartlomiejpluta.esa.core.plugin;
import com.bartek.esa.context.model.Source;
import com.bartek.esa.core.archetype.JavaPlugin;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.context.model.Source;
import com.bartlomiejpluta.esa.core.archetype.JavaPlugin;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.expr.FieldAccessExpr;
import com.github.javaparser.ast.expr.NameExpr;

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.core.xml;
package com.bartlomiejpluta.esa.core.xml;
import com.bartek.esa.error.EsaException;
import com.bartlomiejpluta.esa.error.EsaException;
import io.vavr.control.Try;
import org.w3c.dom.Document;
import org.w3c.dom.Node;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.decompiler.archetype;
package com.bartlomiejpluta.esa.decompiler.archetype;
import java.io.File;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.decompiler.decompiler;
package com.bartlomiejpluta.esa.decompiler.decompiler;
import com.bartek.esa.decompiler.archetype.Decompiler;
import com.bartek.esa.decompiler.process.ProcessExecutor;
import com.bartek.esa.file.cleaner.FileCleaner;
import com.bartek.esa.file.provider.FileProvider;
import com.bartek.esa.file.zip.ZipTool;
import com.bartlomiejpluta.esa.decompiler.archetype.Decompiler;
import com.bartlomiejpluta.esa.decompiler.process.ProcessExecutor;
import com.bartlomiejpluta.esa.file.cleaner.FileCleaner;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.file.zip.ZipTool;
import org.apache.commons.io.FilenameUtils;
import javax.inject.Inject;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.decompiler.decompiler;
package com.bartlomiejpluta.esa.decompiler.decompiler;
import com.bartek.esa.decompiler.archetype.Decompiler;
import com.bartek.esa.decompiler.process.ProcessExecutor;
import com.bartek.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.decompiler.archetype.Decompiler;
import com.bartlomiejpluta.esa.decompiler.process.ProcessExecutor;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import javax.inject.Inject;
import java.io.File;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.decompiler.di;
package com.bartlomiejpluta.esa.decompiler.di;
import com.bartek.esa.decompiler.archetype.Decompiler;
import com.bartek.esa.decompiler.decompiler.JadxDecompiler;
import com.bartek.esa.decompiler.process.ProcessExecutor;
import com.bartek.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.decompiler.archetype.Decompiler;
import com.bartlomiejpluta.esa.decompiler.decompiler.JadxDecompiler;
import com.bartlomiejpluta.esa.decompiler.process.ProcessExecutor;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import dagger.Module;
import dagger.Provides;

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.decompiler.process;
package com.bartlomiejpluta.esa.decompiler.process;
import com.bartek.esa.error.EsaException;
import com.bartlomiejpluta.esa.error.EsaException;
import io.vavr.control.Try;
import javax.inject.Inject;

View File

@@ -0,0 +1,28 @@
package com.bartlomiejpluta.esa.di;
import com.bartlomiejpluta.esa.EsaMain;
import com.bartlomiejpluta.esa.analyser.di.AnalyserModule;
import com.bartlomiejpluta.esa.cli.di.CliModule;
import com.bartlomiejpluta.esa.context.di.ContextModule;
import com.bartlomiejpluta.esa.core.di.CoreModule;
import com.bartlomiejpluta.esa.core.di.PluginModule;
import com.bartlomiejpluta.esa.decompiler.di.DecompilerModule;
import com.bartlomiejpluta.esa.dispatcher.di.DispatcherModule;
import com.bartlomiejpluta.esa.file.di.FileModule;
import com.bartlomiejpluta.esa.formatter.di.FormatterModule;
import dagger.Component;
@Component(modules = {
CliModule.class,
DispatcherModule.class,
FileModule.class,
DecompilerModule.class,
CoreModule.class,
PluginModule.class,
AnalyserModule.class,
FormatterModule.class,
ContextModule.class
})
public interface DependencyInjector {
EsaMain esa();
}

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.dispatcher.di;
package com.bartlomiejpluta.esa.dispatcher.di;
import com.bartek.esa.dispatcher.dispatcher.MethodDispatcher;
import com.bartlomiejpluta.esa.dispatcher.dispatcher.MethodDispatcher;
import dagger.Module;
import dagger.Provides;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.dispatcher.dispatcher;
package com.bartlomiejpluta.esa.dispatcher.dispatcher;
import com.bartek.esa.cli.model.object.CliArgsOptions;
import com.bartek.esa.core.model.object.Issue;
import com.bartek.esa.dispatcher.model.DispatcherActions;
import com.bartlomiejpluta.esa.cli.model.object.CliArgsOptions;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.dispatcher.model.DispatcherActions;
import javax.inject.Inject;
import java.util.Collections;

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.dispatcher.model;
package com.bartlomiejpluta.esa.dispatcher.model;
import com.bartek.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import java.util.Set;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.dispatcher.model;
package com.bartlomiejpluta.esa.dispatcher.model;
import lombok.Builder;
import lombok.Data;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.error;
package com.bartlomiejpluta.esa.error;
public class EsaException extends RuntimeException {

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.file.cleaner;
package com.bartlomiejpluta.esa.file.cleaner;
import com.bartek.esa.error.EsaException;
import com.bartlomiejpluta.esa.error.EsaException;
import io.vavr.control.Try;
import javax.inject.Inject;

View File

@@ -1,11 +1,11 @@
package com.bartek.esa.file.di;
package com.bartlomiejpluta.esa.file.di;
import com.bartek.esa.file.cleaner.FileCleaner;
import com.bartek.esa.file.matcher.GlobMatcher;
import com.bartek.esa.file.matcher.PackageNameMatcher;
import com.bartek.esa.file.provider.FileContentProvider;
import com.bartek.esa.file.provider.FileProvider;
import com.bartek.esa.file.zip.ZipTool;
import com.bartlomiejpluta.esa.file.cleaner.FileCleaner;
import com.bartlomiejpluta.esa.file.matcher.GlobMatcher;
import com.bartlomiejpluta.esa.file.matcher.PackageNameMatcher;
import com.bartlomiejpluta.esa.file.provider.FileContentProvider;
import com.bartlomiejpluta.esa.file.provider.FileProvider;
import com.bartlomiejpluta.esa.file.zip.ZipTool;
import dagger.Module;
import dagger.Provides;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.file.matcher;
package com.bartlomiejpluta.esa.file.matcher;
import javax.inject.Inject;
import java.io.File;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.file.matcher;
package com.bartlomiejpluta.esa.file.matcher;
import javax.inject.Inject;
import java.io.File;

View File

@@ -1,4 +1,4 @@
package com.bartek.esa.file.model;
package com.bartlomiejpluta.esa.file.model;
import lombok.Builder;
import lombok.Data;

View File

@@ -1,7 +1,7 @@
package com.bartek.esa.file.provider;
package com.bartlomiejpluta.esa.file.provider;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.file.model.FoundLine;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.file.model.FoundLine;
import io.vavr.control.Try;
import javax.inject.Inject;

View File

@@ -1,7 +1,7 @@
package com.bartek.esa.file.provider;
package com.bartlomiejpluta.esa.file.provider;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.file.matcher.GlobMatcher;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.file.matcher.GlobMatcher;
import io.vavr.control.Try;
import javax.inject.Inject;

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.file.zip;
package com.bartlomiejpluta.esa.file.zip;
import com.bartek.esa.error.EsaException;
import com.bartlomiejpluta.esa.error.EsaException;
import io.vavr.control.Try;
import org.apache.commons.io.IOUtils;

View File

@@ -1,6 +1,6 @@
package com.bartek.esa.formatter.archetype;
package com.bartlomiejpluta.esa.formatter.archetype;
import com.bartek.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import java.util.Set;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.formatter.di;
package com.bartlomiejpluta.esa.formatter.di;
import com.bartek.esa.core.desc.provider.DescriptionProvider;
import com.bartek.esa.formatter.formatter.ColorFormatter;
import com.bartek.esa.formatter.formatter.JsonFormatter;
import com.bartek.esa.formatter.formatter.SimpleFormatter;
import com.bartek.esa.formatter.provider.FormatterProvider;
import com.bartlomiejpluta.esa.core.desc.provider.DescriptionProvider;
import com.bartlomiejpluta.esa.formatter.formatter.ColorFormatter;
import com.bartlomiejpluta.esa.formatter.formatter.JsonFormatter;
import com.bartlomiejpluta.esa.formatter.formatter.SimpleFormatter;
import com.bartlomiejpluta.esa.formatter.provider.FormatterProvider;
import dagger.Module;
import dagger.Provides;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.formatter.formatter;
package com.bartlomiejpluta.esa.formatter.formatter;
import com.bartek.esa.core.desc.provider.DescriptionProvider;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.model.object.Issue;
import com.bartek.esa.formatter.archetype.Formatter;
import com.bartlomiejpluta.esa.core.desc.provider.DescriptionProvider;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.formatter.archetype.Formatter;
import org.fusesource.jansi.Ansi;
import org.fusesource.jansi.AnsiConsole;

View File

@@ -1,8 +1,8 @@
package com.bartek.esa.formatter.formatter;
package com.bartlomiejpluta.esa.formatter.formatter;
import com.bartek.esa.core.model.object.Issue;
import com.bartek.esa.error.EsaException;
import com.bartek.esa.formatter.archetype.Formatter;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.error.EsaException;
import com.bartlomiejpluta.esa.formatter.archetype.Formatter;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.vavr.control.Try;

View File

@@ -1,9 +1,9 @@
package com.bartek.esa.formatter.formatter;
package com.bartlomiejpluta.esa.formatter.formatter;
import com.bartek.esa.core.desc.provider.DescriptionProvider;
import com.bartek.esa.core.model.enumeration.Severity;
import com.bartek.esa.core.model.object.Issue;
import com.bartek.esa.formatter.archetype.Formatter;
import com.bartlomiejpluta.esa.core.desc.provider.DescriptionProvider;
import com.bartlomiejpluta.esa.core.model.enumeration.Severity;
import com.bartlomiejpluta.esa.core.model.object.Issue;
import com.bartlomiejpluta.esa.formatter.archetype.Formatter;
import javax.inject.Inject;
import java.util.Arrays;

View File

@@ -1,10 +1,10 @@
package com.bartek.esa.formatter.provider;
package com.bartlomiejpluta.esa.formatter.provider;
import com.bartek.esa.cli.model.object.CliArgsOptions;
import com.bartek.esa.formatter.archetype.Formatter;
import com.bartek.esa.formatter.formatter.ColorFormatter;
import com.bartek.esa.formatter.formatter.JsonFormatter;
import com.bartek.esa.formatter.formatter.SimpleFormatter;
import com.bartlomiejpluta.esa.cli.model.object.CliArgsOptions;
import com.bartlomiejpluta.esa.formatter.archetype.Formatter;
import com.bartlomiejpluta.esa.formatter.formatter.ColorFormatter;
import com.bartlomiejpluta.esa.formatter.formatter.JsonFormatter;
import com.bartlomiejpluta.esa.formatter.formatter.SimpleFormatter;
import javax.inject.Inject;

View File

@@ -1,58 +1,58 @@
com.bartek.esa.core.archetype.JavaPlugin.NO_PACKAGE=There is no package defined in AndroidManifest.xml file. \n\
com.bartlomiejpluta.esa.core.archetype.JavaPlugin.NO_PACKAGE=There is no package defined in AndroidManifest.xml file. \n\
Package should be defined as attribute of <manifest> tag.\n\
For example: <manifest package="com.bartek.esa.test">\n\
For example: <manifest package="com.bartlomiejpluta.esa.test">\n\
Please fix it to use this tool.
com.bartek.esa.core.plugin.LoggingPlugin=Potential data leakage in logs. \n\
com.bartlomiejpluta.esa.core.plugin.LoggingPlugin=Potential data leakage in logs. \n\
Logging method was detected. Please check if no sensitive data is logged there.
com.bartek.esa.core.plugin.DebuggablePlugin.NO_ATTR=There is no android:debuggable option. Potential data leakage. \n\
com.bartlomiejpluta.esa.core.plugin.DebuggablePlugin.NO_ATTR=There is no android:debuggable option. Potential data leakage. \n\
The android:debuggable option was not found in the AndroidManifest.xml file. \n\
To avoid any potential data leakage in the future, please explicitly set this flag to false. \n\
The attribute should be placed in <application> tag.\n\
For example: <application android:debuggable="false">
com.bartek.esa.core.plugin.DebuggablePlugin.NO_FALSE=The android:debuggable is set to 'true'. Potential data leakage. \n\
com.bartlomiejpluta.esa.core.plugin.DebuggablePlugin.NO_FALSE=The android:debuggable is set to 'true'. Potential data leakage. \n\
The android:debuggable option in AndroidManifest.xml is set to 'true'. \n\
This will cause application to be debuggable and can result in \
security issues and data leakage on the production environment. \n\
Consider setting it to 'false'.
com.bartek.esa.core.plugin.AllowBackupPlugin.NO_ATTR=There is no android:allowBackup option. Potential data leakage. \n\
com.bartlomiejpluta.esa.core.plugin.AllowBackupPlugin.NO_ATTR=There is no android:allowBackup option. Potential data leakage. \n\
The android:allowBackup option was not found in the AndroidManifest.xml file. \n\
To avoid any potential data theft in the future, please explicitly set this flag to false. \n\
The attribute should be placed in <application> tag.\n\
For example: <application android:allowBackup="false">
com.bartek.esa.core.plugin.AllowBackupPlugin.NO_FALSE=The android:allowBackup is set to 'true'. Potential data leakage. \n\
com.bartlomiejpluta.esa.core.plugin.AllowBackupPlugin.NO_FALSE=The android:allowBackup is set to 'true'. Potential data leakage. \n\
The android:allowBackup option in AndroidManifest.xml is set to 'true'. \n\
This will allow accessing the backups via adb if device has USB debugging enabled.\n\
Consider setting it to 'false'.
com.bartek.esa.core.plugin.PermissionsRaceConditionPlugin=Potential permissions race condition vulnerability. \n\
com.bartlomiejpluta.esa.core.plugin.PermissionsRaceConditionPlugin=Potential permissions race condition vulnerability. \n\
There are declared custom permissions in AndroidManifest.xml and the minimal API version is set to ${minSdkVersion} that is less than 21.\n\
It means that declared permissions can be obtained by malicious application installed before and without need of having proper signature.\n\
Consider setting minimal API version to 21 at least.
com.bartek.esa.core.plugin.SecureRandomPlugin=Initializing SecureRandom object with custom seed. \n\
com.bartlomiejpluta.esa.core.plugin.SecureRandomPlugin=Initializing SecureRandom object with custom seed. \n\
Specifying custom seed for SecureRandom can produce predictable sequence of numbers. \n\
Please create SecureRandom object without any arguments instead.
com.bartek.esa.core.plugin.ImplicitIntentsPlugin.IMPLICIT_INTENT=Creating implicit intent. Potential data leakage. \n\
com.bartlomiejpluta.esa.core.plugin.ImplicitIntentsPlugin.IMPLICIT_INTENT=Creating implicit intent. Potential data leakage. \n\
Implicit intents can be abused in man-in-the-middle attack. Malicious application can hijack intent and start its\n\
activity/send service etc. to steal sent data. \n\
Also make sure that no sensitive information is passing to this intent.
com.bartek.esa.core.plugin.ImplicitIntentsPlugin.PENDING_INTENT=Creating pending intent from implicit intent. Potential permission escalation vulnerability\n\
com.bartlomiejpluta.esa.core.plugin.ImplicitIntentsPlugin.PENDING_INTENT=Creating pending intent from implicit intent. Potential permission escalation vulnerability\n\
As far as pending intents contains UID of issuing application and its permissions, they should be fed only\n\
with explicit intents to avoid permission escalation vulnerability.
com.bartek.esa.core.plugin.SharedUidPlugin=Making use of shared UserID.\n\
com.bartlomiejpluta.esa.core.plugin.SharedUidPlugin=Making use of shared UserID.\n\
Shared UserID violates a sandbox nature of Android system. All applications working with the same UID work also \n\
within the same process and share granted permissions, resources and so on.\n\
Remember, that if you really want to use this feature, after publishing your app, you won't be able to change it anymore.
com.bartek.esa.core.plugin.UsesSdkPlugin.NO_USES_SDK=There is no <uses-sdk> defined in AndroidManifest.xml file.\n\
com.bartlomiejpluta.esa.core.plugin.UsesSdkPlugin.NO_USES_SDK=There is no <uses-sdk> defined in AndroidManifest.xml file.\n\
In order to use this tool, <uses-sdk> should be defined in AndroidManifest.xml with android:minSdkVersion attribute at least.\n\
This element should be placed below the root (<manifest>) level.\n\
For example:\n\
@@ -61,63 +61,63 @@ com.bartek.esa.core.plugin.UsesSdkPlugin.NO_USES_SDK=There is no <uses-sdk> defi
\t...\n\
</manifest>
com.bartek.esa.core.plugin.UsesSdkPlugin.USES_SDK.NO_MIN_SDK_VERSION=There is no minSdkVersion defined in AndroidManifest.xml file.\n\
com.bartlomiejpluta.esa.core.plugin.UsesSdkPlugin.USES_SDK.NO_MIN_SDK_VERSION=There is no minSdkVersion defined in AndroidManifest.xml file.\n\
In order to use this tool, minimal SDK version should be provided as the attribute of <uses-sdk> element.\n\
For example: <uses-sdk android:minSdkVersion="23">
com.bartek.esa.core.plugin.UsesSdkPlugin.USES_SDK.MAX_SDK_VERSION=Application defines an upper limit for API version.\n\
com.bartlomiejpluta.esa.core.plugin.UsesSdkPlugin.USES_SDK.MAX_SDK_VERSION=Application defines an upper limit for API version.\n\
The android:maxSdkVersion is set to ${maxSdkVersion} in AndroidManifest.xml.\n\
There is no need to limit available platforms for application.\n\
Furthermore it can cause unexpected application uninstall\n\
on upgrading Android version (along with API which can exceed defined maximal API version).
com.bartek.esa.core.plugin.CipherInstancePlugin=Not fully-qualified algorithm name provided in Cipher.getInstance() method.\n\
com.bartlomiejpluta.esa.core.plugin.CipherInstancePlugin=Not fully-qualified algorithm name provided in Cipher.getInstance() method.\n\
Passing a shortcut instead of fully-qualified algorithm name in Cipher.getInstance() method is not portable across providers\n\
and can impact the system low secure than intended to be.\n\
Fully-qualified name matches the pattern: algorithm/mode/pattern\n\
For example: AES/CBC/PKCS5Padding
com.bartek.esa.core.plugin.StrictModePlugin=Strict mode is turned on.\n\
com.bartlomiejpluta.esa.core.plugin.StrictModePlugin=Strict mode is turned on.\n\
Strict mode was found in the file. Remember to delete it before publishing.
com.bartek.esa.core.plugin.ExternalStoragePlugin=External storage state is not checked.\n\
com.bartlomiejpluta.esa.core.plugin.ExternalStoragePlugin=External storage state is not checked.\n\
There is attempt to access to external storage without checking its state.\n\
External storage state should be checked through 'Environment.getExternalStorageState()' method.
com.bartek.esa.core.plugin.SuppressWarningsPlugin=@SuppressWarnings annotation was found.\n\
com.bartlomiejpluta.esa.core.plugin.SuppressWarningsPlugin=@SuppressWarnings annotation was found.\n\
The @SuppressWarnings annotation might be hiding useful warnings.\n\
Consider removing it.
com.bartek.esa.core.plugin.ExportedComponentsPlugin.NO_PERMISSION=Exported ${componentType}.\n\
com.bartlomiejpluta.esa.core.plugin.ExportedComponentsPlugin.NO_PERMISSION=Exported ${componentType}.\n\
The ${componentType} with name '${componentName}' is exported but not protected by any permission. \n\
It means any malicious application could make use of the component. \n\
Consider using 'android:permission' tag and adding custom permission to protect it.
com.bartek.esa.core.plugin.ExportedComponentsPlugin.NO_PERMISSION.DATA_USAGE=Exported ${componentType} makes use of data of incoming intents.\n\
com.bartlomiejpluta.esa.core.plugin.ExportedComponentsPlugin.NO_PERMISSION.DATA_USAGE=Exported ${componentType} makes use of data of incoming intents.\n\
The ${componentType} with name '${componentName}' is exported but not protected by any permission. \n\
It probably does also process a data from incoming intent. \n\
It means any malicious application could make use of the component or inject a fake (potentially malicious) data to it. \n\
Consider using 'android:permission' tag and adding custom permission to protect it. \n\
Also make sure, that intent is correctly validated before processing it.
com.bartek.esa.core.plugin.DangerousPermissionPlugin=Custom permission without description.\n\
com.bartlomiejpluta.esa.core.plugin.DangerousPermissionPlugin=Custom permission without description.\n\
Custom permission with 'dangerous' protection level was found and it doesn't have any description.\n\
As long as the permission requires user attention, he should have provided a meaningful description about\n\
permission.
com.bartek.esa.core.plugin.TextInputValidationPlugin=Input type is no selected.\n\
com.bartlomiejpluta.esa.core.plugin.TextInputValidationPlugin=Input type is no selected.\n\
The EditText view doesn't have a input type selected.\n\
Consider associating a input type with this view.\n\
For example: <EditText android:inputType="number" ...
com.bartek.esa.core.plugin.IntentFilterPlugin=Implemented intent filter inside private component.\n\
com.bartlomiejpluta.esa.core.plugin.IntentFilterPlugin=Implemented intent filter inside private component.\n\
The non-exported ${componentType} with name '${componentName}' does have a intent filter declared. \n\
It means, that the component is implicitly exposed to public.\n\
Consider removing intent filter or set it explicitely to be exported using following attribute:\n\
android:exported="true". \n\
Also be aware, that intent filter is not a security tool. It can be easily omitted.
com.bartek.esa.core.plugin.IntentFilterPlugin.DATA_USAGE=Implemented intent filter inside private component making use of incoming data.\n\
com.bartlomiejpluta.esa.core.plugin.IntentFilterPlugin.DATA_USAGE=Implemented intent filter inside private component making use of incoming data.\n\
The non-exported ${componentType} with name '${componentName}' does have a intent filter declared \n\
and also does make use of incoming intent data. \n\
It means, that the component is implicitly exposed to public and can be spoofed with fake data.\n\
@@ -126,34 +126,34 @@ com.bartek.esa.core.plugin.IntentFilterPlugin.DATA_USAGE=Implemented intent filt
Be aware, that intent filter is not a security tool. It can be easily omitted. \n\
Also make sure, that data is correctly validated before taking advantage of it.
com.bartek.esa.core.plugin.SqlInjectionPlugin='rawQuery' method detected. Potential SQL injection attack.\n\
com.bartlomiejpluta.esa.core.plugin.SqlInjectionPlugin='rawQuery' method detected. Potential SQL injection attack.\n\
'rawQuery' method should be avoided because of possibility to inject SQL code.
com.bartek.esa.core.plugin.WorldAccessPermissionsPlugin=World access permissions detected. Potential data leakage.\n\
com.bartlomiejpluta.esa.core.plugin.WorldAccessPermissionsPlugin=World access permissions detected. Potential data leakage.\n\
The deprecated '${exprName}' constant has been found and it can be risky to use.\n\
It grants world access permission to selected resource.\n\
Consider using less permissive mode.
com.bartek.esa.core.plugin.OrderedBroadcastPlugin=Sending ordered broadcast. Potential broadcast theft.\n\
com.bartlomiejpluta.esa.core.plugin.OrderedBroadcastPlugin=Sending ordered broadcast. Potential broadcast theft.\n\
Malicious applications can intercept ordered broadcasts, stop their propagation and resend with malicious data.
com.bartek.esa.core.plugin.WebViewPlugin.JS_INTERFACE=WebView with JavaScript interface. Potential malicious code injection.\n\
com.bartlomiejpluta.esa.core.plugin.WebViewPlugin.JS_INTERFACE=WebView with JavaScript interface. Potential malicious code injection.\n\
The WebView uses 'addJavascriptInterface' method which exposes public methods to JavaScript code. Loading JavaScript code \n\
from untrusted sources is a major security violation and should never be used.
com.bartek.esa.core.plugin.WebViewPlugin.JS_ENABLED=JavaScript enabled in WebView.\n\
com.bartlomiejpluta.esa.core.plugin.WebViewPlugin.JS_ENABLED=JavaScript enabled in WebView.\n\
The WebView has enabled JavaScript code execution. This can effect in XSS attack.\n\
Consider disabling JavaScript in WebView.
com.bartek.esa.core.plugin.WebViewPlugin.DEBUGGING_ENABLED=JavaScript debugging enabled in WebView.\n\
com.bartlomiejpluta.esa.core.plugin.WebViewPlugin.DEBUGGING_ENABLED=JavaScript debugging enabled in WebView.\n\
The WebView has enabled JavaScript code debugging. This can effect in data leakage from WebView component.\n\
Consider disabling JavaScript debugging in WebView.
com.bartek.esa.core.plugin.WebViewPlugin.ALLOW_FILE_ACCESS=Access to file system from WebView.\n\
com.bartlomiejpluta.esa.core.plugin.WebViewPlugin.ALLOW_FILE_ACCESS=Access to file system from WebView.\n\
The WebView has granted access to private files. Loading content from untrusted source may effect with \n\
accessing private files by malicious site/application.\n\
Consider disabling this option.
com.bartek.esa.core.plugin.TelephonyManagerPlugin=Usage of TelephonyManager.\n\
com.bartlomiejpluta.esa.core.plugin.TelephonyManagerPlugin=Usage of TelephonyManager.\n\
The TelephonyManager service is detected to be used.\n\
Make sure that no sensitive data (like IMEI, phone number etc.) exits the application.