UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

36 lines (35 loc) 1.26 kB
import type { CommonSummarizerConfiguration } from '../../util/summarizer'; import { Summarizer } from '../../util/summarizer'; import type { FeatureSelection } from '../features/feature'; export interface StatisticsSummarizerConfiguration extends CommonSummarizerConfiguration { /** * The input path to read all zips from */ inputPath: string; /** * Features to extract the summaries for */ featuresToUse: FeatureSelection; /** * Path for the intermediate results of the preparation phase */ intermediateOutputPath: string; /** * Path for the final results of the summarization phase */ outputPath: string; /** * How many folders to skip to find the project root */ projectSkip: number; } export declare const statisticsFileNameRegex: RegExp; export declare class StatisticsSummarizer extends Summarizer<unknown, StatisticsSummarizerConfiguration> { constructor(config: StatisticsSummarizerConfiguration); private removeIfExists; /** * The preparation phase essentially merges all files into one by just attaching lines together! */ preparationPhase(useTypeClassification: boolean): Promise<void>; summarizePhase(): Promise<unknown>; }