-
Notifications
You must be signed in to change notification settings - Fork 225
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
Integrate churn
Gem into Rubycritic to Speed Up RubyCritic Churn Computation
#498
Comments
churn
Gem into Rubycritic to Speed Up RubyCritic Churn Computation
Yes, I'm all for that. As a co-maintainer, if we can integrate with
I would be inclined to release v5.x for a change like this one. That way we can flag it to Ideally we want to keep the rubycritic test suite as is when switching to |
Yep, of course it's not just speed, the churn gem is not a 1-1 with the current implementation and we may spend some time into looking at what the differences are. |
@Greg-Myers-SB I saw that it has a hg analyser module. I thought Hg and mercurial are the same. How wrong am I? |
@etagwerker and what kind of good enough is that? Is this something you would like addressed? Edit: I'd like to credit @Greg-Myers-SB for finding the gem. |
I'm interested in seeing if it considerably changes the churn vs complexity graph in the projects you're working with. Once you have a branch that uses |
Also, just FYI, I don't think we need a release of I envision the integration will not use |
I agree. That would be a huge time saver. |
I have a small PR (#499) , in which I add a learning test to understand how the gem works. In case anyone's not familiar with the idea of a learning test, it is to way to gain clarification on how an external library and has the bonus of documenting assumptions that can be tested when the gem is updated. |
@etagwerker #499 contains a learning test (Test-Driven Development By Example, Kent Beck) I thought I could add as a safe microstep towards contributing to Rubycritic. It is small enough to throw away if I need to start over and hopefully easy for you to review and safe enough consider making part of the codebase. |
Problem: I use
rubycritic
on some repositories and some take 15+ minutes, which seems similar to #490.Solution:
I@Greg-Myers-SB found this gem by Dan Mayer (see Churn's Github page) and found it was a lot faster. Can using the said gem happen?The text was updated successfully, but these errors were encountered: