GithubHelp home page GithubHelp logo

Comments (3)

mebigfatguy avatar mebigfatguy commented on June 9, 2024

In the findbugs swing gui at least, it shows the BugType as:

Bug kind and pattern: ISB - ISB_INEFFICIENT_STRING_BUFFERING

So adding it myself, would stutter there. Your suggestion is good, but perhaps this should be done by Findbugs itself in the other report types. Where are you using findbugs, in Eclipse? or the command line reporter? or ... ?

from fb-contrib.

jsotuyod avatar jsotuyod commented on June 9, 2024

The type is reported as part de XML / HTML report generated by findbugs, for instance:

<BugInstance type="SMII_STATIC_METHOD_INSTANCE_INVOCATION" priority="2" rank="17" abbrev="SMII" category="STYLE" instanceHash="dfc815a215952082da2307aac913c196" instanceOccurrenceNum="0" instanceOccurrenceMax="0">
  <ShortMessage>Method calls static method on instance reference</ShortMessage>
  ...

The messages (short and long) are just human-readable and reported separately, and mostly intended at understanding the issue at hand (causes, consequences, plausible fixes).

This same "issue" applies to findbugs itself (you can see an example message from Findbugs core here), since that's Findbugs report format. It seems most likely your real issue is with whatever tool you are using to deal with findbugs (be it an eclipse plugin / maven plugin / whatever) not showing relevant data from the XML.

As Dave suggests, any change would probably better be part of either the tool you are using to run findbugs; or at least Findbugs itself.

from fb-contrib.

athkalia avatar athkalia commented on June 9, 2024

You are right, sorry. It's the findbugs maven plugin. I'll annoy them instead.

Thanks for the prompt reply.

from fb-contrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.