HNHacker News
TopNewBestAskShowJobs

walkmod

43 karma · joined September 2, 2015

submissionscomments
walkmod··on Junit Extensions for Test Impact Analysis
Thank you for your commenst :) but let me ask a question: Why do you consider them mutable? They are related into a commit and they are stored into an specific ref (it is not the default for Git notes). Git notes are also used to store static code analysis results.

The tool could generate the report as a file, sure. But The problem is that you will need a service to retrieve that file and compare - and then it becomes a non generic solution.

Indeed, my question is what do you want to do with that file? It can generate it, but nobody will take benefit of it, right?

walkmod··on Junit Extensions for Test Impact Analysis
A report example appears in the readme: https://github.com/rpau/junit4git#2-generate-a-test-impact-r...

However, take in mind that the report is stored inside the Git repository as a note (it is invisible - and how other tools like Gerrit work) to avoid an external service.

walkmod··on Walkmod: Open-source tool to automatically apply code conventions
It is a respectable point of view, but I think that automatize some boring tasks to correct inside the code is a good idea because let you work on other more interesting tasks.

In fact, most of us use some automatic ways to correct and enrich code with IDEs. Is it also incorrect? In fact, what we are trying to solve are the following situations:

a) In a context where there are a lot of developers and you have worked hard into improve the code style and someone else pushed code that again violates your "implicit" code style. Do you need to correct these bad practices over and over again?

b) There are some boring tasks that punctually appear like "refactoring" when deprecated methods appear or developers need to upgrade one external library version (eg. one critical bug appears).

Anyway, thank you for your opinion :-)

walkmod··on Walkmod: Open-source tool to automatically apply code conventions
Yes, but in contrast with removing unused private methods, currently there is no walkmod plugin that do this yet. We are working on adding more plugins.
walkmod··on Walkmod: Open-source tool to automatically apply code conventions
Exactly :-) Moreover, it is useful for open source projects where developers use different editors
walkmod··on Walkmod: Open-source tool to automatically apply code conventions
Yes, what I wanted to show in this example is that those elements that are "dead" can be removed (there is a plugin for it)
walkmod··on Walkmod: Open-source tool to automatically apply code conventions
Exactly, Walkmod acts as a framework for language transformations, but we have started with Java
walkmod··on Walkmod: Open-source tool to automatically apply code conventions
Walkmod also allows (for Java) to work with the syntanctic and semantic information. So, for example it can remove unused elements (e.g variables).