@ SuppressFBWarnings ( justification = "Accepting that this is a bad practice - but made more sense in this use case" , value = { "NP_BOOLEAN_RETURN_NULL" } ) public Boolean isRetireJsFilterNonVulnerable ( ) { return ( line != null && line . hasOption ( ARGUMENT . RETIREJS_FILTER_NON_VULNERABLE ) ) ? true : null ; }
Returns whether or not the retireJS analyzer should exclude non - vulnerable JS from the report .