Total Complexity | 3 |
Complexity/F | 1.5 |
Lines of Code | 12 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | class AbstractMenuItemDispatcher { |
||
2 | static isAvailable(schema) { // eslint-disable-line no-unused-vars |
||
|
|||
3 | throw new Error('isAvailable is not implemented!'); |
||
4 | } |
||
5 | |||
6 | |||
7 | static getMenuItem(schema) { // eslint-disable-line no-unused-vars |
||
8 | throw new Error('getMenuItem is not implemented!'); |
||
9 | } |
||
10 | } |
||
11 | |||
12 | export default AbstractMenuItemDispatcher; |
||
13 |
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.