KlavierCat / Objective-C-CPD-Language

A CPD language definition for use with Objective-C source code

Home Page:http://deadmeta4.com/2011/05/17/objective-c-copy-paste-detection-using-jenkins/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# Objective-C CPD Language 

This jar can be used in conjunction with PMD/CPD to scan for copy and pasted code within
XCode projects.  To use this language definition, you need to add the jar to your
PMD/CPD classpath and provide a --language directive indicating that you are scanning
Objective-C code.  Here is a command line example:

java -Xmx512m -classpath asm-3.1.jar:jaxen-1.1.1.jar:pmd-4.2.5.jar:ObjCLanguage-0.0.1-SNAPSHOT.jar net.sourceforge.pmd.cpd.CPD --minimum-tokens 100 --files [Path to XCode project classes] --language ObjectiveC --encoding UTF-8 --format net.sourceforge.pmd.cpd.XMLRenderer

<http://pmd.sourceforge.net/cpd.html>

About

A CPD language definition for use with Objective-C source code

http://deadmeta4.com/2011/05/17/objective-c-copy-paste-detection-using-jenkins/

License:MIT License


Languages

Language:Java 100.0%