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

ClangCodeCloneDetectionBear: Add switch/case support #39

Closed
sils opened this issue Feb 21, 2016 · 3 comments
Closed

ClangCodeCloneDetectionBear: Add switch/case support #39

sils opened this issue Feb 21, 2016 · 3 comments

Comments

@sils
Copy link
Member

sils commented Feb 21, 2016

From @sils1297 on June 11, 2015 18:40

Counting conditions for clang currently ignore that which is bad.

Copied from original issue: coala/coala#652

@sils
Copy link
Member Author

sils commented Feb 21, 2016

So the way to do this would be to count the condition with the Is condition CC and the bodies with the In condition CCs so nested things are recognized right.

@yland
Copy link
Member

yland commented Mar 10, 2016

I would like to work on this task.

@sils
Copy link
Member Author

sils commented Mar 10, 2016

Cool!

yland added a commit to yland/coala-bears that referenced this issue Mar 19, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 19, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
yland added a commit to yland/coala-bears that referenced this issue Mar 20, 2016
Add support for switch/case statements in ClangCodeCloneDetectionBear
as  it does not currenly support it.This would count the condition with
the Is condition CC and the bodies with the In condition CCs so nested
things are recognized right. This includes test cases.

Fixes coala#39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants