Skip to content

warchimede/cpd2xcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpd2xcode

License

Summary

A Swift command line tool to convert PMD's Copy/Paste Detector (CPD) XML reports to displayable warnings in Xcode.

Installation

  1. Clone this repo
  2. Execute make (it basically builds the executable and puts it in /usr/local/bin)

Usage

Here's the command line help:

OVERVIEW: A Swift command-line tool to convert PMD CPD results to Xcode warnings

USAGE: cpd2xcode <xml-report>

ARGUMENTS:
  <xml-report>            The path to the CPD XML report 

OPTIONS:
  -h, --help              Show help information.

You should create a Run Script build phase for a target in your Xcode project, in which you call cpd2xcode on the generated CPD XML report.

Dependencies

Author

William Archimede

License

cpd2xcode is available under the MIT License.

If you use it and like it, let me know: @warchimede

About

Display PMD CPD results as Xcode warnings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published