Passed
Pull Request — master (#112)
by Mathieu
02:16 queued 45s
created

server/src/Domain/FairCalendar/EventsGenerator.ts   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 9
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
mnd 0
bc 0
fnc 1
dl 0
loc 9
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A EventsGenerator.generate 0 2 1
1
import {EventType} from './Event.entity';
2
import {User} from '../HumanResource/User/User.entity';
3
4
export class EventsGenerator {
5
  public async generate(user: User, from: Date, to: Date, type: EventType) {
6
    return '';
7
  }
8
}
9