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