Behavioral.Interpreter.Album   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 12
dl 0
loc 17
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getAuthor() 0 3 1
A getName() 0 3 1
A Album(String,String) 0 3 1
1
/*
2
 * @author  : Jagepard <[email protected]>
3
 * @license https://mit-license.org/ MIT
4
 */
5
6
package Behavioral.Interpreter;
7
8
public class Album implements AlbumInterface {
9
    private final String name;
10
    private final String author;
11
12
    public Album(String author, String name) {
13
        this.name   = name;
14
        this.author = author;
15
    }
16
17
    @Override
18
    public String getName() {
19
        return this.name;
20
    }
21
22
    @Override
23
    public String getAuthor() {
24
        return this.author;
25
    }
26
}
27