private int getRecordInterval(int imageWidth, File dataFile) {
		int pointCount = Math.max(imageWidth, MAX_POINT_COUNT);
		int interval = 0;
		try (LineNumberReader lnr = new LineNumberReader(new InputStreamReader(new FileInputStream(dataFile)))) {
			lnr.skip(dataFile.length());
			interval = Math.max((lnr.getLineNumber() + 1) / pointCount, 1);
		} catch (FileNotFoundException e) {
			LOGGER.error("data file not exist:{}", dataFile);
			LOGGER.error(e.getMessage(), e);
		} catch (IOException e) {
			LOGGER.error("Error while getting data file:{}", dataFile);
			LOGGER.error(e.getMessage(), e);
		}
		return interval;
	}
Get available report plugins list for the given test.

@param testId test id
@return plugin names
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java