Resources/views/backend/view_snapshots/model/snapshot.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 12
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
nc 1
dl 0
loc 12
rs 10
c 1
b 0
f 0
wmc 0
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 1
1
Ext.define('Shopware.apps.ViewSnapshots.model.Snapshot', {
0 ignored issues
show
Bug introduced by
The variable Ext seems to be never declared. If this is a global, consider adding a /** global: Ext */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
2
    extend : 'Ext.data.Model', 
3
    fields : [ 'sessionID', 'template', 'step', 'url' ],
4
    proxy: {
5
        type : 'ajax',
6
        reader : {
7
            type : 'json',
8
            root : 'data',
9
            totalProperty: 'totalCount'
10
        }
11
    }
12
});
13