code: private Engine executeDependencyCheck() throws ExceptionCollection {
          populateSettings();
          final Engine engine;
          try {
              engine = new Engine(settings);
          } catch (DatabaseException ex) {
              throw new ExceptionCollection(ex, true);
          }
          if (this.updateOnly) {
              try {
                  engine.doUpdates();
              } catch (UpdateException ex) {
                  throw new ExceptionCollection(ex);
              } finally {
                  engine.close();
              }
          } else {
              engine.setDependencies(this.dependencies);
              engine.analyzeDependencies();
          }
          return engine;
      }
docs: Executes the Dependency-Check on the dependent libraries. <b>Note</b>,
  the engine object returned from this method must be closed by calling
  `close()`
  
  @return the Engine used to scan the dependencies.
  @throws ExceptionCollection a collection of one or more exceptions that
  occurred during analysis.