dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/NspAnalyzer.java
/**
     * Initializes the analyzer once before any analysis is performed.
     *
     * @throws InitializationException if there's an error during initialization
     */
Initializes the analyzer once before any analysis is performed.
@throws InitializationException if there's an error during initialization
Initializes the analyzer once before any analysis is performed . @throws InitializationException if there ' s an error during initialization
@Override
    public void initializeFileTypeAnalyzer() throws InitializationException {
        LOGGER.debug("Initializing {}", getName());
        final String searchUrl = Settings.getString(Settings.KEYS.ANALYZER_NSP_URL, DEFAULT_URL);
        try {
            searcher = new NspSearch(new URL(searchUrl));
        } catch (MalformedURLException ex) {
            setEnabled(false);
            throw new InitializationException("The configured URL to Node Security Platform is malformed: " + searchUrl, ex);
        }
    }
@ Override public void initializeFileTypeAnalyzer ( ) throws InitializationException { LOGGER . debug ( "Initializing {}" , getName ( ) ) ; final String searchUrl = Settings . getString ( Settings . KEYS . ANALYZER_NSP_URL , DEFAULT_URL ) ; try { searcher = new NspSearch ( new URL ( searchUrl ) ) ; } catch ( MalformedURLException ex ) { setEnabled ( false ) ; throw new InitializationException ( "The configured URL to Node Security Platform is malformed: " + searchUrl , ex ) ; } }
Initializes the analyzer once before any analysis is performed.
Initializes the analyzer once before any analysis is performed .