lib/model/DecoratorPlugin.js   A
last analyzed

Size

Lines of Code 14

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
nc 1
dl 0
loc 14
rs 10
noi 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A DecoratorPlugin.js ➔ ??? 0 3 1
1
"use strict";
2
3
const Plugin = require('./Plugin');
4
5
/**
6
 * Represent a leprechaun responsible of formatting sentences
7
 */
8
class DecoratorPlugin extends Plugin {
9
    decorate(tts) {
0 ignored issues
show
Unused Code introduced by
The parameter tts is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
10
        throw new Error("DecoratorPlugin::decorate() must be overridden !");
11
    }
12
}
13
14
module.exports = DecoratorPlugin;
15