jaxon-core/tests/src/js/nsu.js   A
last analyzed

Complexity

Total Complexity 12
Complexity/F 1

Size

Lines of Code 34
Function Count 12

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 23
c 0
b 0
f 0
dl 0
loc 34
rs 10
wmc 12
mnd 0
bc 0
fnc 12
bpm 0
cpm 1
noi 16
1
Jaxon_Tests_Ns_Ajax_ClassA = {
0 ignored issues
show
Bug introduced by
The variable Jaxon_Tests_Ns_Ajax_ClassA seems to be never declared. Assigning variables without defining them first makes them global. If this was intended, consider making it explicit like using window.Jaxon_Tests_Ns_Ajax_ClassA.
Loading history...
2
  methodAa: function() { return jaxon.request({ type: 'class', name: 'Jaxon_Tests_Ns_Ajax_ClassA', method: 'methodAa' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
3
  methodAb: function() { return jaxon.request({ type: 'class', name: 'Jaxon_Tests_Ns_Ajax_ClassA', method: 'methodAb' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
4
};
5
Jaxon_Tests_Ns_Ajax_ClassB = {
0 ignored issues
show
Bug introduced by
The variable Jaxon_Tests_Ns_Ajax_ClassB seems to be never declared. Assigning variables without defining them first makes them global. If this was intended, consider making it explicit like using window.Jaxon_Tests_Ns_Ajax_ClassB.
Loading history...
6
  methodBa: function() { return jaxon.request({ type: 'class', name: 'Jaxon_Tests_Ns_Ajax_ClassB', method: 'methodBa' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
7
  methodBb: function() { return jaxon.request({ type: 'class', name: 'Jaxon_Tests_Ns_Ajax_ClassB', method: 'methodBb' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
8
};
9
Jaxon_Tests_Ns_Ajax_ClassC = {
0 ignored issues
show
Bug introduced by
The variable Jaxon_Tests_Ns_Ajax_ClassC seems to be never declared. Assigning variables without defining them first makes them global. If this was intended, consider making it explicit like using window.Jaxon_Tests_Ns_Ajax_ClassC.
Loading history...
10
  methodCa: function() { return jaxon.request({ type: 'class', name: 'Jaxon_Tests_Ns_Ajax_ClassC', method: 'methodCa' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
11
  methodCb: function() { return jaxon.request({ type: 'class', name: 'Jaxon_Tests_Ns_Ajax_ClassC', method: 'methodCb' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
12
};
13
Jaxon = {
0 ignored issues
show
Bug introduced by
The variable Jaxon seems to be never declared. Assigning variables without defining them first makes them global. If this was intended, consider making it explicit like using window.Jaxon.
Loading history...
14
  NsTests: {
15
    DirA: {
16
      ClassA: {
17
        methodAa: function() { return jaxon.request({ type: 'class', name: 'Jaxon.NsTests.DirA.ClassA', method: 'methodAa' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
18
        methodAb: function() { return jaxon.request({ type: 'class', name: 'Jaxon.NsTests.DirA.ClassA', method: 'methodAb' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
19
      },
20
    },
21
    DirB: {
22
      ClassB: {
23
        methodBa: function() { return jaxon.request({ type: 'class', name: 'Jaxon.NsTests.DirB.ClassB', method: 'methodBa' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
24
        methodBb: function() { return jaxon.request({ type: 'class', name: 'Jaxon.NsTests.DirB.ClassB', method: 'methodBb' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
25
      },
26
    },
27
    DirC: {
28
      ClassC: {
29
        methodCa: function() { return jaxon.request({ type: 'class', name: 'Jaxon.NsTests.DirC.ClassC', method: 'methodCa' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
30
        methodCb: function() { return jaxon.request({ type: 'class', name: 'Jaxon.NsTests.DirC.ClassC', method: 'methodCb' }, { parameters: arguments }); },
0 ignored issues
show
Bug introduced by
The variable jaxon seems to be never declared. If this is a global, consider adding a /** global: jaxon */ 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...
31
      },
32
    },
33
  },
34
};
35