Menu

#9 analysis issue: missing edge

closed
nobody
None
9
2017-02-13
2011-05-05
Radu Vanciu
No

Consider the following code fragment from JUnit,

public class EachTestNotifier {

private final RunNotifier fNotifier;
private final Description fDescription;
public void fireTestFinished() {
fNotifier.fireTestFinished(fDescription);
}
...
}

In the method fireTestFinished there are references to two class fields, fNotifier and fDescription. JRipples reports edges from fireTestFinished to these fields but not to their types (the classes RunNotifier and Description). Add these types of edges in JRipples. In this particular case, add:
EachTestNotifier.fireTestFinished() -> RunNotifier and
EachTestNotifier.fireTestFinished() -> Description

Discussion

  • Radu Vanciu

    Radu Vanciu - 2011-05-05
    • priority: 5 --> 9
     
  • Yibin Wang

    Yibin Wang - 2017-02-13
    • status: open --> closed
    • Group: --> Next Release (example)
     
  • Yibin Wang

    Yibin Wang - 2017-02-13
     
  • Yibin Wang

    Yibin Wang - 2017-02-13

    This is no longer a problem of JRipples.

     

Log in to post a comment.

MongoDB Logo MongoDB