1 Reply Latest reply: May 3, 2012 9:31 AM by peter henriksen RSS

Interface/Impl question

Currently Being Moderated

Hi Peter,


Does Coverity know to correlate code between an interface and an impl if the impl is constructed dynamically?




  • Re: Interface/Impl question
    Currently Being Moderated

    If you mean dependency injection such as done by Spring IoC, then our Analysis handle this without problems since we consider all implementations of a given interface.


    If you are doing something much more advanced, generating new source and/or byte code at run-time, where our Static Analysis has never Analyzed this run-time generated code, then no, our Analysis cannot take it into account.

More Like This

  • Retrieving data ...


  • Correct Answers - 10 points
  • Helpful Answers - 5 points