-
Couldn't load subscription status.
- Fork 30
Add generation statistics report #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6af1295 to
6048615
Compare
4c0e746 to
1c1dffe
Compare
5fcb836 to
42958c8
Compare
42958c8 to
ed0dce6
Compare
# Conflicts: # server/src/SARIFGenerator.cpp
server/src/KleeRunner.cpp
Outdated
| LOG_S(ERROR) << out; | ||
| return {}; | ||
| } else { | ||
| LOG_S(DEBUG) << "klee-stats report:" << '\n' << out; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
split to 2 out same as line 35
| #include "CSVReader.h" | ||
|
|
||
| namespace StatsUtils { | ||
| CSVTable readCSV(std::istream &istream, char sep, bool removeSpaces) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why here is the separator char? But in CSVPrinter it's string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed type in CSVPrinter to char because in CSVReader we need to parse file by this separator, std::getline allows to provide a char separator, not a string
d8a70d1 to
cfb6a32
Compare
server/src/SARIFGenerator.cpp
Outdated
| ++p; | ||
| } | ||
| if (p == path.end()) { | ||
| if (foundStartFragment && p == path.end()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad merge, please return to right version
if (p == path.end()) {
After tests generated generation statistics report could be found in .csv file. The table looks like the following: