Skip to content

Running the Evaluator

Raffi Khatchadourian edited this page Aug 29, 2019 · 3 revisions

Environmental Variables

Key Type Description
edu.cuny.hunter.streamrefactoring.eval.findImplicitEntrypoints boolean Find main() method entry points.
edu.cuny.hunter.streamrefactoring.eval.findImplicitTestEntrypoints boolean Find JUnit method entry points through WALA. Works with JUnit 3, 4, and 5, but 4 and 5 require an update from the streams branch of the CUNY PONDER WALA fork.
edu.cuny.hunter.streamrefactoring.eval.findImplicitBenchmarkEntrypoints boolean Find JMH benchmark entry points.
edu.cuny.hunter.streamrefactoring.eval.findImplicitJavaFXEntrypoints boolean Find entry points accessible from FXML.
edu.cuny.hunter.streamrefactoring.eval.performAnalysis boolean Whether the core plug-in analysis should be performed.
edu.cuny.hunter.streamrefactoring.eval.performChange boolean Whether the refactoring should be performed. Should have no effect if the analysis is not performed.

Configuration File

A file named eval.properties can be placed at the project root. The following keys are available:

Key Value Type Description
nToUseForStreams Integer The value of N to use while building the nCFA for stream types.
Clone this wiki locally