Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Mahout, mail # dev - Turn on code inspections, please


Copy link to this message
-
Re: Turn on code inspections, please
Lance Norskog 2012-06-12, 04:03
May I suggest finishing 0.7 and then doing a 0.7.1 that is only
style/pmd/findbug/etc. changes?

On Mon, Jun 11, 2012 at 6:06 PM, Drew Farris <[EMAIL PROTECTED]> wrote:
> FWIW, It's my understanding that there is a fair amount of
> configuration that can be done with both pmd and findbugs that will
> let us tweak it to suit our needs.
>
> Of course someone has to >do< that configuration, but nevertheless it
> can be done.
>
> I think it would be a great first step to get pmd/findbugs/checkstyle
> integrated with our maven builds. This would at least give us some
> level enforcement pre-checkin and via jenkins.
>
> From my point of view, Eclipse integration is a nice to have, with the
> eventual goal of having the command-line tools, eclipse and intellij
> agreeing on what's broken and the right way to fix it. I'm strongly
> against >only< enforcing these things via an IDE, but I don't think
> anyone's suggesting this at this point.
>
> Full disclosure: as an Eclipse user, I've lived for years with
> half-baked maven eclipse integration, indigo being a worse offender
> than other. I sort of expect to bounce between the terminal and my ide
> for both builds and checkins to make sure everything is truly as it is
> when presented to me via the IDE.
>
> Drew
>
> On Mon, Jun 11, 2012 at 7:47 PM, Dmitriy Lyubimov <[EMAIL PROTECTED]> wrote:
>> "In practice, the rate of false warnings reported by FindBugs is
>> generally less than 50%"
>>
>> which probably disqualifies it as a hard build stopper if 30-ish% is noise..
>>
>> On Mon, Jun 11, 2012 at 4:40 PM, Robin Anil <[EMAIL PROTECTED]> wrote:
>>> pmd does have static analysis
>>> http://maven.apache.org/plugins/maven-pmd-plugin/
>>> use findbugs as well http://mojo.codehaus.org/findbugs-maven-plugin/
>>> ------
>>> Robin Anil
>>>
>>>
>>> On Mon, Jun 11, 2012 at 6:36 PM, Dmitriy Lyubimov <[EMAIL PROTECTED]> wrote:
>>>
>>>> Robin,
>>>> what maven plugin does that? PMD?
>>>>
>>>> On Mon, Jun 11, 2012 at 3:52 PM, Robin Anil <[EMAIL PROTECTED]> wrote:
>>>> > Can we just focus on the bugs first. Its more useful to get static
>>>> analysis
>>>> > in and make that a build blocker. Checkstyle is secondary and is a
>>>> > sensitive topic.
>>>> >
>>>> > Robin
>>>> >
>>>> > On Mon, Jun 11, 2012 at 5:49 PM, Jeff Eastman <
>>>> [EMAIL PROTECTED]>wrote:
>>>> >
>>>> >> +1 I feel the same way as Dmitriy
>>>> >>
>>>> >>
>>>> >>
>>>> >> On 6/11/12 6:39 PM, Dmitriy Lyubimov wrote:
>>>> >>
>>>> >>> which is why i am saying it would be easier to decouple code tools
>>>> >>> from environment. That is, put them into the build process .
>>>> >>>
>>>> >>>  if we could relax some of the checks on top of it to degree they
>>>> >>> actually agree with sun style autoformatter in eclipse, that would be
>>>> >>> super-great (those are mostly things like spaces in comments and some
>>>> >>> wrapping choices which are for some reason construed differently by
>>>> >>> checkstyle and eclipse styles). I don't think there are many, if,
>>>> >>> perhaps, any at any given checkstyle settings.
>>>> >>>
>>>> >>> On Mon, Jun 11, 2012 at 3:21 PM, Ted Dunning<[EMAIL PROTECTED]>
>>>> >>>  wrote:
>>>> >>>
>>>> >>>> I don't want to ignite a flame war since (a) and (b) are sufficient
>>>> >>>> grounds
>>>> >>>> to stay with whatever you like to use, but
>>>> >>>>
>>>> >>>> c) I am not convinced of this
>>>> >>>>
>>>> >>>> d) IntelliJ has a free edition that works great.  You can also get the
>>>> >>>> full
>>>> >>>> version for free for use on open source projects.
>>>> >>>>
>>>> >>>> Like I said, this doesn't change your deep motor training.  I would
>>>> point
>>>> >>>> out that I have been through more generations of editing environments
>>>> >>>> than
>>>> >>>> I can count over the last 35 years and while it has always been
>>>> >>>> unpleasant
>>>> >>>> to change, changing to the next big thing has generally been
>>>> worthwhile.
>>>> >>>>
>>>> >>>> On Mon, Jun 11, 2012 at 2:14 PM, Dmitriy Lyubimov<[EMAIL PROTECTED]>

Lance Norskog
[EMAIL PROTECTED]