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

Missing CPD attributes #11

Closed
sbonnick opened this issue Apr 13, 2015 · 6 comments
Closed

Missing CPD attributes #11

sbonnick opened this issue Apr 13, 2015 · 6 comments

Comments

@sbonnick
Copy link

Hi,

I've noticed this plugin only really supports the "encoding", "format" and "minimumtokencount". Do you have plans to add any additional attributes as defined on cpd-usage page?

Specifically, I am most interested in "ignoreAnnotations" and "ignoreLiterals".

Thanks

@aaschmid
Copy link
Owner

Hi @sbonnick,
yes, I can add these attributes. The only thing is, that I am not really sure if they work properly. May obervations are not very optimistic for these attributes. What are your observations?

Nevertheless, I will make them available asap.

Cheers,
Andreas

@sbonnick
Copy link
Author

Hi Andreas,

To be honest I haven't used these commands previously. My hope is that I
can use these commands to "ignore" matching of licence headers in source
code.

-Stewart

On Mon, Apr 13, 2015 at 5:15 AM, Andreas Schmid [email protected]
wrote:

Hi @sbonnick https://github.com/sbonnick,
yes, I can add these attributes. The only thing is, that I am not really
sure if they work properly. May obervations are not very optimistic for
these attributes. What are your observations?

Nevertheless, I will make them available asap.

Cheers,
Andreas


Reply to this email directly or view it on GitHub
#11 (comment)
.

@aaschmid
Copy link
Owner

Good news, the parameters are working very well and I have almost finished the implementation on this ;-)

@sbonnick
Copy link
Author

Excellent news. I will give it a try once up on maven.

aaschmid added a commit that referenced this issue Apr 19, 2015
Namely:
* ignoreAnnotations
* ignoreIdentifiers
* ignoreLiterals
* language
* skipBlocks
* skipBlocksPattern
@aaschmid aaschmid added this to the v0.4 milestone Apr 19, 2015
@sbonnick
Copy link
Author

Tried with latest 0.4 build, new features work great!

@aaschmid
Copy link
Owner

Thanks, if you like, i would appreciate your voting on https://bintray.com/aaschmid/gradle-plugins/gradle-cpd-plugin/view :-)

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

2 participants