Passed
Push — master ( dd7741...68adbd )
by Seth
04:41
created

example.shapes.QuadCurveTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A main(String[]) 0 2 1
A setup() 0 4 1
1
package example.shapes;
2
3
import org.gannacademy.cdf.graphics.geom.QuadCurve;
4
5
public class QuadCurveTest extends ShapeTest {
6
7
    @Override
8
    protected void setup() {
9
        super.setup();
10
        shape = new QuadCurve(width, height, width * 1.5, height * 2, width * 2, height, getDrawingPanel());
11
    }
12
13
    public static void main(String[] args) {
14
        new QuadCurveTest();
15
    }
16
}
17