code: protected boolean shouldUpdagte(File repo) throws NumberFormatException {
          boolean proceed = true;
          if (repo != null && repo.isFile()) {
              final int validForHours = settings.getInt(Settings.KEYS.ANALYZER_RETIREJS_REPO_VALID_FOR_HOURS, 0);
              final long lastUpdatedOn = repo.lastModified();
              final long now = System.currentTimeMillis();
              LOGGER.debug("Last updated: {}", lastUpdatedOn);
              LOGGER.debug("Now: {}", now);
              final long msValid = validForHours * 60L * 60L * 1000L;
              proceed = (now - lastUpdatedOn) > msValid;
              if (!proceed) {
                  LOGGER.info("Skipping RetireJS update since last update was within {} hours.", validForHours);
              }
          }
          return proceed;
      }
docs: Determines if the we should update the RetireJS database.
  
  @param repo the retire JS repository.
  @return <code>true</code> if an updated to the RetireJS database should
  be performed; otherwise <code>false</code>
  @throws NumberFormatException thrown if an invalid value is contained in
  the database properties