public class ComposerLockAnalyzer extends AbstractFileTypeAnalyzer
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPENDENCY_ECOSYSTEM
A descriptor for the type of dependencies processed or added by this
analyzer.
|
| Constructor and Description |
|---|
ComposerLockAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Entry point for the analyzer.
|
AnalysisPhase |
getAnalysisPhase()
Returns the phase this analyzer should run under.
|
protected String |
getAnalyzerEnabledSettingKey()
Gets the key to determine whether the analyzer is enabled.
|
protected FileFilter |
getFileFilter()
Returns the FileFilter.
|
String |
getName()
Returns the analyzer's name.
|
protected void |
prepareFileTypeAnalyzer(Engine engine)
Initializes the analyzer.
|
accept, getFilesMatched, newHashSet, prepareAnalyzer, setFilesMatchedanalyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanalyze, close, initialize, isEnabled, prepare, supportsParallelProcessingpublic static final String DEPENDENCY_ECOSYSTEM
protected FileFilter getFileFilter()
getFileFilter in class AbstractFileTypeAnalyzerprotected void prepareFileTypeAnalyzer(Engine engine) throws InitializationException
prepareFileTypeAnalyzer in class AbstractFileTypeAnalyzerengine - a reference to the dependency-check engineInitializationException - thrown if an exception occurs getting an
instance of SHA1protected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
analyzeDependency in class AbstractAnalyzerdependency - the dependency to analyzeengine - the engine scanningAnalysisException - if there's a failure during analysisprotected String getAnalyzerEnabledSettingKey()
getAnalyzerEnabledSettingKey in class AbstractAnalyzerpublic String getName()
public AnalysisPhase getAnalysisPhase()
Copyright © 2012–2020 OWASP. All rights reserved.