codecharta-visualization 0.0.0-staging-405c5df
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +3 -0
- package/LICENSE.md +26 -0
- package/README.md +174 -0
- package/cli.js +7 -0
- package/conf/jestE2E-preset.js +4 -0
- package/conf/jestE2E.config.json +23 -0
- package/conf/jestUnit.config.json +22 -0
- package/conf/setupJestUnit.ts +8 -0
- package/conf/webpack.config.js +14 -0
- package/dist/webpack/3rdpartylicenses.txt +1614 -0
- package/dist/webpack/8.da720221a801950e.js +1 -0
- package/dist/webpack/codeCharta/assets/area_icon_for_3D_print.svg +1 -0
- package/dist/webpack/codeCharta/assets/codecharta_logo.svg +1 -0
- package/dist/webpack/codeCharta/assets/color_icon_for_3D_print.svg +1 -0
- package/dist/webpack/codeCharta/assets/empty.png +0 -0
- package/dist/webpack/codeCharta/assets/favicon.ico +0 -0
- package/dist/webpack/codeCharta/assets/flatten.png +0 -0
- package/dist/webpack/codeCharta/assets/gameObjectsFile.json +75 -0
- package/dist/webpack/codeCharta/assets/height_icon_for_3D_print.svg +1 -0
- package/dist/webpack/codeCharta/assets/helvetiker_regular.typeface.json +1281 -0
- package/dist/webpack/codeCharta/assets/icon.icns +0 -0
- package/dist/webpack/codeCharta/assets/icon.ico +0 -0
- package/dist/webpack/codeCharta/assets/icon.png +0 -0
- package/dist/webpack/codeCharta/assets/logo.png +0 -0
- package/dist/webpack/codeCharta/assets/mw_logo.svg +16 -0
- package/dist/webpack/codeCharta/assets/mw_logo_min.svg +1 -0
- package/dist/webpack/codeCharta/assets/mw_logo_text.svg +49 -0
- package/dist/webpack/codeCharta/assets/output.cc.json.gz +0 -0
- package/dist/webpack/codeCharta/assets/sample1.cc.json +97 -0
- package/dist/webpack/codeCharta/assets/sample2.cc.json +46 -0
- package/dist/webpack/codeCharta/assets/sample3.cc.json +40 -0
- package/dist/webpack/codeCharta/assets/sample4.cc.json +45 -0
- package/dist/webpack/codeCharta/assets/scenarios.json +50 -0
- package/dist/webpack/fontawesome-webfont.2b13baa7dd4f54c9.eot +0 -0
- package/dist/webpack/fontawesome-webfont.8a7cb27d142e3e19.ttf +0 -0
- package/dist/webpack/fontawesome-webfont.cf011583fb81df9f.woff +0 -0
- package/dist/webpack/fontawesome-webfont.da909aa098b0ee2d.svg +2671 -0
- package/dist/webpack/fontawesome-webfont.e9955780856cf8aa.woff2 +0 -0
- package/dist/webpack/index.html +14 -0
- package/dist/webpack/main.f76ad714831966e8.js +1 -0
- package/dist/webpack/main.js +52 -0
- package/dist/webpack/material-icons-outlined.78a93b2079680a08.woff +0 -0
- package/dist/webpack/material-icons-outlined.f86cb7b0aa53f0fe.woff2 +0 -0
- package/dist/webpack/material-icons-round.92dc7ca2f4c591e7.woff +0 -0
- package/dist/webpack/material-icons-round.b10ec9db5b7fbc74.woff2 +0 -0
- package/dist/webpack/material-icons-sharp.3885863ee4746422.woff2 +0 -0
- package/dist/webpack/material-icons-sharp.a71cb2bf66c604de.woff +0 -0
- package/dist/webpack/material-icons-two-tone.588d63134de807a7.woff +0 -0
- package/dist/webpack/material-icons-two-tone.675bd578bd14533e.woff2 +0 -0
- package/dist/webpack/material-icons.4ad034d2c499d9b6.woff +0 -0
- package/dist/webpack/material-icons.59322316b3fd6063.woff2 +0 -0
- package/dist/webpack/package.json +135 -0
- package/dist/webpack/polyfills.e5f920f87e8a16c9.js +1 -0
- package/dist/webpack/runtime.20cbc7d19c78eb7a.js +1 -0
- package/dist/webpack/styles.022313b73eac05ed.css +4 -0
- package/package.json +139 -0
- package/tsconfig.json +32 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg id="Ebene_1" style="enable-background:new 0 0 595.28 841.89;" version="1.1" viewBox="295.72 260.49 114.63 100.96"
|
|
2
|
+
x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" y="0px">
|
|
3
|
+
<style type="text/css">
|
|
4
|
+
.st0 {
|
|
5
|
+
fill: #FFFFFF;
|
|
6
|
+
}
|
|
7
|
+
</style>
|
|
8
|
+
<g>
|
|
9
|
+
<path class="st0"
|
|
10
|
+
d="M337.4,296.89c0.1-20.06,16.39-36.3,36.47-36.3s36.37,16.23,36.47,36.3h0.01v64.36h-31.51v-63.7 c0,0,0-0.31,0-0.47v0c0-2.75-2.23-4.97-4.97-4.97c-2.75,0-4.97,2.23-4.97,4.97v0c0,0.16,0,0.47,0,0.47v63.7h-31.51L337.4,296.89 L337.4,296.89z"/>
|
|
11
|
+
</g>
|
|
12
|
+
<g>
|
|
13
|
+
<path class="st0"
|
|
14
|
+
d="M337.3,361.25c-0.01-12.02-0.02-42.39-0.03-53.99c-0.07-1.65,0.14-9.75-0.12-11.21 c-0.76-3.91-6.13-5.16-8.52-1.96c-0.98,1.18-1.1,2.68-1.03,4.17c0,0,0.01,9,0.01,9c0.01,11.48,0.02,42.14,0.03,53.99 c0,0,0,0.18,0,0.18l-0.18,0c0,0-31.51,0.02-31.51,0.02s-0.2,0-0.2,0s0-0.2,0-0.2c0.16-0.17-0.28-64.7,0.2-64.53 c0.03-0.02-0.15,0.16-0.15,0.16c0.04-4.78,1-9.55,2.85-13.96c9.96-23.89,41.29-30.09,59.6-11.79c6.75,6.59,11.06,16.87,10.68,25.86 c0,0-0.01,0-0.01,0s-0.1,0-0.1,0s0-0.1,0-0.1c-0.2-9.46-4.26-18.72-11.09-25.23c-22.75-21.48-59.83-6.14-60.17,25.23 c0,0,0,1.57,0,1.57s-1.58,0.01-1.58,0.01c-0.04,0.01,1.58-1.58,1.57-1.58c0,0,0.22,64.36,0.22,64.36l-1.8-1.8l31.51,0.11 c0,0-1.69,1.69-1.69,1.69c0.07-17.23,0.11-46.11,0.36-62.99c-0.73-9.09,11.95-10.13,12.43-1.12c-0.09,8.46-0.18,19.65-0.37,28.12 C337.98,325.2,337.84,361.69,337.3,361.25L337.3,361.25z"/>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 595.28 841.89" style="enable-background:new 0 0 595.28 841.89" xml:space="preserve"><style>.st0{fill:#fff}</style><path class="st0" d="M337.4 296.89c.1-20.06 16.39-36.3 36.47-36.3s36.37 16.23 36.47 36.3h.01v64.36h-31.51v-64.17a4.97 4.97 0 1 0-9.94 0v64.17h-31.51l.01-64.36z"/><path class="st0" d="M337.3 361.25c-.01-12.02-.02-42.39-.03-53.99-.07-1.65.14-9.75-.12-11.21-.76-3.91-6.13-5.16-8.52-1.96-.98 1.18-1.1 2.68-1.03 4.17l.01 9c.01 11.48.02 42.14.03 53.99v.18h-.18l-31.51.02h-.2v-.2c.16-.17-.28-64.7.2-64.53.03-.02-.15.16-.15.16.04-4.78 1-9.55 2.85-13.96 9.96-23.89 41.29-30.09 59.6-11.79 6.75 6.59 11.06 16.87 10.68 25.86h-.11v-.1c-.2-9.46-4.26-18.72-11.09-25.23-22.75-21.48-59.83-6.14-60.17 25.23v1.57l-1.58.01c-.04.01 1.58-1.58 1.57-1.58l.22 64.36-1.8-1.8 31.51.11-1.69 1.69c.07-17.23.11-46.11.36-62.99-.73-9.09 11.95-10.13 12.43-1.12-.09 8.46-.18 19.65-.37 28.12-.23-.06-.37 36.43-.91 35.99z"/></svg>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 595.28 841.89" style="enable-background:new 0 0 595.28 841.89;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#FFFFFF;}
|
|
7
|
+
</style>
|
|
8
|
+
<g>
|
|
9
|
+
<path class="st0" d="M190.46,409.61c0-5.67,3.34-8.3,7.69-8.3c2.8,0,4.99,1.18,6.27,3.37c1.28-2.19,3.47-3.37,6.27-3.37
|
|
10
|
+
c4.35,0,7.69,2.63,7.69,8.3v14.2h-4.32v-14.2c0-3.04-1.62-4.28-3.74-4.28c-2.12,0-3.74,1.28-3.74,4.28v14.2h-4.32v-14.2
|
|
11
|
+
c0-3-1.62-4.28-3.74-4.28c-2.12,0-3.74,1.25-3.74,4.28v14.2h-4.32V409.61z"/>
|
|
12
|
+
<path class="st0" d="M227.44,410.9c0-5.9,3.37-9.58,9.61-9.58c6.24,0,9.68,3.68,9.68,9.58v12.91h-4.32v-6.61h-10.75v6.61h-4.21
|
|
13
|
+
V410.9z M242.41,413.29v-2.39c0-3.54-1.75-5.56-5.39-5.56c-3.61,0-5.36,2.02-5.36,5.56v2.39H242.41z"/>
|
|
14
|
+
<path class="st0" d="M256.25,401.44h4.38v22.37h-4.38V401.44z"/>
|
|
15
|
+
<path class="st0" d="M270.38,401.44h10.71c4.24,0,6.47,2.43,6.47,5.82c0,2.26-1.06,4-2.91,4.93v0.07c2.46,0.79,3.93,2.84,3.93,5.51
|
|
16
|
+
c0,3.49-2.26,6.06-6.6,6.06h-11.6V401.44z M280.54,410.5c1.81,0,2.67-1.09,2.67-2.5c0-1.44-0.68-2.5-2.7-2.5h-5.75v5H280.54z
|
|
17
|
+
M281.23,419.77c2.05,0,2.87-1.2,2.87-2.67c0-1.51-1.03-2.7-2.84-2.7h-6.5v5.37H281.23z"/>
|
|
18
|
+
<path class="st0" d="M295.77,412.6c0-6.57,4.83-11.4,11.67-11.4s11.67,4.83,11.67,11.4s-4.83,11.4-11.67,11.4
|
|
19
|
+
S295.77,419.17,295.77,412.6z M314.75,412.6c0-4.29-2.95-7.41-7.31-7.41s-7.31,3.12-7.31,7.41s2.95,7.45,7.31,7.45
|
|
20
|
+
S314.75,416.89,314.75,412.6z"/>
|
|
21
|
+
<path class="st0" d="M328.17,401.44h9.37c5.68,0,8.18,3.11,8.18,7.39c0,3.52-1.68,5.95-4.69,6.95l5.51,8.04h-5.2l-4.75-7.56h-4.04
|
|
22
|
+
v7.56h-4.38V401.44z M337.61,412.18c2.77,0,3.69-1.44,3.69-3.35c0-1.92-0.92-3.32-3.69-3.32h-5.06v6.67H337.61z"/>
|
|
23
|
+
<path class="st0" d="M354.21,410.52c0-5.67,3.39-9.21,9.51-9.21c6.12,0,9.51,3.54,9.51,9.21v13.29h-4.38v-13.29
|
|
24
|
+
c0-3.27-1.71-5.19-5.13-5.19s-5.13,1.92-5.13,5.19v13.29h-4.38V410.52z"/>
|
|
25
|
+
<path class="st0" d="M382.4,415.65v-14.21h4.32v14.21c0,3.04,1.62,4.29,3.75,4.29c2.13,0,3.75-1.28,3.75-4.29v-14.21h4.32v14.21
|
|
26
|
+
c0,3.01,1.62,4.29,3.75,4.29c2.13,0,3.75-1.25,3.75-4.29v-14.21h4.32v14.21c0,5.67-3.34,8.31-7.7,8.31c-2.8,0-5-1.18-6.28-3.38
|
|
27
|
+
c-1.28,2.19-3.48,3.38-6.28,3.38C385.75,423.96,382.4,421.33,382.4,415.65z"/>
|
|
28
|
+
<path class="st0" d="M418.33,412.6c0-6.59,4.84-11.43,11.7-11.43c6.86,0,11.7,4.84,11.7,11.43s-4.84,11.43-11.7,11.43
|
|
29
|
+
C423.17,424.03,418.33,419.19,418.33,412.6z M437.36,412.6c0-4.3-2.96-7.43-7.33-7.43c-4.37,0-7.33,3.13-7.33,7.43
|
|
30
|
+
s2.96,7.46,7.33,7.46C434.4,420.06,437.36,416.9,437.36,412.6z"/>
|
|
31
|
+
<path class="st0" d="M450.73,401.44h4.38v18.34h11.7v4.04h-16.08V401.44z"/>
|
|
32
|
+
<path class="st0" d="M475.12,401.44h16.22v4.07H479.5v4.93h9.85v3.97h-9.85v9.41h-4.38V401.44z"/>
|
|
33
|
+
<path class="st0" d="M499.76,401.44h16.22v4.07h-11.84v4.93h9.85v3.97h-9.85v9.41h-4.38V401.44z"/>
|
|
34
|
+
<g>
|
|
35
|
+
<path class="st0" d="M337.4,296.89c0.1-20.06,16.39-36.3,36.47-36.3s36.37,16.23,36.47,36.3h0.01v64.36h-31.51v-63.7
|
|
36
|
+
c0,0,0-0.31,0-0.47v0c0-2.75-2.23-4.97-4.97-4.97c-2.75,0-4.97,2.23-4.97,4.97v0c0,0.16,0,0.47,0,0.47v63.7h-31.51L337.4,296.89
|
|
37
|
+
L337.4,296.89z"/>
|
|
38
|
+
</g>
|
|
39
|
+
<g>
|
|
40
|
+
<path class="st0" d="M337.3,361.25c-0.01-12.02-0.02-42.39-0.03-53.99c-0.07-1.65,0.14-9.75-0.12-11.21
|
|
41
|
+
c-0.76-3.91-6.13-5.16-8.52-1.96c-0.98,1.18-1.1,2.68-1.03,4.17c0,0,0.01,9,0.01,9c0.01,11.48,0.02,42.14,0.03,53.99
|
|
42
|
+
c0,0,0,0.18,0,0.18l-0.18,0l-31.51,0.02l-0.2,0v-0.2c0.16-0.17-0.28-64.7,0.2-64.53c0.03-0.02-0.15,0.16-0.15,0.16
|
|
43
|
+
c0.04-4.78,1-9.55,2.85-13.96c9.96-23.89,41.29-30.09,59.6-11.79c6.74,6.59,11.09,16.9,10.67,25.86c0,0-0.1,0-0.1,0l0-0.1
|
|
44
|
+
c-0.2-9.46-4.26-18.72-11.09-25.23c-13.69-13.38-36.77-13.29-50.04,0.52c-6.85,6.92-10.47,16.63-10.14,26.28c0,0-1.58,0-1.59,0.01
|
|
45
|
+
c0,0,1.58-1.58,1.58-1.58l0.22,64.36l-1.8-1.8l31.51,0.11l-1.69,1.69c0.07-17.76,0.11-46.7,0.37-64.11
|
|
46
|
+
c0.54-8.99,13.29-7.96,12.4,1.12c-0.09,8.02-0.18,18.98-0.36,26.99C337.98,325.2,337.84,361.69,337.3,361.25L337.3,361.25z"/>
|
|
47
|
+
</g>
|
|
48
|
+
</g>
|
|
49
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": "Sample Project with Edges",
|
|
3
|
+
"apiVersion": "1.2",
|
|
4
|
+
"fileChecksum": "valid-md5-sample1",
|
|
5
|
+
"nodes": [
|
|
6
|
+
{
|
|
7
|
+
"name": "root",
|
|
8
|
+
"type": "Folder",
|
|
9
|
+
"attributes": {},
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"name": "sample1OnlyLeaf.scss",
|
|
13
|
+
"type": "File",
|
|
14
|
+
"attributes": {
|
|
15
|
+
"rloc": 400,
|
|
16
|
+
"functions": 10,
|
|
17
|
+
"sonar_complexity": 100,
|
|
18
|
+
"pairingRate": 32,
|
|
19
|
+
"avgCommits": 17
|
|
20
|
+
},
|
|
21
|
+
"link": "http://www.google.de"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "bigLeaf.ts",
|
|
25
|
+
"type": "File",
|
|
26
|
+
"attributes": {
|
|
27
|
+
"rloc": 100,
|
|
28
|
+
"functions": 10,
|
|
29
|
+
"sonar_complexity": 1,
|
|
30
|
+
"pairingRate": 77,
|
|
31
|
+
"avgCommits": 56
|
|
32
|
+
},
|
|
33
|
+
"link": "http://www.google.de"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "ParentLeaf",
|
|
37
|
+
"type": "Folder",
|
|
38
|
+
"attributes": {},
|
|
39
|
+
"children": [
|
|
40
|
+
{
|
|
41
|
+
"name": "smallLeaf.html",
|
|
42
|
+
"type": "File",
|
|
43
|
+
"attributes": {
|
|
44
|
+
"rloc": 30,
|
|
45
|
+
"functions": 100,
|
|
46
|
+
"sonar_complexity": 100,
|
|
47
|
+
"pairingRate": 60,
|
|
48
|
+
"avgCommits": 51
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "otherSmallLeaf.ts",
|
|
53
|
+
"type": "File",
|
|
54
|
+
"attributes": {
|
|
55
|
+
"rloc": 70,
|
|
56
|
+
"functions": 1000,
|
|
57
|
+
"sonar_complexity": 10,
|
|
58
|
+
"pairingRate": 65,
|
|
59
|
+
"avgCommits": 22
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"edges": [
|
|
68
|
+
{
|
|
69
|
+
"fromNodeName": "/root/bigLeaf.ts",
|
|
70
|
+
"toNodeName": "/root/ParentLeaf/smallLeaf.html",
|
|
71
|
+
"attributes": {
|
|
72
|
+
"pairingRate": 89,
|
|
73
|
+
"avgCommits": 34
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"fromNodeName": "/root/sample1OnlyLeaf.scss",
|
|
78
|
+
"toNodeName": "/root/ParentLeaf/smallLeaf.html",
|
|
79
|
+
"attributes": {
|
|
80
|
+
"pairingRate": 32,
|
|
81
|
+
"avgCommits": 17
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"fromNodeName": "/root/ParentLeaf/otherSmallLeaf.ts",
|
|
86
|
+
"toNodeName": "/root/bigLeaf.ts",
|
|
87
|
+
"attributes": {
|
|
88
|
+
"pairingRate": 65,
|
|
89
|
+
"avgCommits": 22
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"attributeTypes": {
|
|
94
|
+
"nodes": { "rloc": "absolute", "functions": "absolute", "sonar_complexity": "absolute", "pairingRate": "relative" },
|
|
95
|
+
"edges": { "pairingRate": "relative", "avgCommits": "absolute" }
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": "Sample Project",
|
|
3
|
+
"apiVersion": "1.2",
|
|
4
|
+
"fileChecksum": "valid-md5-sample2",
|
|
5
|
+
"nodes": [
|
|
6
|
+
{
|
|
7
|
+
"name": "root",
|
|
8
|
+
"type": "Folder",
|
|
9
|
+
"attributes": {},
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"name": "bigLeaf.ts",
|
|
13
|
+
"type": "File",
|
|
14
|
+
"attributes": { "rloc": 120, "functions": 10, "sonar_complexity": 1 },
|
|
15
|
+
"link": "http://www.google.de"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "ParentLeaf",
|
|
19
|
+
"type": "Folder",
|
|
20
|
+
"attributes": {},
|
|
21
|
+
"children": [
|
|
22
|
+
{
|
|
23
|
+
"name": "smallLeaf.html",
|
|
24
|
+
"type": "File",
|
|
25
|
+
"attributes": { "rloc": 30, "functions": 101, "sonar_complexity": 80 }
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "otherSmallLeaf.ts",
|
|
29
|
+
"type": "File",
|
|
30
|
+
"attributes": { "rloc": 70, "functions": 10, "sonar_complexity": 100 }
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "sample2LeafMergedIn.kt",
|
|
34
|
+
"type": "File",
|
|
35
|
+
"attributes": { "rloc": 600, "functions": 10, "sonar_complexity": 1 },
|
|
36
|
+
"link": "http://www.google.de"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"attributeTypes": {
|
|
44
|
+
"nodes": { "rloc": "absolute", "functions": "absolute", "sonar_complexity": "absolute" }
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": "Sample Project",
|
|
3
|
+
"fileChecksum": "valid-md5-sample",
|
|
4
|
+
"apiVersion": "1.2",
|
|
5
|
+
"nodes": [
|
|
6
|
+
{
|
|
7
|
+
"name": "root",
|
|
8
|
+
"type": "Folder",
|
|
9
|
+
"attributes": {},
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"name": "bigLeaf.ts",
|
|
13
|
+
"type": "File",
|
|
14
|
+
"attributes": { "rloc": 120, "functions": 10, "sonar_complexity": 1 },
|
|
15
|
+
"link": "http://www.google.de"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "ParentLeaf",
|
|
19
|
+
"type": "Folder",
|
|
20
|
+
"attributes": {},
|
|
21
|
+
"children": [
|
|
22
|
+
{
|
|
23
|
+
"name": "smallLeaf.html",
|
|
24
|
+
"type": "File",
|
|
25
|
+
"attributes": { "rloc": 30, "functions": 19, "sonar_complexity": 80 }
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "otherSmallLeaf.ts",
|
|
29
|
+
"type": "File",
|
|
30
|
+
"attributes": { "rloc": 80, "functions": 10, "sonar_complexity": 100 }
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"attributeTypes": {
|
|
38
|
+
"nodes": { "rloc": "absolute", "functions": "absolute", "sonar_complexity": "absolute" }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": "Sample Project 4",
|
|
3
|
+
"fileChecksum": "valid-md5-sample-1",
|
|
4
|
+
"apiVersion": "1.2",
|
|
5
|
+
"nodes": [
|
|
6
|
+
{
|
|
7
|
+
"name": "rootLeaf",
|
|
8
|
+
"type": "Folder",
|
|
9
|
+
"attributes": {},
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"name": "aLeaf.ts",
|
|
13
|
+
"type": "File",
|
|
14
|
+
"attributes": { "rloc": 120, "functions": 10, "sonar_complexity": 1 },
|
|
15
|
+
"link": "http://www.google.de"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "bLeaf",
|
|
19
|
+
"type": "Folder",
|
|
20
|
+
"attributes": {},
|
|
21
|
+
"children": [
|
|
22
|
+
{
|
|
23
|
+
"name": "smallLeafOne.html",
|
|
24
|
+
"type": "File",
|
|
25
|
+
"attributes": { "rloc": 100, "functions": 28, "sonar_complexity": 80 }
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "smallLeafTwo.ts",
|
|
29
|
+
"type": "File",
|
|
30
|
+
"attributes": { "rloc": 300, "functions": 5, "sonar_complexity": 150 }
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "smallLeafThree.ts",
|
|
34
|
+
"type": "File",
|
|
35
|
+
"attributes": { "rloc": 50, "functions": 5, "sonar_complexity": 150 }
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"attributeTypes": {
|
|
43
|
+
"nodes": { "rloc": "absolute", "functions": "absolute", "sonar_complexity": "absolute" }
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Complexity",
|
|
4
|
+
"settings": {
|
|
5
|
+
"appSettings": { },
|
|
6
|
+
"dynamicSettings": {
|
|
7
|
+
"areaMetric": "rloc",
|
|
8
|
+
"heightMetric": "sonar_complexity",
|
|
9
|
+
"colorMetric": "sonar_complexity",
|
|
10
|
+
"distributionMetric": "rloc"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "Average Complexity*",
|
|
16
|
+
"settings": {
|
|
17
|
+
"appSettings": { },
|
|
18
|
+
"dynamicSettings": {
|
|
19
|
+
"areaMetric": "unary",
|
|
20
|
+
"heightMetric": "Average Complexity*",
|
|
21
|
+
"colorMetric": "Average Complexity*",
|
|
22
|
+
"distributionMetric": "unary"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "Coverage",
|
|
28
|
+
"settings": {
|
|
29
|
+
"appSettings": { },
|
|
30
|
+
"dynamicSettings": {
|
|
31
|
+
"areaMetric": "rloc",
|
|
32
|
+
"heightMetric": "sonar_complexity",
|
|
33
|
+
"colorMetric": "line_coverage",
|
|
34
|
+
"distributionMetric": "rloc"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Code Churn",
|
|
40
|
+
"settings": {
|
|
41
|
+
"appSettings": { },
|
|
42
|
+
"dynamicSettings": {
|
|
43
|
+
"areaMetric": "rloc",
|
|
44
|
+
"heightMetric": "abs_code_churn",
|
|
45
|
+
"colorMetric": "weeks_with_commits",
|
|
46
|
+
"distributionMetric": "rloc"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|