@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
33 lines (32 loc) • 1.01 kB
TypeScript
import type { RParseRequestFromFile, RParseRequestFromText } from '../r-bridge/retriever';
/**
* Statistics on skipped files, the time required, and more.
* @see extractUsageStatistics
* @see initialMetaStatistics
*/
export interface MetaStatistics {
/**
* The number of requests that were parsed successfully
*/
successfulParsed: number;
/**
* The processing time for each request
*/
processingTimeMs: number[];
/**
* All failed requests (e.g., if they can not be converted to XML)
*/
failedRequests: (RParseRequestFromText | RParseRequestFromFile)[];
/**
* Number of lines with each individual line length consumed for each request
*/
lines: number[][];
/**
* The number of nodes in the normalized AST
*/
numberOfNormalizedNodes: number[];
}
/**
* Returns an initial {@link MetaStatistics} object, using neutral defaults (like the empty list).
*/
export declare function initialMetaStatistics(): MetaStatistics;