Build Logs
shiftleftsecurity/js2cpg • 3.8.0-RC5:2025-12-31
Errors
5
Warnings
3
Total Lines
4534
1##################################
2Clonning https://github.com/shiftleftsecurity/js2cpg.git into /build/repo using revision v0.3.10
3##################################
4Note: switching to '4f2919995898489fbe44b7f85a9e805377d22f6d'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21----
22Preparing build for 3.8.0-RC5
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC5
32Execute tests: true
33sbt project found:
34Sbt version 1.11.2 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project shiftleftsecurity/js2cpg
37##################################
38Scala version: 3.8.0-RC5
39Targets: io.shiftleft%js2cpg
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC5
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC5"
60"++3.8.0-RC5 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC5 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" io.shiftleft%js2cpg"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.591s.
75[info] done compiling
76[info] loading settings for project js2cpg from build.sbt...
77[info] set current project to js2cpg (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC5
79OpenCB::Changing crossVersion 3.6.4 -> 3.8.0-RC5 in js2cpg/crossScalaVersions
80OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in js2cpg/crossScalaVersions
81[info] set current project to js2cpg (in build file:/build/repo/)
82[info] Setting Scala version to 3.8.0-RC5 on 1 projects.
83[info] Switching Scala version on:
84[info] * js2cpg (3.8.0-RC5)
85[info] Excluding projects:
86[info] Reapplying settings...
87[info] set current project to js2cpg (in build file:/build/repo/)
88Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
89[info] Reapplying settings...
90[info] set current project to js2cpg (in build file:/build/repo/)
91[info] Defining Global / credentials, credentials
92[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
93[info] Run `last` for details.
94[info] Reapplying settings...
95[info] set current project to js2cpg (in build file:/build/repo/)
96Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
97[info] Reapplying settings...
98OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
99
100 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
101 Did you mean allExcludeDependencies ?
102 , retry without global scopes
103[info] Reapplying settings...
104[info] set current project to js2cpg (in build file:/build/repo/)
105Execute removeScalacOptionsStartingWith: -P:wartremover
106[info] Reapplying settings...
107[info] set current project to js2cpg (in build file:/build/repo/)
108[success] Total time: 0 s, completed Dec 31, 2025, 10:35:50 PM
109Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
110Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
111Starting build...
112Projects: Set(js2cpg)
113Starting build for ProjectRef(file:/build/repo/,js2cpg) (js2cpg)... [0/1]
114OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
115Compile scalacOptions: -Xunchecked-java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
116[info] compiling 52 Scala sources to /build/repo/target/scala-3.8.0-RC5/classes ...
117[info] done compiling
118[info] compiling 18 Scala sources to /build/repo/target/scala-3.8.0-RC5/test-classes ...
119[warn] there were 2 feature warnings; re-run with -feature for details
120[warn] one warning found
121[info] done compiling
122[warn] javaOptions will be ignored, fork is set to false
123[info] ExternalCommandTest:
124[info] ExternalCommand
125[info] - should run an external command with ProcessBuilder and no spaces in the directory name
126[info] - should run an external command with ProcessBuilder and spaces in the directory name
127[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest7167685669069496405/privatemodules'
128[DEBUG] Configuration:
129 - Source project: '/tmp/js2cpgTest7167685669069496405/privatemodules'
130 - package.json location: '/tmp/js2cpgTest7167685669069496405/privatemodules/package.json'
131 - Module mode: 'commonjs'
132 - Optimize dependencies: true
133 - Fixed transpilations dependencies: false
134 - Typescript transpiling: true
135 - Babel transpiling: false
136 - Vue.js transpiling: true
137 - Nuxt.js transpiling: true
138 - Template transpiling: true
139 - Ignored files regex: ''
140 - Ignored folders:
141 - Ignore minified files: true
142 - Ignore test files: true
143 - Ignore private dependencies: false
144 - Additional private dependencies:
145 - Include configuration files: true
146 - Include HTML files: true
147 - Output file: '/tmp/js2cpgTest7167685669069496405/cpg.bin.zip'
148
149[DEBUG] Copying '/tmp/js2cpgTest7167685669069496405/privatemodules' to temporary workspace '/tmp/privatemodules14245969971942377648'.
150[info] EmScriptenCleanerTest:
151[info] EmScriptenCleaner
152[info] - should do nothing if the code does not contain emscripten code
153[info] - should do nothing if the code does not contain emscripten code but incomplete markers (start only)
154[info] - should do nothing if the code does not contain emscripten code but incomplete markers (end only)
155[info] - should do nothing if the code does not contain emscripten code but markers in the wrong order
156[info] - should remove emscripten code lines
157[info] VisitorTest:
158[info] Visitor
159[info] - should should work correctly
160[DEBUG] Excluded 'node_modules' (folder ignored by default).
161[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest7167685669069496405/privatemodules'.
162[DEBUG] Could not find '@doesNotExist' in '/tmp/js2cpgTest7167685669069496405/privatemodules/node_modules'. Ensure that npm authentication to your private registry is working to use private namespace analysis feature
163[DEBUG] Copying private module '@privateA' to '/tmp/privatemodules14245969971942377648/privatemodules/sl_private'.
164[DEBUG] Copying private module '@privateB' to '/tmp/privatemodules14245969971942377648/privatemodules/sl_private'.
165[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
166[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
167[DEBUG] No source map file available for 'code.js'
168[DEBUG] Parsing file 'code.js'.
169[DEBUG] No source map file available for '@privateB/b.js'
170[DEBUG] Parsing file '@privateB/b.js'.
171[DEBUG] No source map file available for '@privateA/a.js'
172[DEBUG] Parsing file '@privateA/a.js'.
173[DEBUG] Generating CPG for file 'code.js'.
174[DEBUG] Generating CPG for file '@privateB/b.js'.
175[DEBUG] Generating CPG for file '@privateA/a.js'.
176[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest13286203408766842734'.
177[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest910550430182468722'.
178[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
179[DEBUG] No source map file available for 'file.js'
180[DEBUG] Parsing file 'file.js'.
181[DEBUG] Generating CPG for file 'file.js'.
182[INFO ] Downloading / installing plugins in 'babel'
183[INFO ] Installing project dependencies and plugins. That will take a while.
184[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/js2cpgTest9268632678638983175/babel'
185[INFO ] Processed file '@privateA/a.js'
186[INFO ] Processed file 'file.js'
187[INFO ] Processed file '@privateB/b.js'
188[INFO ] Processed file 'code.js'
189[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 208 ms (37% on mutations). 34 + 0 changes committed from 2 parts.
190[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
191[DEBUG] Generating meta-data.
192[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 226 ms (26% on mutations). 52 + 0 changes committed from 1 parts.
193[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 104 ms (74% on mutations). 17 + 0 changes committed from 1 parts.
194[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
195[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest15388085904475241298'.
196[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 21 ms (78% on mutations). 1 + 0 changes committed from 1 parts.
197[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
198[DEBUG] Generating builtin types.
199[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 17 ms (33% on mutations). 0 + 0 changes committed from 1 parts.
200[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
201[DEBUG] No source map file available for 'file.js'
202[DEBUG] Parsing file 'file.js'.
203[DEBUG] Generating CPG for file 'file.js'.
204[INFO ] Processed file 'file.js'
205[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 13 ms (96% on mutations). 22 + 0 changes committed from 1 parts.
206[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
207[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/privatemodules14245969971942377648/privatemodules'.
208[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (82% on mutations). 17 + 0 changes committed from 1 parts.
209[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 6 ms (43% on mutations). 0 + 0 changes committed from 1 parts.
210[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
211[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest18444747712952493136'.
212[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 5 ms (33% on mutations). 0 + 0 changes committed from 1 parts.
213[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
214[DEBUG] No source map file available for 'code.js'
215[DEBUG] Parsing file 'code.js'.
216[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
217[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (77% on mutations). 0 + 0 changes committed from 0 parts.
218[DEBUG] Generating CPG for file 'code.js'.
219[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
220[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
221[DEBUG] No source map file available for 'file.js'
222[DEBUG] Parsing file 'file.js'.
223[DEBUG] Generating CPG for file 'file.js'.
224[INFO ] Processed file 'file.js'
225[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 5 ms (30% on mutations). 0 + 0 changes committed from 0 parts.
226[INFO ] Processed file 'code.js'
227[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
228[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 9 ms (86% on mutations). 0 + 0 changes committed from 0 parts.
229[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 20 ms (77% on mutations). 17 + 0 changes committed from 1 parts.
230[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
231[DEBUG] Loaded dependencies from '/tmp/js2cpgTest17354600797811104096/package-lock.json'.
232[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
233[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 6 ms (98% on mutations). 0 + 0 changes committed from 0 parts.
234[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest7167685669069496405/cpg.bin.zip
235[INFO ] writing to storage at `/tmp/js2cpgTest7167685669069496405/cpg.bin.zip`
236[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 13 ms (16% on mutations). 2 + 0 changes committed from 1 parts.
237[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 46 ms (52% on mutations). 56 + 0 changes committed from 1 parts.
238[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
239[DEBUG] No source map file available for 'code.js'
240[DEBUG] Parsing file 'code.js'.
241[DEBUG] Generating CPG for file 'code.js'.
242[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
243[DEBUG] No source map file available for 'file.js'
244[DEBUG] Parsing file 'file.js'.
245[DEBUG] Generating CPG for file 'file.js'.
246[INFO ] Processed file 'file.js'
247[INFO ] Processed file 'code.js'
248[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 20 ms (85% on mutations). 17 + 0 changes committed from 1 parts.
249[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
250[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 31 ms (65% on mutations). 49 + 0 changes committed from 1 parts.
251[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest10827403279143517231'.
252[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
253[DEBUG] No source map file available for 'code.js'
254[DEBUG] Parsing file 'code.js'.
255[DEBUG] Loaded dependencies from '/tmp/js2cpgTest10827403279143517231/./import_map.json'.
256[DEBUG] Generating CPG for file 'code.js'.
257[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 13 ms (22% on mutations). 11 + 0 changes committed from 1 parts.
258[INFO ] Processed file 'code.js'
259[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
260[DEBUG] No source map file available for 'file.js'
261[DEBUG] Parsing file 'file.js'.
262[DEBUG] Generating CPG for file 'file.js'.
263[INFO ] Processed file 'file.js'
264[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 25 ms (74% on mutations). 53 + 0 changes committed from 1 parts.
265[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 24 ms (43% on mutations). 17 + 0 changes committed from 1 parts.
266[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
267[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
268[DEBUG] No source map file available for 'code.js'
269[DEBUG] Parsing file 'code.js'.
270[DEBUG] Loaded dependencies from '/tmp/js2cpgTest16894717892814589553/package.json'.
271[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 5 ms (36% on mutations). 1 + 0 changes committed from 1 parts.
272[DEBUG] Generating CPG for file 'code.js'.
273[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
274[DEBUG] No source map file available for 'file.js'
275[DEBUG] Parsing file 'file.js'.
276[DEBUG] Generating CPG for file 'file.js'.
277[INFO ] Processed file 'file.js'
278[INFO ] Processed file 'code.js'
279[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (91% on mutations). 17 + 0 changes committed from 1 parts.
280[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
281[DEBUG] Loaded dependencies from '/tmp/js2cpgTest3749275681181146912/package.json'.
282[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 4 ms (20% on mutations). 4 + 0 changes committed from 1 parts.
283[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 43 ms (39% on mutations). 53 + 0 changes committed from 1 parts.
284[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
285[DEBUG] No source map file available for 'code.js'
286[DEBUG] Parsing file 'code.js'.
287[DEBUG] Generating CPG for file 'code.js'.
288[INFO ] Processed file 'code.js'
289[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 13 ms (76% on mutations). 55 + 0 changes committed from 1 parts.
290[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
291[DEBUG] No source map file available for 'code.js'
292[DEBUG] Parsing file 'code.js'.
293[DEBUG] Generating CPG for file 'code.js'.
294[INFO ] Processed file 'code.js'
295[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 27 ms (58% on mutations). 28 + 0 changes committed from 1 parts.
296[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
297[DEBUG] Configuration:
298 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
299 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
300 - Module mode: 'commonjs'
301 - Optimize dependencies: true
302 - Fixed transpilations dependencies: false
303 - Typescript transpiling: false
304 - Babel transpiling: false
305 - Vue.js transpiling: true
306 - Nuxt.js transpiling: true
307 - Template transpiling: true
308 - Ignored files regex: ''
309 - Ignored folders:
310 - Ignore minified files: true
311 - Ignore test files: true
312 - Ignore private dependencies: false
313 - Additional private dependencies:
314 - Include configuration files: true
315 - Include HTML files: true
316 - Output file: '/tmp/js2cpgTest13399422584821959446/cpg.bin.zip'
317
318[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes12652933213611131116'.
319[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
320[DEBUG] No source map file available for 'code.js'
321[DEBUG] Parsing file 'code.js'.
322[DEBUG] Generating CPG for file 'code.js'.
323[INFO ] Processed file 'code.js'
324[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (53% on mutations). 28 + 0 changes committed from 1 parts.
325[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
326[DEBUG] No source map file available for 'code.js'
327[DEBUG] Parsing file 'code.js'.
328[DEBUG] Generating CPG for file 'code.js'.
329[INFO ] Processed file 'code.js'
330[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (49% on mutations). 27 + 1 changes committed from 1 parts.
331[DEBUG] No project dependencies found in package.json or package-lock.json at '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'.
332[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
333[DEBUG] No source map file available for 'code.js'
334[DEBUG] Parsing file 'code.js'.
335[DEBUG] Generating CPG for file 'code.js'.
336[INFO ] Processed file 'code.js'
337[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
338[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
339[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
340[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
341[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
342[INFO ] closed graph at /tmp/js2cpgTest7167685669069496405/cpg.bin.zip
343[INFO ] Generation of CPG is complete.
344[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 18 ms (58% on mutations). 36 + 1 changes committed from 1 parts.
345[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
346[DEBUG] No source map file available for 'foo.bar/d.js'
347[DEBUG] No source map file available for 'a.js'
348[DEBUG] Parsing file 'foo.bar/d.js'.
349[DEBUG] Parsing file 'a.js'.
350[DEBUG] Generating CPG for file 'foo.bar/d.js'.
351[DEBUG] Generating CPG for file 'a.js'.
352[INFO ] Processed file 'foo.bar/d.js'
353[INFO ] Processed file 'a.js'
354[DEBUG] No source map file available for 'folder/c.js'
355[DEBUG] No source map file available for 'index.js'
356[DEBUG] Parsing file 'folder/c.js'.
357[DEBUG] Parsing file 'index.js'.
358[DEBUG] Generating CPG for file 'folder/c.js'.
359[DEBUG] Generating CPG for file 'index.js'.
360[DEBUG] No source map file available for 'folder/b.js'
361[DEBUG] Parsing file 'folder/b.js'.
362[INFO ] Processed file 'index.js'
363[DEBUG] Generating CPG for file 'folder/b.js'.
364[INFO ] Processed file 'folder/b.js'
365[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
366[DEBUG] No source map file available for 'code.js'
367[INFO ] Processed file 'folder/c.js'
368[DEBUG] Parsing file 'code.js'.
369[DEBUG] Generating CPG for file 'code.js'.
370[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (40% on mutations). 85 + 0 changes committed from 5 parts.
371[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
372[DEBUG] Generating meta-data.
373[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (61% on mutations). 1 + 0 changes committed from 1 parts.
374[INFO ] Processed file 'code.js'
375[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
376[DEBUG] Generating builtin types.
377[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 13 ms (35% on mutations). 29 + 1 changes committed from 1 parts.
378[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 5 ms (96% on mutations). 22 + 0 changes committed from 1 parts.
379[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
380[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes12652933213611131116/excludes'.
381[INFO ] Report:
382+-------+----------------+-----+--------+-----------+----------+
383| # | File | LOC | Parsed | Got a CPG | Duration |
384+-------+----------------+-----+--------+-----------+----------+
385| 1 | @privateA/a.js | 0 | yes | yes | 101.5 ms |
386| 2 | @privateB/b.js | 0 | yes | yes | 102.3 ms |
387+-------+----------------+-----+--------+-----------+----------+
388| Total | | 0 | 2/2 | 2/2 | |
389+-------+----------------+-----+--------+-----------+----------+
390[INFO ] initialising from existing storage (/tmp/js2cpgTest7167685669069496405/cpg.bin.zip)
391[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
392[DEBUG] No source map file available for 'code.js'
393[DEBUG] Parsing file 'code.js'.
394[DEBUG] Generating CPG for file 'code.js'.
395[INFO ] Processed file 'code.js'
396[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 19 ms (52% on mutations). 0 + 0 changes committed from 1 parts.
397[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
398[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 23 ms (53% on mutations). 30 + 0 changes committed from 1 parts.
399[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 5 ms (99% on mutations). 0 + 0 changes committed from 0 parts.
400[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
401[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (74% on mutations). 0 + 0 changes committed from 0 parts.
402[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
403[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
404[DEBUG] No source map file available for 'code.js'
405[DEBUG] Parsing file 'code.js'.
406[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (80% on mutations). 0 + 0 changes committed from 0 parts.
407[DEBUG] Generating CPG for file 'code.js'.
408[INFO ] Processed file 'code.js'
409[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
410[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (76% on mutations). 0 + 0 changes committed from 0 parts.
411[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest13399422584821959446/cpg.bin.zip
412[INFO ] writing to storage at `/tmp/js2cpgTest13399422584821959446/cpg.bin.zip`
413[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 18 ms (83% on mutations). 28 + 0 changes committed from 1 parts.
414[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
415[DEBUG] No source map file available for 'code.js'
416[DEBUG] Parsing file 'code.js'.
417[DEBUG] Generating CPG for file 'code.js'.
418[INFO ] Processed file 'code.js'
419[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (41% on mutations). 30 + 0 changes committed from 1 parts.
420[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
421[DEBUG] No source map file available for 'code.js'
422[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
423[DEBUG] Parsing file 'code.js'.
424[INFO ] closed graph at /tmp/js2cpgTest13399422584821959446/cpg.bin.zip
425[DEBUG] Generating CPG for file 'code.js'.
426[INFO ] Processed file 'code.js'
427[INFO ] Generation of CPG is complete.
428[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (38% on mutations). 30 + 0 changes committed from 1 parts.
429[INFO ] Report:
430+-------+--------------+-----+--------+-----------+----------+
431| # | File | LOC | Parsed | Got a CPG | Duration |
432+-------+--------------+-----+--------+-----------+----------+
433| 1 | a.js | 0 | yes | yes | 680.0 μs |
434| 2 | folder/b.js | 0 | yes | yes | 556.4 μs |
435| 3 | folder/c.js | 0 | yes | yes | 4.708 ms |
436| 4 | foo.bar/d.js | 0 | yes | yes | 673.9 μs |
437| 5 | index.js | 0 | yes | yes | 574.5 μs |
438+-------+--------------+-----+--------+-----------+----------+
439| Total | | 0 | 5/5 | 5/5 | |
440+-------+--------------+-----+--------+-----------+----------+
441[INFO ] initialising from existing storage (/tmp/js2cpgTest13399422584821959446/cpg.bin.zip)
442[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
443[DEBUG] No source map file available for 'code.js'
444[DEBUG] Parsing file 'code.js'.
445[DEBUG] Generating CPG for file 'code.js'.
446[INFO ] Processed file 'code.js'
447[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (55% on mutations). 41 + 0 changes committed from 1 parts.
448[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
449[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
450[DEBUG] No source map file available for 'code.js'
451[DEBUG] Parsing file 'code.js'.
452[DEBUG] Generating CPG for file 'code.js'.
453[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
454[INFO ] Processed file 'code.js'
455[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 34 ms (33% on mutations). 107 + 3 changes committed from 1 parts.
456[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
457[DEBUG] No source map file available for 'code.js'
458[DEBUG] Parsing file 'code.js'.
459[DEBUG] Generating CPG for file 'code.js'.
460[INFO ] Processed file 'code.js'
461[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 20 ms (69% on mutations). 93 + 3 changes committed from 1 parts.
462[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
463[DEBUG] No source map file available for 'code.js'
464[DEBUG] Parsing file 'code.js'.
465[DEBUG] Generating CPG for file 'code.js'.
466[INFO ] Processed file 'code.js'
467[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest9443361787161156102/privatemodules'
468[DEBUG] Configuration:
469 - Source project: '/tmp/js2cpgTest9443361787161156102/privatemodules'
470 - package.json location: '/tmp/js2cpgTest9443361787161156102/privatemodules/package.json'
471 - Module mode: 'commonjs'
472 - Optimize dependencies: true
473 - Fixed transpilations dependencies: false
474 - Typescript transpiling: true
475 - Babel transpiling: false
476 - Vue.js transpiling: true
477 - Nuxt.js transpiling: true
478 - Template transpiling: true
479 - Ignored files regex: ''
480 - Ignored folders:
481 - Ignore minified files: true
482 - Ignore test files: true
483 - Ignore private dependencies: false
484 - Additional private dependencies:
485 'privateC'
486 '@privateC'
487 'privateD'
488 '@privateD'
489 - Include configuration files: true
490 - Include HTML files: true
491 - Output file: '/tmp/js2cpgTest9443361787161156102/cpg.bin.zip'
492
493[DEBUG] Copying '/tmp/js2cpgTest9443361787161156102/privatemodules' to temporary workspace '/tmp/privatemodules100211473844427754'.
494[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
495[DEBUG] Excluded 'node_modules' (folder ignored by default).
496[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
497[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
498[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
499[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
500[DEBUG] Configuration:
501 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
502 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
503 - Module mode: 'commonjs'
504 - Optimize dependencies: true
505 - Fixed transpilations dependencies: false
506 - Typescript transpiling: false
507 - Babel transpiling: false
508 - Vue.js transpiling: true
509 - Nuxt.js transpiling: true
510 - Template transpiling: true
511 - Ignored files regex: ''
512 - Ignored folders:
513 - Ignore minified files: true
514 - Ignore test files: true
515 - Ignore private dependencies: false
516 - Additional private dependencies:
517 - Include configuration files: true
518 - Include HTML files: true
519 - Output file: '/tmp/js2cpgTest14083865409503210332/cpg.bin.zip'
520
521[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes2953660099233542289'.
522[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 18 ms (48% on mutations). 115 + 6 changes committed from 1 parts.
523[DEBUG] Excluded 'index.js' (by user configuration).
524[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest9443361787161156102/privatemodules'.
525[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
526[DEBUG] No source map file available for 'code.js'
527[DEBUG] Parsing file 'code.js'.
528[DEBUG] Generating CPG for file 'code.js'.
529[DEBUG] Could not find 'privateC' in '/tmp/js2cpgTest9443361787161156102/privatemodules/node_modules'. Ensure that npm authentication to your private registry is working to use private namespace analysis feature
530[DEBUG] Could not find '@privateD' in '/tmp/js2cpgTest9443361787161156102/privatemodules/node_modules'. Ensure that npm authentication to your private registry is working to use private namespace analysis feature
531[DEBUG] Could not find '@doesNotExist' in '/tmp/js2cpgTest9443361787161156102/privatemodules/node_modules'. Ensure that npm authentication to your private registry is working to use private namespace analysis feature
532[DEBUG] Copying private module '@privateC' to '/tmp/privatemodules100211473844427754/privatemodules/sl_private'.
533[DEBUG] Copying private module 'privateD' to '/tmp/privatemodules100211473844427754/privatemodules/sl_private'.
534[DEBUG] Copying private module '@privateA' to '/tmp/privatemodules100211473844427754/privatemodules/sl_private'.
535[DEBUG] Copying private module '@privateB' to '/tmp/privatemodules100211473844427754/privatemodules/sl_private'.
536[INFO ] Processed file 'code.js'
537[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
538[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
539[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
540[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
541[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
542[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
543[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
544[DEBUG] No source map file available for 'folder/b.js'
545[DEBUG] No source map file available for 'foo.bar/d.js'
546[DEBUG] Parsing file 'foo.bar/d.js'.
547[DEBUG] Parsing file 'folder/b.js'.
548[DEBUG] Generating CPG for file 'foo.bar/d.js'.
549[INFO ] Processed file 'foo.bar/d.js'
550[DEBUG] No source map file available for 'a.js'
551[DEBUG] Parsing file 'a.js'.
552[DEBUG] Generating CPG for file 'a.js'.
553[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
554[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
555[INFO ] Processed file 'a.js'
556[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
557[DEBUG] Generating CPG for file 'folder/b.js'.
558[INFO ] Processed file 'folder/b.js'
559[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 22 ms (29% on mutations). 132 + 5 changes committed from 1 parts.
560[DEBUG] No source map file available for 'folder/c.js'
561[DEBUG] Parsing file 'folder/c.js'.
562[DEBUG] Generating CPG for file 'folder/c.js'.
563[INFO ] Processed file 'folder/c.js'
564[DEBUG] No source map file available for '@privateA/a.js'
565[DEBUG] Parsing file '@privateA/a.js'.
566[DEBUG] Generating CPG for file '@privateA/a.js'.
567[DEBUG] No source map file available for 'privateD/d.js'
568[DEBUG] Parsing file 'privateD/d.js'.
569[DEBUG] Generating CPG for file 'privateD/d.js'.
570[INFO ] Processed file '@privateA/a.js'
571[DEBUG] No source map file available for '@privateB/b.js'
572[DEBUG] Parsing file '@privateB/b.js'.
573[DEBUG] Generating CPG for file '@privateB/b.js'.
574[INFO ] Processed file 'privateD/d.js'
575[INFO ] Processed file '@privateB/b.js'
576[DEBUG] No source map file available for '@privateC/c.js'
577[DEBUG] Parsing file '@privateC/c.js'.
578[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (24% on mutations). 68 + 0 changes committed from 4 parts.
579[DEBUG] Generating CPG for file '@privateC/c.js'.
580[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
581[DEBUG] Generating meta-data.
582[INFO ] Processed file '@privateC/c.js'
583[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 18 ms (16% on mutations). 68 + 0 changes committed from 4 parts.
584[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 7 ms (98% on mutations). 1 + 0 changes committed from 1 parts.
585[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
586[DEBUG] Generating builtin types.
587[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
588[DEBUG] Generating meta-data.
589[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
590[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (82% on mutations). 22 + 0 changes committed from 1 parts.
591[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 2 ms (92% on mutations). 1 + 0 changes committed from 1 parts.
592[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
593[DEBUG] No source map file available for 'code.js'
594[DEBUG] Parsing file 'code.js'.
595[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
596[DEBUG] Generating CPG for file 'code.js'.
597[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes2953660099233542289/excludes'.
598[DEBUG] Generating builtin types.
599[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 6 ms (17% on mutations). 22 + 0 changes committed from 1 parts.
600[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
601[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/privatemodules100211473844427754/privatemodules'.
602[INFO ] Processed file 'code.js'
603[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 15 ms (33% on mutations). 0 + 0 changes committed from 1 parts.
604[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 10 ms (4% on mutations). 0 + 0 changes committed from 1 parts.
605[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 23 ms (32% on mutations). 136 + 5 changes committed from 1 parts.
606[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
607[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (84% on mutations). 0 + 0 changes committed from 0 parts.
608[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
609[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (81% on mutations). 0 + 0 changes committed from 0 parts.
610[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
611[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (94% on mutations). 0 + 0 changes committed from 0 parts.
612[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
613[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (71% on mutations). 0 + 0 changes committed from 0 parts.
614[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
615[DEBUG] No source map file available for 'code.js'
616[DEBUG] Parsing file 'code.js'.
617[DEBUG] Generating CPG for file 'code.js'.
618[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
619[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
620[INFO ] Processed file 'code.js'
621[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 2 ms (94% on mutations). 0 + 0 changes committed from 0 parts.
622[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (84% on mutations). 0 + 0 changes committed from 0 parts.
623[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest14083865409503210332/cpg.bin.zip
624[INFO ] writing to storage at `/tmp/js2cpgTest14083865409503210332/cpg.bin.zip`
625[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
626[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 4 ms (10% on mutations). 0 + 0 changes committed from 0 parts.
627[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 18 ms (64% on mutations). 123 + 5 changes committed from 1 parts.
628[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
629[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (82% on mutations). 0 + 0 changes committed from 0 parts.
630[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest9443361787161156102/cpg.bin.zip
631[INFO ] writing to storage at `/tmp/js2cpgTest9443361787161156102/cpg.bin.zip`
632[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
633[DEBUG] No source map file available for 'code.js'
634[DEBUG] Parsing file 'code.js'.
635[DEBUG] Generating CPG for file 'code.js'.
636[INFO ] Processed file 'code.js'
637[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
638[INFO ] closed graph at /tmp/js2cpgTest14083865409503210332/cpg.bin.zip
639[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 19 ms (33% on mutations). 143 + 4 changes committed from 1 parts.
640[INFO ] Generation of CPG is complete.
641[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
642[DEBUG] No source map file available for 'code.js'
643[DEBUG] Parsing file 'code.js'.
644[DEBUG] Generating CPG for file 'code.js'.
645[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
646[INFO ] Report:
647+-------+--------------+-----+--------+-----------+----------+
648| # | File | LOC | Parsed | Got a CPG | Duration |
649+-------+--------------+-----+--------+-----------+----------+
650| 1 | a.js | 0 | yes | yes | 507.9 μs |
651| 2 | folder/b.js | 0 | yes | yes | 749.4 μs |
652| 3 | folder/c.js | 0 | yes | yes | 652.2 μs |
653| 4 | foo.bar/d.js | 0 | yes | yes | 597.0 μs |
654+-------+--------------+-----+--------+-----------+----------+
655| Total | | 0 | 4/4 | 4/4 | |
656+-------+--------------+-----+--------+-----------+----------+
657[INFO ] initialising from existing storage (/tmp/js2cpgTest14083865409503210332/cpg.bin.zip)
658[INFO ] closed graph at /tmp/js2cpgTest9443361787161156102/cpg.bin.zip
659[INFO ] Generation of CPG is complete.
660[INFO ] Report:
661+-------+----------------+-----+--------+-----------+----------+
662| # | File | LOC | Parsed | Got a CPG | Duration |
663+-------+----------------+-----+--------+-----------+----------+
664| 1 | @privateA/a.js | 0 | yes | yes | 528.7 μs |
665| 2 | @privateB/b.js | 0 | yes | yes | 512.7 μs |
666| 3 | @privateC/c.js | 0 | yes | yes | 636.7 μs |
667| 4 | privateD/d.js | 0 | yes | yes | 523.5 μs |
668+-------+----------------+-----+--------+-----------+----------+
669| Total | | 0 | 4/4 | 4/4 | |
670+-------+----------------+-----+--------+-----------+----------+
671[INFO ] initialising from existing storage (/tmp/js2cpgTest9443361787161156102/cpg.bin.zip)
672[INFO ] Processed file 'code.js'
673[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 15 ms (34% on mutations). 93 + 3 changes committed from 1 parts.
674[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
675[DEBUG] No source map file available for 'code.js'
676[DEBUG] Parsing file 'code.js'.
677[DEBUG] Generating CPG for file 'code.js'.
678[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
679[INFO ] Processed file 'code.js'
680[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
681[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 15 ms (39% on mutations). 133 + 0 changes committed from 1 parts.
682[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
683[DEBUG] No source map file available for 'code.js'
684[DEBUG] Parsing file 'code.js'.
685[DEBUG] Generating CPG for file 'code.js'.
686[INFO ] Processed file 'code.js'
687[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (25% on mutations). 74 + 0 changes committed from 1 parts.
688[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
689[DEBUG] No source map file available for 'code.js'
690[DEBUG] Parsing file 'code.js'.
691[DEBUG] Generating CPG for file 'code.js'.
692[INFO ] Processed file 'code.js'
693[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
694[DEBUG] Configuration:
695 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
696 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
697 - Module mode: 'commonjs'
698 - Optimize dependencies: true
699 - Fixed transpilations dependencies: false
700 - Typescript transpiling: false
701 - Babel transpiling: false
702 - Vue.js transpiling: true
703 - Nuxt.js transpiling: true
704 - Template transpiling: true
705 - Ignored files regex: ''
706 - Ignored folders:
707 - Ignore minified files: true
708 - Ignore test files: true
709 - Ignore private dependencies: false
710 - Additional private dependencies:
711 - Include configuration files: true
712 - Include HTML files: true
713 - Output file: '/tmp/js2cpgTest9512425938485442656/cpg.bin.zip'
714
715[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (38% on mutations). 41 + 2 changes committed from 1 parts.
716[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes1068373576089284804'.
717[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
718[DEBUG] No source map file available for 'code.js'
719[DEBUG] Parsing file 'code.js'.
720[DEBUG] Generating CPG for file 'code.js'.
721[INFO ] Processed file 'code.js'
722[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
723[DEBUG] Excluded 'index.js' (by user configuration).
724[DEBUG] Excluded 'folder/b.js' (by user configuration).
725[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
726[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
727[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
728[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (35% on mutations). 67 + 1 changes committed from 1 parts.
729[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest5237997520530518283/privatemodules'
730[DEBUG] Configuration:
731 - Source project: '/tmp/js2cpgTest5237997520530518283/privatemodules'
732 - package.json location: '/tmp/js2cpgTest5237997520530518283/privatemodules/package.json'
733 - Module mode: 'commonjs'
734 - Optimize dependencies: true
735 - Fixed transpilations dependencies: false
736 - Typescript transpiling: true
737 - Babel transpiling: false
738 - Vue.js transpiling: true
739 - Nuxt.js transpiling: true
740 - Template transpiling: true
741 - Ignored files regex: '.*@privateA\Q/\Ea.js'
742 - Ignored folders:
743 - Ignore minified files: true
744 - Ignore test files: true
745 - Ignore private dependencies: false
746 - Additional private dependencies:
747 - Include configuration files: true
748 - Include HTML files: true
749 - Output file: '/tmp/js2cpgTest5237997520530518283/cpg.bin.zip'
750
751[DEBUG] Copying '/tmp/js2cpgTest5237997520530518283/privatemodules' to temporary workspace '/tmp/privatemodules5182943988773008452'.
752[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
753[DEBUG] Excluded 'node_modules' (folder ignored by default).
754[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
755[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
756[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
757[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
758[DEBUG] No source map file available for 'code.js'
759[DEBUG] Parsing file 'code.js'.
760[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest5237997520530518283/privatemodules'.
761[DEBUG] Generating CPG for file 'code.js'.
762[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
763[DEBUG] No source map file available for 'foo.bar/d.js'
764[DEBUG] No source map file available for 'a.js'
765[DEBUG] Parsing file 'foo.bar/d.js'.
766[DEBUG] Parsing file 'a.js'.
767[DEBUG] Generating CPG for file 'foo.bar/d.js'.
768[DEBUG] Generating CPG for file 'a.js'.
769[INFO ] Processed file 'a.js'
770[INFO ] Processed file 'foo.bar/d.js'
771[DEBUG] No source map file available for 'folder/c.js'
772[DEBUG] Parsing file 'folder/c.js'.
773[DEBUG] Generating CPG for file 'folder/c.js'.
774[INFO ] Processed file 'folder/c.js'
775[INFO ] Processed file 'code.js'
776[DEBUG] Could not find '@doesNotExist' in '/tmp/js2cpgTest5237997520530518283/privatemodules/node_modules'. Ensure that npm authentication to your private registry is working to use private namespace analysis feature
777[DEBUG] Copying private module '@privateA' to '/tmp/privatemodules5182943988773008452/privatemodules/sl_private'.
778[DEBUG] Copying private module '@privateB' to '/tmp/privatemodules5182943988773008452/privatemodules/sl_private'.
779[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (71% on mutations). 51 + 0 changes committed from 3 parts.
780[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
781[DEBUG] Generating meta-data.
782[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (81% on mutations). 1 + 0 changes committed from 1 parts.
783[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
784[DEBUG] Generating builtin types.
785[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 17 ms (29% on mutations). 101 + 3 changes committed from 1 parts.
786[DEBUG] Excluded '@privateA/a.js' (by user configuration).
787[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
788[DEBUG] No source map file available for '@privateB/b.js'
789[DEBUG] Parsing file '@privateB/b.js'.
790[DEBUG] Generating CPG for file '@privateB/b.js'.
791[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 4 ms (96% on mutations). 22 + 0 changes committed from 1 parts.
792[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
793[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes1068373576089284804/excludes'.
794[INFO ] Processed file '@privateB/b.js'
795[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (28% on mutations). 17 + 0 changes committed from 1 parts.
796[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
797[DEBUG] Generating meta-data.
798[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
799[DEBUG] No source map file available for 'code.js'
800[DEBUG] Parsing file 'code.js'.
801[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 7 ms (5% on mutations). 0 + 0 changes committed from 1 parts.
802[DEBUG] Generating CPG for file 'code.js'.
803[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 3 ms (97% on mutations). 1 + 0 changes committed from 1 parts.
804[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
805[DEBUG] Generating builtin types.
806[INFO ] Processed file 'code.js'
807[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
808[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (67% on mutations). 0 + 0 changes committed from 0 parts.
809[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 4 ms (96% on mutations). 22 + 0 changes committed from 1 parts.
810[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
811[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/privatemodules5182943988773008452/privatemodules'.
812[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
813[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (60% on mutations). 65 + 3 changes committed from 1 parts.
814[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (74% on mutations). 0 + 0 changes committed from 0 parts.
815[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
816[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (83% on mutations). 0 + 0 changes committed from 0 parts.
817[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 9 ms (5% on mutations). 0 + 0 changes committed from 1 parts.
818[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
819[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
820[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (85% on mutations). 0 + 0 changes committed from 0 parts.
821[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest9512425938485442656/cpg.bin.zip
822[INFO ] writing to storage at `/tmp/js2cpgTest9512425938485442656/cpg.bin.zip`
823[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (87% on mutations). 0 + 0 changes committed from 0 parts.
824[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
825[DEBUG] No source map file available for 'code.js'
826[DEBUG] Parsing file 'code.js'.
827[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
828[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
829[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
830[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (88% on mutations). 0 + 0 changes committed from 0 parts.
831[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
832[DEBUG] Generating CPG for file 'code.js'.
833[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (83% on mutations). 0 + 0 changes committed from 0 parts.
834[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest5237997520530518283/cpg.bin.zip
835[INFO ] writing to storage at `/tmp/js2cpgTest5237997520530518283/cpg.bin.zip`
836[INFO ] Processed file 'code.js'
837[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (21% on mutations). 109 + 1 changes committed from 1 parts.
838[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
839[INFO ] closed graph at /tmp/js2cpgTest9512425938485442656/cpg.bin.zip
840[INFO ] Generation of CPG is complete.
841[INFO ] Report:
842+-------+--------------+-----+--------+-----------+----------+
843| # | File | LOC | Parsed | Got a CPG | Duration |
844+-------+--------------+-----+--------+-----------+----------+
845| 1 | a.js | 0 | yes | yes | 486.6 μs |
846| 2 | folder/c.js | 0 | yes | yes | 407.3 μs |
847| 3 | foo.bar/d.js | 0 | yes | yes | 538.6 μs |
848+-------+--------------+-----+--------+-----------+----------+
849| Total | | 0 | 3/3 | 3/3 | |
850+-------+--------------+-----+--------+-----------+----------+
851[INFO ] initialising from existing storage (/tmp/js2cpgTest9512425938485442656/cpg.bin.zip)
852[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
853[INFO ] closed graph at /tmp/js2cpgTest5237997520530518283/cpg.bin.zip
854[INFO ] Generation of CPG is complete.
855[INFO ] Report:
856+-------+----------------+-----+--------+-----------+----------+
857| # | File | LOC | Parsed | Got a CPG | Duration |
858+-------+----------------+-----+--------+-----------+----------+
859| 1 | @privateB/b.js | 0 | yes | yes | 3.919 ms |
860+-------+----------------+-----+--------+-----------+----------+
861| Total | | 0 | 1/1 | 1/1 | |
862+-------+----------------+-----+--------+-----------+----------+
863[INFO ] initialising from existing storage (/tmp/js2cpgTest5237997520530518283/cpg.bin.zip)
864[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
865[DEBUG] No source map file available for 'code.js'
866[DEBUG] Parsing file 'code.js'.
867[DEBUG] Generating CPG for file 'code.js'.
868[INFO ] Processed file 'code.js'
869[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (40% on mutations). 67 + 1 changes committed from 1 parts.
870[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
871[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
872[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
873[DEBUG] No source map file available for 'code.js'
874[DEBUG] Parsing file 'code.js'.
875[DEBUG] Generating CPG for file 'code.js'.
876[INFO ] Processed file 'code.js'
877[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 13 ms (17% on mutations). 109 + 1 changes committed from 1 parts.
878[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
879[DEBUG] No source map file available for 'code.js'
880[DEBUG] Parsing file 'code.js'.
881[DEBUG] Generating CPG for file 'code.js'.
882[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest4108939745278974413/ignoreprivatemodules'
883[DEBUG] Configuration:
884 - Source project: '/tmp/js2cpgTest4108939745278974413/ignoreprivatemodules'
885 - package.json location: '/tmp/js2cpgTest4108939745278974413/ignoreprivatemodules/package.json'
886 - Module mode: 'commonjs'
887 - Optimize dependencies: true
888 - Fixed transpilations dependencies: false
889 - Typescript transpiling: true
890 - Babel transpiling: false
891 - Vue.js transpiling: true
892 - Nuxt.js transpiling: true
893 - Template transpiling: true
894 - Ignored files regex: ''
895 - Ignored folders:
896 - Ignore minified files: true
897 - Ignore test files: true
898 - Ignore private dependencies: false
899 - Additional private dependencies:
900 - Include configuration files: true
901 - Include HTML files: true
902 - Output file: '/tmp/js2cpgTest4108939745278974413/cpg.bin.zip'
903
904[DEBUG] Copying '/tmp/js2cpgTest4108939745278974413/ignoreprivatemodules' to temporary workspace '/tmp/ignoreprivatemodules2850071025327595458'.
905[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
906[INFO ] Processed file 'code.js'
907[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
908[DEBUG] Configuration:
909 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
910 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
911 - Module mode: 'commonjs'
912 - Optimize dependencies: true
913 - Fixed transpilations dependencies: false
914 - Typescript transpiling: false
915 - Babel transpiling: false
916 - Vue.js transpiling: true
917 - Nuxt.js transpiling: true
918 - Template transpiling: true
919 - Ignored files regex: ''
920 - Ignored folders:
921 - Ignore minified files: true
922 - Ignore test files: true
923 - Ignore private dependencies: false
924 - Additional private dependencies:
925 - Include configuration files: true
926 - Include HTML files: true
927 - Output file: '/tmp/js2cpgTest11501593291637555384/cpg.bin.zip'
928
929[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes13658517626198381735'.
930[DEBUG] Excluded 'node_modules' (folder ignored by default).
931[DEBUG] Excluded 'sl_private/@privateA/a.js' (by user configuration).
932[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
933[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
934[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (29% on mutations). 107 + 3 changes committed from 1 parts.
935[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
936[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest4108939745278974413/ignoreprivatemodules'.
937[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
938[DEBUG] Excluded 'node_modules' (folder ignored by default).
939[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
940[DEBUG] Excluded 'index.js' (by user configuration).
941[DEBUG] Excluded 'sl_private/@privateA/a.js' (by user configuration).
942[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
943[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
944[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
945[DEBUG] No source map file available for 'code.js'
946[DEBUG] Parsing file 'code.js'.
947[DEBUG] Generating CPG for file 'code.js'.
948[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
949[DEBUG] No source map file available for 'index.js'
950[DEBUG] Parsing file 'index.js'.
951[DEBUG] Generating CPG for file 'index.js'.
952[INFO ] Processed file 'index.js'
953[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (29% on mutations). 17 + 0 changes committed from 1 parts.
954[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
955[INFO ] Processed file 'code.js'
956[DEBUG] Generating meta-data.
957[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (85% on mutations). 1 + 0 changes committed from 1 parts.
958[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
959[DEBUG] Generating builtin types.
960[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 2 ms (90% on mutations). 22 + 0 changes committed from 1 parts.
961[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
962[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (25% on mutations). 84 + 0 changes committed from 1 parts.
963[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/ignoreprivatemodules2850071025327595458/ignoreprivatemodules'.
964[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 2 ms (19% on mutations). 0 + 0 changes committed from 1 parts.
965[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
966[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (84% on mutations). 0 + 0 changes committed from 0 parts.
967[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
968[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (82% on mutations). 0 + 0 changes committed from 0 parts.
969[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
970[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (83% on mutations). 0 + 0 changes committed from 0 parts.
971[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
972[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
973[DEBUG] No source map file available for 'code.js'
974[DEBUG] Parsing file 'code.js'.
975[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (96% on mutations). 0 + 0 changes committed from 0 parts.
976[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest4108939745278974413/cpg.bin.zip
977[INFO ] writing to storage at `/tmp/js2cpgTest4108939745278974413/cpg.bin.zip`
978[DEBUG] Generating CPG for file 'code.js'.
979[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
980[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
981[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
982[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
983[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
984[DEBUG] No source map file available for 'folder/b.js'
985[INFO ] Processed file 'code.js'
986[DEBUG] Parsing file 'folder/b.js'.
987[DEBUG] Generating CPG for file 'folder/b.js'.
988[DEBUG] No source map file available for 'foo.bar/d.js'
989[DEBUG] Parsing file 'foo.bar/d.js'.
990[DEBUG] Generating CPG for file 'foo.bar/d.js'.
991[INFO ] Processed file 'folder/b.js'
992[INFO ] Processed file 'foo.bar/d.js'
993[DEBUG] No source map file available for 'folder/c.js'
994[DEBUG] Parsing file 'folder/c.js'.
995[DEBUG] Generating CPG for file 'folder/c.js'.
996[DEBUG] No source map file available for 'a.js'
997[DEBUG] Parsing file 'a.js'.
998[DEBUG] Generating CPG for file 'a.js'.
999[INFO ] Processed file 'a.js'
1000[INFO ] Processed file 'folder/c.js'
1001[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (43% on mutations). 77 + 4 changes committed from 1 parts.
1002[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1003[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (17% on mutations). 68 + 0 changes committed from 4 parts.
1004[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
1005[DEBUG] Generating meta-data.
1006[DEBUG] No source map file available for 'code.js'
1007[DEBUG] Parsing file 'code.js'.
1008[DEBUG] Generating CPG for file 'code.js'.
1009[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 2 ms (81% on mutations). 1 + 0 changes committed from 1 parts.
1010[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
1011[DEBUG] Generating builtin types.
1012[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (83% on mutations). 22 + 0 changes committed from 1 parts.
1013[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
1014[DEBUG] Using a spread object for object deconstructing is not yet supported! ({a, ...rest} = x)
1015[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes13658517626198381735/excludes'.
1016[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 8 ms (4% on mutations). 0 + 0 changes committed from 1 parts.
1017[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1018[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (83% on mutations). 0 + 0 changes committed from 0 parts.
1019[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
1020[INFO ] Processed file 'code.js'
1021[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
1022[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (63% on mutations). 0 + 0 changes committed from 0 parts.
1023[INFO ] closed graph at /tmp/js2cpgTest4108939745278974413/cpg.bin.zip
1024[INFO ] Generation of CPG is complete.
1025[INFO ] Report:
1026+-------+----------+-----+--------+-----------+----------+
1027| # | File | LOC | Parsed | Got a CPG | Duration |
1028+-------+----------+-----+--------+-----------+----------+
1029| 1 | index.js | 0 | yes | yes | 1.098 ms |
1030+-------+----------+-----+--------+-----------+----------+
1031| Total | | 0 | 1/1 | 1/1 | |
1032+-------+----------+-----+--------+-----------+----------+
1033[INFO ] initialising from existing storage (/tmp/js2cpgTest4108939745278974413/cpg.bin.zip)
1034[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1035[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (87% on mutations). 0 + 0 changes committed from 0 parts.
1036[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 34 ms (26% on mutations). 54 + 1 changes committed from 1 parts.
1037[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1038[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (86% on mutations). 0 + 0 changes committed from 0 parts.
1039[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest11501593291637555384/cpg.bin.zip
1040[INFO ] writing to storage at `/tmp/js2cpgTest11501593291637555384/cpg.bin.zip`
1041[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1042[DEBUG] No source map file available for 'code.js'
1043[DEBUG] Parsing file 'code.js'.
1044[DEBUG] Generating CPG for file 'code.js'.
1045[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
1046[INFO ] Processed file 'code.js'
1047[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
1048[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 21 ms (11% on mutations). 149 + 2 changes committed from 1 parts.
1049[INFO ] closed graph at /tmp/js2cpgTest11501593291637555384/cpg.bin.zip
1050[INFO ] Generation of CPG is complete.
1051[INFO ] Report:
1052+-------+--------------+-----+--------+-----------+----------+
1053| # | File | LOC | Parsed | Got a CPG | Duration |
1054+-------+--------------+-----+--------+-----------+----------+
1055| 1 | a.js | 0 | yes | yes | 481.1 μs |
1056| 2 | folder/b.js | 0 | yes | yes | 2.107 ms |
1057| 3 | folder/c.js | 0 | yes | yes | 1.061 ms |
1058| 4 | foo.bar/d.js | 0 | yes | yes | 882.1 μs |
1059+-------+--------------+-----+--------+-----------+----------+
1060| Total | | 0 | 4/4 | 4/4 | |
1061+-------+--------------+-----+--------+-----------+----------+
1062[INFO ] initialising from existing storage (/tmp/js2cpgTest11501593291637555384/cpg.bin.zip)
1063[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1064[DEBUG] No source map file available for 'code.js'
1065[DEBUG] Parsing file 'code.js'.
1066[DEBUG] Generating CPG for file 'code.js'.
1067[INFO ] Processed file 'code.js'
1068[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
1069[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (46% on mutations). 71 + 0 changes committed from 1 parts.
1070[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1071[DEBUG] No source map file available for 'code.js'
1072[DEBUG] Parsing file 'code.js'.
1073[DEBUG] Generating CPG for file 'code.js'.
1074[INFO ] Processed file 'code.js'
1075[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (41% on mutations). 67 + 1 changes committed from 1 parts.
1076[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1077[DEBUG] Adding file 'a.vue' as config file.
1078[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1079[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1080[DEBUG] Configuration:
1081 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1082 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
1083 - Module mode: 'commonjs'
1084 - Optimize dependencies: true
1085 - Fixed transpilations dependencies: false
1086 - Typescript transpiling: false
1087 - Babel transpiling: false
1088 - Vue.js transpiling: true
1089 - Nuxt.js transpiling: true
1090 - Template transpiling: true
1091 - Ignored files regex: ''
1092 - Ignored folders:
1093 - Ignore minified files: true
1094 - Ignore test files: true
1095 - Ignore private dependencies: false
1096 - Additional private dependencies:
1097 - Include configuration files: true
1098 - Include HTML files: true
1099 - Output file: '/tmp/js2cpgTest10993297338136703731/cpg.bin.zip'
1100
1101[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes16376433652751987986'.
1102[DEBUG] No source map file available for 'code.js'
1103[DEBUG] Parsing file 'code.js'.
1104[DEBUG] Generating CPG for file 'code.js'.
1105[INFO ] Processed file 'code.js'
1106[DEBUG] Adding file 'b.vue' as config file.
1107[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 6 ms (10% on mutations). 2 + 0 changes committed from 2 parts.
1108[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (73% on mutations). 65 + 3 changes committed from 1 parts.
1109[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1110[DEBUG] Adding file 'b.config.js' as config file.
1111[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1112[DEBUG] Excluded 'index.js' (by user configuration).
1113[DEBUG] Excluded 'folder/b.js' (by user configuration).
1114[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1115[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1116[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1117[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1118[DEBUG] No source map file available for 'code.js'
1119[DEBUG] Parsing file 'code.js'.
1120[DEBUG] Adding file 'c.json' as config file.
1121[DEBUG] Adding file 'a.conf.js' as config file.
1122[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 6 ms (31% on mutations). 3 + 0 changes committed from 3 parts.
1123[DEBUG] Generating CPG for file 'code.js'.
1124[INFO ] Processed file 'code.js'
1125[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1126[INFO ] Skip adding file 'b.json' as config file (at least one line longer than 10000 characters)
1127[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (37% on mutations). 109 + 1 changes committed from 1 parts.
1128[INFO ] Skip adding file 'a.json' as config file (more than 10000 lines)
1129[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1130[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1131[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1132[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1133[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1134[DEBUG] No source map file available for 'foo.bar/d.js'
1135[DEBUG] Parsing file 'foo.bar/d.js'.
1136[DEBUG] Generating CPG for file 'foo.bar/d.js'.
1137[DEBUG] No source map file available for 'a.js'
1138[DEBUG] Parsing file 'a.js'.
1139[DEBUG] Generating CPG for file 'a.js'.
1140[DEBUG] No source map file available for 'folder/c.js'
1141[DEBUG] Parsing file 'folder/c.js'.
1142[DEBUG] Generating CPG for file 'folder/c.js'.
1143[INFO ] Processed file 'a.js'
1144[INFO ] Processed file 'folder/c.js'
1145[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 16 ms (3% on mutations). 0 + 0 changes committed from 2 parts.
1146[INFO ] Processed file 'foo.bar/d.js'
1147[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1148[DEBUG] No source map file available for 'code.js'
1149[DEBUG] Parsing file 'code.js'.
1150[DEBUG] Generating CPG for file 'code.js'.
1151[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 77 ms (92% on mutations). 51 + 0 changes committed from 3 parts.
1152[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
1153[DEBUG] Generating meta-data.
1154[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (87% on mutations). 1 + 0 changes committed from 1 parts.
1155[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
1156[DEBUG] Generating builtin types.
1157[INFO ] Processed file 'code.js'
1158[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 3 ms (94% on mutations). 22 + 0 changes committed from 1 parts.
1159[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
1160[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (34% on mutations). 67 + 1 changes committed from 1 parts.
1161[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes16376433652751987986/excludes'.
1162[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1163[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1164[DEBUG] No source map file available for 'code.js'
1165[DEBUG] Parsing file 'code.js'.
1166[DEBUG] Generating CPG for file 'code.js'.
1167[DEBUG] Adding file 'b.html' as config file.
1168[DEBUG] Adding file 'a.html' as config file.
1169[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 4 ms (12% on mutations). 2 + 0 changes committed from 2 parts.
1170[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 10 ms (4% on mutations). 0 + 0 changes committed from 1 parts.
1171[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1172[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 5 ms (99% on mutations). 0 + 0 changes committed from 0 parts.
1173[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
1174[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (84% on mutations). 0 + 0 changes committed from 0 parts.
1175[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
1176[DEBUG] Adding file 'a.key' as config file.
1177[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (36% on mutations). 1 + 0 changes committed from 1 parts.
1178[INFO ] Processed file 'code.js'
1179[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1180[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (85% on mutations). 0 + 0 changes committed from 0 parts.
1181[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 28 ms (18% on mutations). 71 + 0 changes committed from 1 parts.
1182[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1183[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (84% on mutations). 0 + 0 changes committed from 0 parts.
1184[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest10993297338136703731/cpg.bin.zip
1185[INFO ] writing to storage at `/tmp/js2cpgTest10993297338136703731/cpg.bin.zip`
1186[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1187[DEBUG] No source map file available for 'code.js'
1188[DEBUG] Parsing file 'code.js'.
1189[DEBUG] Generating CPG for file 'code.js'.
1190[INFO ] Processed file 'code.js'
1191[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (10% on mutations). 59 + 0 changes committed from 1 parts.
1192[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1193[DEBUG] No source map file available for 'code.js'
1194[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
1195[INFO ] closed graph at /tmp/js2cpgTest10993297338136703731/cpg.bin.zip
1196[INFO ] Generation of CPG is complete.
1197[INFO ] Report:
1198+-------+--------------+-----+--------+-----------+----------+
1199| # | File | LOC | Parsed | Got a CPG | Duration |
1200+-------+--------------+-----+--------+-----------+----------+
1201| 1 | a.js | 0 | yes | yes | 1.016 ms |
1202| 2 | folder/c.js | 0 | yes | yes | 413.1 μs |
1203| 3 | foo.bar/d.js | 0 | yes | yes | 4.686 ms |
1204+-------+--------------+-----+--------+-----------+----------+
1205| Total | | 0 | 3/3 | 3/3 | |
1206+-------+--------------+-----+--------+-----------+----------+
1207[INFO ] initialising from existing storage (/tmp/js2cpgTest10993297338136703731/cpg.bin.zip)
1208[DEBUG] Parsing file 'code.js'.
1209[DEBUG] Generating CPG for file 'code.js'.
1210[INFO ] Processed file 'code.js'
1211[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (25% on mutations). 29 + 2 changes committed from 1 parts.
1212[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
1213[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1214[DEBUG] No source map file available for 'code.js'
1215[DEBUG] Parsing file 'code.js'.
1216[DEBUG] Generating CPG for file 'code.js'.
1217[INFO ] Processed file 'code.js'
1218[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (45% on mutations). 30 + 1 changes committed from 1 parts.
1219[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1220[DEBUG] No source map file available for 'code.js'
1221[DEBUG] Parsing file 'code.js'.
1222[DEBUG] Generating CPG for file 'code.js'.
1223[INFO ] Processed file 'code.js'
1224[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (19% on mutations). 76 + 0 changes committed from 1 parts.
1225[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1226[DEBUG] No source map file available for 'code.js'
1227[DEBUG] Parsing file 'code.js'.
1228[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1229[DEBUG] Configuration:
1230 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1231 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
1232 - Module mode: 'commonjs'
1233 - Optimize dependencies: true
1234 - Fixed transpilations dependencies: false
1235 - Typescript transpiling: false
1236 - Babel transpiling: false
1237 - Vue.js transpiling: true
1238 - Nuxt.js transpiling: true
1239 - Template transpiling: true
1240 - Ignored files regex: ''
1241 - Ignored folders:
1242 - Ignore minified files: true
1243 - Ignore test files: true
1244 - Ignore private dependencies: false
1245 - Additional private dependencies:
1246 - Include configuration files: true
1247 - Include HTML files: true
1248 - Output file: '/tmp/js2cpgTest16324408262221378509/cpg.bin.zip'
1249
1250[DEBUG] Generating CPG for file 'code.js'.
1251[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes14656738359848487300'.
1252[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1253[DEBUG] No source map file available for 'test.js'
1254[DEBUG] Parsing file 'test.js'.
1255[DEBUG] Generating CPG for file 'test.js'.
1256[INFO ] Processed file 'code.js'
1257[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1258[DEBUG] Excluded 'index.js' (by user configuration).
1259[DEBUG] Excluded 'folder/b.js' (by user configuration).
1260[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1261[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1262[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1263[INFO ] Processed file 'test.js'
1264[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 13 ms (29% on mutations). 106 + 0 changes committed from 1 parts.
1265[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (22% on mutations). 66 + 1 changes committed from 1 parts.
1266[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1267[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1268[DEBUG] No source map file available for 'code.js'
1269[DEBUG] Parsing file 'code.js'.
1270[DEBUG] Generating CPG for file 'code.js'.
1271[INFO ] Processed file 'code.js'
1272[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (27% on mutations). 95 + 0 changes committed from 1 parts.
1273[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1274[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1275[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1276[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1277[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1278[DEBUG] No source map file available for 'code.js'
1279[DEBUG] Parsing file 'code.js'.
1280[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 13 ms (15% on mutations). 9 + 0 changes committed from 2 parts.
1281[DEBUG] Generating CPG for file 'code.js'.
1282[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1283[DEBUG] No source map file available for 'a.js'
1284[DEBUG] Parsing file 'a.js'.
1285[DEBUG] Generating CPG for file 'a.js'.
1286[INFO ] Processed file 'a.js'
1287[DEBUG] No source map file available for 'foo.bar/d.js'
1288[DEBUG] Parsing file 'foo.bar/d.js'.
1289[DEBUG] Generating CPG for file 'foo.bar/d.js'.
1290[INFO ] Processed file 'foo.bar/d.js'
1291[INFO ] Processed file 'code.js'
1292[DEBUG] No source map file available for 'folder/c.js'
1293[DEBUG] Parsing file 'folder/c.js'.
1294[DEBUG] Generating CPG for file 'folder/c.js'.
1295[INFO ] Processed file 'folder/c.js'
1296[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (21% on mutations). 125 + 0 changes committed from 1 parts.
1297[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (26% on mutations). 51 + 0 changes committed from 3 parts.
1298[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
1299[DEBUG] Generating meta-data.
1300[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (83% on mutations). 1 + 0 changes committed from 1 parts.
1301[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
1302[DEBUG] Generating builtin types.
1303[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (83% on mutations). 22 + 0 changes committed from 1 parts.
1304[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
1305[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes14656738359848487300/excludes'.
1306[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 4 ms (9% on mutations). 0 + 0 changes committed from 1 parts.
1307[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1308[DEBUG] No source map file available for 'code.js'
1309[DEBUG] Parsing file 'code.js'.
1310[DEBUG] Generating CPG for file 'code.js'.
1311[INFO ] Processed file 'code.js'
1312[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1313[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (87% on mutations). 0 + 0 changes committed from 0 parts.
1314[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1315[DEBUG] No source map file available for 'test.js'
1316[DEBUG] Parsing file 'test.js'.
1317[DEBUG] Generating CPG for file 'test.js'.
1318[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (85% on mutations). 22 + 0 changes committed from 1 parts.
1319[INFO ] Processed file 'test.js'
1320[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
1321[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (85% on mutations). 0 + 0 changes committed from 0 parts.
1322[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (55% on mutations). 28 + 0 changes committed from 1 parts.
1323[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1324[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (55% on mutations). 4 + 0 changes committed from 1 parts.
1325[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1326[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
1327[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1328[DEBUG] No source map file available for 'code.js'
1329[DEBUG] Parsing file 'code.js'.
1330[DEBUG] Generating CPG for file 'code.js'.
1331[INFO ] Processed file 'code.js'
1332[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1333[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1334[DEBUG] No source map file available for 'test.js'
1335[DEBUG] Parsing file 'test.js'.
1336[DEBUG] Generating CPG for file 'test.js'.
1337[INFO ] Processed file 'test.js'
1338[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (63% on mutations). 24 + 1 changes committed from 1 parts.
1339[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 3 ms (26% on mutations). 0 + 0 changes committed from 0 parts.
1340[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest16324408262221378509/cpg.bin.zip
1341[INFO ] writing to storage at `/tmp/js2cpgTest16324408262221378509/cpg.bin.zip`
1342[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1343[DEBUG] No source map file available for 'code.js'
1344[DEBUG] Parsing file 'code.js'.
1345[DEBUG] Generating CPG for file 'code.js'.
1346[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (11% on mutations). 74 + 0 changes committed from 1 parts.
1347[INFO ] Processed file 'code.js'
1348[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1349[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (31% on mutations). 51 + 2 changes committed from 1 parts.
1350[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 4 ms (15% on mutations). 20 + 0 changes committed from 1 parts.
1351[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
1352[INFO ] closed graph at /tmp/js2cpgTest16324408262221378509/cpg.bin.zip
1353[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1354[DEBUG] No source map file available for 'code.js'
1355[DEBUG] Parsing file 'code.js'.
1356[DEBUG] Generating CPG for file 'code.js'.
1357[INFO ] Processed file 'code.js'
1358[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (15% on mutations). 28 + 0 changes committed from 1 parts.
1359[INFO ] Generation of CPG is complete.
1360[INFO ] Report:
1361+-------+--------------+-----+--------+-----------+----------+
1362| # | File | LOC | Parsed | Got a CPG | Duration |
1363+-------+--------------+-----+--------+-----------+----------+
1364| 1 | a.js | 0 | yes | yes | 2.276 ms |
1365| 2 | folder/c.js | 0 | yes | yes | 525.0 μs |
1366| 3 | foo.bar/d.js | 0 | yes | yes | 537.0 μs |
1367+-------+--------------+-----+--------+-----------+----------+
1368| Total | | 0 | 3/3 | 3/3 | |
1369+-------+--------------+-----+--------+-----------+----------+
1370[INFO ] initialising from existing storage (/tmp/js2cpgTest16324408262221378509/cpg.bin.zip)
1371[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1372[DEBUG] No source map file available for 'code.js'
1373[DEBUG] Parsing file 'code.js'.
1374[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
1375[DEBUG] Generating CPG for file 'code.js'.
1376[INFO ] Processed file 'code.js'
1377[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1378[DEBUG] No source map file available for 'test.js'
1379[DEBUG] Parsing file 'test.js'.
1380[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 24 ms (21% on mutations). 23 + 0 changes committed from 1 parts.
1381[DEBUG] Generating CPG for file 'test.js'.
1382[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1383[DEBUG] No source map file available for 'code.js'
1384[DEBUG] Parsing file 'code.js'.
1385[DEBUG] Generating CPG for file 'code.js'.
1386[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1387[INFO ] Processed file 'code.js'
1388[DEBUG] Configuration:
1389 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1390 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
1391 - Module mode: 'commonjs'
1392 - Optimize dependencies: true
1393 - Fixed transpilations dependencies: false
1394 - Typescript transpiling: false
1395 - Babel transpiling: false
1396 - Vue.js transpiling: true
1397 - Nuxt.js transpiling: true
1398 - Template transpiling: true
1399 - Ignored files regex: ''
1400 - Ignored folders:
1401 '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/folder'
1402 - Ignore minified files: true
1403 - Ignore test files: true
1404 - Ignore private dependencies: false
1405 - Additional private dependencies:
1406 - Include configuration files: true
1407 - Include HTML files: true
1408 - Output file: '/tmp/js2cpgTest16327624438156847907/cpg.bin.zip'
1409
1410[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes13340901506313196310'.
1411[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (45% on mutations). 23 + 0 changes committed from 1 parts.
1412[INFO ] Processed file 'test.js'
1413[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (14% on mutations). 42 + 2 changes committed from 1 parts.
1414[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1415[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1416[DEBUG] No source map file available for 'code.js'
1417[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (43% on mutations). 8 + 0 changes committed from 1 parts.
1418[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1419[DEBUG] Excluded 'folder' (folder ignored by user configuration).
1420[DEBUG] Parsing file 'code.js'.
1421[DEBUG] Generating CPG for file 'code.js'.
1422[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1423[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1424[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1425[INFO ] Processed file 'code.js'
1426[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1427[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (24% on mutations). 64 + 1 changes committed from 1 parts.
1428[DEBUG] No source map file available for 'test.js'
1429[DEBUG] Parsing file 'test.js'.
1430[DEBUG] Generating CPG for file 'test.js'.
1431[INFO ] Processed file 'test.js'
1432[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1433[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (82% on mutations). 36 + 1 changes committed from 1 parts.
1434[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1435[DEBUG] No source map file available for 'code.js'
1436[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (39% on mutations). 7 + 0 changes committed from 1 parts.
1437[DEBUG] Parsing file 'code.js'.
1438[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1439[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1440[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1441[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1442[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1443[DEBUG] No source map file available for 'a.js'
1444[DEBUG] Parsing file 'a.js'.
1445[DEBUG] No source map file available for 'index.js'
1446[DEBUG] Parsing file 'index.js'.
1447[DEBUG] Generating CPG for file 'index.js'.
1448[INFO ] Processed file 'index.js'
1449[DEBUG] No source map file available for 'foo.bar/d.js'
1450[DEBUG] Parsing file 'foo.bar/d.js'.
1451[DEBUG] Generating CPG for file 'foo.bar/d.js'.
1452[INFO ] Processed file 'foo.bar/d.js'
1453[DEBUG] Generating CPG for file 'code.js'.
1454[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1455[DEBUG] Generating CPG for file 'a.js'.
1456[INFO ] Processed file 'a.js'
1457[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (20% on mutations). 51 + 0 changes committed from 3 parts.
1458[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
1459[DEBUG] Generating meta-data.
1460[DEBUG] No source map file available for 'test.js'
1461[DEBUG] Parsing file 'test.js'.
1462[DEBUG] Generating CPG for file 'test.js'.
1463[INFO ] Processed file 'test.js'
1464[INFO ] Processed file 'code.js'
1465[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (51% on mutations). 46 + 1 changes committed from 1 parts.
1466[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1467[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 4 ms (97% on mutations). 1 + 0 changes committed from 1 parts.
1468[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
1469[DEBUG] Generating builtin types.
1470[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 20 ms (14% on mutations). 283 + 3 changes committed from 1 parts.
1471[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 2 ms (94% on mutations). 22 + 0 changes committed from 1 parts.
1472[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
1473[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 4 ms (88% on mutations). 10 + 0 changes committed from 1 parts.
1474[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1475[DEBUG] No source map file available for 'code.js'
1476[DEBUG] Parsing file 'code.js'.
1477[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes13340901506313196310/excludes'.
1478[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1479[DEBUG] No source map file available for 'test.js'
1480[DEBUG] Parsing file 'test.js'.
1481[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 6 ms (6% on mutations). 0 + 0 changes committed from 1 parts.
1482[DEBUG] Generating CPG for file 'test.js'.
1483[DEBUG] Generating CPG for file 'code.js'.
1484[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1485[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
1486[INFO ] Processed file 'code.js'
1487[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
1488[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (21% on mutations). 44 + 1 changes committed from 1 parts.
1489[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (88% on mutations). 0 + 0 changes committed from 0 parts.
1490[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1491[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1492[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
1493[DEBUG] No source map file available for 'code.js'
1494[DEBUG] Parsing file 'code.js'.
1495[INFO ] Processed file 'test.js'
1496[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1497[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (86% on mutations). 0 + 0 changes committed from 0 parts.
1498[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest16327624438156847907/cpg.bin.zip
1499[INFO ] writing to storage at `/tmp/js2cpgTest16327624438156847907/cpg.bin.zip`
1500[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 17 ms (18% on mutations). 62 + 3 changes committed from 1 parts.
1501[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1502[DEBUG] Generating CPG for file 'code.js'.
1503[INFO ] Processed file 'code.js'
1504[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 15 ms (7% on mutations). 53 + 0 changes committed from 1 parts.
1505[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
1506[INFO ] closed graph at /tmp/js2cpgTest16327624438156847907/cpg.bin.zip
1507[INFO ] Generation of CPG is complete.
1508[INFO ] Report:
1509+-------+--------------+-----+--------+-----------+----------+
1510| # | File | LOC | Parsed | Got a CPG | Duration |
1511+-------+--------------+-----+--------+-----------+----------+
1512| 1 | a.js | 0 | yes | yes | 381.9 μs |
1513| 2 | foo.bar/d.js | 0 | yes | yes | 395.1 μs |
1514| 3 | index.js | 0 | yes | yes | 517.8 μs |
1515+-------+--------------+-----+--------+-----------+----------+
1516| Total | | 0 | 3/3 | 3/3 | |
1517+-------+--------------+-----+--------+-----------+----------+
1518[INFO ] initialising from existing storage (/tmp/js2cpgTest16327624438156847907/cpg.bin.zip)
1519[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 22 ms (10% on mutations). 12 + 0 changes committed from 1 parts.
1520[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
1521[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1522[DEBUG] No source map file available for 'test.js'
1523[DEBUG] Parsing file 'test.js'.
1524[DEBUG] Generating CPG for file 'test.js'.
1525[INFO ] Processed file 'test.js'
1526[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (19% on mutations). 82 + 4 changes committed from 1 parts.
1527[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1528[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 9 ms (5% on mutations). 18 + 0 changes committed from 1 parts.
1529[info] PrivateModulesTest:
1530[info] Handling for private modules
1531[info] - should copy and generate js files correctly for a simple project
1532[info] - should copy and generate js files correctly for a simple project with additional private modules
1533[info] - should copy and generate js files correctly for a simple project with filter
1534[info] - should copy and generate js files correctly for a simple project with no private module being references
1535[info] MixedAstCreationPassTest:
1536[info] AST method full names
1537[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1538[DEBUG] Configuration:
1539 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1540 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
1541 - Module mode: 'commonjs'
1542 - Optimize dependencies: true
1543 - Fixed transpilations dependencies: false
1544 - Typescript transpiling: false
1545 - Babel transpiling: false
1546 - Vue.js transpiling: true
1547 - Nuxt.js transpiling: true
1548 - Template transpiling: true
1549 - Ignored files regex: ''
1550 - Ignored folders:
1551 '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/folder'
1552 - Ignore minified files: true
1553 - Ignore test files: true
1554 - Ignore private dependencies: false
1555 - Additional private dependencies:
1556 - Include configuration files: true
1557 - Include HTML files: true
1558 - Output file: '/tmp/js2cpgTest12493427044642958355/cpg.bin.zip'
1559
1560[info] - should anonymous arrow function full name 1
1561[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes15258250720819001872'.
1562[info] - should anonymous arrow function full name 2
1563[info] - should anonymous function expression full name 1
1564[info] - should anonymous function expression full name 2
1565[info] - should anonymous constructor full name 1
1566[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1567[DEBUG] Excluded 'folder' (folder ignored by user configuration).
1568[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1569[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1570[info] - should anonymous constructor of anonymous class full name
1571[info] AST variable scoping and linking
1572[info] - should have correct references for single local var
1573[info] - should have correct references for single local let
1574[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1575[info] - should have correct references for undeclared local
1576[info] - should have correct references for undeclared local with 2 refs
1577[info] - should have correct references for undeclared local in block
1578[info] - should have correct references for single var in block
1579[info] - should have correct references for single post declared var
1580[info] - should have correct references for single post declared var in block
1581[info] - should have correct references for single nested access to let
1582[info] - should have correct references for shadowing let
1583[info] - should have correct closure binding (destructing parameter)
1584[info] - should have correct closure binding (single variable)
1585[info] - should have correct closure binding (two variables)
1586[info] - should have correct closure binding for capturing over 2 levels
1587[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1588[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1589[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1590[info] - should have correct closure binding for capturing over 2 levels with intermediate blocks
1591[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1592[info] - should have correct closure binding for capturing over 2 levels with no intermediate use
1593[info] - should have correct closure binding for capturing the same variable into 2 different anonymous methods
1594[info] - should have correct closure bindings
1595[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1596[info] - should have correct method full names for scoped anonymous functions
1597[info] AST generation for mixed fragments
1598[info] - should simple js fragment with call
1599[DEBUG] No source map file available for 'a.js'
1600[info] - should simple js fragment with array access
1601[DEBUG] Parsing file 'a.js'.
1602[DEBUG] No source map file available for 'foo.bar/d.js'
1603[DEBUG] Parsing file 'foo.bar/d.js'.
1604[info] AST generation for destructing assignment
1605[DEBUG] Generating CPG for file 'a.js'.
1606[DEBUG] Generating CPG for file 'foo.bar/d.js'.
1607[info] - should have correct structure for object destruction assignment with declaration
1608[DEBUG] No source map file available for 'index.js'
1609[DEBUG] Parsing file 'index.js'.
1610[info] - should have correct structure for object destruction assignment with declaration and ternary init
1611[DEBUG] Generating CPG for file 'index.js'.
1612[info] - should have correct structure for object destruction assignment without declaration
1613[INFO ] Processed file 'a.js'
1614[info] - should have correct structure for object destruction assignment with defaults
1615[INFO ] Processed file 'index.js'
1616[info] - should have correct structure for object destruction assignment with reassignment
1617[INFO ] Processed file 'foo.bar/d.js'
1618[info] - should have correct structure for object destruction assignment with reassignment and defaults
1619[info] - should have correct ref edge (destructing parameter)
1620[info] - should have correct structure for object deconstruction in function parameter
1621[info] - should have correct structure for object destruction assignment in call argument
1622[info] - should have correct structure for object destruction assignment with rest
1623[info] - should have correct structure for object destruction assignment with computed property name !!! IGNORED !!!
1624[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (29% on mutations). 51 + 0 changes committed from 3 parts.
1625[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
1626[info] - should have correct structure for nested object destruction assignment with defaults as parameter
1627[info] - should have correct structure for object destruction assignment as parameter
1628[info] - should have correct structure for array destruction assignment with declaration
1629[info] - should have correct structure for array destruction assignment without declaration
1630[info] - should have correct structure for array destruction assignment with defaults
1631[info] - should have correct structure for array destruction assignment with ignores
1632[info] - should have correct structure for array destruction assignment with rest !!! IGNORED !!!
1633[info] - should have correct structure for array destruction as parameter
1634[info] - should have correct structure for method spread argument !!! IGNORED !!!
1635[DEBUG] Generating meta-data.
1636[info] AST generation for await/async
1637[info] - should have correct structure for await/async
1638[info] AST generation for instanceof/delete
1639[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (83% on mutations). 1 + 0 changes committed from 1 parts.
1640[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
1641[DEBUG] Generating builtin types.
1642[info] - should have correct structure for instanceof
1643[info] - should have correct structure for delete
1644[info] AST generation for default parameters
1645[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 2 ms (73% on mutations). 22 + 0 changes committed from 1 parts.
1646[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
1647[info] - should have correct structure for method parameter with default
1648[info] - should have correct structure for multiple method parameters with default
1649[info] - should have correct structure for method mixed parameters with default
1650[info] - should have correct structure for multiple method mixed parameters with default
1651[info] AST generation for global builtins
1652[info] - should have correct structure for JSON.parse
1653[info] - should have correct structure for JSON.stringify
1654[info] - should not create static builtin call for calls not exactly matching dictionary
1655[info] AST generation for dependencies
1656[info] - should have no dependencies if none are declared at all
1657[info] - should have correct dependencies (imports)
1658[info] - should have correct import nodes
1659[info] - should have correct dependencies (require)
1660[info] - should have correct dependencies (strange requires)
1661[info] - should have correct dependencies (mixed)
1662[info] - should have correct dependencies (different variations of import)
1663[info] DependenciesPassTest:
1664[info] DependenciesPass
1665[info] - should ignore empty package.json
1666[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes15258250720819001872/excludes'.
1667[info] - should ignore package.json without any useful content
1668[info] - should ignore package.json without dependencies
1669[info] - should generate dependency nodes correctly (no dependencies at all)
1670[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 4 ms (16% on mutations). 0 + 0 changes committed from 1 parts.
1671[info] - should generate dependency nodes correctly (empty dependency)
1672[info] - should generate dependency nodes correctly (simple lock dependencies)
1673[info] - should generate dependency nodes correctly (simple fresh dependencies)
1674[info] - should generate dependency nodes correctly (simple dependency)
1675[info] - should generate dependency nodes correctly (different types of dependencies)
1676[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1677[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1678[DEBUG] No source map file available for 'test.js'
1679[DEBUG] Parsing file 'test.js'.
1680[DEBUG] Generating CPG for file 'test.js'.
1681[INFO ] Processed file 'test.js'
1682[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1683[DEBUG] No source map file available for 'code.js'
1684[DEBUG] Parsing file 'code.js'.
1685[DEBUG] Generating CPG for file 'code.js'.
1686[INFO ] Processed file 'code.js'
1687[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (53% on mutations). 60 + 0 changes committed from 1 parts.
1688[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1689[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 3 ms (99% on mutations). 0 + 0 changes committed from 0 parts.
1690[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
1691[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (32% on mutations). 15 + 0 changes committed from 1 parts.
1692[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (94% on mutations). 0 + 0 changes committed from 0 parts.
1693[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1694[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (76% on mutations). 53 + 0 changes committed from 1 parts.
1695[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1696[DEBUG] No source map file available for 'code.js'
1697[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (85% on mutations). 0 + 0 changes committed from 0 parts.
1698[DEBUG] Parsing file 'code.js'.
1699[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1700[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1701[DEBUG] Generating CPG for file 'code.js'.
1702[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (98% on mutations). 0 + 0 changes committed from 0 parts.
1703[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest12493427044642958355/cpg.bin.zip
1704[DEBUG] No source map file available for 'test.js'
1705[DEBUG] Parsing file 'test.js'.
1706[DEBUG] Generating CPG for file 'test.js'.
1707[INFO ] writing to storage at `/tmp/js2cpgTest12493427044642958355/cpg.bin.zip`
1708[INFO ] Processed file 'test.js'
1709[INFO ] Processed file 'code.js'
1710[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (28% on mutations). 53 + 0 changes committed from 1 parts.
1711[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (44% on mutations). 41 + 2 changes committed from 1 parts.
1712[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1713[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1714[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (43% on mutations). 8 + 0 changes committed from 1 parts.
1715[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
1716[INFO ] closed graph at /tmp/js2cpgTest12493427044642958355/cpg.bin.zip
1717[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1718[DEBUG] No source map file available for 'test.js'
1719[DEBUG] Parsing file 'test.js'.
1720[INFO ] Generation of CPG is complete.
1721[DEBUG] Generating CPG for file 'test.js'.
1722[DEBUG] No source map file available for 'code.js'
1723[DEBUG] Parsing file 'code.js'.
1724[DEBUG] Generating CPG for file 'code.js'.
1725[INFO ] Report:
1726+-------+--------------+-----+--------+-----------+----------+
1727| # | File | LOC | Parsed | Got a CPG | Duration |
1728+-------+--------------+-----+--------+-----------+----------+
1729| 1 | a.js | 0 | yes | yes | 528.2 μs |
1730| 2 | foo.bar/d.js | 0 | yes | yes | 1.523 ms |
1731| 3 | index.js | 0 | yes | yes | 325.6 μs |
1732+-------+--------------+-----+--------+-----------+----------+
1733| Total | | 0 | 3/3 | 3/3 | |
1734+-------+--------------+-----+--------+-----------+----------+
1735[INFO ] Processed file 'test.js'
1736[INFO ] initialising from existing storage (/tmp/js2cpgTest12493427044642958355/cpg.bin.zip)
1737[INFO ] Processed file 'code.js'
1738[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (47% on mutations). 28 + 0 changes committed from 1 parts.
1739[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 17 ms (13% on mutations). 71 + 0 changes committed from 1 parts.
1740[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1741[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
1742[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 6 ms (63% on mutations). 4 + 0 changes committed from 1 parts.
1743[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1744[DEBUG] No source map file available for 'test.js'
1745[DEBUG] Parsing file 'test.js'.
1746[DEBUG] Generating CPG for file 'test.js'.
1747[INFO ] Processed file 'test.js'
1748[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (29% on mutations). 35 + 2 changes committed from 1 parts.
1749[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1750[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (49% on mutations). 6 + 0 changes committed from 1 parts.
1751[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1752[DEBUG] No source map file available for 'test.js'
1753[DEBUG] Parsing file 'test.js'.
1754[DEBUG] Generating CPG for file 'test.js'.
1755[INFO ] Processed file 'test.js'
1756[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (53% on mutations). 52 + 0 changes committed from 1 parts.
1757[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1758[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 3 ms (12% on mutations). 7 + 0 changes committed from 2 parts.
1759[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1760[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1761[DEBUG] No source map file available for 'test.js'
1762[DEBUG] Parsing file 'test.js'.
1763[DEBUG] Configuration:
1764 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1765 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
1766 - Module mode: 'commonjs'
1767 - Optimize dependencies: true
1768 - Fixed transpilations dependencies: false
1769 - Typescript transpiling: false
1770 - Babel transpiling: false
1771 - Vue.js transpiling: true
1772 - Nuxt.js transpiling: true
1773 - Template transpiling: true
1774 - Ignored files regex: '.*index\..*'
1775 - Ignored folders:
1776 - Ignore minified files: true
1777 - Ignore test files: true
1778 - Ignore private dependencies: false
1779 - Additional private dependencies:
1780 - Include configuration files: true
1781 - Include HTML files: true
1782 - Output file: '/tmp/js2cpgTest838995884190209379/cpg.bin.zip'
1783
1784[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes10941522216909901428'.
1785[DEBUG] Generating CPG for file 'test.js'.
1786[INFO ] Processed file 'test.js'
1787[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (41% on mutations). 60 + 0 changes committed from 1 parts.
1788[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1789[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (34% on mutations). 9 + 0 changes committed from 2 parts.
1790[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1791[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1792[DEBUG] Excluded 'index.js' (by user configuration).
1793[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1794[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1795[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1796[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1797[DEBUG] No source map file available for 'test.js'
1798[DEBUG] Parsing file 'test.js'.
1799[DEBUG] Generating CPG for file 'test.js'.
1800[DEBUG] No source map file available for 'code.js'
1801[DEBUG] Parsing file 'code.js'.
1802[INFO ] Processed file 'test.js'
1803[DEBUG] Generating CPG for file 'code.js'.
1804[INFO ] Processed file 'code.js'
1805[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (44% on mutations). 50 + 0 changes committed from 1 parts.
1806[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1807[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (67% on mutations). 6 + 0 changes committed from 2 parts.
1808[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (51% on mutations). 71 + 0 changes committed from 1 parts.
1809[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1810[DEBUG] No source map file available for 'test.js'
1811[DEBUG] Parsing file 'test.js'.
1812[DEBUG] Generating CPG for file 'test.js'.
1813[INFO ] Processed file 'test.js'
1814[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1815[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (37% on mutations). 46 + 0 changes committed from 1 parts.
1816[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1817[DEBUG] No source map file available for 'code.js'
1818[DEBUG] Parsing file 'code.js'.
1819[DEBUG] Generating CPG for file 'code.js'.
1820[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (31% on mutations). 6 + 0 changes committed from 2 parts.
1821[INFO ] Processed file 'code.js'
1822[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1823[DEBUG] No source map file available for 'test.js'
1824[DEBUG] Parsing file 'test.js'.
1825[DEBUG] Generating CPG for file 'test.js'.
1826[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (49% on mutations). 71 + 0 changes committed from 1 parts.
1827[INFO ] Processed file 'test.js'
1828[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
1829[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
1830[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
1831[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
1832[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1833[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1834[DEBUG] No source map file available for 'folder/b.js'
1835[DEBUG] Parsing file 'folder/b.js'.
1836[DEBUG] No source map file available for 'code.js'
1837[DEBUG] Parsing file 'code.js'.
1838[DEBUG] Generating CPG for file 'folder/b.js'.
1839[DEBUG] Generating CPG for file 'code.js'.
1840[INFO ] Processed file 'folder/b.js'
1841[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (49% on mutations). 44 + 3 changes committed from 1 parts.
1842[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1843[INFO ] Processed file 'code.js'
1844[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (51% on mutations). 8 + 0 changes committed from 1 parts.
1845[DEBUG] No source map file available for 'a.js'
1846[DEBUG] Parsing file 'a.js'.
1847[DEBUG] Generating CPG for file 'a.js'.
1848[INFO ] Processed file 'a.js'
1849[DEBUG] No source map file available for 'foo.bar/d.js'
1850[DEBUG] Parsing file 'foo.bar/d.js'.
1851[DEBUG] Generating CPG for file 'foo.bar/d.js'.
1852[INFO ] Processed file 'foo.bar/d.js'
1853[DEBUG] No source map file available for 'folder/c.js'
1854[DEBUG] Parsing file 'folder/c.js'.
1855[DEBUG] Generating CPG for file 'folder/c.js'.
1856[INFO ] Processed file 'folder/c.js'
1857[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (15% on mutations). 68 + 0 changes committed from 4 parts.
1858[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
1859[DEBUG] Generating meta-data.
1860[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1861[DEBUG] No source map file available for 'test.js'
1862[DEBUG] Parsing file 'test.js'.
1863[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (87% on mutations). 1 + 0 changes committed from 1 parts.
1864[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (75% on mutations). 71 + 0 changes committed from 1 parts.
1865[DEBUG] Generating CPG for file 'test.js'.
1866[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
1867[DEBUG] Generating builtin types.
1868[INFO ] Processed file 'test.js'
1869[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (23% on mutations). 24 + 1 changes committed from 1 parts.
1870[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 3 ms (95% on mutations). 22 + 0 changes committed from 1 parts.
1871[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
1872[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1873[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (57% on mutations). 3 + 0 changes committed from 1 parts.
1874[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1875[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes10941522216909901428/excludes'.
1876[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1877[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 5 ms (9% on mutations). 0 + 0 changes committed from 1 parts.
1878[DEBUG] No source map file available for 'code.js'
1879[DEBUG] Parsing file 'code.js'.
1880[DEBUG] No source map file available for 'test.js'
1881[DEBUG] Generating CPG for file 'code.js'.
1882[DEBUG] Parsing file 'test.js'.
1883[DEBUG] Generating CPG for file 'test.js'.
1884[INFO ] Processed file 'code.js'
1885[INFO ] Processed file 'test.js'
1886[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 3 ms (41% on mutations). 34 + 3 changes committed from 1 parts.
1887[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1888[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (39% on mutations). 53 + 0 changes committed from 1 parts.
1889[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1890[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
1891[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 3 ms (15% on mutations). 6 + 0 changes committed from 1 parts.
1892[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1893[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1894[DEBUG] No source map file available for 'test.js'
1895[DEBUG] Parsing file 'test.js'.
1896[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
1897[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (89% on mutations). 0 + 0 changes committed from 0 parts.
1898[DEBUG] No source map file available for 'code.js'
1899[DEBUG] Parsing file 'code.js'.
1900[DEBUG] Generating CPG for file 'code.js'.
1901[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1902[DEBUG] Generating CPG for file 'test.js'.
1903[INFO ] Processed file 'test.js'
1904[INFO ] Processed file 'code.js'
1905[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (15% on mutations). 42 + 2 changes committed from 1 parts.
1906[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1907[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 6 ms (100% on mutations). 0 + 0 changes committed from 0 parts.
1908[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (21% on mutations). 73 + 1 changes committed from 1 parts.
1909[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
1910[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
1911[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest838995884190209379/cpg.bin.zip
1912[INFO ] writing to storage at `/tmp/js2cpgTest838995884190209379/cpg.bin.zip`
1913[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 6 ms (8% on mutations). 8 + 0 changes committed from 1 parts.
1914[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1915[DEBUG] No source map file available for 'test.js'
1916[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1917[DEBUG] Parsing file 'test.js'.
1918[DEBUG] No source map file available for 'code.js'
1919[DEBUG] Parsing file 'code.js'.
1920[DEBUG] Generating CPG for file 'code.js'.
1921[DEBUG] Generating CPG for file 'test.js'.
1922[INFO ] Processed file 'code.js'
1923[INFO ] Processed file 'test.js'
1924[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 3 ms (35% on mutations). 38 + 2 changes committed from 1 parts.
1925[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1926[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (31% on mutations). 7 + 0 changes committed from 1 parts.
1927[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1928[DEBUG] No source map file available for 'test.js'
1929[DEBUG] Parsing file 'test.js'.
1930[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (88% on mutations). 41 + 1 changes committed from 1 parts.
1931[DEBUG] Generating CPG for file 'test.js'.
1932[INFO ] Processed file 'test.js'
1933[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
1934[INFO ] closed graph at /tmp/js2cpgTest838995884190209379/cpg.bin.zip
1935[INFO ] Generation of CPG is complete.
1936[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1937[DEBUG] No source map file available for 'code.js'
1938[DEBUG] Parsing file 'code.js'.
1939[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (38% on mutations). 38 + 2 changes committed from 1 parts.
1940[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1941[DEBUG] Generating CPG for file 'code.js'.
1942[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (32% on mutations). 7 + 0 changes committed from 1 parts.
1943[INFO ] Processed file 'code.js'
1944[INFO ] Report:
1945+-------+--------------+-----+--------+-----------+----------+
1946| # | File | LOC | Parsed | Got a CPG | Duration |
1947+-------+--------------+-----+--------+-----------+----------+
1948| 1 | a.js | 0 | yes | yes | 339.3 μs |
1949| 2 | folder/b.js | 0 | yes | yes | 437.2 μs |
1950| 3 | folder/c.js | 0 | yes | yes | 369.0 μs |
1951| 4 | foo.bar/d.js | 0 | yes | yes | 255.5 μs |
1952+-------+--------------+-----+--------+-----------+----------+
1953| Total | | 0 | 4/4 | 4/4 | |
1954+-------+--------------+-----+--------+-----------+----------+
1955[INFO ] initialising from existing storage (/tmp/js2cpgTest838995884190209379/cpg.bin.zip)
1956[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1957[DEBUG] No source map file available for 'test.js'
1958[DEBUG] Parsing file 'test.js'.
1959[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (59% on mutations). 51 + 3 changes committed from 1 parts.
1960[DEBUG] Generating CPG for file 'test.js'.
1961[INFO ] Processed file 'test.js'
1962[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (46% on mutations). 39 + 3 changes committed from 1 parts.
1963[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1964[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
1965[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1966[DEBUG] No source map file available for 'code.js'
1967[DEBUG] Parsing file 'code.js'.
1968[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (78% on mutations). 6 + 0 changes committed from 1 parts.
1969[DEBUG] Generating CPG for file 'code.js'.
1970[INFO ] Processed file 'code.js'
1971[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (43% on mutations). 53 + 1 changes committed from 1 parts.
1972[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1973[DEBUG] No source map file available for 'test.js'
1974[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1975[DEBUG] Parsing file 'test.js'.
1976[DEBUG] No source map file available for 'code.js'
1977[DEBUG] Parsing file 'code.js'.
1978[DEBUG] Generating CPG for file 'test.js'.
1979[DEBUG] Generating CPG for file 'code.js'.
1980[INFO ] Processed file 'test.js'
1981[INFO ] Processed file 'code.js'
1982[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (71% on mutations). 61 + 1 changes committed from 1 parts.
1983[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (80% on mutations). 49 + 5 changes committed from 1 parts.
1984[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
1985[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (24% on mutations). 9 + 0 changes committed from 1 parts.
1986[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
1987[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1988[DEBUG] Configuration:
1989 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
1990 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
1991 - Module mode: 'commonjs'
1992 - Optimize dependencies: true
1993 - Fixed transpilations dependencies: false
1994 - Typescript transpiling: false
1995 - Babel transpiling: false
1996 - Vue.js transpiling: true
1997 - Nuxt.js transpiling: true
1998 - Template transpiling: true
1999 - Ignored files regex: '.*(index|b)\..*'
2000 - Ignored folders:
2001 - Ignore minified files: true
2002 - Ignore test files: true
2003 - Ignore private dependencies: false
2004 - Additional private dependencies:
2005 - Include configuration files: true
2006 - Include HTML files: true
2007 - Output file: '/tmp/js2cpgTest4366892531325541745/cpg.bin.zip'
2008
2009[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes2139561001068814138'.
2010[DEBUG] No source map file available for 'test.js'
2011[DEBUG] Parsing file 'test.js'.
2012[DEBUG] Generating CPG for file 'test.js'.
2013[INFO ] Processed file 'test.js'
2014[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 15 ms (18% on mutations). 55 + 6 changes committed from 1 parts.
2015[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2016[DEBUG] Excluded 'tests/b.mock.js' (by user configuration).
2017[DEBUG] Excluded 'index.js' (by user configuration).
2018[DEBUG] Excluded 'folder/b.js' (by user configuration).
2019[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
2020[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
2021[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
2022[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 3 ms (48% on mutations). 11 + 0 changes committed from 1 parts.
2023[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2024[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2025[DEBUG] No source map file available for 'test.js'
2026[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
2027[DEBUG] Parsing file 'test.js'.
2028[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
2029[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
2030[DEBUG] Generating CPG for file 'test.js'.
2031[DEBUG] No source map file available for 'code.js'
2032[DEBUG] Parsing file 'code.js'.
2033[DEBUG] Generating CPG for file 'code.js'.
2034[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2035[DEBUG] No source map file available for 'foo.bar/d.js'
2036[DEBUG] No source map file available for 'a.js'
2037[DEBUG] Parsing file 'foo.bar/d.js'.
2038[DEBUG] Parsing file 'a.js'.
2039[DEBUG] Generating CPG for file 'foo.bar/d.js'.
2040[DEBUG] Generating CPG for file 'a.js'.
2041[DEBUG] No source map file available for 'folder/c.js'
2042[DEBUG] Parsing file 'folder/c.js'.
2043[DEBUG] Generating CPG for file 'folder/c.js'.
2044[INFO ] Processed file 'test.js'
2045[INFO ] Processed file 'code.js'
2046[INFO ] Processed file 'folder/c.js'
2047[INFO ] Processed file 'foo.bar/d.js'
2048[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (19% on mutations). 52 + 4 changes committed from 1 parts.
2049[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2050[INFO ] Processed file 'a.js'
2051[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (37% on mutations). 28 + 0 changes committed from 1 parts.
2052[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 5 ms (30% on mutations). 10 + 0 changes committed from 1 parts.
2053[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (21% on mutations). 51 + 0 changes committed from 3 parts.
2054[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
2055[DEBUG] Generating meta-data.
2056[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 2 ms (77% on mutations). 1 + 0 changes committed from 1 parts.
2057[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
2058[DEBUG] Generating builtin types.
2059[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 2 ms (94% on mutations). 22 + 0 changes committed from 1 parts.
2060[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
2061[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2062[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes2139561001068814138/excludes'.
2063[DEBUG] No source map file available for 'test.js'
2064[DEBUG] Parsing file 'test.js'.
2065[DEBUG] Generating CPG for file 'test.js'.
2066[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2067[DEBUG] No source map file available for 'code.js'
2068[DEBUG] Parsing file 'code.js'.
2069[DEBUG] Generating CPG for file 'code.js'.
2070[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 6 ms (6% on mutations). 0 + 0 changes committed from 1 parts.
2071[INFO ] Processed file 'code.js'
2072[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2073[INFO ] Processed file 'test.js'
2074[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (94% on mutations). 0 + 0 changes committed from 0 parts.
2075[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
2076[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (32% on mutations). 42 + 2 changes committed from 1 parts.
2077[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2078[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (86% on mutations). 0 + 0 changes committed from 0 parts.
2079[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (64% on mutations). 66 + 1 changes committed from 1 parts.
2080[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2081[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
2082[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2083[DEBUG] No source map file available for 'code.js'
2084[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 8 ms (5% on mutations). 8 + 0 changes committed from 1 parts.
2085[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2086[DEBUG] Parsing file 'code.js'.
2087[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
2088[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest4366892531325541745/cpg.bin.zip
2089[INFO ] writing to storage at `/tmp/js2cpgTest4366892531325541745/cpg.bin.zip`
2090[DEBUG] Generating CPG for file 'code.js'.
2091[INFO ] Processed file 'code.js'
2092[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (36% on mutations). 28 + 0 changes committed from 1 parts.
2093[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2094[DEBUG] No source map file available for 'code.js'
2095[DEBUG] Parsing file 'code.js'.
2096[DEBUG] Generating CPG for file 'code.js'.
2097[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2098[DEBUG] No source map file available for 'test.js'
2099[DEBUG] Parsing file 'test.js'.
2100[INFO ] Processed file 'code.js'
2101[DEBUG] Generating CPG for file 'test.js'.
2102[INFO ] Processed file 'test.js'
2103[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
2104[INFO ] closed graph at /tmp/js2cpgTest4366892531325541745/cpg.bin.zip
2105[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (37% on mutations). 74 + 0 changes committed from 1 parts.
2106[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (30% on mutations). 38 + 2 changes committed from 1 parts.
2107[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2108[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2109[INFO ] Generation of CPG is complete.
2110[DEBUG] No source map file available for 'code.js'
2111[DEBUG] Parsing file 'code.js'.
2112[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 3 ms (79% on mutations). 7 + 0 changes committed from 1 parts.
2113[INFO ] Report:
2114+-------+--------------+-----+--------+-----------+----------+
2115| # | File | LOC | Parsed | Got a CPG | Duration |
2116+-------+--------------+-----+--------+-----------+----------+
2117| 1 | a.js | 0 | yes | yes | 310.8 μs |
2118| 2 | folder/c.js | 0 | yes | yes | 890.5 μs |
2119| 3 | foo.bar/d.js | 0 | yes | yes | 325.3 μs |
2120+-------+--------------+-----+--------+-----------+----------+
2121| Total | | 0 | 3/3 | 3/3 | |
2122+-------+--------------+-----+--------+-----------+----------+
2123[INFO ] initialising from existing storage (/tmp/js2cpgTest4366892531325541745/cpg.bin.zip)
2124[DEBUG] Generating CPG for file 'code.js'.
2125[INFO ] Processed file 'code.js'
2126[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
2127[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2128[DEBUG] No source map file available for 'test.js'
2129[DEBUG] Parsing file 'test.js'.
2130[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (68% on mutations). 42 + 2 changes committed from 1 parts.
2131[DEBUG] Generating CPG for file 'test.js'.
2132[INFO ] Processed file 'test.js'
2133[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (17% on mutations). 38 + 2 changes committed from 1 parts.
2134[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2135[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2136[DEBUG] No source map file available for 'code.js'
2137[DEBUG] Parsing file 'code.js'.
2138[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 3 ms (13% on mutations). 7 + 0 changes committed from 1 parts.
2139[DEBUG] Generating CPG for file 'code.js'.
2140[INFO ] Processed file 'code.js'
2141[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (12% on mutations). 36 + 1 changes committed from 1 parts.
2142[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2143[DEBUG] No source map file available for 'test.js'
2144[DEBUG] Parsing file 'test.js'.
2145[DEBUG] Generating CPG for file 'test.js'.
2146[INFO ] Processed file 'test.js'
2147[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
2148[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2149[DEBUG] No source map file available for 'code.js'
2150[DEBUG] Parsing file 'code.js'.
2151[DEBUG] Generating CPG for file 'code.js'.
2152[INFO ] Processed file 'code.js'
2153[DEBUG] Configuration:
2154 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
2155 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
2156 - Module mode: 'commonjs'
2157 - Optimize dependencies: true
2158 - Fixed transpilations dependencies: false
2159 - Typescript transpiling: false
2160 - Babel transpiling: false
2161 - Vue.js transpiling: true
2162 - Nuxt.js transpiling: true
2163 - Template transpiling: true
2164 - Ignored files regex: '.*\Q/\Efolder\Q/\E.*'
2165 - Ignored folders:
2166 - Ignore minified files: true
2167 - Ignore test files: true
2168 - Ignore private dependencies: false
2169 - Additional private dependencies:
2170 - Include configuration files: true
2171 - Include HTML files: true
2172 - Output file: '/tmp/js2cpgTest3120227589497885784/cpg.bin.zip'
2173
2174[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes6196354022235425704'.
2175[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (84% on mutations). 39 + 3 changes committed from 1 parts.
2176[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2177[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (63% on mutations). 6 + 0 changes committed from 1 parts.
2178[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (80% on mutations). 46 + 1 changes committed from 1 parts.
2179[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2180[DEBUG] Excluded 'folder/c.js' (by user configuration).
2181[DEBUG] Excluded 'folder/b.js' (by user configuration).
2182[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
2183[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
2184[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
2185[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2186[DEBUG] No source map file available for 'test.js'
2187[DEBUG] Parsing file 'test.js'.
2188[DEBUG] Generating CPG for file 'test.js'.
2189[DEBUG] No source map file available for 'code.js'
2190[DEBUG] Parsing file 'code.js'.
2191[DEBUG] Generating CPG for file 'code.js'.
2192[INFO ] Processed file 'test.js'
2193[INFO ] Processed file 'code.js'
2194[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (21% on mutations). 63 + 5 changes committed from 1 parts.
2195[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2196[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (25% on mutations). 62 + 3 changes committed from 1 parts.
2197[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (32% on mutations). 13 + 0 changes committed from 1 parts.
2198[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2199[DEBUG] No source map file available for 'code.js'
2200[DEBUG] Parsing file 'code.js'.
2201[DEBUG] Generating CPG for file 'code.js'.
2202[INFO ] Processed file 'code.js'
2203[DEBUG] Excluded 'tests/b.mock.js' (file ignored by default).
2204[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
2205[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
2206[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
2207[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (49% on mutations). 64 + 1 changes committed from 1 parts.
2208[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2209[DEBUG] No source map file available for 'a.js'
2210[DEBUG] Parsing file 'a.js'.
2211[DEBUG] No source map file available for 'index.js'
2212[DEBUG] No source map file available for 'foo.bar/d.js'
2213[DEBUG] Parsing file 'index.js'.
2214[DEBUG] Parsing file 'foo.bar/d.js'.
2215[DEBUG] Generating CPG for file 'index.js'.
2216[DEBUG] Generating CPG for file 'foo.bar/d.js'.
2217[INFO ] Processed file 'index.js'
2218[DEBUG] Generating CPG for file 'a.js'.
2219[INFO ] Processed file 'foo.bar/d.js'
2220[INFO ] Processed file 'a.js'
2221[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2222[DEBUG] No source map file available for 'code.js'
2223[DEBUG] Parsing file 'code.js'.
2224[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (32% on mutations). 51 + 0 changes committed from 3 parts.
2225[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
2226[DEBUG] Generating meta-data.
2227[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2228[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (86% on mutations). 1 + 0 changes committed from 1 parts.
2229[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
2230[DEBUG] Generating builtin types.
2231[DEBUG] No source map file available for 'test.js'
2232[DEBUG] Parsing file 'test.js'.
2233[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (88% on mutations). 22 + 0 changes committed from 1 parts.
2234[DEBUG] Generating CPG for file 'test.js'.
2235[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
2236[INFO ] Processed file 'test.js'
2237[DEBUG] Generating CPG for file 'code.js'.
2238[INFO ] Processed file 'code.js'
2239[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (46% on mutations). 84 + 2 changes committed from 1 parts.
2240[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes6196354022235425704/excludes'.
2241[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (87% on mutations). 41 + 3 changes committed from 1 parts.
2242[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2243[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 11 ms (4% on mutations). 0 + 0 changes committed from 1 parts.
2244[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2245[DEBUG] No source map file available for 'code.js'
2246[DEBUG] Parsing file 'code.js'.
2247[DEBUG] Generating CPG for file 'code.js'.
2248[INFO ] Processed file 'code.js'
2249[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 7 ms (47% on mutations). 7 + 0 changes committed from 1 parts.
2250[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2251[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (99% on mutations). 0 + 0 changes committed from 0 parts.
2252[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (53% on mutations). 34 + 3 changes committed from 1 parts.
2253[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
2254[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
2255[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2256[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (86% on mutations). 0 + 0 changes committed from 0 parts.
2257[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2258[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2259[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
2260[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2261[DEBUG] No source map file available for 'test.js'
2262[DEBUG] Parsing file 'test.js'.
2263[DEBUG] Generating CPG for file 'test.js'.
2264[INFO ] Processed file 'test.js'
2265[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest3120227589497885784/cpg.bin.zip
2266[INFO ] writing to storage at `/tmp/js2cpgTest3120227589497885784/cpg.bin.zip`
2267[DEBUG] No source map file available for 'code.js'
2268[DEBUG] Parsing file 'code.js'.
2269[DEBUG] Generating CPG for file 'code.js'.
2270[INFO ] Processed file 'code.js'
2271[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (82% on mutations). 41 + 3 changes committed from 1 parts.
2272[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2273[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (60% on mutations). 17 + 0 changes committed from 1 parts.
2274[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
2275[INFO ] closed graph at /tmp/js2cpgTest3120227589497885784/cpg.bin.zip
2276[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 4 ms (88% on mutations). 7 + 0 changes committed from 1 parts.
2277[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2278[DEBUG] No source map file available for 'code.js'
2279[DEBUG] Parsing file 'code.js'.
2280[DEBUG] Generating CPG for file 'code.js'.
2281[INFO ] Processed file 'code.js'
2282[INFO ] Generation of CPG is complete.
2283[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (47% on mutations). 17 + 0 changes committed from 1 parts.
2284[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2285[DEBUG] No source map file available for 'test.js'
2286[DEBUG] Parsing file 'test.js'.
2287[INFO ] Report:
2288+-------+--------------+-----+--------+-----------+----------+
2289| # | File | LOC | Parsed | Got a CPG | Duration |
2290+-------+--------------+-----+--------+-----------+----------+
2291| 1 | a.js | 0 | yes | yes | 2.191 ms |
2292| 2 | foo.bar/d.js | 0 | yes | yes | 2.354 ms |
2293| 3 | index.js | 0 | yes | yes | 406.2 μs |
2294+-------+--------------+-----+--------+-----------+----------+
2295| Total | | 0 | 3/3 | 3/3 | |
2296+-------+--------------+-----+--------+-----------+----------+
2297[INFO ] initialising from existing storage (/tmp/js2cpgTest3120227589497885784/cpg.bin.zip)
2298[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2299[DEBUG] No source map file available for 'code.js'
2300[DEBUG] Parsing file 'code.js'.
2301[DEBUG] Generating CPG for file 'code.js'.
2302[INFO ] Processed file 'code.js'
2303[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
2304[DEBUG] Generating CPG for file 'test.js'.
2305[INFO ] Processed file 'test.js'
2306[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (68% on mutations). 46 + 0 changes committed from 1 parts.
2307[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (23% on mutations). 61 + 4 changes committed from 1 parts.
2308[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2309[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 12 ms (4% on mutations). 14 + 0 changes committed from 1 parts.
2310[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2311[DEBUG] No source map file available for 'code.js'
2312[DEBUG] Parsing file 'code.js'.
2313[DEBUG] Generating CPG for file 'code.js'.
2314[INFO ] Processed file 'code.js'
2315[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
2316[DEBUG] Configuration:
2317 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
2318 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
2319 - Module mode: 'commonjs'
2320 - Optimize dependencies: true
2321 - Fixed transpilations dependencies: false
2322 - Typescript transpiling: false
2323 - Babel transpiling: false
2324 - Vue.js transpiling: true
2325 - Nuxt.js transpiling: true
2326 - Template transpiling: true
2327 - Ignored files regex: '.*(index|b)\..*'
2328 - Ignored folders:
2329 - Ignore minified files: true
2330 - Ignore test files: true
2331 - Ignore private dependencies: false
2332 - Additional private dependencies:
2333 - Include configuration files: true
2334 - Include HTML files: true
2335 - Output file: '/tmp/js2cpgTest4525463805738934379/cpg.bin.zip'
2336
2337[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes15932342243254339074'.
2338[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (35% on mutations). 69 + 0 changes committed from 1 parts.
2339[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2340[DEBUG] Excluded 'tests/b.mock.js' (by user configuration).
2341[DEBUG] Excluded 'a.js' (by user configuration).
2342[DEBUG] Excluded 'index.js' (by user configuration).
2343[DEBUG] Excluded 'folder/b.js' (by user configuration).
2344[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
2345[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
2346[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
2347[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2348[DEBUG] No source map file available for 'test.js'
2349[DEBUG] Parsing file 'test.js'.
2350[DEBUG] Generating CPG for file 'test.js'.
2351[DEBUG] No source map file available for 'code.js'
2352[DEBUG] Parsing file 'code.js'.
2353[DEBUG] Generating CPG for file 'code.js'.
2354[INFO ] Processed file 'code.js'
2355[INFO ] Processed file 'test.js'
2356[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
2357[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
2358[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
2359[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2360[DEBUG] No source map file available for 'folder/c.js'
2361[DEBUG] Parsing file 'folder/c.js'.
2362[DEBUG] Generating CPG for file 'folder/c.js'.
2363[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (72% on mutations). 87 + 0 changes committed from 1 parts.
2364[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (46% on mutations). 63 + 4 changes committed from 1 parts.
2365[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2366[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2367[DEBUG] No source map file available for 'foo.bar/d.js'
2368[DEBUG] Parsing file 'foo.bar/d.js'.
2369[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (27% on mutations). 15 + 0 changes committed from 1 parts.
2370[DEBUG] Generating CPG for file 'foo.bar/d.js'.
2371[INFO ] Processed file 'foo.bar/d.js'
2372[DEBUG] No source map file available for 'code.js'
2373[DEBUG] Parsing file 'code.js'.
2374[DEBUG] Generating CPG for file 'code.js'.
2375[INFO ] Processed file 'code.js'
2376[INFO ] Processed file 'folder/c.js'
2377[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (18% on mutations). 34 + 0 changes committed from 2 parts.
2378[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
2379[DEBUG] Generating meta-data.
2380[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 2 ms (95% on mutations). 1 + 0 changes committed from 1 parts.
2381[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (63% on mutations). 61 + 1 changes committed from 1 parts.
2382[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
2383[DEBUG] Generating builtin types.
2384[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2385[DEBUG] No source map file available for 'test.js'
2386[DEBUG] Parsing file 'test.js'.
2387[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (88% on mutations). 22 + 0 changes committed from 1 parts.
2388[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
2389[DEBUG] Generating CPG for file 'test.js'.
2390[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2391[DEBUG] No source map file available for 'code.js'
2392[DEBUG] Parsing file 'code.js'.
2393[DEBUG] Generating CPG for file 'code.js'.
2394[INFO ] Processed file 'test.js'
2395[INFO ] Processed file 'code.js'
2396[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (47% on mutations). 65 + 4 changes committed from 1 parts.
2397[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes15932342243254339074/excludes'.
2398[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (61% on mutations). 63 + 4 changes committed from 1 parts.
2399[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2400[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2401[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 7 ms (8% on mutations). 0 + 0 changes committed from 1 parts.
2402[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (45% on mutations). 15 + 0 changes committed from 1 parts.
2403[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2404[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (93% on mutations). 0 + 0 changes committed from 0 parts.
2405[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
2406[DEBUG] No source map file available for 'code.js'
2407[DEBUG] Parsing file 'code.js'.
2408[DEBUG] Generating CPG for file 'code.js'.
2409[INFO ] Processed file 'code.js'
2410[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2411[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 3 ms (12% on mutations). 0 + 0 changes committed from 0 parts.
2412[DEBUG] No source map file available for 'test.js'
2413[DEBUG] Parsing file 'test.js'.
2414[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2415[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (78% on mutations). 62 + 0 changes committed from 1 parts.
2416[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 3 ms (99% on mutations). 0 + 0 changes committed from 0 parts.
2417[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2418[DEBUG] Generating CPG for file 'test.js'.
2419[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2420[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
2421[DEBUG] No source map file available for 'code.js'
2422[DEBUG] Parsing file 'code.js'.
2423[DEBUG] Generating CPG for file 'code.js'.
2424[INFO ] Processed file 'code.js'
2425[INFO ] Processed file 'test.js'
2426[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest4525463805738934379/cpg.bin.zip
2427[INFO ] writing to storage at `/tmp/js2cpgTest4525463805738934379/cpg.bin.zip`
2428[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (66% on mutations). 32 + 1 changes committed from 1 parts.
2429[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2430[DEBUG] No source map file available for 'code.js'
2431[DEBUG] Parsing file 'code.js'.
2432[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 23 ms (55% on mutations). 127 + 2 changes committed from 1 parts.
2433[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2434[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
2435[INFO ] closed graph at /tmp/js2cpgTest4525463805738934379/cpg.bin.zip
2436[INFO ] Generation of CPG is complete.
2437[DEBUG] Generating CPG for file 'code.js'.
2438[INFO ] Report:
2439+-------+--------------+-----+--------+-----------+----------+
2440| # | File | LOC | Parsed | Got a CPG | Duration |
2441+-------+--------------+-----+--------+-----------+----------+
2442| 1 | folder/c.js | 0 | yes | yes | 6.965 ms |
2443| 2 | foo.bar/d.js | 0 | yes | yes | 342.9 μs |
2444+-------+--------------+-----+--------+-----------+----------+
2445| Total | | 0 | 2/2 | 2/2 | |
2446+-------+--------------+-----+--------+-----------+----------+
2447[INFO ] initialising from existing storage (/tmp/js2cpgTest4525463805738934379/cpg.bin.zip)
2448[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 5 ms (10% on mutations). 35 + 0 changes committed from 1 parts.
2449[INFO ] Processed file 'code.js'
2450[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
2451[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (40% on mutations). 39 + 1 changes committed from 1 parts.
2452[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2453[DEBUG] No source map file available for 'code.js'
2454[DEBUG] Parsing file 'code.js'.
2455[DEBUG] Generating CPG for file 'code.js'.
2456[INFO ] Processed file 'code.js'
2457[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (83% on mutations). 46 + 0 changes committed from 1 parts.
2458[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2459[DEBUG] No source map file available for 'test.js'
2460[DEBUG] Parsing file 'test.js'.
2461[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2462[DEBUG] No source map file available for 'code.js'
2463[DEBUG] Parsing file 'code.js'.
2464[DEBUG] Generating CPG for file 'test.js'.
2465[DEBUG] Generating CPG for file 'code.js'.
2466[INFO ] Processed file 'code.js'
2467[INFO ] Processed file 'test.js'
2468[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (31% on mutations). 46 + 0 changes committed from 1 parts.
2469[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (26% on mutations). 127 + 2 changes committed from 1 parts.
2470[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2471[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (45% on mutations). 35 + 0 changes committed from 1 parts.
2472[INFO ] Generating CPG from Javascript sources in: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
2473[DEBUG] Configuration:
2474 - Source project: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes'
2475 - package.json location: '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes/package.json'
2476 - Module mode: 'commonjs'
2477 - Optimize dependencies: true
2478 - Fixed transpilations dependencies: false
2479 - Typescript transpiling: false
2480 - Babel transpiling: false
2481 - Vue.js transpiling: true
2482 - Nuxt.js transpiling: true
2483 - Template transpiling: true
2484 - Ignored files regex: ''
2485 - Ignored folders:
2486 - Ignore minified files: true
2487 - Ignore test files: false
2488 - Ignore private dependencies: false
2489 - Additional private dependencies:
2490 - Include configuration files: true
2491 - Include HTML files: true
2492 - Output file: '/tmp/js2cpgTest5456218469059031447/cpg.bin.zip'
2493
2494[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2495[DEBUG] Copying '/build/repo/target/scala-3.8.0-RC5/test-classes/excludes' to temporary workspace '/tmp/excludes17547438043958989162'.
2496[DEBUG] No source map file available for 'code.js'
2497[DEBUG] Parsing file 'code.js'.
2498[DEBUG] Generating CPG for file 'code.js'.
2499[INFO ] Processed file 'code.js'
2500[DEBUG] Excluded 'tests/c.e2e.js' (file ignored by default).
2501[DEBUG] Excluded 'tests/d.test.js' (file ignored by default).
2502[DEBUG] Excluded 'tests/a.spec.js' (file ignored by default).
2503[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (82% on mutations). 46 + 0 changes committed from 1 parts.
2504[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2505[DEBUG] No source map file available for 'code.js'
2506[DEBUG] Parsing file 'code.js'.
2507[DEBUG] Generating CPG for file 'code.js'.
2508[INFO ] Processed file 'code.js'
2509[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (59% on mutations). 57 + 0 changes committed from 1 parts.
2510[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2511[DEBUG] No source map file available for 'code.js'
2512[DEBUG] Parsing file 'code.js'.
2513[DEBUG] Generating CPG for file 'code.js'.
2514[INFO ] Processed file 'code.js'
2515[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2516[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 3 ms (45% on mutations). 58 + 0 changes committed from 1 parts.
2517[DEBUG] No source map file available for 'test.js'
2518[DEBUG] Parsing file 'test.js'.
2519[DEBUG] Generating CPG for file 'test.js'.
2520[INFO ] Processed file 'test.js'
2521[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2522[DEBUG] No source map file available for 'tests/a.spec.js'
2523[DEBUG] Parsing file 'tests/a.spec.js'.
2524[DEBUG] Generating CPG for file 'tests/a.spec.js'.
2525[INFO ] Processed file 'tests/a.spec.js'
2526[DEBUG] No source map file available for 'tests/c.e2e.js'
2527[DEBUG] Parsing file 'tests/c.e2e.js'.
2528[DEBUG] Generating CPG for file 'tests/c.e2e.js'.
2529[INFO ] Processed file 'tests/c.e2e.js'
2530[DEBUG] No source map file available for 'tests/d.test.js'
2531[DEBUG] Parsing file 'tests/d.test.js'.
2532[DEBUG] Generating CPG for file 'tests/d.test.js'.
2533[INFO ] Processed file 'tests/d.test.js'
2534[DEBUG] No source map file available for 'a.js'
2535[DEBUG] Parsing file 'a.js'.
2536[DEBUG] No source map file available for 'tests/b.mock.js'
2537[DEBUG] Parsing file 'tests/b.mock.js'.
2538[DEBUG] Generating CPG for file 'a.js'.
2539[DEBUG] Generating CPG for file 'tests/b.mock.js'.
2540[INFO ] Processed file 'a.js'
2541[INFO ] Processed file 'tests/b.mock.js'
2542[DEBUG] No source map file available for 'folder/b.js'
2543[DEBUG] Parsing file 'folder/b.js'.
2544[DEBUG] No source map file available for 'index.js'
2545[DEBUG] Parsing file 'index.js'.
2546[DEBUG] Generating CPG for file 'folder/b.js'.
2547[DEBUG] Generating CPG for file 'index.js'.
2548[INFO ] Processed file 'index.js'
2549[DEBUG] No source map file available for 'foo.bar/d.js'
2550[DEBUG] Parsing file 'foo.bar/d.js'.
2551[DEBUG] Generating CPG for file 'foo.bar/d.js'.
2552[DEBUG] No source map file available for 'folder/c.js'
2553[DEBUG] Parsing file 'folder/c.js'.
2554[INFO ] Processed file 'foo.bar/d.js'
2555[DEBUG] Generating CPG for file 'folder/c.js'.
2556[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2557[DEBUG] No source map file available for 'code.js'
2558[DEBUG] Parsing file 'code.js'.
2559[DEBUG] Generating CPG for file 'code.js'.
2560[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (14% on mutations). 53 + 7 changes committed from 1 parts.
2561[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2562[INFO ] Processed file 'folder/c.js'
2563[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (45% on mutations). 10 + 0 changes committed from 1 parts.
2564[INFO ] Processed file 'code.js'
2565[INFO ] Processed file 'folder/b.js'
2566[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (46% on mutations). 72 + 0 changes committed from 1 parts.
2567[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 14 ms (32% on mutations). 153 + 0 changes committed from 9 parts.
2568[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
2569[DEBUG] Generating meta-data.
2570[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (93% on mutations). 1 + 0 changes committed from 1 parts.
2571[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
2572[DEBUG] Generating builtin types.
2573[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2574[DEBUG] No source map file available for 'code.js'
2575[DEBUG] Parsing file 'code.js'.
2576[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 2 ms (89% on mutations). 22 + 0 changes committed from 1 parts.
2577[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
2578[DEBUG] Generating CPG for file 'code.js'.
2579[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2580[DEBUG] No source map file available for 'test.js'
2581[DEBUG] Parsing file 'test.js'.
2582[DEBUG] Generating CPG for file 'test.js'.
2583[INFO ] Processed file 'code.js'
2584[INFO ] Processed file 'test.js'
2585[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (67% on mutations). 33 + 1 changes committed from 1 parts.
2586[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2587[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (30% on mutations). 6 + 0 changes committed from 1 parts.
2588[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (68% on mutations). 67 + 0 changes committed from 1 parts.
2589[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/excludes17547438043958989162/excludes'.
2590[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2591[DEBUG] No source map file available for 'code.js'
2592[DEBUG] Parsing file 'code.js'.
2593[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2594[DEBUG] Generating CPG for file 'code.js'.
2595[INFO ] Processed file 'code.js'
2596[DEBUG] No source map file available for 'test.js'
2597[DEBUG] Parsing file 'test.js'.
2598[DEBUG] Generating CPG for file 'test.js'.
2599[INFO ] Processed file 'test.js'
2600[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 17 ms (35% on mutations). 0 + 0 changes committed from 1 parts.
2601[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (58% on mutations). 69 + 0 changes committed from 1 parts.
2602[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (84% on mutations). 25 + 0 changes committed from 1 parts.
2603[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2604[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2605[DEBUG] No source map file available for 'code.js'
2606[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2607[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
2608[DEBUG] Parsing file 'code.js'.
2609[DEBUG] Generating CPG for file 'code.js'.
2610[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
2611[INFO ] Processed file 'code.js'
2612[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
2613[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 5 ms (51% on mutations). 4 + 0 changes committed from 1 parts.
2614[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2615[DEBUG] No source map file available for 'test.js'
2616[DEBUG] Parsing file 'test.js'.
2617[DEBUG] Generating CPG for file 'test.js'.
2618[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2619[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (69% on mutations). 69 + 0 changes committed from 1 parts.
2620[INFO ] Processed file 'test.js'
2621[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (96% on mutations). 0 + 0 changes committed from 0 parts.
2622[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
2623[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2624[DEBUG] No source map file available for 'code.js'
2625[DEBUG] Parsing file 'code.js'.
2626[DEBUG] Generating CPG for file 'code.js'.
2627[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (61% on mutations). 25 + 0 changes committed from 1 parts.
2628[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2629[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 5 ms (100% on mutations). 0 + 0 changes committed from 0 parts.
2630[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest5456218469059031447/cpg.bin.zip
2631[INFO ] writing to storage at `/tmp/js2cpgTest5456218469059031447/cpg.bin.zip`
2632[INFO ] Processed file 'code.js'
2633[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (20% on mutations). 82 + 0 changes committed from 1 parts.
2634[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 8 ms (30% on mutations). 4 + 0 changes committed from 1 parts.
2635[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2636[DEBUG] No source map file available for 'code.js'
2637[DEBUG] Parsing file 'code.js'.
2638[DEBUG] Generating CPG for file 'code.js'.
2639[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2640[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 62 property kinds
2641[INFO ] closed graph at /tmp/js2cpgTest5456218469059031447/cpg.bin.zip
2642[DEBUG] No source map file available for 'test.js'
2643[DEBUG] Parsing file 'test.js'.
2644[INFO ] Generation of CPG is complete.
2645[INFO ] Processed file 'code.js'
2646[INFO ] Report:
2647+-------+-----------------+-----+--------+-----------+----------+
2648| # | File | LOC | Parsed | Got a CPG | Duration |
2649+-------+-----------------+-----+--------+-----------+----------+
2650| 1 | a.js | 0 | yes | yes | 268.7 μs |
2651| 2 | folder/b.js | 0 | yes | yes | 5.949 ms |
2652| 3 | folder/c.js | 0 | yes | yes | 234.5 μs |
2653| 4 | foo.bar/d.js | 0 | yes | yes | 210.7 μs |
2654| 5 | index.js | 0 | yes | yes | 298.4 μs |
2655| 6 | tests/a.spec.js | 0 | yes | yes | 306.8 μs |
2656| 7 | tests/b.mock.js | 0 | yes | yes | 231.6 μs |
2657| 8 | tests/c.e2e.js | 0 | yes | yes | 251.6 μs |
2658| 9 | tests/d.test.js | 0 | yes | yes | 236.2 μs |
2659+-------+-----------------+-----+--------+-----------+----------+
2660| Total | | 0 | 9/9 | 9/9 | |
2661+-------+-----------------+-----+--------+-----------+----------+
2662[INFO ] initialising from existing storage (/tmp/js2cpgTest5456218469059031447/cpg.bin.zip)
2663[DEBUG] loading graph with 43 nodes, 13 edges, 62 properties
2664[DEBUG] Generating CPG for file 'test.js'.
2665[INFO ] Processed file 'test.js'
2666[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 15 ms (40% on mutations). 127 + 2 changes committed from 1 parts.
2667[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (9% on mutations). 33 + 1 changes committed from 1 parts.
2668[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2669[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2670[DEBUG] No source map file available for 'code.js'
2671[DEBUG] Parsing file 'code.js'.
2672[DEBUG] Generating CPG for file 'code.js'.
2673[INFO ] Processed file 'code.js'
2674[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 5 ms (79% on mutations). 6 + 0 changes committed from 1 parts.
2675[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2676[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (64% on mutations). 127 + 2 changes committed from 1 parts.
2677[DEBUG] No source map file available for 'test.js'
2678[DEBUG] Parsing file 'test.js'.
2679[DEBUG] Generating CPG for file 'test.js'.
2680[INFO ] Processed file 'test.js'
2681[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 13 ms (12% on mutations). 21 + 0 changes committed from 1 parts.
2682[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2683[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (53% on mutations). 3 + 0 changes committed from 1 parts.
2684[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2685[DEBUG] No source map file available for 'code.js'
2686[DEBUG] Parsing file 'code.js'.
2687[info] ConfigPassTest:
2688[info] ConfigPass for Vue files
2689[info] - should generate ConfigFiles correctly for simply Vue project
2690[info] ConfigPass for other config files
2691[info] - should generate ConfigFiles correctly for simple JS project
2692[info] - should skip ConfigFiles that are too large
2693[info] ConfigPass for html files
2694[DEBUG] Generating CPG for file 'code.js'.
2695[info] - should generate ConfigFiles correctly for simple JS project with html files
2696[info] PrivateKeyFilePass
2697[INFO ] Processed file 'code.js'
2698[info] - should generate ConfigFiles correctly
2699[info] ExcludeTest:
2700[info] Using different excludes via program arguments
2701[info] - should exclude nothing if no excludes are given
2702[info] - should exclude a file with --exclude with relative path
2703[info] - should exclude files with --exclude with relative paths
2704[info] - should exclude a file with --exclude with absolute path
2705[info] - should exclude files with --exclude with absolute paths
2706[info] - should exclude files with --exclude with mixed paths
2707[info] - should exclude a folder with --exclude with absolute path
2708[info] - should exclude a folder with --exclude with relative path
2709[info] - should exclude a file with --exclude-regex
2710[info] - should exclude files with --exclude-regex
2711[info] - should exclude a complete folder with --exclude-regex
2712[info] - should exclude files with --exclude and --exclude-regex
2713[info] - should include test files with --with-tests
2714[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 12 ms (36% on mutations). 21 + 0 changes committed from 1 parts.
2715[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2716[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2717[DEBUG] No source map file available for 'test.js'
2718[DEBUG] Parsing file 'test.js'.
2719[DEBUG] No source map file available for 'code.js'
2720[DEBUG] Parsing file 'code.js'.
2721[DEBUG] Generating CPG for file 'test.js'.
2722[INFO ] Processed file 'test.js'
2723[DEBUG] Generating CPG for file 'code.js'.
2724[INFO ] Processed file 'code.js'
2725[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 10 ms (54% on mutations). 89 + 1 changes committed from 1 parts.
2726[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (85% on mutations). 30 + 2 changes committed from 1 parts.
2727[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2728[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2729[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 3 ms (12% on mutations). 4 + 0 changes committed from 1 parts.
2730[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2731[DEBUG] No source map file available for 'test.js'
2732[DEBUG] No source map file available for 'code.js'
2733[DEBUG] Parsing file 'code.js'.
2734[DEBUG] Parsing file 'test.js'.
2735[DEBUG] Generating CPG for file 'code.js'.
2736[DEBUG] Generating CPG for file 'test.js'.
2737[INFO ] Processed file 'test.js'
2738[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 16 ms (21% on mutations). 36 + 3 changes committed from 1 parts.
2739[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2740[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (67% on mutations). 5 + 0 changes committed from 1 parts.
2741[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2742[INFO ] Processed file 'code.js'
2743[DEBUG] No source map file available for 'test.js'
2744[DEBUG] Parsing file 'test.js'.
2745[DEBUG] Generating CPG for file 'test.js'.
2746[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
2747[DEBUG] Generating builtin types.
2748[INFO ] Processed file 'test.js'
2749[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 31 ms (9% on mutations). 34 + 2 changes committed from 1 parts.
2750[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (68% on mutations). 39 + 3 changes committed from 1 parts.
2751[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2752[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2753[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 5 ms (98% on mutations). 22 + 0 changes committed from 1 parts.
2754[DEBUG] No source map file available for 'code.js'
2755[DEBUG] Parsing file 'code.js'.
2756[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 4 ms (9% on mutations). 6 + 0 changes committed from 1 parts.
2757[DEBUG] Generating CPG for file 'code.js'.
2758[INFO ] Processed file 'code.js'
2759[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2760[DEBUG] No source map file available for 'test.js'
2761[DEBUG] Parsing file 'test.js'.
2762[DEBUG] Generating CPG for file 'test.js'.
2763[INFO ] Processed file 'test.js'
2764[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (59% on mutations). 42 + 3 changes committed from 1 parts.
2765[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (78% on mutations). 49 + 5 changes committed from 1 parts.
2766[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2767[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (35% on mutations). 8 + 0 changes committed from 1 parts.
2768[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2769[DEBUG] No source map file available for 'code.js'
2770[DEBUG] Parsing file 'code.js'.
2771[DEBUG] Generating CPG for file 'code.js'.
2772[INFO ] Processed file 'code.js'
2773[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2774[DEBUG] No source map file available for 'test.js'
2775[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (32% on mutations). 38 + 2 changes committed from 1 parts.
2776[DEBUG] Parsing file 'test.js'.
2777[DEBUG] Generating CPG for file 'test.js'.
2778[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2779[DEBUG] No source map file available for 'code.js'
2780[DEBUG] Parsing file 'code.js'.
2781[INFO ] Processed file 'test.js'
2782[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (19% on mutations). 34 + 2 changes committed from 1 parts.
2783[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2784[DEBUG] Generating CPG for file 'code.js'.
2785[INFO ] Processed file 'code.js'
2786[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (15% on mutations). 46 + 3 changes committed from 1 parts.
2787[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2788[DEBUG] No source map file available for 'code.js'
2789[DEBUG] Parsing file 'code.js'.
2790[DEBUG] No source map file available for 'unnamed'
2791[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 12 ms (10% on mutations). 6 + 0 changes committed from 1 parts.
2792[DEBUG] Generating CPG for file 'code.js'.
2793[INFO ] Processed file 'code.js'
2794[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2795[DEBUG] No source map file available for 'test.js'
2796[DEBUG] Parsing file 'test.js'.
2797[DEBUG] Generating CPG for file 'test.js'.
2798[INFO ] Processed file 'test.js'
2799[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 13 ms (39% on mutations). 32 + 2 changes committed from 1 parts.
2800[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (82% on mutations). 42 + 3 changes committed from 1 parts.
2801[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2802[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (48% on mutations). 10 + 0 changes committed from 1 parts.
2803[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2804[DEBUG] No source map file available for 'code.js'
2805[DEBUG] Parsing file 'code.js'.
2806[DEBUG] Generating CPG for file 'code.js'.
2807[INFO ] Processed file 'code.js'
2808[DEBUG] Falling back to non-strict mode for file 'unnamed'.
2809[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2810[DEBUG] No source map file available for 'test.js'
2811[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (49% on mutations). 42 + 3 changes committed from 1 parts.
2812[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2813[DEBUG] Parsing file 'test.js'.
2814[DEBUG] No source map file available for 'code.js'
2815[DEBUG] Parsing file 'code.js'.
2816[DEBUG] Generating CPG for file 'test.js'.
2817[INFO ] Processed file 'test.js'
2818[DEBUG] Generating CPG for file 'code.js'.
2819[INFO ] Processed file 'code.js'
2820[DEBUG] No source map file available for 'unnamed'
2821[DEBUG] Parsing error in strict mode: unnamed:2:9 Missing close quote
2822var x = "
2823 ^
2824[DEBUG] Parsing error in non-strict mode: unnamed:2:9 Missing close quote
2825var x = "
2826 ^
2827[DEBUG] No source map file available for 'unnamed'
2828[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (54% on mutations). 43 + 3 changes committed from 1 parts.
2829[DEBUG] No source map file available for 'unnamed'
2830[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 11 ms (57% on mutations). 38 + 2 changes committed from 1 parts.
2831[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2832[DEBUG] No source map file available for 'unnamed'
2833[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (56% on mutations). 9 + 0 changes committed from 1 parts.
2834[DEBUG] No source map file available for 'unnamed'
2835[DEBUG] No source map file available for 'unnamed'
2836[DEBUG] No source map file available for 'unnamed'
2837[DEBUG] Applied NodeJS fix for file 'unnamed'.
2838[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2839[DEBUG] No source map file available for 'unnamed'
2840[DEBUG] No source map file available for 'code.js'
2841[DEBUG] Parsing file 'code.js'.
2842[DEBUG] No source map file available for 'unnamed'
2843[DEBUG] Generating CPG for file 'code.js'.
2844[DEBUG] Applied NodeJS fix for file 'unnamed'.
2845[DEBUG] No source map file available for 'unnamed'
2846[INFO ] Processed file 'code.js'
2847[DEBUG] No source map file available for 'unnamed'
2848[DEBUG] Applied NodeJS fix for file 'unnamed'.
2849[DEBUG] No source map file available for 'unnamed'
2850[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2851[DEBUG] No source map file available for 'test.js'
2852[DEBUG] Parsing file 'test.js'.
2853[DEBUG] Generating CPG for file 'test.js'.
2854[DEBUG] No source map file available for 'unnamed'
2855[INFO ] Processed file 'test.js'
2856[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (78% on mutations). 52 + 0 changes committed from 1 parts.
2857[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (39% on mutations). 32 + 2 changes committed from 1 parts.
2858[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2859[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2860[DEBUG] Applied NodeJS fix for file 'unnamed'.
2861[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 4 ms (9% on mutations). 4 + 0 changes committed from 1 parts.
2862[DEBUG] No source map file available for 'code.js'
2863[DEBUG] Parsing file 'code.js'.
2864[DEBUG] Generating CPG for file 'code.js'.
2865[INFO ] Processed file 'code.js'
2866[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2867[DEBUG] No source map file available for 'test.js'
2868[DEBUG] Parsing file 'test.js'.
2869[DEBUG] Generating CPG for file 'test.js'.
2870[INFO ] Processed file 'test.js'
2871[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
2872[DEBUG] Generating meta-data.
2873[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (78% on mutations). 1 + 0 changes committed from 1 parts.
2874[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (50% on mutations). 42 + 3 changes committed from 1 parts.
2875[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2876[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (48% on mutations). 9 + 0 changes committed from 1 parts.
2877[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 18 ms (61% on mutations). 63 + 1 changes committed from 1 parts.
2878[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2879[DEBUG] No source map file available for 'test.js'
2880[DEBUG] Parsing file 'test.js'.
2881[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2882[DEBUG] Generating CPG for file 'test.js'.
2883[INFO ] Processed file 'test.js'
2884[DEBUG] No source map file available for 'code.js'
2885[DEBUG] Parsing file 'code.js'.
2886[DEBUG] Generating CPG for file 'code.js'.
2887[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (55% on mutations). 60 + 3 changes committed from 1 parts.
2888[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2889[INFO ] Processed file 'code.js'
2890[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 3 ms (89% on mutations). 13 + 0 changes committed from 1 parts.
2891[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (37% on mutations). 75 + 1 changes committed from 1 parts.
2892[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2893[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2894[DEBUG] No source map file available for 'test.js'
2895[DEBUG] Parsing file 'test.js'.
2896[DEBUG] No source map file available for 'code.js'
2897[DEBUG] Parsing file 'code.js'.
2898[DEBUG] Generating CPG for file 'test.js'.
2899[INFO ] Processed file 'test.js'
2900[DEBUG] Generating CPG for file 'code.js'.
2901[INFO ] Processed file 'code.js'
2902[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (56% on mutations). 67 + 1 changes committed from 1 parts.
2903[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2904[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (48% on mutations). 16 + 0 changes committed from 1 parts.
2905[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (64% on mutations). 90 + 2 changes committed from 1 parts.
2906[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2907[DEBUG] No source map file available for 'test.js'
2908[DEBUG] Parsing file 'test.js'.
2909[DEBUG] Generating CPG for file 'test.js'.
2910[INFO ] Processed file 'test.js'
2911[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2912[DEBUG] No source map file available for 'code.js'
2913[DEBUG] Parsing file 'code.js'.
2914[DEBUG] Generating CPG for file 'code.js'.
2915[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (38% on mutations). 101 + 3 changes committed from 1 parts.
2916[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2917[INFO ] Processed file 'code.js'
2918[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (29% on mutations). 58 + 0 changes committed from 1 parts.
2919[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2920[DEBUG] No source map file available for 'code.js'
2921[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 7 ms (26% on mutations). 26 + 0 changes committed from 1 parts.
2922[DEBUG] Parsing file 'code.js'.
2923[DEBUG] Generating CPG for file 'code.js'.
2924[INFO ] Processed file 'code.js'
2925[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2926[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (42% on mutations). 55 + 0 changes committed from 1 parts.
2927[DEBUG] No source map file available for 'test.js'
2928[DEBUG] Parsing file 'test.js'.
2929[DEBUG] Generating CPG for file 'test.js'.
2930[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2931[INFO ] Processed file 'test.js'
2932[DEBUG] No source map file available for 'code.js'
2933[DEBUG] Parsing file 'code.js'.
2934[DEBUG] Generating CPG for file 'code.js'.
2935[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (30% on mutations). 67 + 1 changes committed from 1 parts.
2936[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2937[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (28% on mutations). 16 + 0 changes committed from 1 parts.
2938[INFO ] Processed file 'code.js'
2939[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (40% on mutations). 44 + 0 changes committed from 1 parts.
2940[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2941[DEBUG] No source map file available for 'test.js'
2942[DEBUG] Parsing file 'test.js'.
2943[DEBUG] Generating CPG for file 'test.js'.
2944[INFO ] Processed file 'test.js'
2945[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (36% on mutations). 109 + 1 changes committed from 1 parts.
2946[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2947[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (28% on mutations). 32 + 0 changes committed from 1 parts.
2948[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2949[DEBUG] No source map file available for 'test.js'
2950[DEBUG] Parsing file 'test.js'.
2951[DEBUG] Generating CPG for file 'test.js'.
2952[DEBUG] Using a spread object for object deconstructing is not yet supported! ({a, ...rest} = x)
2953[INFO ] Processed file 'test.js'
2954[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (36% on mutations). 54 + 1 changes committed from 1 parts.
2955[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2956[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (66% on mutations). 12 + 0 changes committed from 1 parts.
2957[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2958[DEBUG] No source map file available for 'test.js'
2959[DEBUG] Parsing file 'test.js'.
2960[DEBUG] Generating CPG for file 'test.js'.
2961[INFO ] Processed file 'test.js'
2962[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (41% on mutations). 149 + 2 changes committed from 1 parts.
2963[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2964[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (29% on mutations). 38 + 0 changes committed from 2 parts.
2965[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2966[DEBUG] No source map file available for 'test.js'
2967[DEBUG] Parsing file 'test.js'.
2968[DEBUG] Generating CPG for file 'test.js'.
2969[INFO ] Processed file 'test.js'
2970[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (43% on mutations). 71 + 0 changes committed from 1 parts.
2971[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2972[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (35% on mutations). 13 + 0 changes committed from 2 parts.
2973[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2974[DEBUG] No source map file available for 'test.js'
2975[DEBUG] Parsing file 'test.js'.
2976[DEBUG] Generating CPG for file 'test.js'.
2977[INFO ] Processed file 'test.js'
2978[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (38% on mutations). 67 + 1 changes committed from 1 parts.
2979[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2980[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (76% on mutations). 16 + 0 changes committed from 1 parts.
2981[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2982[DEBUG] No source map file available for 'test.js'
2983[DEBUG] Parsing file 'test.js'.
2984[DEBUG] Generating CPG for file 'test.js'.
2985[INFO ] Processed file 'test.js'
2986[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (48% on mutations). 65 + 3 changes committed from 1 parts.
2987[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2988[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (72% on mutations). 16 + 0 changes committed from 1 parts.
2989[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2990[DEBUG] No source map file available for 'test.js'
2991[DEBUG] Parsing file 'test.js'.
2992[DEBUG] Generating CPG for file 'test.js'.
2993[INFO ] Processed file 'test.js'
2994[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (47% on mutations). 109 + 1 changes committed from 1 parts.
2995[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
2996[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (31% on mutations). 32 + 0 changes committed from 1 parts.
2997[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
2998[DEBUG] No source map file available for 'test.js'
2999[DEBUG] Parsing file 'test.js'.
3000[DEBUG] Generating CPG for file 'test.js'.
3001[INFO ] Processed file 'test.js'
3002[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (31% on mutations). 67 + 1 changes committed from 1 parts.
3003[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3004[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (40% on mutations). 16 + 0 changes committed from 1 parts.
3005[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3006[DEBUG] No source map file available for 'test.js'
3007[DEBUG] Parsing file 'test.js'.
3008[DEBUG] Generating CPG for file 'test.js'.
3009[INFO ] Processed file 'test.js'
3010[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (23% on mutations). 71 + 0 changes committed from 1 parts.
3011[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3012[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (40% on mutations). 13 + 0 changes committed from 2 parts.
3013[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3014[DEBUG] No source map file available for 'test.js'
3015[DEBUG] Parsing file 'test.js'.
3016[DEBUG] Generating CPG for file 'test.js'.
3017[INFO ] Processed file 'test.js'
3018[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (24% on mutations). 50 + 0 changes committed from 1 parts.
3019[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3020[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (55% on mutations). 7 + 0 changes committed from 2 parts.
3021[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3022[DEBUG] No source map file available for 'test.js'
3023[DEBUG] Parsing file 'test.js'.
3024[DEBUG] Generating CPG for file 'test.js'.
3025[INFO ] Processed file 'test.js'
3026[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (27% on mutations). 41 + 1 changes committed from 1 parts.
3027[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3028[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (24% on mutations). 9 + 0 changes committed from 1 parts.
3029[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3030[DEBUG] No source map file available for 'test.js'
3031[DEBUG] Parsing file 'test.js'.
3032[DEBUG] Generating CPG for file 'test.js'.
3033[INFO ] Processed file 'test.js'
3034[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (46% on mutations). 51 + 3 changes committed from 1 parts.
3035[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3036[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (70% on mutations). 11 + 0 changes committed from 1 parts.
3037[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3038[DEBUG] No source map file available for 'test.js'
3039[DEBUG] Parsing file 'test.js'.
3040[DEBUG] Generating CPG for file 'test.js'.
3041[INFO ] Processed file 'test.js'
3042[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 8 ms (14% on mutations). 53 + 1 changes committed from 1 parts.
3043[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3044[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (32% on mutations). 13 + 0 changes committed from 1 parts.
3045[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3046[DEBUG] No source map file available for 'test.js'
3047[DEBUG] Parsing file 'test.js'.
3048[DEBUG] Generating CPG for file 'test.js'.
3049[INFO ] Processed file 'test.js'
3050[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (23% on mutations). 61 + 1 changes committed from 1 parts.
3051[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3052[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (31% on mutations). 12 + 0 changes committed from 2 parts.
3053[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3054[DEBUG] No source map file available for 'test.js'
3055[DEBUG] Parsing file 'test.js'.
3056[DEBUG] Generating CPG for file 'test.js'.
3057[INFO ] Processed file 'test.js'
3058[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (23% on mutations). 82 + 1 changes committed from 1 parts.
3059[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3060[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (30% on mutations). 9 + 0 changes committed from 3 parts.
3061[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3062[DEBUG] No source map file available for 'test.js'
3063[DEBUG] Parsing file 'test.js'.
3064[DEBUG] Generating CPG for file 'test.js'.
3065[INFO ] Processed file 'test.js'
3066[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (27% on mutations). 82 + 1 changes committed from 1 parts.
3067[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3068[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (51% on mutations). 9 + 0 changes committed from 3 parts.
3069[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3070[DEBUG] No source map file available for 'test.js'
3071[DEBUG] Parsing file 'test.js'.
3072[DEBUG] Generating CPG for file 'test.js'.
3073[INFO ] Processed file 'test.js'
3074[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (40% on mutations). 53 + 0 changes committed from 1 parts.
3075[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3076[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (28% on mutations). 5 + 0 changes committed from 2 parts.
3077[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3078[DEBUG] No source map file available for 'test.js'
3079[DEBUG] Parsing file 'test.js'.
3080[DEBUG] Generating CPG for file 'test.js'.
3081[INFO ] Processed file 'test.js'
3082[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 3 ms (36% on mutations). 29 + 2 changes committed from 1 parts.
3083[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3084[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 0 ms (59% on mutations). 4 + 0 changes committed from 1 parts.
3085[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3086[DEBUG] No source map file available for 'test.js'
3087[DEBUG] Parsing file 'test.js'.
3088[DEBUG] Generating CPG for file 'test.js'.
3089[INFO ] Processed file 'test.js'
3090[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 3 ms (48% on mutations). 30 + 1 changes committed from 1 parts.
3091[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3092[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 0 ms (71% on mutations). 5 + 0 changes committed from 1 parts.
3093[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3094[DEBUG] No source map file available for 'test.js'
3095[DEBUG] Parsing file 'test.js'.
3096[DEBUG] Generating CPG for file 'test.js'.
3097[INFO ] Processed file 'test.js'
3098[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (55% on mutations). 76 + 0 changes committed from 1 parts.
3099[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3100[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 2 ms (74% on mutations). 16 + 0 changes committed from 2 parts.
3101[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3102[DEBUG] No source map file available for 'test.js'
3103[DEBUG] Parsing file 'test.js'.
3104[DEBUG] Generating CPG for file 'test.js'.
3105[INFO ] Processed file 'test.js'
3106[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (29% on mutations). 106 + 0 changes committed from 1 parts.
3107[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3108[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (43% on mutations). 26 + 0 changes committed from 2 parts.
3109[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3110[DEBUG] No source map file available for 'test.js'
3111[DEBUG] Parsing file 'test.js'.
3112[DEBUG] Generating CPG for file 'test.js'.
3113[INFO ] Processed file 'test.js'
3114[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (37% on mutations). 95 + 0 changes committed from 1 parts.
3115[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3116[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (30% on mutations). 21 + 0 changes committed from 2 parts.
3117[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3118[DEBUG] No source map file available for 'test.js'
3119[DEBUG] Parsing file 'test.js'.
3120[DEBUG] Generating CPG for file 'test.js'.
3121[INFO ] Processed file 'test.js'
3122[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 6 ms (33% on mutations). 125 + 0 changes committed from 1 parts.
3123[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3124[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (55% on mutations). 31 + 0 changes committed from 2 parts.
3125[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3126[DEBUG] No source map file available for 'test.js'
3127[DEBUG] Parsing file 'test.js'.
3128[DEBUG] Generating CPG for file 'test.js'.
3129[INFO ] Processed file 'test.js'
3130[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (69% on mutations). 22 + 0 changes committed from 1 parts.
3131[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3132[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (55% on mutations). 3 + 0 changes committed from 1 parts.
3133[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3134[DEBUG] No source map file available for 'test.js'
3135[DEBUG] Parsing file 'test.js'.
3136[DEBUG] Generating CPG for file 'test.js'.
3137[INFO ] Processed file 'test.js'
3138[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 4 ms (37% on mutations). 24 + 1 changes committed from 1 parts.
3139[INFO ] Start of pass: io.joern.x2cpg.passes.controlflow.CfgCreationPass
3140[INFO ] Pass io.joern.x2cpg.passes.controlflow.CfgCreationPass completed in 1 ms (65% on mutations). 3 + 0 changes committed from 1 parts.
3141[info] ClassesAstCreationPassTest:
3142[info] AST generation for classes
3143[info] - should have a TYPE_DECL and <meta> TYPE_DECL for ClassA
3144[info] - should have constructor binding in <meta> TYPE_DECL for ClassA
3145[info] - should have member for static method in <meta> TYPE_DECL for ClassA (pending)
3146[info] - should have method for static method in ClassA AST (pending)
3147[info] - should have member for non-static method in TYPE_DECL for ClassA (pending)
3148[info] - should have method for non-static method in ClassA AST (pending)
3149[info] - should have TYPE_REF to <meta> for ClassA
3150[info] - should have correct structure for type decls for classes with extends (pending)
3151[info] AST generation for constructor
3152[info] - should have correct structure for simple new
3153[info] - should have correct structure for simple new with arguments
3154[info] - should have correct structure for new with access path
3155[info] - should have correct structure for throw new exceptions
3156[info] SimpleAstCreationPassTest:
3157[info] AST generation for simple fragments
3158[info] - should have correct structure for FILENAME property
3159[info] - should have correct structure for block expression
3160[info] - should have correct structure for empty array literal
3161[info] - should have correct structure for array literal with values
3162[info] - should have correct structure for untagged runtime node in call
3163[info] - should have correct structure for untagged runtime node
3164[info] - should have correct structure for tagged runtime node
3165[info] - should have correct structure for try
3166[info] - should have correct structure for 1 object with simple values
3167[info] - should have correct structure for 1 object with computed values
3168[info] - should have correct structure for object with computed property name !!! IGNORED !!!
3169[info] - should have correct structure for conditional expression
3170[info] - should have correct name space block for empty file
3171[info] - should have :program method correctly attached to files namespace block
3172[info] - should have correct structure for empty method nested in top level method
3173[info] - should have correct parameter order in lambda function with ignored param
3174[info] - should have two lambda functions in same scope level with different full names
3175[info] - should be correct for call expression
3176[info] - should be correct for chained calls
3177[info] - should be correct for call on object
3178[info] - should have block for while body for while statement with brackets
3179[info] - should have no block for while body for while statement without brackets
3180[info] - should have local variable for function with correct type full name
3181[info] - should have corresponding type decl with correct bindings for function
3182[info] - should have correct structure for empty method
3183[info] - should have correct structure for decl assignment
3184[info] - should have correct structure for decl assignment with identifier on right hand side
3185[info] - should have correct structure for decl assignment of multiple locals
3186[info] - should be correct for nested expression
3187[info] - should be correct for while loop
3188[info] - should be correct for if
3189[info] - should be correct for if-else
3190[info] - should be correct for for-loop with for-in
3191[info] - should be correct for for-loop with for-of
3192[info] - should be correct for for-loop with empty test
3193[info] - should be correct for for-loop
3194[info] should handle switch statements and
3195[info] - should be correct for switch with one case
3196[info] - should be correct for switch with multiple cases
3197[info] - should be correct for switch with multiple cases on same spot
3198[info] - should be correct for switch with multiple cases and multiple cases on same spot
3199[info] - should be correct for switch with default case
3200[info] - should be correct for switch with case and default combined
3201[info] - should be correct for switch with nested switch
3202[info] - should be correct for unary expression '++'
3203[info] - should be correct for member access used in an assignment (direct)
3204[info] - should be correct for member access used in an assignment (chained)
3205[info] - should be correct for member access used in an assignment (chained with method call)
3206[info] - should be correct for member access used as return
3207[info] - should be correct for member access as useless statement
3208[info] - should be correct for empty method
3209[info] FileUtilsTest:
3210[info] FileTree
3211[info] - should skip ignored files when copying
3212[info] - should skip minified files
3213[info] BuiltinTypesPassTest:
3214[info] BuiltinTypesPass
3215[info] - should create a '<global>' NamespaceBlock
3216[info] - should create types and type decls correctly
3217[info] ParserTest:
3218[info] Parsing
3219[info] - should fall back to non-strict mode
3220[info] - should throw a ParserException when parsing fails
3221[info] - should parse in module mode if possible
3222[info] - should work correctly for simple js program with newline
3223[info] - should work correctly for simple js program
3224[info] - should work correctly for node.js program
3225[info] - should fix NodeJS invalid return
3226[info] - should fix NodeJS invalid return with import like code line
3227[info] - should fix NodeJS invalid return with simple import
3228[info] - should fix NodeJS invalid return with multiple imports
3229[info] JsMetaDataPassTest:
3230[info] MetaDataPass
3231[info] - should create exactly 1 node
3232[info] - should create no edges
3233[info] - should create a metadata node with correct language
3234[info] - should create a metadata node with a hash
3235[info] CfgCreationPassTest:
3236[info] CFG generation for simple fragments
3237[info] - should have correct structure for block expression
3238[info] - should have correct structure for empty array literal
3239[info] - should have correct structure for array literal with values
3240[info] - should have correct structure for untagged runtime node in call
3241[info] - should have correct structure for untagged runtime node
3242[info] - should have correct structure for tagged runtime node
3243[info] - should be correct for try
3244[info] - should be correct for try with multiple CFG exit nodes in try block
3245[info] - should be correct for 1 object with simple values
3246[info] - should be correct for member access used in an assignment (chained)
3247[info] - should be correct for decl statement with assignment
3248[info] - should be correct for nested expression
3249[info] - should be correct for return statement
3250[info] - should be correct for consecutive return statements
3251[info] - should be correct for outer program function which declares foo function object
3252[info] - should be correct for void return statement
3253[info] - should be correct for call expression
3254[info] - should be correct for chained calls !!! IGNORED !!!
3255[info] - should be correct for unary expression '++'
3256[info] - should be correct for conditional expression
3257[info] - should be correct for plain while loop
3258[info] - should be correct for plain while loop with break
3259[info] - should be correct for plain while loop with continue
3260[info] - should be correct for nested while loop
3261[info] - should be correct for nested while loop with break
3262[info] - should be correct for another nested while loop with break
3263[info] - should nested while loop with conditional break
3264[info] - should be correct for plain do-while loop
3265[info] - should be correct for plain do-while loop with break
3266[info] - should be correct for plain do-while loop with continue
3267[info] - should be correct for nested do-while loop with continue
3268[info] - should be correct for nested while/do-while loops with break
3269[info] - should be correct for nested while/do-while loops with break and continue
3270[info] - should be correct for two nested while loop with inner break
3271[info] - should be correct for plain for-loop
3272[info] - should be correct for plain for-loop with break
3273[info] - should be correct for plain for-loop with continue
3274[info] - should be correct for for-loop with for-in
3275[info] - should be correct for for-loop with for-of
3276[info] - should be correct for nested for-loop
3277[info] - should be correct for for-loop with empty condition
3278[info] - should be correct for for-loop with empty condition and break
3279[info] - should be correct for for-loop with empty condition and continue
3280[info] - should be correct with empty condition with nested empty for-loop
3281[info] - should be correct for for-loop with empty block
3282[info] - should be correct for simple if statement
3283[info] - should be correct for simple if statement with else block
3284[info] - should be correct for nested if statement
3285[info] - should be correct for nested if statement with else-if chains
3286[info] - should be correct for switch-case with single case
3287[info] - should be correct for switch-case with multiple cases
3288[info] - should be correct for switch-case with multiple cases on the same spot
3289[info] - should be correct for switch-case with default case
3290[info] - should be correct for switch-case with multiple cases and default combined
3291[info] - should be correct for constructor call with new
3292[info] CFG generation for destructing assignment
3293[info] - should be correct for object destruction assignment with declaration
3294[info] - should be correct for object destruction assignment with declaration and ternary init
3295[info] - should be correct for object destruction assignment with reassignment
3296[info] - should be correct for object destruction assignment with reassignment and defaults
3297[info] - should be correct for object destruction assignment with rest
3298[info] - should be correct for object destruction assignment with computed property name !!! IGNORED !!!
3299[info] - should be correct for nested object destruction assignment with defaults as parameter
3300[info] - should be correct for object destruction assignment as parameter
3301[info] - should be correct for array destruction assignment with declaration
3302[info] - should be correct for array destruction assignment without declaration
3303[info] - should be correct for array destruction assignment with defaults
3304[info] - should be correct for array destruction assignment with ignores
3305[info] - should be correct for array destruction assignment with rest !!! IGNORED !!!
3306[info] - should be correct for array destruction assignment as parameter
3307[info] should CFG generation for spread arguments
3308[info] - should have correct structure for method spread argument !!! IGNORED !!!
3309[info] CFG generation for await/async
3310[info] - should be correct for await/async
3311[info] CFG generation for constructor
3312[info] - should be correct for simple new
3313[info] - should be correct for simple new with arguments
3314[info] - should be correct for new with access path
3315[info] - should be structure for throw new exceptions
3316[info] CFG generation for classes
3317[info] - should be correct for methods in class type decls
3318[info] - should be correct for methods in class type decls with assignment
3319[info] - should be correct for outer method of anonymous class declaration
3320[info] CFG generation for instanceof/delete
3321[info] - should be correct for instanceof
3322[info] - should be correct for delete
3323[info] CFG generation for default parameters
3324[info] - should be correct for method parameter with default
3325[info] - should be correct for multiple method parameters with default
3326[info] - should be correct for method mixed parameters with default
3327[info] - should be correct for multiple method mixed parameters with default
3328[info] CFG generation for global builtins
3329[info] - should be correct for JSON.parse
3330[info] - should have correct structure for JSON.stringify
3331[INFO ] + Plugins installed
3332[INFO ] Babel - transpiling source files in 'babel'
3333[DEBUG] + Babel transpiling '/tmp/js2cpgTest9268632678638983175/babel' to '/tmp/js2cpgTest5038930829526510572' with command '/tmp/js2cpgTest9268632678638983175/babel/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/js2cpgTest9268632678638983175/babel' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTest5038930829526510572' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3334[DEBUG] + Babel transpiling finished
3335[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest folder16739558537060988891'.
3336[INFO ] Downloading / installing plugins in 'babel'
3337[INFO ] Installing project dependencies and plugins. That will take a while.
3338[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/js2cpgTest6836389838517419312/babel'
3339[INFO ] + Plugins installed
3340[INFO ] Babel - transpiling source files in 'babel'
3341[DEBUG] + Babel transpiling '/tmp/js2cpgTest6836389838517419312/babel' to '/tmp/js2cpgTest folder16739558537060988891' with command '/tmp/js2cpgTest6836389838517419312/babel/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/js2cpgTest6836389838517419312/babel' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTest folder16739558537060988891' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3342[DEBUG] + Babel transpiling finished
3343[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest7523853647453049815/babel'
3344[DEBUG] Configuration:
3345 - Source project: '/tmp/js2cpgTest7523853647453049815/babel'
3346 - package.json location: '/tmp/js2cpgTest7523853647453049815/babel/package.json'
3347 - Module mode: 'commonjs'
3348 - Optimize dependencies: true
3349 - Fixed transpilations dependencies: false
3350 - Typescript transpiling: false
3351 - Babel transpiling: true
3352 - Vue.js transpiling: true
3353 - Nuxt.js transpiling: true
3354 - Template transpiling: true
3355 - Ignored files regex: ''
3356 - Ignored folders:
3357 - Ignore minified files: true
3358 - Ignore test files: true
3359 - Ignore private dependencies: false
3360 - Additional private dependencies:
3361 - Include configuration files: true
3362 - Include HTML files: true
3363 - Output file: '/tmp/js2cpgTest7523853647453049815/babel/cpg.bin.zip'
3364
3365[DEBUG] Copying '/tmp/js2cpgTest7523853647453049815/babel' to temporary workspace '/tmp/babel6508554690805255970'.
3366[DEBUG] Excluded 'b-min.23472420.js' (minified file).
3367[DEBUG] Excluded 'node_modules' (folder ignored by default).
3368[DEBUG] Excluded 'b-min.js' (minified file).
3369[DEBUG] Excluded 'd.chunk.js' (file ignored by default).
3370[DEBUG] Excluded 'a.min.23472420.js' (minified file).
3371[DEBUG] Excluded '.folder' (folder ignored by default).
3372[DEBUG] Excluded 'something.js' (minified file).
3373[DEBUG] Excluded 'a.min.js' (minified file).
3374[DEBUG] Excluded 'c.spec.js' (file ignored by default).
3375[DEBUG] Loaded dependencies from '/tmp/babel6508554690805255970/babel/package.json'.
3376[DEBUG] Loaded dependencies from '/tmp/js2cpgTest7523853647453049815/babel/package.json'.
3377[INFO ] Downloading / installing plugins in 'babel'
3378[INFO ] Installing project dependencies and plugins. That will take a while.
3379[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/babel6508554690805255970/babel'
3380[INFO ] + Plugins installed
3381[INFO ] Babel - transpiling source files in 'babel'
3382[DEBUG] + Babel transpiling '/tmp/babel6508554690805255970/babel' to '/tmp/js2cpgTranspileOut15733729213963606999' with command '/tmp/babel6508554690805255970/babel/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/babel6508554690805255970/babel' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTranspileOut15733729213963606999' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3383[DEBUG] + Babel transpiling finished
3384[DEBUG] Excluded 'node_modules' (folder ignored by default).
3385[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3386[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut15733729213963606999/foo.js.map':
3387 * Transpiled file: '/tmp/js2cpgTranspileOut15733729213963606999/foo.js'
3388 * Origin: '/tmp/babel6508554690805255970/babel/foo.js'
3389[DEBUG] Parsing file 'foo.js'.
3390[DEBUG] Generating CPG for file 'foo.js'.
3391[INFO ] Processed file 'foo.js'
3392[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 34 ms (2% on mutations). 138 + 1 changes committed from 1 parts.
3393[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
3394[DEBUG] Generating meta-data.
3395[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (81% on mutations). 1 + 0 changes committed from 1 parts.
3396[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
3397[DEBUG] Generating builtin types.
3398[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (88% on mutations). 22 + 0 changes committed from 1 parts.
3399[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
3400[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 1 ms (19% on mutations). 13 + 0 changes committed from 1 parts.
3401[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3402[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
3403[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
3404[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (87% on mutations). 0 + 0 changes committed from 0 parts.
3405[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3406[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (82% on mutations). 0 + 0 changes committed from 0 parts.
3407[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3408[DEBUG] Adding file 'package.json' as config file.
3409[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (45% on mutations). 1 + 0 changes committed from 1 parts.
3410[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest7523853647453049815/babel/cpg.bin.zip
3411[INFO ] writing to storage at `/tmp/js2cpgTest7523853647453049815/babel/cpg.bin.zip`
3412[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 118 property kinds
3413[INFO ] closed graph at /tmp/js2cpgTest7523853647453049815/babel/cpg.bin.zip
3414[INFO ] Generation of CPG is complete.
3415[INFO ] Report:
3416+-------+--------------+-----+--------+-----------+----------+
3417| # | File | LOC | Parsed | Got a CPG | Duration |
3418+-------+--------------+-----+--------+-----------+----------+
3419| 1 | foo.js | 6 | yes | yes | 2.043 ms |
3420| 2 | package.json | 17 | yes | yes | 66.42 μs |
3421+-------+--------------+-----+--------+-----------+----------+
3422| Total | | 23 | 2/2 | 2/2 | |
3423+-------+--------------+-----+--------+-----------+----------+
3424[INFO ] initialising from existing storage (/tmp/js2cpgTest7523853647453049815/babel/cpg.bin.zip)
3425[DEBUG] loading graph with 43 nodes, 37 edges, 118 properties
3426[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest4135793110327554375/typescript'
3427[DEBUG] Configuration:
3428 - Source project: '/tmp/js2cpgTest4135793110327554375/typescript'
3429 - package.json location: '/tmp/js2cpgTest4135793110327554375/typescript/package.json'
3430 - Module mode: 'commonjs'
3431 - Optimize dependencies: true
3432 - Fixed transpilations dependencies: false
3433 - Typescript transpiling: true
3434 - Babel transpiling: false
3435 - Vue.js transpiling: true
3436 - Nuxt.js transpiling: true
3437 - Template transpiling: true
3438 - Ignored files regex: ''
3439 - Ignored folders:
3440 - Ignore minified files: true
3441 - Ignore test files: true
3442 - Ignore private dependencies: false
3443 - Additional private dependencies:
3444 - Include configuration files: true
3445 - Include HTML files: true
3446 - Output file: '/tmp/js2cpgTest4135793110327554375/typescript/cpg.bin.zip'
3447
3448[DEBUG] Copying '/tmp/js2cpgTest4135793110327554375/typescript' to temporary workspace '/tmp/typescript18340214140848034595'.
3449[DEBUG] Excluded 'node_modules' (folder ignored by default).
3450[DEBUG] Loaded dependencies from '/tmp/typescript18340214140848034595/typescript/package.json'.
3451[DEBUG] Loaded dependencies from '/tmp/js2cpgTest4135793110327554375/typescript/package.json'.
3452[INFO ] Downloading / installing plugins in 'typescript'
3453[INFO ] Installing project dependencies and plugins. That will take a while.
3454[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/typescript18340214140848034595/typescript'
3455[INFO ] + Plugins installed
3456[INFO ] TypeScript - transpiling source files in 'typescript'
3457[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3458[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/typescript18340214140848034595/typescript'
3459[INFO ] + TypeScript plugins installed
3460[DEBUG] + TypeScript compiling /tmp/typescript18340214140848034595/typescript --project /tmp/typescript18340214140848034595/typescript/js2cpgTsConfig9113774247217224187.json to '/tmp/js2cpgTranspileOut16099882441918547933' (using commonjs style modules)
3461[DEBUG] + TypeScript compiling finished
3462[DEBUG] Excluded 'node_modules' (folder ignored by default).
3463[DEBUG] Excluded 'tests/b.spec.ts' (file ignored by default).
3464[DEBUG] Excluded 'tests/a.test.ts' (file ignored by default).
3465[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3466[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut16099882441918547933/a.js.map':
3467 * Transpiled file: '/tmp/js2cpgTranspileOut16099882441918547933/a.js'
3468 * Origin: '/tmp/typescript18340214140848034595/typescript/a.ts'
3469[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut16099882441918547933/b.js.map':
3470 * Transpiled file: '/tmp/js2cpgTranspileOut16099882441918547933/b.js'
3471 * Origin: '/tmp/typescript18340214140848034595/typescript/b.ts'
3472[DEBUG] Parsing file 'b.js'.
3473[DEBUG] Parsing file 'a.js'.
3474[DEBUG] Generating CPG for file 'a.js'.
3475[DEBUG] Generating CPG for file 'b.js'.
3476[INFO ] Processed file 'a.js'
3477[INFO ] Processed file 'b.js'
3478[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (34% on mutations). 74 + 2 changes committed from 2 parts.
3479[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
3480[DEBUG] Generating meta-data.
3481[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (92% on mutations). 1 + 0 changes committed from 1 parts.
3482[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
3483[DEBUG] Generating builtin types.
3484[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (46% on mutations). 22 + 0 changes committed from 1 parts.
3485[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
3486[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 2 ms (17% on mutations). 13 + 0 changes committed from 1 parts.
3487[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3488[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (94% on mutations). 0 + 0 changes committed from 0 parts.
3489[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
3490[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (93% on mutations). 0 + 0 changes committed from 0 parts.
3491[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3492[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
3493[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3494[DEBUG] Adding file 'package.json' as config file.
3495[DEBUG] Adding file 'tsconfig.json' as config file.
3496[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (31% on mutations). 2 + 0 changes committed from 2 parts.
3497[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest4135793110327554375/typescript/cpg.bin.zip
3498[INFO ] writing to storage at `/tmp/js2cpgTest4135793110327554375/typescript/cpg.bin.zip`
3499[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 104 property kinds
3500[INFO ] closed graph at /tmp/js2cpgTest4135793110327554375/typescript/cpg.bin.zip
3501[INFO ] Generation of CPG is complete.
3502[INFO ] Report:
3503+-------+---------------+-----+--------+-----------+----------+
3504| # | File | LOC | Parsed | Got a CPG | Duration |
3505+-------+---------------+-----+--------+-----------+----------+
3506| 1 | a.js | 2 | yes | yes | 935.8 μs |
3507| 2 | b.js | 2 | yes | yes | 1.476 ms |
3508| 3 | package.json | 17 | yes | yes | 101.2 μs |
3509| 4 | tsconfig.json | 3 | yes | yes | 309.8 μs |
3510+-------+---------------+-----+--------+-----------+----------+
3511| Total | | 24 | 4/4 | 4/4 | |
3512+-------+---------------+-----+--------+-----------+----------+
3513[INFO ] initialising from existing storage (/tmp/js2cpgTest4135793110327554375/typescript/cpg.bin.zip)
3514[DEBUG] loading graph with 43 nodes, 28 edges, 104 properties
3515[DEBUG] No project dependencies found in package.json or package-lock.json at '/build/repo'.
3516[INFO ] Downloading / installing plugins in 'typescript'
3517[INFO ] Installing project dependencies and plugins. That will take a while.
3518[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/js2cpgTest4326114427194244073/typescript'
3519[INFO ] + Plugins installed
3520[INFO ] TypeScript - transpiling source files in 'typescript'
3521[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3522[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/js2cpgTest4326114427194244073/typescript'
3523[INFO ] + TypeScript plugins installed
3524[DEBUG] + TypeScript compiling /tmp/js2cpgTest4326114427194244073/typescript --project /tmp/js2cpgTest4326114427194244073/typescript/js2cpgTsConfig14249537315577925438.json to '/tmp/js2cpgTest10771450235685929899' (using commonjs style modules)
3525[DEBUG] + TypeScript compiling finished
3526[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest12067456518565657929/typescriptsub'
3527[DEBUG] Configuration:
3528 - Source project: '/tmp/js2cpgTest12067456518565657929/typescriptsub'
3529 - package.json location: '/tmp/js2cpgTest12067456518565657929/typescriptsub/package.json'
3530 - Module mode: 'commonjs'
3531 - Optimize dependencies: true
3532 - Fixed transpilations dependencies: false
3533 - Typescript transpiling: true
3534 - Babel transpiling: false
3535 - Vue.js transpiling: true
3536 - Nuxt.js transpiling: true
3537 - Template transpiling: true
3538 - Ignored files regex: ''
3539 - Ignored folders:
3540 - Ignore minified files: true
3541 - Ignore test files: true
3542 - Ignore private dependencies: false
3543 - Additional private dependencies:
3544 - Include configuration files: true
3545 - Include HTML files: true
3546 - Output file: '/tmp/js2cpgTest12067456518565657929/typescriptsub/cpg.bin.zip'
3547
3548[DEBUG] Copying '/tmp/js2cpgTest12067456518565657929/typescriptsub' to temporary workspace '/tmp/typescriptsub6720901546676956021'.
3549[DEBUG] Excluded 'node_modules' (folder ignored by default).
3550[DEBUG] Excluded 'tests/b.spec.ts' (file ignored by default).
3551[DEBUG] Excluded 'tests/a.test.ts' (file ignored by default).
3552[DEBUG] Loaded dependencies from '/tmp/typescriptsub6720901546676956021/typescriptsub/package.json'.
3553[DEBUG] Loaded dependencies from '/tmp/js2cpgTest12067456518565657929/typescriptsub/package.json'.
3554[INFO ] Downloading / installing plugins in 'typescriptsub'
3555[INFO ] Installing project dependencies and plugins. That will take a while.
3556[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/typescriptsub6720901546676956021/typescriptsub'
3557[INFO ] + Plugins installed
3558[INFO ] TypeScript - transpiling source files in 'typescriptsub'
3559[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3560[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/typescriptsub6720901546676956021/typescriptsub'
3561[INFO ] + TypeScript plugins installed
3562[DEBUG] + TypeScript compiling /tmp/typescriptsub6720901546676956021/typescriptsub --project /tmp/typescriptsub6720901546676956021/typescriptsub/js2cpgTsConfig4358204812125926291.json to '/tmp/js2cpgTranspileOut7458884360588659478' (using commonjs style modules)
3563[DEBUG] + TypeScript compiling finished
3564[DEBUG] Excluded 'node_modules' (folder ignored by default).
3565[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3566[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/subb/nested/b.js.map':
3567 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/subb/nested/b.js'
3568 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/subb/nested/b.ts'
3569[DEBUG] Parsing file 'subb/nested/b.js'.
3570[DEBUG] Generating CPG for file 'subb/nested/b.js'.
3571[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/subc/typescriptsub/c.js.map':
3572 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/subc/typescriptsub/c.js'
3573 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/subc/typescriptsub/c.ts'
3574[DEBUG] Parsing file 'subc/typescriptsub/c.js'.
3575[DEBUG] Generating CPG for file 'subc/typescriptsub/c.js'.
3576[INFO ] Processed file 'subb/nested/b.js'
3577[DEBUG] No source map file available for 'index.js'
3578[DEBUG] Parsing file 'index.js'.
3579[DEBUG] Generating CPG for file 'index.js'.
3580[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/subb/a.js.map':
3581 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/subb/a.js'
3582 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/subb/a.ts'
3583[DEBUG] Parsing file 'subb/a.js'.
3584[INFO ] Processed file 'index.js'
3585[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/subb/b.js.map':
3586 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/subb/b.js'
3587 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/subb/b.ts'
3588[DEBUG] Parsing file 'subb/b.js'.
3589[DEBUG] Generating CPG for file 'subb/a.js'.
3590[DEBUG] Generating CPG for file 'subb/b.js'.
3591[DEBUG] No source map file available for 'subb/nested/other.js'
3592[DEBUG] Parsing file 'subb/nested/other.js'.
3593[DEBUG] Generating CPG for file 'subb/nested/other.js'.
3594[INFO ] Processed file 'subb/b.js'
3595[INFO ] Processed file 'subb/nested/other.js'
3596[INFO ] Processed file 'subc/typescriptsub/c.js'
3597[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/subb/nested/a.js.map':
3598 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/subb/nested/a.js'
3599 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/subb/nested/a.ts'
3600[DEBUG] Parsing file 'subb/nested/a.js'.
3601[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/suba/a.js.map':
3602 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/suba/a.js'
3603 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/suba/a.ts'
3604[DEBUG] Parsing file 'suba/a.js'.
3605[DEBUG] Generating CPG for file 'subb/nested/a.js'.
3606[INFO ] Processed file 'subb/a.js'
3607[INFO ] Processed file 'subb/nested/a.js'
3608[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/main.js.map':
3609 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/main.js'
3610 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/main.ts'
3611[DEBUG] Parsing file 'main.js'.
3612[DEBUG] Generating CPG for file 'main.js'.
3613[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7458884360588659478/suba/b.js.map':
3614 * Transpiled file: '/tmp/js2cpgTranspileOut7458884360588659478/suba/b.js'
3615 * Origin: '/tmp/typescriptsub6720901546676956021/typescriptsub/suba/b.ts'
3616[DEBUG] Parsing file 'suba/b.js'.
3617[DEBUG] Generating CPG for file 'suba/b.js'.
3618[INFO ] Processed file 'main.js'
3619[INFO ] Processed file 'suba/b.js'
3620[DEBUG] Generating CPG for file 'suba/a.js'.
3621[INFO ] Processed file 'suba/a.js'
3622[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 9 ms (16% on mutations). 370 + 10 changes committed from 10 parts.
3623[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
3624[DEBUG] Generating meta-data.
3625[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (86% on mutations). 1 + 0 changes committed from 1 parts.
3626[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
3627[DEBUG] Generating builtin types.
3628[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 0 ms (89% on mutations). 22 + 0 changes committed from 1 parts.
3629[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
3630[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 6 ms (4% on mutations). 13 + 0 changes committed from 1 parts.
3631[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3632[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
3633[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
3634[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
3635[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3636[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (98% on mutations). 0 + 0 changes committed from 0 parts.
3637[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3638[DEBUG] Adding file 'package.json' as config file.
3639[DEBUG] Adding file 'tsconfig.json' as config file.
3640[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (68% on mutations). 2 + 0 changes committed from 2 parts.
3641[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest12067456518565657929/typescriptsub/cpg.bin.zip
3642[INFO ] writing to storage at `/tmp/js2cpgTest12067456518565657929/typescriptsub/cpg.bin.zip`
3643[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 104 property kinds
3644[INFO ] closed graph at /tmp/js2cpgTest12067456518565657929/typescriptsub/cpg.bin.zip
3645[INFO ] Generation of CPG is complete.
3646[INFO ] Report:
3647+-------+-------------------------+-----+--------+-----------+----------+
3648| # | File | LOC | Parsed | Got a CPG | Duration |
3649+-------+-------------------------+-----+--------+-----------+----------+
3650| 1 | index.js | 1 | yes | yes | 325.8 μs |
3651| 2 | main.js | 2 | yes | yes | 452.2 μs |
3652| 3 | package.json | 17 | yes | yes | 62.61 μs |
3653| 4 | suba/a.js | 2 | yes | yes | 353.3 μs |
3654| 5 | suba/b.js | 2 | yes | yes | 383.5 μs |
3655| 6 | subb/a.js | 2 | yes | yes | 1.750 ms |
3656| 7 | subb/b.js | 2 | yes | yes | 413.0 μs |
3657| 8 | subb/nested/a.js | 2 | yes | yes | 434.7 μs |
3658| 9 | subb/nested/b.js | 2 | yes | yes | 777.1 μs |
3659| 10 | subb/nested/other.js | 1 | yes | yes | 313.9 μs |
3660| 11 | subc/typescriptsub/c.js | 2 | yes | yes | 2.073 ms |
3661| 12 | tsconfig.json | 8 | yes | yes | 44.20 μs |
3662+-------+-------------------------+-----+--------+-----------+----------+
3663| Total | | 43 | 12/12 | 12/12 | |
3664+-------+-------------------------+-----+--------+-----------+----------+
3665[INFO ] initialising from existing storage (/tmp/js2cpgTest12067456518565657929/typescriptsub/cpg.bin.zip)
3666[DEBUG] loading graph with 43 nodes, 28 edges, 104 properties
3667[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest15251808369824722145/typescript'
3668[DEBUG] Configuration:
3669 - Source project: '/tmp/js2cpgTest15251808369824722145/typescript'
3670 - package.json location: '/tmp/js2cpgTest15251808369824722145/typescript/package.json'
3671 - Module mode: 'commonjs'
3672 - Optimize dependencies: true
3673 - Fixed transpilations dependencies: false
3674 - Typescript transpiling: true
3675 - Babel transpiling: false
3676 - Vue.js transpiling: true
3677 - Nuxt.js transpiling: true
3678 - Template transpiling: true
3679 - Ignored files regex: ''
3680 - Ignored folders:
3681 - Ignore minified files: true
3682 - Ignore test files: false
3683 - Ignore private dependencies: false
3684 - Additional private dependencies:
3685 - Include configuration files: true
3686 - Include HTML files: true
3687 - Output file: '/tmp/js2cpgTest15251808369824722145/typescript/cpg.bin.zip'
3688
3689[DEBUG] Copying '/tmp/js2cpgTest15251808369824722145/typescript' to temporary workspace '/tmp/typescript12757181965354885572'.
3690[DEBUG] Excluded 'node_modules' (folder ignored by default).
3691[DEBUG] Loaded dependencies from '/tmp/typescript12757181965354885572/typescript/package.json'.
3692[DEBUG] Loaded dependencies from '/tmp/js2cpgTest15251808369824722145/typescript/package.json'.
3693[INFO ] Downloading / installing plugins in 'typescript'
3694[INFO ] Installing project dependencies and plugins. That will take a while.
3695[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/typescript12757181965354885572/typescript'
3696[INFO ] + Plugins installed
3697[INFO ] TypeScript - transpiling source files in 'typescript'
3698[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3699[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/typescript12757181965354885572/typescript'
3700[INFO ] + TypeScript plugins installed
3701[DEBUG] + TypeScript compiling /tmp/typescript12757181965354885572/typescript --project /tmp/typescript12757181965354885572/typescript/js2cpgTsConfig5653448168952881990.json to '/tmp/js2cpgTranspileOut15427938050673831919' (using commonjs style modules)
3702[DEBUG] + TypeScript compiling finished
3703[DEBUG] Excluded 'node_modules' (folder ignored by default).
3704[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3705[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut15427938050673831919/tests/a.test.js.map':
3706 * Transpiled file: '/tmp/js2cpgTranspileOut15427938050673831919/tests/a.test.js'
3707 * Origin: '/tmp/typescript12757181965354885572/typescript/tests/a.test.ts'
3708[DEBUG] Parsing file 'tests/a.test.js'.
3709[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut15427938050673831919/tests/b.spec.js.map':
3710 * Transpiled file: '/tmp/js2cpgTranspileOut15427938050673831919/tests/b.spec.js'
3711 * Origin: '/tmp/typescript12757181965354885572/typescript/tests/b.spec.ts'
3712[DEBUG] Generating CPG for file 'tests/a.test.js'.
3713[DEBUG] Parsing file 'tests/b.spec.js'.
3714[DEBUG] Generating CPG for file 'tests/b.spec.js'.
3715[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut15427938050673831919/a.js.map':
3716 * Transpiled file: '/tmp/js2cpgTranspileOut15427938050673831919/a.js'
3717 * Origin: '/tmp/typescript12757181965354885572/typescript/a.ts'
3718[DEBUG] Parsing file 'a.js'.
3719[INFO ] Processed file 'tests/a.test.js'
3720[INFO ] Processed file 'tests/b.spec.js'
3721[DEBUG] Generating CPG for file 'a.js'.
3722[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut15427938050673831919/b.js.map':
3723 * Transpiled file: '/tmp/js2cpgTranspileOut15427938050673831919/b.js'
3724 * Origin: '/tmp/typescript12757181965354885572/typescript/b.ts'
3725[DEBUG] Parsing file 'b.js'.
3726[DEBUG] Generating CPG for file 'b.js'.
3727[INFO ] Processed file 'a.js'
3728[INFO ] Processed file 'b.js'
3729[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (16% on mutations). 108 + 2 changes committed from 4 parts.
3730[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
3731[DEBUG] Generating meta-data.
3732[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (46% on mutations). 1 + 0 changes committed from 1 parts.
3733[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
3734[DEBUG] Generating builtin types.
3735[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 0 ms (81% on mutations). 22 + 0 changes committed from 1 parts.
3736[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
3737[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 2 ms (15% on mutations). 13 + 0 changes committed from 1 parts.
3738[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3739[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
3740[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
3741[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
3742[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3743[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
3744[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3745[DEBUG] Adding file 'package.json' as config file.
3746[DEBUG] Adding file 'tsconfig.json' as config file.
3747[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (22% on mutations). 2 + 0 changes committed from 2 parts.
3748[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest15251808369824722145/typescript/cpg.bin.zip
3749[INFO ] writing to storage at `/tmp/js2cpgTest15251808369824722145/typescript/cpg.bin.zip`
3750[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 104 property kinds
3751[INFO ] closed graph at /tmp/js2cpgTest15251808369824722145/typescript/cpg.bin.zip
3752[INFO ] Generation of CPG is complete.
3753[INFO ] Report:
3754+-------+-----------------+-----+--------+-----------+----------+
3755| # | File | LOC | Parsed | Got a CPG | Duration |
3756+-------+-----------------+-----+--------+-----------+----------+
3757| 1 | a.js | 2 | yes | yes | 1.455 ms |
3758| 2 | b.js | 2 | yes | yes | 460.5 μs |
3759| 3 | package.json | 17 | yes | yes | 63.95 μs |
3760| 4 | tests/a.test.js | 1 | yes | yes | 424.3 μs |
3761| 5 | tests/b.spec.js | 1 | yes | yes | 430.1 μs |
3762| 6 | tsconfig.json | 3 | yes | yes | 205.4 μs |
3763+-------+-----------------+-----+--------+-----------+----------+
3764| Total | | 26 | 6/6 | 6/6 | |
3765+-------+-----------------+-----+--------+-----------+----------+
3766[INFO ] initialising from existing storage (/tmp/js2cpgTest15251808369824722145/typescript/cpg.bin.zip)
3767[DEBUG] loading graph with 43 nodes, 28 edges, 104 properties
3768[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest2417262746866800073/multisimple'
3769[DEBUG] Configuration:
3770 - Source project: '/tmp/js2cpgTest2417262746866800073/multisimple'
3771 - package.json location: '/tmp/js2cpgTest2417262746866800073/multisimple/package.json'
3772 - Module mode: 'commonjs'
3773 - Optimize dependencies: true
3774 - Fixed transpilations dependencies: false
3775 - Typescript transpiling: true
3776 - Babel transpiling: true
3777 - Vue.js transpiling: true
3778 - Nuxt.js transpiling: true
3779 - Template transpiling: true
3780 - Ignored files regex: ''
3781 - Ignored folders:
3782 - Ignore minified files: true
3783 - Ignore test files: true
3784 - Ignore private dependencies: false
3785 - Additional private dependencies:
3786 - Include configuration files: true
3787 - Include HTML files: true
3788 - Output file: '/tmp/js2cpgTest2417262746866800073/multisimple/cpg.bin.zip'
3789
3790[DEBUG] Copying '/tmp/js2cpgTest2417262746866800073/multisimple' to temporary workspace '/tmp/multisimple12833536398999519157'.
3791[DEBUG] Excluded 'node_modules' (folder ignored by default).
3792[DEBUG] Loaded dependencies from '/tmp/multisimple12833536398999519157/multisimple/b/package.json'.
3793[DEBUG] Loaded dependencies from '/tmp/multisimple12833536398999519157/multisimple/package.json'.
3794[DEBUG] Loaded dependencies from '/tmp/multisimple12833536398999519157/multisimple/a/package.json'.
3795[INFO ] Found the following sub-projects:
3796 - a
3797 - b
3798[DEBUG] Loaded dependencies from '/tmp/js2cpgTest2417262746866800073/multisimple/package.json'.
3799[INFO ] Downloading / installing plugins in 'multisimple'
3800[INFO ] Installing project dependencies and plugins. That will take a while.
3801[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/multisimple12833536398999519157/multisimple'
3802[INFO ] + Plugins installed
3803[INFO ] TypeScript - transpiling source files in 'multisimple'
3804[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3805[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/multisimple12833536398999519157/multisimple'
3806[INFO ] + TypeScript plugins installed
3807[DEBUG] + TypeScript compiling /tmp/multisimple12833536398999519157/multisimple --project /tmp/multisimple12833536398999519157/multisimple/js2cpgTsConfig6372108343500438789.json to '/tmp/js2cpgTranspileOut14375957200527705385' (using commonjs style modules)
3808[DEBUG] + TypeScript compiling finished
3809[INFO ] Babel - transpiling source files in 'multisimple'
3810[DEBUG] + Babel transpiling '/tmp/multisimple12833536398999519157/multisimple' to '/tmp/js2cpgTranspileOut14375957200527705385' with command '/tmp/multisimple12833536398999519157/multisimple/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/multisimple12833536398999519157/multisimple' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTranspileOut14375957200527705385' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3811[DEBUG] + Babel transpiling finished
3812[INFO ] Downloading / installing plugins in 'a'
3813[INFO ] Installing project dependencies and plugins. That will take a while.
3814[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/multisimple12833536398999519157/multisimple/a'
3815[INFO ] + Plugins installed
3816[INFO ] TypeScript - transpiling source files in 'a'
3817[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3818[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/multisimple12833536398999519157/multisimple/a'
3819[INFO ] + TypeScript plugins installed
3820[DEBUG] + TypeScript compiling /tmp/multisimple12833536398999519157/multisimple/a --project /tmp/multisimple12833536398999519157/multisimple/a/js2cpgTsConfig13110833490560574581.json to '/tmp/js2cpgTranspileOut14375957200527705385/a' (using commonjs style modules)
3821[DEBUG] + TypeScript compiling finished
3822[INFO ] Babel - transpiling source files in 'a'
3823[DEBUG] + Babel transpiling '/tmp/multisimple12833536398999519157/multisimple/a' to '/tmp/js2cpgTranspileOut14375957200527705385/a' with command '/tmp/multisimple12833536398999519157/multisimple/a/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/multisimple12833536398999519157/multisimple/a' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTranspileOut14375957200527705385/a' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3824[DEBUG] + Babel transpiling finished
3825[INFO ] Downloading / installing plugins in 'b'
3826[INFO ] Installing project dependencies and plugins. That will take a while.
3827[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/multisimple12833536398999519157/multisimple/b'
3828[INFO ] + Plugins installed
3829[INFO ] Babel - transpiling source files in 'b'
3830[DEBUG] + Babel transpiling '/tmp/multisimple12833536398999519157/multisimple/b' to '/tmp/js2cpgTranspileOut14375957200527705385/b' with command '/tmp/multisimple12833536398999519157/multisimple/b/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/multisimple12833536398999519157/multisimple/b' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTranspileOut14375957200527705385/b' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3831[DEBUG] + Babel transpiling finished
3832[DEBUG] Excluded 'node_modules' (folder ignored by default).
3833[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3834[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut14375957200527705385/a/a.js.map':
3835 * Transpiled file: '/tmp/js2cpgTranspileOut14375957200527705385/a/a.js'
3836 * Origin: '/tmp/multisimple12833536398999519157/multisimple/a/a.ts'
3837[DEBUG] Parsing file 'a/a.js'.
3838[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut14375957200527705385/a.js.map':
3839 * Transpiled file: '/tmp/js2cpgTranspileOut14375957200527705385/a.js'
3840 * Origin: '/tmp/multisimple12833536398999519157/multisimple/a.js'
3841[DEBUG] Parsing file 'a.js'.
3842[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut14375957200527705385/b.js.map':
3843 * Transpiled file: '/tmp/js2cpgTranspileOut14375957200527705385/b.js'
3844 * Origin: '/tmp/multisimple12833536398999519157/multisimple/b.ts'
3845[DEBUG] Parsing file 'b.js'.
3846[DEBUG] Generating CPG for file 'a/a.js'.
3847[DEBUG] Generating CPG for file 'b.js'.
3848[DEBUG] Generating CPG for file 'a.js'.
3849[INFO ] Processed file 'a.js'
3850[INFO ] Processed file 'a/a.js'
3851[DEBUG] Could not load source map file for 'b/b.js'. The source map file refers to '/tmp/multisimple12833536398999519157/multisimple/bmultisimple12833536398999519157/multisimple/b/b.js' but this does not exist
3852[DEBUG] Parsing file 'b/b.js'.
3853[DEBUG] Generating CPG for file 'b/b.js'.
3854[INFO ] Processed file 'b/b.js'
3855[INFO ] Processed file 'b.js'
3856[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (26% on mutations). 152 + 4 changes committed from 4 parts.
3857[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
3858[DEBUG] Generating meta-data.
3859[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (88% on mutations). 1 + 0 changes committed from 1 parts.
3860[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
3861[DEBUG] Generating builtin types.
3862[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (90% on mutations). 22 + 0 changes committed from 1 parts.
3863[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
3864[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 3 ms (12% on mutations). 13 + 0 changes committed from 1 parts.
3865[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3866[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (93% on mutations). 0 + 0 changes committed from 0 parts.
3867[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
3868[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (89% on mutations). 0 + 0 changes committed from 0 parts.
3869[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3870[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
3871[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3872[DEBUG] Adding file 'package.json' as config file.
3873[DEBUG] Adding file 'a/package.json' as config file.
3874[DEBUG] Adding file 'a/tsconfig.json' as config file.
3875[DEBUG] Adding file 'tsconfig.json' as config file.
3876[DEBUG] Adding file 'b/package.json' as config file.
3877[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (19% on mutations). 5 + 0 changes committed from 5 parts.
3878[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest2417262746866800073/multisimple/cpg.bin.zip
3879[INFO ] writing to storage at `/tmp/js2cpgTest2417262746866800073/multisimple/cpg.bin.zip`
3880[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 104 property kinds
3881[INFO ] closed graph at /tmp/js2cpgTest2417262746866800073/multisimple/cpg.bin.zip
3882[INFO ] Generation of CPG is complete.
3883[INFO ] Report:
3884+-------+-----------------+-----+--------+-----------+----------+
3885| # | File | LOC | Parsed | Got a CPG | Duration |
3886+-------+-----------------+-----+--------+-----------+----------+
3887| 1 | a.js | 4 | yes | yes | 756.6 μs |
3888| 2 | a/a.js | 2 | yes | yes | 756.5 μs |
3889| 3 | a/package.json | 17 | yes | yes | 43.64 μs |
3890| 4 | a/tsconfig.json | 6 | yes | yes | 113.4 μs |
3891| 5 | b.js | 2 | yes | yes | 1.424 ms |
3892| 6 | b/b.js | 4 | yes | yes | 325.7 μs |
3893| 7 | b/package.json | 16 | yes | yes | 84.34 μs |
3894| 8 | package.json | 17 | yes | yes | 52.69 μs |
3895| 9 | tsconfig.json | 8 | yes | yes | 59.11 μs |
3896+-------+-----------------+-----+--------+-----------+----------+
3897| Total | | 76 | 9/9 | 9/9 | |
3898+-------+-----------------+-----+--------+-----------+----------+
3899[INFO ] initialising from existing storage (/tmp/js2cpgTest2417262746866800073/multisimple/cpg.bin.zip)
3900[DEBUG] loading graph with 43 nodes, 28 edges, 104 properties
3901[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest7450253304328261141/multisolutionconfig'
3902[DEBUG] Configuration:
3903 - Source project: '/tmp/js2cpgTest7450253304328261141/multisolutionconfig'
3904 - package.json location: '/tmp/js2cpgTest7450253304328261141/multisolutionconfig/package.json'
3905 - Module mode: 'commonjs'
3906 - Optimize dependencies: true
3907 - Fixed transpilations dependencies: false
3908 - Typescript transpiling: true
3909 - Babel transpiling: true
3910 - Vue.js transpiling: true
3911 - Nuxt.js transpiling: true
3912 - Template transpiling: true
3913 - Ignored files regex: ''
3914 - Ignored folders:
3915 - Ignore minified files: true
3916 - Ignore test files: true
3917 - Ignore private dependencies: false
3918 - Additional private dependencies:
3919 - Include configuration files: true
3920 - Include HTML files: true
3921 - Output file: '/tmp/js2cpgTest7450253304328261141/multisolutionconfig/cpg.bin.zip'
3922
3923[DEBUG] Copying '/tmp/js2cpgTest7450253304328261141/multisolutionconfig' to temporary workspace '/tmp/multisolutionconfig9439157787279939076'.
3924[DEBUG] Excluded 'node_modules' (folder ignored by default).
3925[DEBUG] Excluded 'a/node_modules' (folder ignored by default).
3926[DEBUG] Excluded 'b/node_modules' (folder ignored by default).
3927[DEBUG] Loaded dependencies from '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/b/package.json'.
3928[DEBUG] Loaded dependencies from '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/package.json'.
3929[DEBUG] Loaded dependencies from '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a/package.json'.
3930[INFO ] Found the following sub-projects:
3931 - a
3932 - b
3933[DEBUG] Loaded dependencies from '/tmp/js2cpgTest7450253304328261141/multisolutionconfig/package.json'.
3934[INFO ] Downloading / installing plugins in 'multisolutionconfig'
3935[INFO ] Installing project dependencies and plugins. That will take a while.
3936[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig'
3937[INFO ] + Plugins installed
3938[INFO ] TypeScript - transpiling source files in 'multisolutionconfig'
3939[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3940[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig'
3941[INFO ] + TypeScript plugins installed
3942[DEBUG] + TypeScript compiling /tmp/multisolutionconfig9439157787279939076/multisolutionconfig --project ./a/tsconfig.json to '/tmp/js2cpgTranspileOut7368279834352809399/a' (using commonjs style modules)
3943[DEBUG] + TypeScript compiling finished
3944[INFO ] Babel - transpiling source files in 'multisolutionconfig'
3945[DEBUG] + Babel transpiling '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig' to '/tmp/js2cpgTranspileOut7368279834352809399' with command '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTranspileOut7368279834352809399' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3946[DEBUG] + Babel transpiling finished
3947[INFO ] Downloading / installing plugins in 'a'
3948[INFO ] Installing project dependencies and plugins. That will take a while.
3949[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a'
3950[INFO ] + Plugins installed
3951[INFO ] TypeScript - transpiling source files in 'a'
3952[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
3953[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a'
3954[INFO ] + TypeScript plugins installed
3955[DEBUG] + TypeScript compiling /tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a --project /tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a/js2cpgTsConfig15021546996946849826.json to '/tmp/js2cpgTranspileOut7368279834352809399/a' (using commonjs style modules)
3956[DEBUG] + TypeScript compiling finished
3957[INFO ] Babel - transpiling source files in 'a'
3958[DEBUG] + Babel transpiling '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a' to '/tmp/js2cpgTranspileOut7368279834352809399/a' with command '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTranspileOut7368279834352809399/a' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3959[DEBUG] + Babel transpiling finished
3960[INFO ] Downloading / installing plugins in 'b'
3961[INFO ] Installing project dependencies and plugins. That will take a while.
3962[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/b'
3963[INFO ] + Plugins installed
3964[INFO ] Babel - transpiling source files in 'b'
3965[DEBUG] + Babel transpiling '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/b' to '/tmp/js2cpgTranspileOut7368279834352809399/b' with command '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/b/node_modules/.bin/babel . --no-babelrc --source-root '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/b' --source-maps true --presets @babel/preset-react --presets @babel/preset-env --presets @babel/preset-typescript --presets @babel/preset-flow --plugins @babel/plugin-transform-object-rest-spread --plugins @babel/plugin-transform-property-mutators --plugins @babel/plugin-transform-nullish-coalescing-operator --plugins @babel/plugin-transform-private-methods --plugins @babel/plugin-transform-class-properties --plugins @babel/plugin-transform-runtime --plugins @babel/plugin-transform-private-property-in-object --out-dir '/tmp/js2cpgTranspileOut7368279834352809399/b' --ignore '**/node_modules,**/build,**/dist,**/vendor,**/docs,**/swagger,**/cypress,**/.yarn,**/jspm_packages,**/bower_components,**/examples,**/test,**/test_integration,**/test-integration,**/tests,**/tests_integration,**/tests-integration,**/e2e,**/mocks''
3966[DEBUG] + Babel transpiling finished
3967[DEBUG] Excluded 'node_modules' (folder ignored by default).
3968[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
3969[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7368279834352809399/a/a.js.map':
3970 * Transpiled file: '/tmp/js2cpgTranspileOut7368279834352809399/a/a.js'
3971 * Origin: '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a/a.ts'
3972[DEBUG] Parsing file 'a/a.js'.
3973[DEBUG] Generating CPG for file 'a/a.js'.
3974[DEBUG] Could not load source map file for 'b/b.js'. The source map file refers to '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/bmultisolutionconfig9439157787279939076/multisolutionconfig/b/b.js' but this does not exist
3975[DEBUG] Parsing file 'b/b.js'.
3976[DEBUG] Generating CPG for file 'b/b.js'.
3977[INFO ] Processed file 'a/a.js'
3978[INFO ] Processed file 'b/b.js'
3979[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut7368279834352809399/a.js.map':
3980 * Transpiled file: '/tmp/js2cpgTranspileOut7368279834352809399/a.js'
3981 * Origin: '/tmp/multisolutionconfig9439157787279939076/multisolutionconfig/a.js'
3982[DEBUG] Parsing file 'a.js'.
3983[DEBUG] Generating CPG for file 'a.js'.
3984[INFO ] Processed file 'a.js'
3985[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (15% on mutations). 115 + 3 changes committed from 3 parts.
3986[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
3987[DEBUG] Generating meta-data.
3988[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (92% on mutations). 1 + 0 changes committed from 1 parts.
3989[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
3990[DEBUG] Generating builtin types.
3991[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 0 ms (84% on mutations). 22 + 0 changes committed from 1 parts.
3992[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
3993[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 3 ms (7% on mutations). 13 + 0 changes committed from 1 parts.
3994[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3995[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
3996[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
3997[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
3998[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
3999[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (89% on mutations). 0 + 0 changes committed from 0 parts.
4000[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4001[DEBUG] Adding file 'package.json' as config file.
4002[DEBUG] Adding file 'a/package.json' as config file.
4003[DEBUG] Adding file 'b/package.json' as config file.
4004[DEBUG] Adding file 'tsconfig.json' as config file.
4005[DEBUG] Adding file 'a/tsconfig.json' as config file.
4006[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (17% on mutations). 5 + 0 changes committed from 5 parts.
4007[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest7450253304328261141/multisolutionconfig/cpg.bin.zip
4008[INFO ] writing to storage at `/tmp/js2cpgTest7450253304328261141/multisolutionconfig/cpg.bin.zip`
4009[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 104 property kinds
4010[INFO ] closed graph at /tmp/js2cpgTest7450253304328261141/multisolutionconfig/cpg.bin.zip
4011[INFO ] Generation of CPG is complete.
4012[INFO ] Report:
4013+-------+-----------------+-----+--------+-----------+----------+
4014| # | File | LOC | Parsed | Got a CPG | Duration |
4015+-------+-----------------+-----+--------+-----------+----------+
4016| 1 | a.js | 4 | yes | yes | 430.0 μs |
4017| 2 | a/a.js | 2 | yes | yes | 589.5 μs |
4018| 3 | a/package.json | 17 | yes | yes | 106.7 μs |
4019| 4 | a/tsconfig.json | 6 | yes | yes | 264.8 μs |
4020| 5 | b/b.js | 4 | yes | yes | 298.0 μs |
4021| 6 | b/package.json | 16 | yes | yes | 472.2 μs |
4022| 7 | package.json | 17 | yes | yes | 373.3 μs |
4023| 8 | tsconfig.json | 6 | yes | yes | 410.8 μs |
4024+-------+-----------------+-----+--------+-----------+----------+
4025| Total | | 72 | 8/8 | 8/8 | |
4026+-------+-----------------+-----+--------+-----------+----------+
4027[INFO ] initialising from existing storage (/tmp/js2cpgTest7450253304328261141/multisolutionconfig/cpg.bin.zip)
4028[DEBUG] loading graph with 43 nodes, 28 edges, 104 properties
4029[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest12436355033012703826/vue2'
4030[DEBUG] Configuration:
4031 - Source project: '/tmp/js2cpgTest12436355033012703826/vue2'
4032 - package.json location: '/tmp/js2cpgTest12436355033012703826/vue2/package.json'
4033 - Module mode: 'commonjs'
4034 - Optimize dependencies: true
4035 - Fixed transpilations dependencies: false
4036 - Typescript transpiling: true
4037 - Babel transpiling: true
4038 - Vue.js transpiling: true
4039 - Nuxt.js transpiling: true
4040 - Template transpiling: true
4041 - Ignored files regex: ''
4042 - Ignored folders:
4043 - Ignore minified files: true
4044 - Ignore test files: true
4045 - Ignore private dependencies: false
4046 - Additional private dependencies:
4047 - Include configuration files: true
4048 - Include HTML files: true
4049 - Output file: '/tmp/js2cpgTest12436355033012703826/vue2/cpg.bin.zip'
4050
4051[DEBUG] Copying '/tmp/js2cpgTest12436355033012703826/vue2' to temporary workspace '/tmp/vue24861318344895311946'.
4052[DEBUG] Excluded 'node_modules' (folder ignored by default).
4053[DEBUG] Excluded 'a/node_modules' (folder ignored by default).
4054[DEBUG] Excluded 'b/node_modules' (folder ignored by default).
4055[DEBUG] Loaded dependencies from '/tmp/vue24861318344895311946/vue2/package.json'.
4056[DEBUG] Loaded dependencies from '/tmp/js2cpgTest12436355033012703826/vue2/package.json'.
4057[INFO ] Vue.js - transpiling source files in 'vue2'
4058[INFO ] Installing Vue.js dependencies and plugins. That will take a while.
4059[DEBUG] + Installing Vue.js plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @vue/cli-service-global ' in path '/tmp/vue24861318344895311946/vue2'
4060[DEBUG] + Checking node ...
4061[DEBUG] + node is available: v18.20.8
4062[INFO ] + Vue.js plugins installed
4063[DEBUG] + Vue.js transpiling /tmp/vue24861318344895311946/vue2 to '/tmp/js2cpgTranspileOut4609084159155271235'
4064[DEBUG] + Vue.js transpiling finished
4065[DEBUG] Excluded 'js/chunk-vendors.js' (file ignored by default).
4066[DEBUG] Excluded 'js/app-legacy.js' (file ignored by default).
4067[DEBUG] Excluded 'vue.config.js' (file ignored by default).
4068[DEBUG] Excluded 'node_modules' (folder ignored by default).
4069[DEBUG] Excluded 'js/chunk-vendors-legacy.js' (file ignored by default).
4070[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
4071[DEBUG] No source map file available for 'src/main.js'
4072[DEBUG] Parsing file 'src/main.js'.
4073[DEBUG] Generating CPG for file 'src/main.js'.
4074[INFO ] Processed file 'src/main.js'
4075[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut4609084159155271235/js/app.js.map':
4076 * Transpiled file: '/tmp/js2cpgTranspileOut4609084159155271235/js/app.js'
4077 * Origin: '/tmp/vue24861318344895311946/vue2/src/App.vue'
4078[DEBUG] Parsing file 'js/app.js'.
4079[DEBUG] Generating CPG for file 'js/app.js'.
4080[INFO ] Processed file 'js/app.js'
4081[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 81 ms (23% on mutations). 9710 + 92 changes committed from 2 parts.
4082[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
4083[DEBUG] Generating meta-data.
4084[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (87% on mutations). 1 + 0 changes committed from 1 parts.
4085[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
4086[DEBUG] Generating builtin types.
4087[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 1 ms (93% on mutations). 22 + 0 changes committed from 1 parts.
4088[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
4089[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 2 ms (19% on mutations). 2 + 0 changes committed from 1 parts.
4090[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4091[DEBUG] Adding file 'src/App.vue' as config file.
4092[DEBUG] Adding file 'src/components/HelloWorld.vue' as config file.
4093[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (40% on mutations). 2 + 0 changes committed from 2 parts.
4094[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
4095[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (85% on mutations). 0 + 0 changes committed from 0 parts.
4096[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4097[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
4098[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4099[DEBUG] Adding file 'package.json' as config file.
4100[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 1 ms (53% on mutations). 1 + 0 changes committed from 1 parts.
4101[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest12436355033012703826/vue2/cpg.bin.zip
4102[INFO ] writing to storage at `/tmp/js2cpgTest12436355033012703826/vue2/cpg.bin.zip`
4103[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 132 property kinds
4104[INFO ] closed graph at /tmp/js2cpgTest12436355033012703826/vue2/cpg.bin.zip
4105[INFO ] Generation of CPG is complete.
4106[INFO ] Report:
4107+-------+-------------------------------+-----+--------+-----------+----------+
4108| # | File | LOC | Parsed | Got a CPG | Duration |
4109+-------+-------------------------------+-----+--------+-----------+----------+
4110| 1 | js/app.js | 723 | yes | yes | 36.63 ms |
4111| 2 | package.json | 10 | yes | yes | 57.59 μs |
4112| 3 | src/App.vue | 27 | yes | yes | 77.73 μs |
4113| 4 | src/components/HelloWorld.vue | 89 | yes | yes | 53.14 μs |
4114| 5 | src/main.js | 6 | yes | yes | 1.490 ms |
4115+-------+-------------------------------+-----+--------+-----------+----------+
4116| Total | | 855 | 5/5 | 5/5 | |
4117+-------+-------------------------------+-----+--------+-----------+----------+
4118[INFO ] initialising from existing storage (/tmp/js2cpgTest12436355033012703826/vue2/cpg.bin.zip)
4119[DEBUG] loading graph with 43 nodes, 49 edges, 132 properties
4120[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest8860279515696353960/vue3'
4121[DEBUG] Configuration:
4122 - Source project: '/tmp/js2cpgTest8860279515696353960/vue3'
4123 - package.json location: '/tmp/js2cpgTest8860279515696353960/vue3/package.json'
4124 - Module mode: 'commonjs'
4125 - Optimize dependencies: true
4126 - Fixed transpilations dependencies: false
4127 - Typescript transpiling: true
4128 - Babel transpiling: true
4129 - Vue.js transpiling: true
4130 - Nuxt.js transpiling: true
4131 - Template transpiling: true
4132 - Ignored files regex: ''
4133 - Ignored folders:
4134 - Ignore minified files: true
4135 - Ignore test files: true
4136 - Ignore private dependencies: false
4137 - Additional private dependencies:
4138 - Include configuration files: true
4139 - Include HTML files: true
4140 - Output file: '/tmp/js2cpgTest8860279515696353960/vue3/cpg.bin.zip'
4141
4142[DEBUG] Copying '/tmp/js2cpgTest8860279515696353960/vue3' to temporary workspace '/tmp/vue311421427589734655702'.
4143[DEBUG] Excluded 'vue.config.js' (file ignored by default).
4144[DEBUG] Excluded 'node_modules' (folder ignored by default).
4145[DEBUG] Loaded dependencies from '/tmp/vue311421427589734655702/vue3/package.json'.
4146[DEBUG] Loaded dependencies from '/tmp/js2cpgTest8860279515696353960/vue3/package.json'.
4147[INFO ] Downloading / installing plugins in 'vue3'
4148[INFO ] Installing project dependencies and plugins. That will take a while.
4149[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/vue311421427589734655702/vue3'
4150[INFO ] + Plugins installed
4151[INFO ] TypeScript - transpiling source files in 'vue3'
4152[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
4153[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/vue311421427589734655702/vue3'
4154[INFO ] + TypeScript plugins installed
4155[DEBUG] + TypeScript compiling /tmp/vue311421427589734655702/vue3 --project /tmp/vue311421427589734655702/vue3/js2cpgTsConfig6330731601761943208.json to '/tmp/js2cpgTranspileOut6046715934963597839' (using commonjs style modules)
4156[DEBUG] + TypeScript compiling finished
4157[INFO ] Vue.js - transpiling source files in 'vue3'
4158[INFO ] Installing Vue.js dependencies and plugins. That will take a while.
4159[DEBUG] + Installing Vue.js plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @vue/cli-service-global typescript @vue/cli-plugin-typescript' in path '/tmp/vue311421427589734655702/vue3'
4160[DEBUG] + Checking node ...
4161[DEBUG] + node is available: v18.20.8
4162[INFO ] + Vue.js plugins installed
4163[DEBUG] + Vue.js transpiling /tmp/vue311421427589734655702/vue3 to '/tmp/js2cpgTranspileOut6046715934963597839'
4164[DEBUG] + Vue.js transpiling finished
4165[DEBUG] Excluded 'js/chunk-vendors.js' (file ignored by default).
4166[DEBUG] Excluded 'vue.config.js' (file ignored by default).
4167[DEBUG] Excluded 'node_modules' (folder ignored by default).
4168[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
4169[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut6046715934963597839/main.js.map':
4170 * Transpiled file: '/tmp/js2cpgTranspileOut6046715934963597839/main.js'
4171 * Origin: '/tmp/vue311421427589734655702/vue3/src/main.ts'
4172[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut6046715934963597839/router/index.js.map':
4173 * Transpiled file: '/tmp/js2cpgTranspileOut6046715934963597839/router/index.js'
4174 * Origin: '/tmp/vue311421427589734655702/vue3/src/router/index.ts'
4175[DEBUG] Parsing file 'main.js'.
4176[DEBUG] Parsing file 'router/index.js'.
4177[DEBUG] Generating CPG for file 'main.js'.
4178[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut6046715934963597839/js/about.js.map':
4179 * Transpiled file: '/tmp/js2cpgTranspileOut6046715934963597839/js/about.js'
4180 * Origin: '/tmp/vue311421427589734655702/vue3/src/views/AboutPage.vue'
4181[DEBUG] Parsing file 'js/about.js'.
4182[DEBUG] Generating CPG for file 'js/about.js'.
4183[DEBUG] Generating CPG for file 'router/index.js'.
4184[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut6046715934963597839/js/app.js.map':
4185 * Transpiled file: '/tmp/js2cpgTranspileOut6046715934963597839/js/app.js'
4186 * Origin: '/tmp/vue311421427589734655702/vue3/src/App.vue'
4187[INFO ] Processed file 'main.js'
4188[DEBUG] Parsing file 'js/app.js'.
4189[INFO ] Processed file 'router/index.js'
4190[INFO ] Processed file 'js/about.js'
4191[DEBUG] Generating CPG for file 'js/app.js'.
4192[INFO ] Processed file 'js/app.js'
4193[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 145 ms (48% on mutations). 13977 + 226 changes committed from 4 parts.
4194[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
4195[DEBUG] Generating meta-data.
4196[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 1 ms (65% on mutations). 1 + 0 changes committed from 1 parts.
4197[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
4198[DEBUG] Generating builtin types.
4199[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 0 ms (81% on mutations). 22 + 0 changes committed from 1 parts.
4200[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
4201[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 4 ms (9% on mutations). 12 + 0 changes committed from 1 parts.
4202[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4203[DEBUG] Adding file 'src/views/AboutPage.vue' as config file.
4204[DEBUG] Adding file 'src/App.vue' as config file.
4205[DEBUG] Adding file 'src/components/HelloWorld.vue' as config file.
4206[DEBUG] Adding file 'src/views/HomePage.vue' as config file.
4207[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 4 ms (34% on mutations). 4 + 0 changes committed from 4 parts.
4208[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
4209[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 1 ms (95% on mutations). 0 + 0 changes committed from 0 parts.
4210[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4211[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (67% on mutations). 0 + 0 changes committed from 0 parts.
4212[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4213[DEBUG] Adding file 'package.json' as config file.
4214[DEBUG] Adding file 'tsconfig.json' as config file.
4215[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 2 ms (21% on mutations). 2 + 0 changes committed from 2 parts.
4216[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest8860279515696353960/vue3/cpg.bin.zip
4217[INFO ] writing to storage at `/tmp/js2cpgTest8860279515696353960/vue3/cpg.bin.zip`
4218[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 135 property kinds
4219[INFO ] closed graph at /tmp/js2cpgTest8860279515696353960/vue3/cpg.bin.zip
4220[INFO ] Generation of CPG is complete.
4221[INFO ] Report:
4222+-------+-------------------------------+------+--------+-----------+----------+
4223| # | File | LOC | Parsed | Got a CPG | Duration |
4224+-------+-------------------------------+------+--------+-----------+----------+
4225| 1 | js/about.js | 67 | yes | yes | 5.078 ms |
4226| 2 | js/app.js | 812 | yes | yes | 41.50 ms |
4227| 3 | main.js | 10 | yes | yes | 4.428 ms |
4228| 4 | package.json | 21 | yes | yes | 186.4 μs |
4229| 5 | router/index.js | 26 | yes | yes | 2.512 ms |
4230| 6 | src/App.vue | 30 | yes | yes | 256.4 μs |
4231| 7 | src/components/HelloWorld.vue | 121 | yes | yes | 97.97 μs |
4232| 8 | src/views/AboutPage.vue | 5 | yes | yes | 119.7 μs |
4233| 9 | src/views/HomePage.vue | 17 | yes | yes | 465.5 μs |
4234| 10 | tsconfig.json | 39 | yes | yes | 216.2 μs |
4235+-------+-------------------------------+------+--------+-----------+----------+
4236| Total | | 1148 | 10/10 | 10/10 | |
4237+-------+-------------------------------+------+--------+-----------+----------+
4238[INFO ] initialising from existing storage (/tmp/js2cpgTest8860279515696353960/vue3/cpg.bin.zip)
4239[DEBUG] loading graph with 43 nodes, 51 edges, 135 properties
4240[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest11861670242037670753/ejs'
4241[DEBUG] Configuration:
4242 - Source project: '/tmp/js2cpgTest11861670242037670753/ejs'
4243 - package.json location: '/tmp/js2cpgTest11861670242037670753/ejs/package.json'
4244 - Module mode: 'commonjs'
4245 - Optimize dependencies: true
4246 - Fixed transpilations dependencies: false
4247 - Typescript transpiling: false
4248 - Babel transpiling: false
4249 - Vue.js transpiling: true
4250 - Nuxt.js transpiling: true
4251 - Template transpiling: true
4252 - Ignored files regex: ''
4253 - Ignored folders:
4254 - Ignore minified files: true
4255 - Ignore test files: true
4256 - Ignore private dependencies: false
4257 - Additional private dependencies:
4258 - Include configuration files: true
4259 - Include HTML files: true
4260 - Output file: '/tmp/js2cpgTest11861670242037670753/ejs/cpg.bin.zip'
4261
4262[DEBUG] Copying '/tmp/js2cpgTest11861670242037670753/ejs' to temporary workspace '/tmp/ejs9020965589816006617'.
4263[DEBUG] Excluded 'vue.config.js' (file ignored by default).
4264[DEBUG] Excluded 'node_modules' (folder ignored by default).
4265[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest11861670242037670753/ejs'.
4266[INFO ] EJS - transpiling source files in 'ejs'
4267[DEBUG] + transpiled EJS template 'test.ejs' to '/tmp/js2cpgTranspileOut6146261588937233398/test.js'
4268[DEBUG] + EJS template transpiling finished.
4269[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
4270[DEBUG] Successfully loaded source map file '/tmp/js2cpgTranspileOut6146261588937233398/test.js.map':
4271 * Transpiled file: '/tmp/js2cpgTranspileOut6146261588937233398/test.js'
4272 * Origin: '/tmp/ejs9020965589816006617/ejs/test.ejs'
4273[DEBUG] Parsing file 'test.js'.
4274[DEBUG] Generating CPG for file 'test.js'.
4275[INFO ] Processed file 'test.js'
4276[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 5 ms (23% on mutations). 296 + 11 changes committed from 1 parts.
4277[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
4278[DEBUG] Generating meta-data.
4279[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (89% on mutations). 1 + 0 changes committed from 1 parts.
4280[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
4281[DEBUG] Generating builtin types.
4282[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 0 ms (87% on mutations). 22 + 0 changes committed from 1 parts.
4283[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
4284[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/ejs9020965589816006617/ejs'.
4285[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 1 ms (18% on mutations). 0 + 0 changes committed from 1 parts.
4286[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4287[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (89% on mutations). 0 + 0 changes committed from 0 parts.
4288[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
4289[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (89% on mutations). 0 + 0 changes committed from 0 parts.
4290[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4291[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (93% on mutations). 0 + 0 changes committed from 0 parts.
4292[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4293[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
4294[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest11861670242037670753/ejs/cpg.bin.zip
4295[INFO ] writing to storage at `/tmp/js2cpgTest11861670242037670753/ejs/cpg.bin.zip`
4296[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 115 property kinds
4297[INFO ] closed graph at /tmp/js2cpgTest11861670242037670753/ejs/cpg.bin.zip
4298[INFO ] Generation of CPG is complete.
4299[INFO ] Report:
4300+-------+---------+-----+--------+-----------+----------+
4301| # | File | LOC | Parsed | Got a CPG | Duration |
4302+-------+---------+-----+--------+-----------+----------+
4303| 1 | test.js | 12 | yes | yes | 1.480 ms |
4304+-------+---------+-----+--------+-----------+----------+
4305| Total | | 12 | 1/1 | 1/1 | |
4306+-------+---------+-----+--------+-----------+----------+
4307[INFO ] initialising from existing storage (/tmp/js2cpgTest11861670242037670753/ejs/cpg.bin.zip)
4308[DEBUG] loading graph with 43 nodes, 38 edges, 115 properties
4309[INFO ] Generating CPG from Javascript sources in: '/tmp/js2cpgTest7433859508916488669/pug'
4310[DEBUG] Configuration:
4311 - Source project: '/tmp/js2cpgTest7433859508916488669/pug'
4312 - package.json location: '/tmp/js2cpgTest7433859508916488669/pug/package.json'
4313 - Module mode: 'commonjs'
4314 - Optimize dependencies: true
4315 - Fixed transpilations dependencies: false
4316 - Typescript transpiling: false
4317 - Babel transpiling: false
4318 - Vue.js transpiling: true
4319 - Nuxt.js transpiling: true
4320 - Template transpiling: true
4321 - Ignored files regex: ''
4322 - Ignored folders:
4323 - Ignore minified files: true
4324 - Ignore test files: true
4325 - Ignore private dependencies: false
4326 - Additional private dependencies:
4327 - Include configuration files: true
4328 - Include HTML files: true
4329 - Output file: '/tmp/js2cpgTest7433859508916488669/pug/cpg.bin.zip'
4330
4331[DEBUG] Copying '/tmp/js2cpgTest7433859508916488669/pug' to temporary workspace '/tmp/pug8826362630925511434'.
4332[DEBUG] Loaded dependencies from '/tmp/pug8826362630925511434/pug/package.json'.
4333[DEBUG] Loaded dependencies from '/tmp/js2cpgTest7433859508916488669/pug/package.json'.
4334[INFO ] PUG - transpiling source files in 'pug'
4335[INFO ] Installing Pug dependencies and plugins. That will take a while.
4336[DEBUG] + Installing Pug plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install pug-cli' in path '/tmp/pug8826362630925511434/pug'
4337[INFO ] + Pug plugins installed
4338[DEBUG] + transpiling Pug templates in /tmp/pug8826362630925511434/pug to '/tmp/js2cpgTranspileOut13569342945049605497'
4339[DEBUG] + transpiling Pug templates finished
4340[DEBUG] Excluded 'node_modules' (folder ignored by default).
4341[INFO ] Start of pass: io.shiftleft.js2cpg.passes.AstCreationPass
4342[DEBUG] No source map file available for 'test.js'
4343[DEBUG] Parsing file 'test.js'.
4344[DEBUG] Generating CPG for file 'test.js'.
4345[INFO ] Processed file 'test.js'
4346[INFO ] Pass io.shiftleft.js2cpg.passes.AstCreationPass completed in 7 ms (18% on mutations). 770 + 14 changes committed from 1 parts.
4347[INFO ] Start of pass: io.shiftleft.js2cpg.passes.JsMetaDataPass
4348[DEBUG] Generating meta-data.
4349[INFO ] Pass io.shiftleft.js2cpg.passes.JsMetaDataPass completed in 0 ms (79% on mutations). 1 + 0 changes committed from 1 parts.
4350[INFO ] Start of pass: io.shiftleft.js2cpg.passes.BuiltinTypesPass
4351[DEBUG] Generating builtin types.
4352[INFO ] Pass io.shiftleft.js2cpg.passes.BuiltinTypesPass completed in 0 ms (82% on mutations). 22 + 0 changes committed from 1 parts.
4353[INFO ] Start of pass: io.shiftleft.js2cpg.passes.DependenciesPass
4354[INFO ] Pass io.shiftleft.js2cpg.passes.DependenciesPass completed in 1 ms (25% on mutations). 1 + 0 changes committed from 1 parts.
4355[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4356[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (90% on mutations). 0 + 0 changes committed from 0 parts.
4357[INFO ] Start of pass: io.shiftleft.js2cpg.passes.PrivateKeyFilePass
4358[INFO ] Pass io.shiftleft.js2cpg.passes.PrivateKeyFilePass completed in 0 ms (91% on mutations). 0 + 0 changes committed from 0 parts.
4359[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4360[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (92% on mutations). 0 + 0 changes committed from 0 parts.
4361[INFO ] Start of pass: io.shiftleft.js2cpg.passes.ConfigPass
4362[DEBUG] Adding file 'package.json' as config file.
4363[INFO ] Pass io.shiftleft.js2cpg.passes.ConfigPass completed in 0 ms (55% on mutations). 1 + 0 changes committed from 1 parts.
4364[DEBUG] closing graph: start writing changes to /tmp/js2cpgTest7433859508916488669/pug/cpg.bin.zip
4365[INFO ] writing to storage at `/tmp/js2cpgTest7433859508916488669/pug/cpg.bin.zip`
4366[DEBUG] wrote 43 node kinds, {edges.size} edge kinds and 131 property kinds
4367[INFO ] closed graph at /tmp/js2cpgTest7433859508916488669/pug/cpg.bin.zip
4368[INFO ] Generation of CPG is complete.
4369[INFO ] Report:
4370+-------+--------------+-----+--------+-----------+----------+
4371| # | File | LOC | Parsed | Got a CPG | Duration |
4372+-------+--------------+-----+--------+-----------+----------+
4373| 1 | package.json | 5 | yes | yes | 49.01 μs |
4374| 2 | test.js | 9 | yes | yes | 2.748 ms |
4375+-------+--------------+-----+--------+-----------+----------+
4376| Total | | 14 | 2/2 | 2/2 | |
4377+-------+--------------+-----+--------+-----------+----------+
4378[INFO ] initialising from existing storage (/tmp/js2cpgTest7433859508916488669/pug/cpg.bin.zip)
4379[DEBUG] loading graph with 43 nodes, 47 edges, 131 properties
4380[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest15044239040066836435/enginecheck'.
4381[INFO ] Downloading / installing plugins in 'enginecheck'
4382[INFO ] Installing project dependencies and plugins. That will take a while.
4383[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/js2cpgTest15044239040066836435/enginecheck'
4384[ERROR] - Failed to install plugins
4385java.lang.RuntimeException: npm error code EBADENGINE
4386npm error engine Unsupported engine
4387npm error engine Not compatible with your version of node/npm: privatemodules@0.1.0
4388npm error notsup Not compatible with your version of node/npm: privatemodules@0.1.0
4389npm error notsup Required: {"npm":"<=4.0.0","node":"<=12.0.0"}
4390npm error notsup Actual: {"npm":"10.8.2","node":"v18.20.8"}
4391npm error A complete log of this run can be found in: /root/.npm/_logs/2025-12-31T21_38_43_206Z-debug-0.log
4392 at io.shiftleft.js2cpg.io.ExternalCommand$.run(ExternalCommand.scala:30) ~[classes/:?]
4393 at io.shiftleft.js2cpg.preprocessing.TranspilerGroup.installPlugins(TranspilerGroup.scala:28) ~[classes/:?]
4394 at io.shiftleft.js2cpg.preprocessing.TranspilerGroup.transpile(TranspilerGroup.scala:41) ~[classes/:?]
4395 at io.shiftleft.js2cpg.preprocessing.Transpiler.run(Transpiler.scala:56) ~[classes/:?]
4396 at io.shiftleft.js2cpg.preprocessing.Transpiler.run$(Transpiler.scala:7) ~[classes/:?]
4397 at io.shiftleft.js2cpg.preprocessing.TranspilerGroup.run(TranspilerGroup.scala:11) ~[classes/:?]
4398 at io.shiftleft.js2cpg.preprocessing.TranspilationRunner.execute$$anonfun$3$$anonfun$1(TranspilationRunner.scala:195) ~[classes/:?]
4399 at scala.collection.immutable.List.takeWhile(List.scala:305) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4400 at scala.collection.immutable.List.takeWhile(List.scala:302) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4401 at io.shiftleft.js2cpg.preprocessing.TranspilationRunner.execute$$anonfun$3(TranspilationRunner.scala:195) ~[classes/:?]
4402 at io.shiftleft.js2cpg.preprocessing.TranspilationRunner.withTemporaryPackageJson(TranspilationRunner.scala:180) ~[classes/:?]
4403 at io.shiftleft.js2cpg.preprocessing.TranspilationRunner.execute(TranspilationRunner.scala:195) ~[classes/:?]
4404 at io.shiftleft.js2cpg.preprocessing.TranspilationRunnerTest.f$proxy14$1$$anonfun$1$$anonfun$1(TranspilationRunnerTest.scala:294) ~[test-classes/:?]
4405 at better.files.Dispose.apply(Dispose.scala:75) ~[better-files_3-3.9.2.jar:3.9.2]
4406 at better.files.Dispose.foreach(Dispose.scala:91) ~[better-files_3-3.9.2.jar:3.9.2]
4407 at better.files.File$.usingTemporaryDirectory(File.scala:1320) ~[better-files_3-3.9.2.jar:3.9.2]
4408 at io.shiftleft.js2cpg.preprocessing.TranspilationRunnerTest.f$proxy14$1$$anonfun$1(TranspilationRunnerTest.scala:293) ~[test-classes/:?]
4409 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4410 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4411 at io.shiftleft.js2cpg.preprocessing.TranspilationRunnerTest.io$shiftleft$js2cpg$preprocessing$TranspilationRunnerTest$TranspilationFixture$$$_$apply$$anonfun$1(TranspilationRunnerTest.scala:26) ~[test-classes/:?]
4412 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4413 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4414 at better.files.Dispose.apply(Dispose.scala:75) ~[better-files_3-3.9.2.jar:3.9.2]
4415 at better.files.Dispose.foreach(Dispose.scala:91) ~[better-files_3-3.9.2.jar:3.9.2]
4416 at better.files.File$.usingTemporaryDirectory(File.scala:1320) ~[better-files_3-3.9.2.jar:3.9.2]
4417 at io.shiftleft.js2cpg.preprocessing.TranspilationRunnerTest$TranspilationFixture$.apply(TranspilationRunnerTest.scala:26) ~[test-classes/:?]
4418 at io.shiftleft.js2cpg.preprocessing.TranspilationRunnerTest.f$proxy14$1(TranspilationRunnerTest.scala:292) ~[test-classes/:?]
4419 at io.shiftleft.js2cpg.preprocessing.TranspilationRunnerTest.$init$$$anonfun$1$$anonfun$14(TranspilationRunnerTest.scala:292) ~[test-classes/:?]
4420 at org.scalatest.Transformer.apply$$anonfun$1(Transformer.scala:22) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4421 at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4422 at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:31) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4423 at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4424 at org.scalatest.Transformer.apply(Transformer.scala:22) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4425 at org.scalatest.Transformer.apply(Transformer.scala:21) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4426 at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1118) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4427 at org.scalatest.TestSuite.withFixture(TestSuite.scala:196) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4428 at org.scalatest.TestSuite.withFixture$(TestSuite.scala:138) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4429 at org.scalatest.wordspec.AnyWordSpec.withFixture(AnyWordSpec.scala:1879) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4430 at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1124) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4431 at org.scalatest.wordspec.AnyWordSpecLike.runTest$$anonfun$1(AnyWordSpecLike.scala:1128) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4432 at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4433 at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1128) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4434 at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:44) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4435 at org.scalatest.wordspec.AnyWordSpec.runTest(AnyWordSpec.scala:1879) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4436 at org.scalatest.wordspec.AnyWordSpecLike.runTests$$anonfun$1(AnyWordSpecLike.scala:1187) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4437 at org.scalatest.SuperEngine.traverseSubNodes$1$$anonfun$1(Engine.scala:413) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4438 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4439 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4440 at scala.collection.immutable.List.foreach(List.scala:327) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4441 at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:429) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4442 at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4443 at org.scalatest.SuperEngine.traverseSubNodes$1$$anonfun$1(Engine.scala:427) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4444 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4445 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4446 at scala.collection.immutable.List.foreach(List.scala:327) ~[scala-library-3.8.0-RC5.jar:3.8.0-RC5]
4447 at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:429) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4448 at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4449 at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4450 at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1187) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4451 at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:44) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4452 at org.scalatest.wordspec.AnyWordSpec.runTests(AnyWordSpec.scala:1879) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4453 at org.scalatest.Suite.run(Suite.scala:1114) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4454 at org.scalatest.Suite.run$(Suite.scala:564) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4455 at org.scalatest.wordspec.AnyWordSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AnyWordSpec.scala:1879) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4456 at org.scalatest.wordspec.AnyWordSpecLike.run$$anonfun$1(AnyWordSpecLike.scala:1232) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4457 at org.scalatest.SuperEngine.runImpl(Engine.scala:535) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4458 at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1232) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4459 at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:44) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4460 at org.scalatest.wordspec.AnyWordSpec.run(AnyWordSpec.scala:1879) ~[scalatest-wordspec_3-3.2.19.jar:3.2.19]
4461 at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4462 at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517) ~[scalatest-core_3-3.2.19.jar:3.2.19]
4463 at sbt.TestRunner.runTest$1(TestFramework.scala:153) ~[testing_2.12-1.11.5.jar:1.11.5]
4464 at sbt.TestRunner.run(TestFramework.scala:168) ~[testing_2.12-1.11.5.jar:1.11.5]
4465 at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336) ~[testing_2.12-1.11.5.jar:1.11.5]
4466 at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296) ~[testing_2.12-1.11.5.jar:1.11.5]
4467 at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336) ~[testing_2.12-1.11.5.jar:1.11.5]
4468 at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336) ~[testing_2.12-1.11.5.jar:1.11.5]
4469 at sbt.TestFunction.apply(TestFramework.scala:348) ~[testing_2.12-1.11.5.jar:1.11.5]
4470 at sbt.Tests$.$anonfun$toTask$1(Tests.scala:436) ~[actions_2.12-1.11.5.jar:1.11.5]
4471 at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47) ~[task-system_2.12-1.11.5.jar:1.11.5]
4472 at sbt.std.Transform$$anon$4.work(Transform.scala:69) ~[task-system_2.12-1.11.5.jar:1.11.5]
4473 at sbt.Execute.$anonfun$submit$2(Execute.scala:283) ~[tasks_2.12-1.11.5.jar:1.11.5]
4474 at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24) ~[util-control_2.12-1.11.5.jar:1.11.5]
4475 at sbt.Execute.work(Execute.scala:292) ~[tasks_2.12-1.11.5.jar:1.11.5]
4476 at sbt.Execute.$anonfun$submit$1(Execute.scala:283) ~[tasks_2.12-1.11.5.jar:1.11.5]
4477 at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265) ~[tasks_2.12-1.11.5.jar:1.11.5]
4478 at sbt.CompletionService$$anon$2.call(CompletionService.scala:65) [tasks_2.12-1.11.5.jar:1.11.5]
4479 at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
4480 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
4481 at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
4482 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
4483 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
4484 at java.lang.Thread.run(Thread.java:833) [?:?]
4485[DEBUG] No project dependencies found in package.json or package-lock.json at '/tmp/js2cpgTest6864752881382926927/enginecheck'.
4486[INFO ] Downloading / installing plugins in 'enginecheck'
4487[INFO ] Installing project dependencies and plugins. That will take a while.
4488[DEBUG] + Installing plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install @babel/plugin-transform-property-mutators @babel/plugin-transform-runtime @babel/core @babel/preset-react @babel/preset-env @babel/preset-typescript @babel/cli @babel/plugin-transform-object-rest-spread @babel/plugin-transform-class-properties @babel/plugin-transform-private-methods @babel/preset-flow @babel/plugin-transform-nullish-coalescing-operator @babel/plugin-transform-private-property-in-object' in path '/tmp/js2cpgTest6864752881382926927/enginecheck'
4489[INFO ] + Plugins installed
4490[INFO ] TypeScript - transpiling source files in 'enginecheck'
4491[INFO ] Installing TypeScript dependencies and plugins. That will take a while.
4492[DEBUG] + Installing Typescript plugins with command 'npm --no-audit --progress=false --ignore-scripts --legacy-peer-deps --save-dev install typescript' in path '/tmp/js2cpgTest6864752881382926927/enginecheck'
4493[INFO ] + TypeScript plugins installed
4494[DEBUG] + TypeScript compiling /tmp/js2cpgTest6864752881382926927/enginecheck --project /tmp/js2cpgTest6864752881382926927/enginecheck/js2cpgTsConfig17969842166230928112.json to '/tmp/js2cpgTest15755346156296219150' (using commonjs style modules)
4495[DEBUG] + TypeScript compiling finished
4496[info] TranspilationRunnerTest:
4497[info] TranspilationRunner
4498[info] - should generate js files correctly for a simple Babel project
4499[info] - should generate js files correctly for a simple Babel project in folder with whitespace
4500[info] - should contain correctly re-mapped code fields in simple Babel project
4501[info] - should generate and use sourcemap files correctly
4502[info] - should generate js files correctly for a simple Typescript project
4503[info] - should generate js files correctly for a simple Typescript project with subfolders
4504[info] - should generate js files correctly for a simple Typescript project including test files
4505[info] - should generate js files correctly for a simple multi-project Typescript project
4506[info] - should generate js files correctly for a multi-project Typescript project (using solution config)
4507[info] - should generate js files correctly for a simple Vue.js 2 project
4508[info] - should generate js files correctly for a simple Vue.js 3 project
4509[info] - should generate js file correctly for a EJS template file
4510[info] - should generate js file correctly for a pug template file
4511[info] - should fail when running on engine restricted project
4512[info] - should work when running on engine restricted project with optimized dependencies
4513
4514************************
4515Build summary:
4516[{
4517 "module": "js2cpg",
4518 "compile": {"status": "ok", "tookMs": 12754, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
4519 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
4520 "test-compile": {"status": "ok", "tookMs": 22792, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
4521 "test": {"status": "ok", "tookMs": 133920, "passed": 271, "failed": 0, "ignored": 8, "skipped": 0, "total": 279, "byFramework": [{"framework": "unknown", "stats": {"passed": 271, "failed": 0, "ignored": 8, "skipped": 0, "total": 279}}]},
4522 "publish": {"status": "skipped", "tookMs": 0},
4523 "metadata": {
4524 "crossScalaVersions": ["2.12.20"]
4525}
4526}]
4527************************
4528[success] Total time: 179 s (0:02:59.0), completed Dec 31, 2025, 10:38:49 PM
4529[0JChecking patch project/plugins.sbt...
4530Checking patch project/build.properties...
4531Checking patch build.sbt...
4532Applied patch project/plugins.sbt cleanly.
4533Applied patch project/build.properties cleanly.
4534Applied patch build.sbt cleanly.