Hacker News 熱門45

Code Is Crap

· 27天前
跳到正文

正文

This Code is CRAP

Tuesday, February 22, 2011
Share on Twitter Share on Facebook

7 comments :

  1. Hi,
    I found CRAP and the video interesting.
    I wanted to run it on my project and check the amount of CRAP currently in there.But, the links for downloads do not work.
    I tried to get the Eclipse Plugin.
    But I get the Repository not found error.
    -Panna

    ReplyDelete
  2. Sorry, but your CRAP4j-Plugin is crap :-).
    I got "gateway timeout" (Update site) or many "Unable to find feature.xml in directory": ...\features\org.crap4j.eclipse.feature_1.1.6.jar

    ReplyDelete
  3. Ha, finally people will understand why I print-and-paste testing-related articles in the office's toilets !

    ReplyDelete
  4. I found the idea and the process you described to get to the final formula very interesting. Did you write that up as research paper somewhere? I'd love to get more details on that.

    ReplyDelete
  5. We are using Crap4J for years now within our JAVA projects and it's the only tool which identifies "dangerous" code. Even the Jenkins/Hudson integration is nice!
    All code coverage tools will deliver lot's of false positives.
    I don't have to test a method like:
    public Value getValue()
    {
    return value;
    }
    That's common sense, but a tool like CodePro or JaCoCo forces me to write dumb tests.
    Only Crap4J rocks that way, even it has not been modified since a couple of years.
    Now it's time to do something, because JAVA7 code is not running with Crap4J!

    ReplyDelete
    Replies
    1. Hi, there is a simple hint to make Crap4J work with JAVA7!
      See: http://devophuman.blogspot.de/2014/05/running-crap4j-out-of-box-with-java7.html

      Delete

New comments are not allowed.

Labels




Archive


查看原文(Hacker News 熱門)