dependency-check-core/src/main/java/org/owasp/dependencycheck/Engine.java
/**
     * Loads the analyzers specified in the configuration file (or system
     * properties).
     */
Loads the analyzers specified in the configuration file (or system
properties).
Loads the analyzers specified in the configuration file ( or system properties ) .
private void loadAnalyzers() {
        if (!analyzers.isEmpty()) {
            return;
        }
        for (AnalysisPhase phase : mode.getPhases()) {
            analyzers.put(phase, new ArrayList<Analyzer>());
        }
        final AnalyzerService service = new AnalyzerService(serviceClassLoader);
        final List<Analyzer> iterator = service.getAnalyzers(mode.getPhases());
        for (Analyzer a : iterator) {
            analyzers.get(a.getAnalysisPhase()).add(a);
            if (a instanceof FileTypeAnalyzer) {
                this.fileTypeAnalyzers.add((FileTypeAnalyzer) a);
            }
        }
    }
private void loadAnalyzers ( ) { if ( ! analyzers . isEmpty ( ) ) { return ; } for ( AnalysisPhase phase : mode . getPhases ( ) ) { analyzers . put ( phase , new ArrayList < Analyzer > ( ) ) ; } final AnalyzerService service = new AnalyzerService ( serviceClassLoader ) ; final List < Analyzer > iterator = service . getAnalyzers ( mode . getPhases ( ) ) ; for ( Analyzer a : iterator ) { analyzers . get ( a . getAnalysisPhase ( ) ) . add ( a ) ; if ( a instanceof FileTypeAnalyzer ) { this . fileTypeAnalyzers . add ( ( FileTypeAnalyzer ) a ) ; } } }
Loads the analyzers specified in the configuration file (or system
 properties).
Loads the analyzers specified in the configuration file ( or system properties ) .