Resources/views/backend/view_snapshots/view/window.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 24
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A Ext.define(ꞌShopware.apps.ViewSnapshots.view.Windowꞌ).initComponent 0 12 1
1
Ext.define('Shopware.apps.ViewSnapshots.view.Window', {
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: 'Enlight.app.Window',
3
    title: 'View Snapshots',
4
    alias: 'widget.view-snapshot-window',
5
    border: false,
6
    autoShow: true,
7
    height: 650,
8
    width: 925,
9
    layout: 'fit',
10
 
11
    initComponent: function() {
12
        var me = this;
13
        me.items = [
14
            {
15
                xtype: 'view-snapshot-window',
16
                store: me.store,
17
                flex: 1
18
            }
19
        ];
20
    
21
        me.callParent(arguments);
22
    }
23
24
});
25
 
26