Giter Club home page Giter Club logo

lancelot-eclipse's People

Contributors

bjartem avatar

lancelot-eclipse's Issues

Clarify wierd "Runtime type manipulation"-cases

RTT is sometimes reported for non-obvious cases, for instance
for checkcast instructions added during type erasure. Add a
clarifying message to RTT bug descriptions, and/or add a
FAQ entry concerning this point to the Wiki.

Original issue reported on code.google.com by [email protected] on 12 Sep 2011 at 4:29

Filtering/ignoring of specific "violation patterns"

We've learnt that when Lancelot discovers one naming bug in an application, it
very often finds a family of similar bugs as well. Often there are actually n
bugs of the same kind present, but it might alternatively just be a family of
false positives.  The latter case is extremely annoying; it is irritating to
sift through the bug list, examining `new bugs' but finding that they all are
alike and uninteresting. Also, adding `SuppressWarnings' annotations to many
similar bugs is tiresome.

As a partial solution to this problem, we propose a `global ignore' feature
that could filter out various instances of `violation patterns' from the
analysis results. The details of the suggestion are given below:

1)
We define a violation pattern as a two-tuple
  (pattern, profile)
for a rule-book pattern and a semantic profile, such that profile is considered
violating with respect to pattern.

2)
Everytime Lancelot finds a buggy method, it adds a quick fix saying `Ignore all
naming bugs of this kind' to the method. If the user selects that option: 
  - The corresponding violation pattern is stored to project-specific meta data
    (possibly the '.project' file?).
  - All bugs matching the violation pattern are removed.

3)
There must be some way to remove violation patterns. The simplest solution is
probably a dialog box accessible from the Lancelot menu when invoked for a Java
project, that simply lists the `filtered violation patterns', and provides a
means to remove these. When a violation pattern is removed and Lancelot is in
automatic mode, analysis should run again, such that filtered bugs reappear.

Original issue reported on code.google.com by [email protected] on 19 Jan 2012 at 5:11

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.