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

example.shapes.RoundRectangleTest   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 setup() 0 4 1
A main(String[]) 0 2 1
1
package example.shapes;
2
3
import org.gannacademy.cdf.graphics.geom.RoundRectangle;
4
5
public class RoundRectangleTest extends ShapeTest {
6
7
    @Override
8
    protected void setup() {
9
        super.setup();
10
        shape = new RoundRectangle(width, height, width, height, width / 3.0, height / 3.0, getDrawingPanel());
11
    }
12
13
    public static void main(String[] args) {
14
        new RoundRectangleTest();
15
    }
16
}
17