Passed
Pull Request — master (#41)
by Alejandro
03:37
created

src/reducers/index.js

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 26
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 8.33%

Importance

Changes 0
Metric Value
cc 0
wmc 0
eloc 24
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 26
ccs 1
cts 12
cp 0.0833
crap 0
bpm 0
cpm 0
noi 0
c 0
b 0
f 0
1
import { combineReducers } from 'redux';
2
import serversReducer from '../servers/reducers/server';
3
import selectedServerReducer from '../servers/reducers/selectedServer';
4
import shortUrlsListReducer from '../short-urls/reducers/shortUrlsList';
5
import shortUrlsListParamsReducer from '../short-urls/reducers/shortUrlsListParams';
6
import shortUrlCreationResultReducer from '../short-urls/reducers/shortUrlCreationResult';
7
import shortUrlTagsReducer from '../short-urls/reducers/shortUrlTags';
8
import shortUrlVisitsReducer from '../visits/reducers/shortUrlVisits';
9
import shortUrlDetailReducer from '../visits/reducers/shortUrlDetail';
10
import tagsListReducer from '../tags/reducers/tagsList';
11
import tagDeleteReducer from '../tags/reducers/tagDelete';
12 4
import tagEditReducer from '../tags/reducers/tagEdit';
13
14
export default combineReducers({
15
  servers: serversReducer,
16
  selectedServer: selectedServerReducer,
17
  shortUrlsList: shortUrlsListReducer,
18
  shortUrlsListParams: shortUrlsListParamsReducer,
19
  shortUrlCreationResult: shortUrlCreationResultReducer,
20
  shortUrlTags: shortUrlTagsReducer,
21
  shortUrlVisits: shortUrlVisitsReducer,
22
  shortUrlDetail: shortUrlDetailReducer,
23
  tagsList: tagsListReducer,
24
  tagDelete: tagDeleteReducer,
25
  tagEdit: tagEditReducer,
26
});
27