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

Compare and contrast with deadcode #4

Open
sethwklein opened this issue Mar 6, 2015 · 1 comment
Open

Compare and contrast with deadcode #4

sethwklein opened this issue Mar 6, 2015 · 1 comment
Labels

Comments

@sethwklein
Copy link
Contributor

The README doesn't give me any information on why I might choose this tool versus github.com/remyoudompheng/go-misc/deadcode from https://github.com/remyoudompheng/go-misc.

@3rf
Copy link
Owner

3rf commented Mar 6, 2015

Interesting point! I think one of the major differences is that go-unused-funcs/codecoroner is geared toward large multi-package projects by wrapping Google's static analysis packages, so that it can find unused exported code. The tool you linked to seems to only check on a per-package basis. For instance, one of the use-cases for my company involves a distributed system with multiple main packages, and our tool is able to check and see, accounting for each main pkg, what functions are dead in our common libraries.

Additionally I've been working on adding support for unused consts, variables, and fields, which will be detailed in the README shortly. I'll be sure to make these points while I'm redoing the README file--thanks!

@3rf 3rf added the question label Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants