definition-generator-framework 1.1.0 → 1.2.1

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.
Files changed (107) hide show
  1. package/.eslintrc.js +36 -14
  2. package/coverage/clover.xml +503 -0
  3. package/coverage/coverage-final.json +16 -0
  4. package/coverage/lcov-report/_mocks/index.html +116 -0
  5. package/coverage/lcov-report/_mocks/mocks.ts.html +223 -0
  6. package/coverage/lcov-report/base.css +224 -0
  7. package/coverage/lcov-report/block-navigation.js +87 -0
  8. package/coverage/lcov-report/favicon.png +0 -0
  9. package/coverage/lcov-report/framework/framework.data.ts.html +109 -0
  10. package/coverage/lcov-report/framework/index.html +116 -0
  11. package/coverage/lcov-report/helpers/common-functions/common-functions.ts.html +178 -0
  12. package/coverage/lcov-report/helpers/common-functions/index.html +116 -0
  13. package/coverage/lcov-report/helpers/duplicate-helper/duplicate-helper.ts.html +196 -0
  14. package/coverage/lcov-report/helpers/duplicate-helper/index.html +116 -0
  15. package/coverage/lcov-report/helpers/output-helper/index.html +116 -0
  16. package/coverage/lcov-report/helpers/output-helper/output-helper.ts.html +277 -0
  17. package/coverage/lcov-report/helpers/raw-definition-helper/index.html +116 -0
  18. package/coverage/lcov-report/helpers/raw-definition-helper/raw-definition.helper.ts.html +256 -0
  19. package/coverage/lcov-report/helpers/validator/index.html +131 -0
  20. package/coverage/lcov-report/helpers/validator/joi-custom-validators.ts.html +643 -0
  21. package/coverage/lcov-report/helpers/validator/validator.ts.html +310 -0
  22. package/coverage/lcov-report/index.html +251 -0
  23. package/coverage/lcov-report/pipeline/1-select-definitions-helper.ts.html +358 -0
  24. package/coverage/lcov-report/pipeline/2-structure-parser.helper.ts.html +301 -0
  25. package/coverage/lcov-report/pipeline/3-config.ts.html +178 -0
  26. package/coverage/lcov-report/pipeline/_mocks/index.html +116 -0
  27. package/coverage/lcov-report/pipeline/_mocks/index.ts.html +229 -0
  28. package/coverage/lcov-report/pipeline/index.html +146 -0
  29. package/coverage/lcov-report/pipeline/parsers/array-parser.ts.html +271 -0
  30. package/coverage/lcov-report/pipeline/parsers/index.html +146 -0
  31. package/coverage/lcov-report/pipeline/parsers/object-parser.ts.html +439 -0
  32. package/coverage/lcov-report/pipeline/parsers/primitive-parser.ts.html +370 -0
  33. package/coverage/lcov-report/prettify.css +1 -0
  34. package/coverage/lcov-report/prettify.js +2 -0
  35. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  36. package/coverage/lcov-report/sorter.js +196 -0
  37. package/coverage/lcov.info +911 -0
  38. package/dist/_mocks/mocks.js +45 -45
  39. package/dist/_mocks/mocks.js.map +1 -1
  40. package/dist/framework/framework.data.js +10 -13
  41. package/dist/framework/framework.data.js.map +1 -1
  42. package/dist/framework/framework.js +37 -44
  43. package/dist/framework/framework.js.map +1 -1
  44. package/dist/framework/framework.model.js +2 -2
  45. package/dist/framework/kernel.js +111 -90
  46. package/dist/framework/kernel.js.map +1 -1
  47. package/dist/helpers/common-functions/common-functions.js +28 -31
  48. package/dist/helpers/common-functions/common-functions.js.map +1 -1
  49. package/dist/helpers/common-functions/common-functions.spec.js.map +1 -1
  50. package/dist/helpers/duplicate-helper/duplicate-helper.js +39 -40
  51. package/dist/helpers/duplicate-helper/duplicate-helper.js.map +1 -1
  52. package/dist/helpers/duplicate-helper/duplicate-helper.spec.js.map +1 -1
  53. package/dist/helpers/output-helper/output-helper.js +71 -51
  54. package/dist/helpers/output-helper/output-helper.js.map +1 -1
  55. package/dist/helpers/output-helper/output-helper.spec.js.map +1 -1
  56. package/dist/helpers/raw-definition-helper/raw-definition.helper.js +58 -62
  57. package/dist/helpers/raw-definition-helper/raw-definition.helper.js.map +1 -1
  58. package/dist/helpers/raw-definition-helper/raw-definition.helper.spec.js.map +1 -1
  59. package/dist/helpers/validator/joi-custom-validators.js +183 -163
  60. package/dist/helpers/validator/joi-custom-validators.js.map +1 -1
  61. package/dist/helpers/validator/joi-custom-validators.spec.js.map +1 -1
  62. package/dist/helpers/validator/validator.js +68 -74
  63. package/dist/helpers/validator/validator.js.map +1 -1
  64. package/dist/helpers/validator/validator.spec.js.map +1 -1
  65. package/dist/index.js +14 -14
  66. package/dist/pipeline/1-select-definitions-helper.js +78 -81
  67. package/dist/pipeline/1-select-definitions-helper.js.map +1 -1
  68. package/dist/pipeline/1-select-definitions.spec.js.map +1 -1
  69. package/dist/pipeline/2-structure-parser.helper.js +69 -72
  70. package/dist/pipeline/2-structure-parser.helper.js.map +1 -1
  71. package/dist/pipeline/2-structure-parser.helper.spec.js.map +1 -1
  72. package/dist/pipeline/3-config.js +47 -27
  73. package/dist/pipeline/3-config.js.map +1 -1
  74. package/dist/pipeline/_mocks/index.js +51 -51
  75. package/dist/pipeline/_mocks/index.js.map +1 -1
  76. package/dist/pipeline/parsers/array-parser.js +65 -68
  77. package/dist/pipeline/parsers/array-parser.js.map +1 -1
  78. package/dist/pipeline/parsers/array-parser.spec.js.map +1 -1
  79. package/dist/pipeline/parsers/object-parser.js +128 -131
  80. package/dist/pipeline/parsers/object-parser.js.map +1 -1
  81. package/dist/pipeline/parsers/object-parser.spec.js.map +1 -1
  82. package/dist/pipeline/parsers/primitive-parser.js +104 -107
  83. package/dist/pipeline/parsers/primitive-parser.js.map +1 -1
  84. package/dist/pipeline/parsers/primitive-parser.spec.js.map +1 -1
  85. package/dist/pipeline/raw-data-parser.js +23 -29
  86. package/dist/pipeline/raw-data-parser.js.map +1 -1
  87. package/package.json +24 -19
  88. package/dist/_mocks/mocks.d.ts +0 -7
  89. package/dist/framework/framework.d.ts +0 -22
  90. package/dist/framework/framework.data.d.ts +0 -6
  91. package/dist/framework/framework.model.d.ts +0 -40
  92. package/dist/framework/kernel.d.ts +0 -6
  93. package/dist/helpers/common-functions/common-functions.d.ts +0 -10
  94. package/dist/helpers/duplicate-helper/duplicate-helper.d.ts +0 -11
  95. package/dist/helpers/output-helper/output-helper.d.ts +0 -18
  96. package/dist/helpers/raw-definition-helper/raw-definition.helper.d.ts +0 -7
  97. package/dist/helpers/validator/joi-custom-validators.d.ts +0 -23
  98. package/dist/helpers/validator/validator.d.ts +0 -13
  99. package/dist/index.d.ts +0 -5
  100. package/dist/pipeline/1-select-definitions-helper.d.ts +0 -20
  101. package/dist/pipeline/2-structure-parser.helper.d.ts +0 -11
  102. package/dist/pipeline/3-config.d.ts +0 -11
  103. package/dist/pipeline/_mocks/index.d.ts +0 -13
  104. package/dist/pipeline/parsers/array-parser.d.ts +0 -4
  105. package/dist/pipeline/parsers/object-parser.d.ts +0 -4
  106. package/dist/pipeline/parsers/primitive-parser.d.ts +0 -7
  107. package/dist/pipeline/raw-data-parser.d.ts +0 -6
package/.eslintrc.js CHANGED
@@ -1,12 +1,22 @@
1
1
  module.exports = {
2
2
  env: {
3
3
  browser: true,
4
+ es6: true,
4
5
  node: true
5
6
  },
6
- extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'prettier/@typescript-eslint'],
7
+ extends: [
8
+ 'eslint:recommended',
9
+ 'plugin:@typescript-eslint/eslint-recommended',
10
+ 'plugin:@typescript-eslint/recommended',
11
+ 'plugin:import/recommended',
12
+ 'plugin:import/electron',
13
+ 'plugin:import/typescript',
14
+ 'plugin:@typescript-eslint/eslint-recommended',
15
+ 'plugin:@typescript-eslint/recommended',
16
+ 'prettier'
17
+ ],
7
18
  parser: '@typescript-eslint/parser',
8
19
  parserOptions: {
9
- project: 'tsconfig.json',
10
20
  sourceType: 'module'
11
21
  },
12
22
  root: true,
@@ -14,9 +24,26 @@ module.exports = {
14
24
  node: true,
15
25
  jest: true
16
26
  },
17
- plugins: ['@typescript-eslint', '@typescript-eslint/eslint-plugin'],
18
- ignorePatterns: ['**/*.js'],
27
+ plugins: ['@typescript-eslint', '@typescript-eslint/eslint-plugin', 'no-null', 'sort-class-members'],
28
+ ignorePatterns: ['**/*.js', 'vite.config.ts', 'out/**/*', 'dist/**/*', 'node_modules/**/*'],
19
29
  rules: {
30
+ 'no-null/no-null': 2,
31
+ 'sort-class-members/sort-class-members': [
32
+ 2,
33
+ {
34
+ order: [
35
+ '[static-properties]',
36
+ '[static-private-properties]',
37
+ '[static-methods]',
38
+ '[properties]',
39
+ '[conventional-private-properties]',
40
+ 'constructor',
41
+ '[methods]',
42
+ '[conventional-private-methods]'
43
+ ],
44
+ accessorPairPositioning: 'getThenSet'
45
+ }
46
+ ],
20
47
  '@typescript-eslint/adjacent-overload-signatures': 'error',
21
48
  '@typescript-eslint/ban-ts-comment': 'off',
22
49
  '@typescript-eslint/ban-types': 'error',
@@ -30,7 +57,7 @@ module.exports = {
30
57
  }
31
58
  ],
32
59
  '@typescript-eslint/explicit-module-boundary-types': 'warn',
33
- '@typescript-eslint/indent': ['error', 2],
60
+ '@typescript-eslint/indent': ['off', 2],
34
61
  '@typescript-eslint/interface-name-prefix': 'off',
35
62
  '@typescript-eslint/member-delimiter-style': [
36
63
  'error',
@@ -45,7 +72,6 @@ module.exports = {
45
72
  }
46
73
  }
47
74
  ],
48
- '@typescript-eslint/member-ordering': 'error',
49
75
  '@typescript-eslint/naming-convention': [
50
76
  'error',
51
77
  {
@@ -72,7 +98,7 @@ module.exports = {
72
98
  '@typescript-eslint/no-non-null-assertion': 'error',
73
99
  '@typescript-eslint/no-this-alias': 'error',
74
100
  '@typescript-eslint/no-unused-expressions': 'off',
75
- '@typescript-eslint/no-unused-vars': 'warn',
101
+ '@typescript-eslint/no-unused-vars': 'off',
76
102
  '@typescript-eslint/no-var-requires': 'error',
77
103
  '@typescript-eslint/prefer-as-const': 'error',
78
104
  '@typescript-eslint/prefer-function-type': 'error',
@@ -82,6 +108,7 @@ module.exports = {
82
108
  '@typescript-eslint/triple-slash-reference': 'error',
83
109
  '@typescript-eslint/type-annotation-spacing': 'error',
84
110
  '@typescript-eslint/unified-signatures': 'error',
111
+ '@typescript-eslint/no-shadow': 'warn',
85
112
  'arrow-body-style': 'error',
86
113
  'arrow-parens': [2, 'as-needed'],
87
114
  'brace-style': ['error', '1tbs'],
@@ -135,12 +162,7 @@ module.exports = {
135
162
  'no-fallthrough': 'error',
136
163
  'no-new-wrappers': 'error',
137
164
  'no-restricted-imports': 'error',
138
- 'no-shadow': [
139
- 'error',
140
- {
141
- hoist: 'all'
142
- }
143
- ],
165
+ 'no-shadow': 'off',
144
166
  'no-throw-literal': 'error',
145
167
  'no-trailing-spaces': 'error',
146
168
  'no-undef-init': 'error',
@@ -165,4 +187,4 @@ module.exports = {
165
187
  }
166
188
  ]
167
189
  }
168
- };
190
+ };
@@ -0,0 +1,503 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1703615215725" clover="3.2.0">
3
+ <project timestamp="1703615215725" name="All files">
4
+ <metrics statements="422" coveredstatements="399" conditionals="182" coveredconditionals="168" methods="86" coveredmethods="79" elements="690" coveredelements="646" complexity="0" loc="422" ncloc="422" packages="10" files="15" classes="15"/>
5
+ <package name="_mocks">
6
+ <metrics statements="14" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
7
+ <file name="mocks.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\_mocks\mocks.ts">
8
+ <metrics statements="14" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
9
+ <line num="3" count="9" type="stmt"/>
10
+ <line num="4" count="20" type="stmt"/>
11
+ <line num="16" count="9" type="stmt"/>
12
+ <line num="17" count="0" type="stmt"/>
13
+ <line num="18" count="0" type="stmt"/>
14
+ <line num="19" count="0" type="stmt"/>
15
+ <line num="20" count="0" type="stmt"/>
16
+ <line num="21" count="0" type="stmt"/>
17
+ <line num="23" count="0" type="stmt"/>
18
+ <line num="26" count="9" type="stmt"/>
19
+ <line num="27" count="7" type="stmt"/>
20
+ <line num="33" count="9" type="stmt"/>
21
+ <line num="38" count="9" type="stmt"/>
22
+ <line num="43" count="9" type="stmt"/>
23
+ </file>
24
+ </package>
25
+ <package name="framework">
26
+ <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
27
+ <file name="framework.data.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\framework\framework.data.ts">
28
+ <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
29
+ <line num="2" count="1" type="stmt"/>
30
+ <line num="4" count="1" type="stmt"/>
31
+ <line num="5" count="1" type="stmt"/>
32
+ <line num="6" count="1" type="stmt"/>
33
+ <line num="7" count="1" type="stmt"/>
34
+ </file>
35
+ </package>
36
+ <package name="helpers.common-functions">
37
+ <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
38
+ <file name="common-functions.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\common-functions\common-functions.ts">
39
+ <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
40
+ <line num="3" count="20" type="stmt"/>
41
+ <line num="7" count="25" type="stmt"/>
42
+ <line num="11" count="39" type="stmt"/>
43
+ <line num="15" count="25" type="stmt"/>
44
+ <line num="19" count="59" type="stmt"/>
45
+ <line num="27" count="17" type="stmt"/>
46
+ <line num="31" count="7" type="stmt"/>
47
+ </file>
48
+ </package>
49
+ <package name="helpers.duplicate-helper">
50
+ <metrics statements="19" coveredstatements="19" conditionals="5" coveredconditionals="5" methods="4" coveredmethods="4"/>
51
+ <file name="duplicate-helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\duplicate-helper\duplicate-helper.ts">
52
+ <metrics statements="19" coveredstatements="19" conditionals="5" coveredconditionals="5" methods="4" coveredmethods="4"/>
53
+ <line num="3" count="4" type="stmt"/>
54
+ <line num="4" count="16" type="stmt"/>
55
+ <line num="5" count="16" type="stmt"/>
56
+ <line num="6" count="16" type="stmt"/>
57
+ <line num="7" count="16" type="stmt"/>
58
+ <line num="9" count="16" type="stmt"/>
59
+ <line num="12" count="22" type="cond" truecount="2" falsecount="0"/>
60
+ <line num="13" count="4" type="cond" truecount="1" falsecount="0"/>
61
+ <line num="14" count="3" type="stmt"/>
62
+ <line num="15" count="3" type="stmt"/>
63
+ <line num="16" count="3" type="cond" truecount="2" falsecount="0"/>
64
+ <line num="19" count="4" type="stmt"/>
65
+ <line num="20" count="4" type="stmt"/>
66
+ <line num="22" count="18" type="stmt"/>
67
+ <line num="23" count="18" type="stmt"/>
68
+ <line num="24" count="18" type="stmt"/>
69
+ <line num="29" count="14" type="stmt"/>
70
+ <line num="30" count="7" type="stmt"/>
71
+ <line num="34" count="7" type="stmt"/>
72
+ </file>
73
+ </package>
74
+ <package name="helpers.output-helper">
75
+ <metrics statements="19" coveredstatements="16" conditionals="10" coveredconditionals="7" methods="6" coveredmethods="6"/>
76
+ <file name="output-helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\output-helper\output-helper.ts">
77
+ <metrics statements="19" coveredstatements="16" conditionals="10" coveredconditionals="7" methods="6" coveredmethods="6"/>
78
+ <line num="1" count="1" type="stmt"/>
79
+ <line num="10" count="3" type="stmt"/>
80
+ <line num="11" count="3" type="cond" truecount="0" falsecount="1"/>
81
+ <line num="12" count="0" type="stmt"/>
82
+ <line num="15" count="3" type="cond" truecount="1" falsecount="1"/>
83
+ <line num="16" count="3" type="cond" truecount="2" falsecount="0"/>
84
+ <line num="17" count="3" type="stmt"/>
85
+ <line num="19" count="0" type="stmt"/>
86
+ <line num="24" count="3" type="stmt"/>
87
+ <line num="33" count="3" type="stmt"/>
88
+ <line num="34" count="3" type="cond" truecount="0" falsecount="1"/>
89
+ <line num="35" count="0" type="stmt"/>
90
+ <line num="38" count="3" type="cond" truecount="2" falsecount="0"/>
91
+ <line num="39" count="2" type="stmt"/>
92
+ <line num="41" count="1" type="stmt"/>
93
+ <line num="44" count="3" type="stmt"/>
94
+ <line num="48" count="6" type="stmt"/>
95
+ <line num="60" count="59" type="cond" truecount="2" falsecount="0"/>
96
+ <line num="64" count="1" type="stmt"/>
97
+ </file>
98
+ </package>
99
+ <package name="helpers.raw-definition-helper">
100
+ <metrics statements="26" coveredstatements="26" conditionals="18" coveredconditionals="18" methods="6" coveredmethods="6"/>
101
+ <file name="raw-definition.helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\raw-definition-helper\raw-definition.helper.ts">
102
+ <metrics statements="26" coveredstatements="26" conditionals="18" coveredconditionals="18" methods="6" coveredmethods="6"/>
103
+ <line num="1" count="4" type="stmt"/>
104
+ <line num="5" count="4" type="stmt"/>
105
+ <line num="7" count="28" type="cond" truecount="2" falsecount="0"/>
106
+ <line num="8" count="3" type="stmt"/>
107
+ <line num="10" count="25" type="cond" truecount="2" falsecount="0"/>
108
+ <line num="15" count="41" type="stmt"/>
109
+ <line num="19" count="30" type="stmt"/>
110
+ <line num="22" count="30" type="cond" truecount="3" falsecount="0"/>
111
+ <line num="23" count="30" type="cond" truecount="2" falsecount="0"/>
112
+ <line num="24" count="3" type="cond" truecount="1" falsecount="0"/>
113
+ <line num="25" count="3" type="stmt"/>
114
+ <line num="28" count="27" type="cond" truecount="1" falsecount="0"/>
115
+ <line num="29" count="27" type="stmt"/>
116
+ <line num="34" count="30" type="cond" truecount="1" falsecount="0"/>
117
+ <line num="35" count="29" type="cond" truecount="2" falsecount="0"/>
118
+ <line num="36" count="24" type="stmt"/>
119
+ <line num="38" count="5" type="stmt"/>
120
+ <line num="44" count="110" type="cond" truecount="2" falsecount="0"/>
121
+ <line num="45" count="12" type="stmt"/>
122
+ <line num="46" count="103" type="cond" truecount="2" falsecount="0"/>
123
+ <line num="47" count="38" type="stmt"/>
124
+ <line num="48" count="38" type="stmt"/>
125
+ <line num="49" count="57" type="stmt"/>
126
+ <line num="50" count="57" type="stmt"/>
127
+ <line num="51" count="57" type="stmt"/>
128
+ <line num="54" count="65" type="stmt"/>
129
+ </file>
130
+ </package>
131
+ <package name="helpers.validator">
132
+ <metrics statements="111" coveredstatements="106" conditionals="45" coveredconditionals="41" methods="34" coveredmethods="33"/>
133
+ <file name="joi-custom-validators.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\validator\joi-custom-validators.ts">
134
+ <metrics statements="83" coveredstatements="78" conditionals="33" coveredconditionals="29" methods="23" coveredmethods="22"/>
135
+ <line num="1" count="3" type="stmt"/>
136
+ <line num="3" count="3" type="stmt"/>
137
+ <line num="4" count="3" type="stmt"/>
138
+ <line num="5" count="3" type="stmt"/>
139
+ <line num="8" count="3" type="stmt"/>
140
+ <line num="20" count="3" type="stmt"/>
141
+ <line num="21" count="3" type="stmt"/>
142
+ <line num="22" count="3" type="stmt"/>
143
+ <line num="23" count="3" type="stmt"/>
144
+ <line num="26" count="17" type="stmt"/>
145
+ <line num="30" count="0" type="stmt"/>
146
+ <line num="35" count="2" type="stmt"/>
147
+ <line num="36" count="4" type="stmt"/>
148
+ <line num="39" count="24" type="stmt"/>
149
+ <line num="41" count="24" type="stmt"/>
150
+ <line num="42" count="24" type="cond" truecount="2" falsecount="0"/>
151
+ <line num="43" count="16" type="stmt"/>
152
+ <line num="44" count="16" type="stmt"/>
153
+ <line num="46" count="16" type="stmt"/>
154
+ <line num="51" count="16" type="stmt"/>
155
+ <line num="52" count="8" type="cond" truecount="1" falsecount="1"/>
156
+ <line num="53" count="8" type="stmt"/>
157
+ <line num="55" count="0" type="stmt"/>
158
+ <line num="59" count="4" type="stmt"/>
159
+ <line num="60" count="4" type="cond" truecount="0" falsecount="1"/>
160
+ <line num="61" count="0" type="stmt"/>
161
+ <line num="66" count="4" type="stmt"/>
162
+ <line num="70" count="2" type="stmt"/>
163
+ <line num="71" count="2" type="stmt"/>
164
+ <line num="74" count="18" type="stmt"/>
165
+ <line num="75" count="18" type="cond" truecount="2" falsecount="0"/>
166
+ <line num="76" count="12" type="stmt"/>
167
+ <line num="78" count="12" type="stmt"/>
168
+ <line num="79" count="12" type="stmt"/>
169
+ <line num="81" count="12" type="cond" truecount="2" falsecount="0"/>
170
+ <line num="82" count="1" type="stmt"/>
171
+ <line num="84" count="11" type="stmt"/>
172
+ <line num="87" count="6" type="stmt"/>
173
+ <line num="91" count="9" type="stmt"/>
174
+ <line num="92" count="9" type="cond" truecount="2" falsecount="0"/>
175
+ <line num="93" count="6" type="stmt"/>
176
+ <line num="96" count="3" type="cond" truecount="1" falsecount="0"/>
177
+ <line num="97" count="1" type="stmt"/>
178
+ <line num="100" count="9" type="stmt"/>
179
+ <line num="104" count="2" type="stmt"/>
180
+ <line num="107" count="4" type="stmt"/>
181
+ <line num="110" count="7" type="stmt"/>
182
+ <line num="112" count="7" type="stmt"/>
183
+ <line num="113" count="7" type="cond" truecount="2" falsecount="0"/>
184
+ <line num="114" count="8" type="stmt"/>
185
+ <line num="115" count="6" type="cond" truecount="2" falsecount="0"/>
186
+ <line num="116" count="2" type="stmt"/>
187
+ <line num="118" count="4" type="stmt"/>
188
+ <line num="121" count="1" type="stmt"/>
189
+ <line num="125" count="3" type="stmt"/>
190
+ <line num="126" count="3" type="stmt"/>
191
+ <line num="128" count="3" type="cond" truecount="2" falsecount="0"/>
192
+ <line num="129" count="1" type="stmt"/>
193
+ <line num="132" count="2" type="cond" truecount="1" falsecount="0"/>
194
+ <line num="133" count="2" type="stmt"/>
195
+ <line num="136" count="3" type="stmt"/>
196
+ <line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
197
+ <line num="146" count="6" type="stmt"/>
198
+ <line num="152" count="49" type="cond" truecount="1" falsecount="1"/>
199
+ <line num="153" count="0" type="stmt"/>
200
+ <line num="154" count="49" type="cond" truecount="2" falsecount="0"/>
201
+ <line num="155" count="1" type="stmt"/>
202
+ <line num="156" count="48" type="cond" truecount="3" falsecount="1"/>
203
+ <line num="157" count="48" type="cond" truecount="2" falsecount="0"/>
204
+ <line num="159" count="0" type="stmt"/>
205
+ <line num="164" count="28" type="stmt"/>
206
+ <line num="165" count="28" type="stmt"/>
207
+ <line num="166" count="28" type="stmt"/>
208
+ <line num="170" count="19" type="stmt"/>
209
+ <line num="171" count="19" type="cond" truecount="1" falsecount="0"/>
210
+ <line num="172" count="13" type="stmt"/>
211
+ <line num="173" count="13" type="stmt"/>
212
+ <line num="175" count="19" type="stmt"/>
213
+ <line num="179" count="16" type="stmt"/>
214
+ <line num="180" count="16" type="cond" truecount="1" falsecount="0"/>
215
+ <line num="181" count="13" type="stmt"/>
216
+ <line num="182" count="13" type="stmt"/>
217
+ <line num="184" count="16" type="stmt"/>
218
+ </file>
219
+ <file name="validator.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\validator\validator.ts">
220
+ <metrics statements="28" coveredstatements="28" conditionals="12" coveredconditionals="12" methods="11" coveredmethods="11"/>
221
+ <line num="4" count="2" type="stmt"/>
222
+ <line num="11" count="2" type="stmt"/>
223
+ <line num="12" count="2" type="stmt"/>
224
+ <line num="17" count="7" type="stmt"/>
225
+ <line num="18" count="8" type="stmt"/>
226
+ <line num="19" count="8" type="stmt"/>
227
+ <line num="21" count="7" type="stmt"/>
228
+ <line num="22" count="8" type="stmt"/>
229
+ <line num="24" count="8" type="stmt"/>
230
+ <line num="25" count="8" type="stmt"/>
231
+ <line num="26" count="8" type="stmt"/>
232
+ <line num="28" count="8" type="stmt"/>
233
+ <line num="32" count="3" type="stmt"/>
234
+ <line num="33" count="3" type="cond" truecount="2" falsecount="0"/>
235
+ <line num="34" count="1" type="cond" truecount="1" falsecount="0"/>
236
+ <line num="35" count="1" type="stmt"/>
237
+ <line num="39" count="1" type="stmt"/>
238
+ <line num="41" count="2" type="cond" truecount="2" falsecount="0"/>
239
+ <line num="42" count="1" type="stmt"/>
240
+ <line num="43" count="2" type="stmt"/>
241
+ <line num="45" count="2" type="stmt"/>
242
+ <line num="49" count="2" type="stmt"/>
243
+ <line num="52" count="1" type="stmt"/>
244
+ <line num="57" count="24" type="stmt"/>
245
+ <line num="62" count="24" type="cond" truecount="4" falsecount="0"/>
246
+ <line num="63" count="7" type="stmt"/>
247
+ <line num="70" count="6" type="stmt"/>
248
+ <line num="72" count="18" type="stmt"/>
249
+ </file>
250
+ </package>
251
+ <package name="pipeline">
252
+ <metrics statements="74" coveredstatements="68" conditionals="29" coveredconditionals="23" methods="11" coveredmethods="10"/>
253
+ <file name="1-select-definitions-helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\1-select-definitions-helper.ts">
254
+ <metrics statements="35" coveredstatements="35" conditionals="13" coveredconditionals="13" methods="4" coveredmethods="4"/>
255
+ <line num="1" count="1" type="stmt"/>
256
+ <line num="2" count="1" type="stmt"/>
257
+ <line num="16" count="1" type="stmt"/>
258
+ <line num="17" count="7" type="stmt"/>
259
+ <line num="19" count="7" type="stmt"/>
260
+ <line num="20" count="7" type="stmt"/>
261
+ <line num="21" count="7" type="stmt"/>
262
+ <line num="24" count="7" type="stmt"/>
263
+ <line num="25" count="7" type="stmt"/>
264
+ <line num="26" count="7" type="stmt"/>
265
+ <line num="27" count="7" type="stmt"/>
266
+ <line num="28" count="7" type="stmt"/>
267
+ <line num="30" count="7" type="stmt"/>
268
+ <line num="31" count="47" type="stmt"/>
269
+ <line num="33" count="47" type="cond" truecount="2" falsecount="0"/>
270
+ <line num="34" count="29" type="cond" truecount="2" falsecount="0"/>
271
+ <line num="35" count="8" type="stmt"/>
272
+ <line num="36" count="8" type="stmt"/>
273
+ <line num="37" count="21" type="cond" truecount="3" falsecount="0"/>
274
+ <line num="38" count="10" type="stmt"/>
275
+ <line num="40" count="18" type="cond" truecount="1" falsecount="0"/>
276
+ <line num="41" count="5" type="stmt"/>
277
+ <line num="45" count="7" type="stmt"/>
278
+ <line num="47" count="7" type="stmt"/>
279
+ <line num="54" count="15" type="cond" truecount="1" falsecount="0"/>
280
+ <line num="55" count="6" type="cond" truecount="2" falsecount="0"/>
281
+ <line num="56" count="5" type="stmt"/>
282
+ <line num="58" count="1" type="stmt"/>
283
+ <line num="62" count="1" type="stmt"/>
284
+ <line num="65" count="15" type="stmt"/>
285
+ <line num="69" count="8" type="cond" truecount="2" falsecount="0"/>
286
+ <line num="70" count="6" type="stmt"/>
287
+ <line num="79" count="2" type="stmt"/>
288
+ <line num="87" count="2" type="stmt"/>
289
+ <line num="88" count="2" type="stmt"/>
290
+ </file>
291
+ <file name="2-structure-parser.helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\2-structure-parser.helper.ts">
292
+ <metrics statements="29" coveredstatements="26" conditionals="14" coveredconditionals="10" methods="6" coveredmethods="6"/>
293
+ <line num="2" count="3" type="stmt"/>
294
+ <line num="3" count="3" type="stmt"/>
295
+ <line num="4" count="3" type="stmt"/>
296
+ <line num="7" count="3" type="cond" truecount="2" falsecount="0"/>
297
+ <line num="8" count="3" type="stmt"/>
298
+ <line num="9" count="3" type="stmt"/>
299
+ <line num="10" count="3" type="stmt"/>
300
+ <line num="18" count="3" type="stmt"/>
301
+ <line num="20" count="71" type="stmt"/>
302
+ <line num="21" count="71" type="cond" truecount="3" falsecount="0"/>
303
+ <line num="23" count="11" type="stmt"/>
304
+ <line num="25" count="11" type="stmt"/>
305
+ <line num="27" count="49" type="stmt"/>
306
+ <line num="32" count="71" type="cond" truecount="2" falsecount="0"/>
307
+ <line num="33" count="11" type="stmt"/>
308
+ <line num="34" count="60" type="cond" truecount="2" falsecount="0"/>
309
+ <line num="35" count="11" type="stmt"/>
310
+ <line num="37" count="49" type="stmt"/>
311
+ <line num="42" count="12" type="stmt"/>
312
+ <line num="43" count="12" type="stmt"/>
313
+ <line num="45" count="12" type="stmt"/>
314
+ <line num="46" count="12" type="cond" truecount="1" falsecount="0"/>
315
+ <line num="47" count="11" type="stmt"/>
316
+ <line num="55" count="11" type="stmt"/>
317
+ <line num="58" count="0" type="cond" truecount="0" falsecount="4"/>
318
+ <line num="59" count="0" type="stmt"/>
319
+ <line num="61" count="0" type="stmt"/>
320
+ <line num="68" count="12" type="stmt"/>
321
+ <line num="70" count="12" type="stmt"/>
322
+ </file>
323
+ <file name="3-config.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\3-config.ts">
324
+ <metrics statements="10" coveredstatements="7" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
325
+ <line num="1" count="1" type="stmt"/>
326
+ <line num="3" count="1" type="stmt"/>
327
+ <line num="4" count="1" type="stmt"/>
328
+ <line num="7" count="1" type="stmt"/>
329
+ <line num="17" count="1" type="stmt"/>
330
+ <line num="19" count="1" type="stmt"/>
331
+ <line num="20" count="1" type="stmt"/>
332
+ <line num="26" count="0" type="stmt"/>
333
+ <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
334
+ <line num="29" count="0" type="stmt"/>
335
+ </file>
336
+ </package>
337
+ <package name="pipeline._mocks">
338
+ <metrics statements="15" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="3"/>
339
+ <file name="index.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\_mocks\index.ts">
340
+ <metrics statements="15" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="3"/>
341
+ <line num="2" count="3" type="stmt"/>
342
+ <line num="5" count="3" type="stmt"/>
343
+ <line num="6" count="0" type="stmt"/>
344
+ <line num="13" count="3" type="stmt"/>
345
+ <line num="14" count="0" type="stmt"/>
346
+ <line num="21" count="3" type="stmt"/>
347
+ <line num="22" count="0" type="stmt"/>
348
+ <line num="28" count="3" type="stmt"/>
349
+ <line num="29" count="5" type="stmt"/>
350
+ <line num="35" count="3" type="stmt"/>
351
+ <line num="36" count="3" type="stmt"/>
352
+ <line num="40" count="29" type="stmt"/>
353
+ <line num="41" count="29" type="stmt"/>
354
+ <line num="43" count="29" type="stmt"/>
355
+ <line num="46" count="29" type="stmt"/>
356
+ </file>
357
+ </package>
358
+ <package name="pipeline.parsers">
359
+ <metrics statements="132" coveredstatements="132" conditionals="75" coveredconditionals="74" methods="8" coveredmethods="8"/>
360
+ <file name="array-parser.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\parsers\array-parser.ts">
361
+ <metrics statements="29" coveredstatements="29" conditionals="14" coveredconditionals="14" methods="2" coveredmethods="2"/>
362
+ <line num="2" count="3" type="stmt"/>
363
+ <line num="4" count="3" type="stmt"/>
364
+ <line num="6" count="21" type="stmt"/>
365
+ <line num="7" count="21" type="stmt"/>
366
+ <line num="8" count="21" type="stmt"/>
367
+ <line num="10" count="21" type="stmt"/>
368
+ <line num="11" count="46" type="cond" truecount="2" falsecount="0"/>
369
+ <line num="12" count="37" type="cond" truecount="4" falsecount="0"/>
370
+ <line num="13" count="4" type="stmt"/>
371
+ <line num="17" count="4" type="stmt"/>
372
+ <line num="18" count="33" type="cond" truecount="2" falsecount="0"/>
373
+ <line num="19" count="2" type="cond" truecount="2" falsecount="0"/>
374
+ <line num="20" count="1" type="stmt"/>
375
+ <line num="24" count="1" type="stmt"/>
376
+ <line num="26" count="1" type="stmt"/>
377
+ <line num="30" count="1" type="stmt"/>
378
+ <line num="33" count="31" type="cond" truecount="1" falsecount="0"/>
379
+ <line num="34" count="14" type="stmt"/>
380
+ <line num="35" count="14" type="stmt"/>
381
+ <line num="38" count="31" type="stmt"/>
382
+ <line num="39" count="31" type="stmt"/>
383
+ <line num="41" count="9" type="cond" truecount="2" falsecount="0"/>
384
+ <line num="42" count="1" type="stmt"/>
385
+ <line num="46" count="1" type="stmt"/>
386
+ <line num="48" count="8" type="stmt"/>
387
+ <line num="52" count="14" type="cond" truecount="1" falsecount="0"/>
388
+ <line num="53" count="14" type="stmt"/>
389
+ <line num="54" count="14" type="stmt"/>
390
+ <line num="57" count="14" type="stmt"/>
391
+ </file>
392
+ <file name="object-parser.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\parsers\object-parser.ts">
393
+ <metrics statements="68" coveredstatements="68" conditionals="35" coveredconditionals="35" methods="2" coveredmethods="2"/>
394
+ <line num="2" count="3" type="stmt"/>
395
+ <line num="3" count="3" type="stmt"/>
396
+ <line num="5" count="3" type="stmt"/>
397
+ <line num="7" count="29" type="stmt"/>
398
+ <line num="8" count="29" type="stmt"/>
399
+ <line num="9" count="29" type="stmt"/>
400
+ <line num="11" count="29" type="stmt"/>
401
+ <line num="13" count="29" type="stmt"/>
402
+ <line num="14" count="66" type="cond" truecount="5" falsecount="0"/>
403
+ <line num="15" count="44" type="cond" truecount="2" falsecount="0"/>
404
+ <line num="16" count="1" type="stmt"/>
405
+ <line num="20" count="1" type="stmt"/>
406
+ <line num="21" count="43" type="cond" truecount="2" falsecount="0"/>
407
+ <line num="22" count="1" type="stmt"/>
408
+ <line num="26" count="1" type="stmt"/>
409
+ <line num="27" count="42" type="cond" truecount="4" falsecount="0"/>
410
+ <line num="28" count="4" type="stmt"/>
411
+ <line num="32" count="4" type="stmt"/>
412
+ <line num="33" count="38" type="cond" truecount="2" falsecount="0"/>
413
+ <line num="34" count="1" type="stmt"/>
414
+ <line num="38" count="1" type="stmt"/>
415
+ <line num="39" count="37" type="cond" truecount="2" falsecount="0"/>
416
+ <line num="40" count="3" type="stmt"/>
417
+ <line num="44" count="3" type="stmt"/>
418
+ <line num="46" count="34" type="cond" truecount="1" falsecount="0"/>
419
+ <line num="47" count="4" type="stmt"/>
420
+ <line num="48" count="4" type="stmt"/>
421
+ <line num="49" count="4" type="stmt"/>
422
+ <line num="50" count="4" type="stmt"/>
423
+ <line num="51" count="4" type="stmt"/>
424
+ <line num="52" count="4" type="stmt"/>
425
+ <line num="54" count="34" type="stmt"/>
426
+ <line num="55" count="34" type="cond" truecount="2" falsecount="0"/>
427
+ <line num="56" count="10" type="stmt"/>
428
+ <line num="57" count="10" type="stmt"/>
429
+ <line num="59" count="10" type="cond" truecount="2" falsecount="0"/>
430
+ <line num="60" count="1" type="stmt"/>
431
+ <line num="64" count="1" type="stmt"/>
432
+ <line num="66" count="9" type="stmt"/>
433
+ <line num="67" count="9" type="cond" truecount="2" falsecount="0"/>
434
+ <line num="69" count="24" type="cond" truecount="2" falsecount="0"/>
435
+ <line num="70" count="1" type="stmt"/>
436
+ <line num="71" count="1" type="stmt"/>
437
+ <line num="72" count="1" type="stmt"/>
438
+ <line num="73" count="1" type="stmt"/>
439
+ <line num="75" count="23" type="stmt"/>
440
+ <line num="76" count="23" type="stmt"/>
441
+ <line num="77" count="23" type="stmt"/>
442
+ <line num="80" count="22" type="cond" truecount="2" falsecount="0"/>
443
+ <line num="81" count="2" type="cond" truecount="2" falsecount="0"/>
444
+ <line num="82" count="1" type="stmt"/>
445
+ <line num="86" count="1" type="stmt"/>
446
+ <line num="88" count="1" type="stmt"/>
447
+ <line num="92" count="1" type="stmt"/>
448
+ <line num="94" count="20" type="cond" truecount="2" falsecount="0"/>
449
+ <line num="95" count="1" type="stmt"/>
450
+ <line num="96" count="1" type="stmt"/>
451
+ <line num="97" count="1" type="stmt"/>
452
+ <line num="98" count="1" type="stmt"/>
453
+ <line num="99" count="1" type="stmt"/>
454
+ <line num="100" count="1" type="stmt"/>
455
+ <line num="101" count="1" type="stmt"/>
456
+ <line num="103" count="19" type="cond" truecount="2" falsecount="0"/>
457
+ <line num="107" count="16" type="cond" truecount="1" falsecount="0"/>
458
+ <line num="108" count="4" type="stmt"/>
459
+ <line num="109" count="4" type="stmt"/>
460
+ <line num="110" count="4" type="stmt"/>
461
+ <line num="113" count="16" type="stmt"/>
462
+ </file>
463
+ <file name="primitive-parser.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\parsers\primitive-parser.ts">
464
+ <metrics statements="35" coveredstatements="35" conditionals="26" coveredconditionals="25" methods="4" coveredmethods="4"/>
465
+ <line num="3" count="4" type="stmt"/>
466
+ <line num="5" count="63" type="stmt"/>
467
+ <line num="6" count="63" type="cond" truecount="2" falsecount="0"/>
468
+ <line num="7" count="7" type="stmt"/>
469
+ <line num="8" count="56" type="cond" truecount="2" falsecount="0"/>
470
+ <line num="9" count="1" type="stmt"/>
471
+ <line num="13" count="1" type="stmt"/>
472
+ <line num="15" count="55" type="cond" truecount="2" falsecount="0"/>
473
+ <line num="16" count="5" type="stmt"/>
474
+ <line num="18" count="50" type="stmt"/>
475
+ <line num="24" count="50" type="cond" truecount="2" falsecount="0"/>
476
+ <line num="25" count="2" type="stmt"/>
477
+ <line num="29" count="2" type="stmt"/>
478
+ <line num="31" count="48" type="stmt"/>
479
+ <line num="39" count="5" type="cond" truecount="3" falsecount="1"/>
480
+ <line num="40" count="1" type="stmt"/>
481
+ <line num="44" count="1" type="stmt"/>
482
+ <line num="45" count="4" type="cond" truecount="2" falsecount="0"/>
483
+ <line num="46" count="1" type="stmt"/>
484
+ <line num="50" count="1" type="stmt"/>
485
+ <line num="52" count="3" type="stmt"/>
486
+ <line num="60" count="7" type="stmt"/>
487
+ <line num="61" count="7" type="cond" truecount="2" falsecount="0"/>
488
+ <line num="62" count="1" type="stmt"/>
489
+ <line num="66" count="1" type="stmt"/>
490
+ <line num="67" count="6" type="cond" truecount="4" falsecount="0"/>
491
+ <line num="68" count="1" type="stmt"/>
492
+ <line num="72" count="1" type="stmt"/>
493
+ <line num="73" count="5" type="cond" truecount="2" falsecount="0"/>
494
+ <line num="74" count="1" type="stmt"/>
495
+ <line num="78" count="1" type="stmt"/>
496
+ <line num="79" count="4" type="cond" truecount="2" falsecount="0"/>
497
+ <line num="80" count="1" type="stmt"/>
498
+ <line num="84" count="1" type="stmt"/>
499
+ <line num="86" count="3" type="stmt"/>
500
+ </file>
501
+ </package>
502
+ </project>
503
+ </coverage>