Fraunhofer-AISEC / cpg

A library to extract Code Property Graphs from C/C++, Java, Go, Python, Ruby and every other language through LLVM-IR.
https://fraunhofer-aisec.github.io/cpg/
Apache License 2.0
248 stars 60 forks source link

Java frontend: Handle multi-field-declaration statements #1558

Closed KuechA closed 1 week ago

KuechA commented 2 weeks ago

Fixes #1548 by implementing the proposed measures. However, handleFieldDeclaration now only returns the last field/variable which is declared in a multi-field-declaration statement but since we never use the return value in this case, it should be fine.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud