Skip to content
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

Better error-handling for file-based analysis #12

Open
clhunsen opened this issue Feb 9, 2015 · 0 comments
Open

Better error-handling for file-based analysis #12

clhunsen opened this issue Feb 9, 2015 · 0 comments

Comments

@clhunsen
Copy link
Collaborator

clhunsen commented Feb 9, 2015

Regarding the file-based analysis, we can exit cppstats with an error, if any part of the analysis fails. See also issue #11:

The already existing error handling code (https://github.com/clhunsen/cppstats/blob/master/analyses/featurelocations.py#L687) seems to be handling that situation wrong as I would expected a crash instead of creating an invalid .csv file.

The same holds for writing of the srcML files. We should also incorporate the return value from executed commands into this (cf. https://github.com/clhunsen/cppstats/blob/master/preparation.py#L107)

@clhunsen clhunsen self-assigned this Feb 9, 2015
@clhunsen clhunsen added this to the 0.8.5 milestone Feb 9, 2015
@clhunsen clhunsen removed their assignment Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant