-
Notifications
You must be signed in to change notification settings - Fork 629
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
Ada : fixed cppcheck errors + added ada-label test #2946
Conversation
parsers/ada.c:497:41: style: Condition 'token->prev==NULL' is always true [knownConditionTrueFalse] parsers/ada.c:493:20: note: Assuming that condition 'token->prev!=NULL' is not redundant parsers/ada.c:497:41: note: Condition 'token->prev==NULL' is always true parsers/ada.c:507:41: style: Condition 'token->next==NULL' is always true [knownConditionTrueFalse] parsers/ada.c:503:20: note: Assuming that condition 'token->next!=NULL' is not redundant parsers/ada.c:507:41: note: Condition 'token->next==NULL' is always true parsers/ada.c:2025:19: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] parsers/ada.c:2023:19: note: token is assigned parsers/ada.c:2025:19: note: token is overwritten Following cppcheck error is false error (The function 'skipPastKeywordOrWord' is used) parsers/ada.c:944:0: style: The function 'skipPastKeywordOrWord' is never used. [unusedFunction]
Improving coverage from: File 'parsers/ada.c' Lines executed:73.10% of 788 Creating 'ada.c.gcov' to: File 'parsers/ada.c' Lines executed:80.46% of 788 Creating 'ada.c.gcov'
Codecov Report
@@ Coverage Diff @@
## master #2946 +/- ##
==========================================
+ Coverage 87.16% 87.24% +0.07%
==========================================
Files 194 194
Lines 44421 44422 +1
==========================================
+ Hits 38719 38755 +36
+ Misses 5702 5667 -35
Continue to review full report at Codecov.
|
Thank you. |
I cannot find time for working on Ada parser now. |
Maintainer or Ada parser,
I'm not seeing myself as an expert in the Ada-language. More as a
developer fixing bugs/issues in *huge* Ada-code base.
I understand you can not maintain all parsers, and see no problem helping
you, but I can not give a guarantee/commit on fixing issues at short
notice.
My experience in parsers is low, so I will have a learning curve in that
regard.
I like to give it a try in making the Ada-parser better.
Lets jump into the Ada-parser and we see how it goes.
Koen
…On Wed, 7 Apr 2021 at 22:28, Masatake YAMATO ***@***.***> wrote:
Thank you.
Could you consider being a maintainer of Ada parser?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2946 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUKTOWPDYAX3N6XGW3YEKTTHS55JANCNFSM42RLICEA>
.
|
cppcheck
errors fixed:
False error:
Following error is false error (The function 'skipPastKeywordOrWord' is used)
Added label test
Improving coverage from:
to: