-
Notifications
You must be signed in to change notification settings - Fork 85
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
difference between output styles -text and -json #146
Comments
Fixed in dev branch. Also added to XML output. |
I see a function member in the JSON output and it's filled correctly in |
Fixed and added function name to a few other rules that it might be helpful in. |
FUNCTION_TOO_COMPLEX and ARG_HINT_MISSING might set the function member also. |
Fixed along with a couple of others. |
looks good |
This change has not made it into the 0.7.0 release |
Oh. I see that now. Thanks for pointing that out. |
it's in 0.7.1 |
When I have CFLint output it's results in text format I get more information than when I get JSON results.
Example
I run
java -jar CFLint-0.6.1-all.jar -includeRule MISSING_VAR -text
and receive:Variable:'undeclaredVar' in function: varNotDeclared
I run:
java -jar CFLint-0.6.1-all.jar -includeRule MISSING_VAR -json
and receive:"message" : "Variable undeclaredVar is not declared with a var statement.", "variable" : "undeclaredVar", "expression" : "undeclaredVar"
Can you please change the JSON output to also include the name of the function where the variable is not declared?
The text was updated successfully, but these errors were encountered: