Allow the execution of the analysis via a CLI#233
Conversation
cea7eea to
ec51d92
Compare
8cb3284 to
3b8d635
Compare
|
The CLI should allow handing over a txt (or similar) with multiple constraints so they don't have to be typed manually everytime |
1ee75ac to
ae595db
Compare
|
The CLI can now be executed with a |
|
Therefore, this PR is also ready to be reviewed |
sebinside
left a comment
There was a problem hiding this comment.
Just minor stuff. By now, we do not have test cases for the CLI (neither direct via cmd args nor indirect via the interactive cli). I do not find this critical as this is only UI stuff, with one exception: Are we sure that nothing can break when parsing the constraints? You added many (good!) unit test cases regarding the parsing as such, but can something bad happen in the code calling it?
...wanalysis.analysis.dfd/src/org/dataflowanalysis/analysis/dfd/interactive/DFDAnalysisCLI.java
Show resolved
Hide resolved
...wanalysis.analysis.dfd/src/org/dataflowanalysis/analysis/dfd/interactive/DFDAnalysisCLI.java
Show resolved
Hide resolved
...wanalysis.analysis.pcm/src/org/dataflowanalysis/analysis/pcm/interactive/PCMAnalysisCLI.java
Show resolved
Hide resolved
|
Implemented the requested changes @sebinside |
...wanalysis.analysis.pcm/src/org/dataflowanalysis/analysis/pcm/interactive/PCMAnalysisCLI.java
Show resolved
Hide resolved
dcd67bd to
707f32d
Compare
Allow the execution of the analysis via a CLI
This PR implements a CLI for the DFD and PCM analysis. It supports the following modes:
This PR begins progress towards closing #222