test/Lexer/index.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 13
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 2
c 1
b 0
f 0
nc 1
mnd 0
bc 2
fnc 2
dl 0
loc 13
rs 10
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A index.js ➔ ??? 0 7 1
1
'use strict';
2
3
import { assert } from 'chai';
4
import { Input, Lexer, Token } from '../../src/Lexer';
5
import pkg from '../../package.json';
6
7
describe(`${pkg.name}/Lexer`, () => {
8
  it('Exports Input, Lexer and Token class', () => {
9
    assert.isFunction(Input);
10
    assert.isFunction(Lexer);
11
    assert.isFunction(Token);
12
  });
13
});
14