public class PythonDistributionAnalyzer extends AbstractFileTypeAnalyzer
Constructor and Description |
---|
PythonDistributionAnalyzer() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Analyzes a given dependency.
|
void |
closeAnalyzer()
Deletes any files extracted from the Wheel during analysis.
|
AnalysisPhase |
getAnalysisPhase()
Returns the phase that the analyzer is intended to run in.
|
protected String |
getAnalyzerEnabledSettingKey()
Returns the key used in the properties file to reference the analyzer's
enabled property.
|
protected FileFilter |
getFileFilter()
Returns the FileFilter
|
String |
getName()
Returns the name of the analyzer.
|
protected void |
initializeFileTypeAnalyzer()
Makes sure a usable temporary directory is available.
|
accept, initializeAnalyzer, isFilesMatched, newHashSet, setFilesMatched
analyze, close, initialize, isEnabled, setEnabled, supportsParallelProcessing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyze, close, initialize, isEnabled, supportsParallelProcessing
protected FileFilter getFileFilter()
getFileFilter
in class AbstractFileTypeAnalyzer
public String getName()
public AnalysisPhase getAnalysisPhase()
protected String getAnalyzerEnabledSettingKey()
getAnalyzerEnabledSettingKey
in class AbstractAnalyzer
protected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
AbstractAnalyzer
analyzeDependency
in class AbstractAnalyzer
dependency
- the dependency to analyzeengine
- the engine scanningAnalysisException
- thrown if there is an analysis exceptionprotected void initializeFileTypeAnalyzer() throws InitializationException
initializeFileTypeAnalyzer
in class AbstractFileTypeAnalyzer
InitializationException
- an AnalyzeException is thrown when the
temp directory cannot be createdpublic void closeAnalyzer()
closeAnalyzer
in class AbstractAnalyzer
Copyright © 2012–2017 OWASP. All rights reserved.