Passed
Pull Request — master (#6)
by Erik
52s
created

pypen.pypen_template   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 11
rs 10
c 0
b 0
f 0

2 Functions

Rating   Name   Duplication   Size   Complexity  
A update() 0 3 1
A start() 0 2 1
1
from pypen import *
2
3
4
def start():
5
    settings.fps = 60
6
7
8
def update():
9
    fill("orange")
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable fill does not seem to be defined.
Loading history...
10
    rectangle(20, 20, 300, 400, "red")
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable rectangle does not seem to be defined.
Loading history...
11