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
288 stars 62 forks source link

Persist Dataflow's granularity in Neo4J #1825

Closed oxisto closed 2 weeks ago

oxisto commented 2 weeks ago
Screenshot 2024-11-06 at 21 23 37

Fixes #1629

oxisto commented 2 weeks ago

cc @immqu

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 66.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 75.22%. Comparing base (09be5e1) to head (f353cb4). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../cpg/helpers/neo4j/DataflowGranularityConverter.kt 60.00% 2 Missing and 2 partials :warning:
Additional details and impacted files | [Files with missing lines](https://app.codecov.io/gh/Fraunhofer-AISEC/cpg/pull/1825?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Fraunhofer-AISEC) | Coverage Δ | | |---|---|---| | [...fraunhofer/aisec/cpg/graph/edges/flows/Dataflow.kt](https://app.codecov.io/gh/Fraunhofer-AISEC/cpg/pull/1825?src=pr&el=tree&filepath=cpg-core%2Fsrc%2Fmain%2Fkotlin%2Fde%2Ffraunhofer%2Faisec%2Fcpg%2Fgraph%2Fedges%2Fflows%2FDataflow.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Fraunhofer-AISEC#diff-Y3BnLWNvcmUvc3JjL21haW4va290bGluL2RlL2ZyYXVuaG9mZXIvYWlzZWMvY3BnL2dyYXBoL2VkZ2VzL2Zsb3dzL0RhdGFmbG93Lmt0) | `88.37% <100.00%> (+0.27%)` | :arrow_up: | | [.../cpg/helpers/neo4j/DataflowGranularityConverter.kt](https://app.codecov.io/gh/Fraunhofer-AISEC/cpg/pull/1825?src=pr&el=tree&filepath=cpg-core%2Fsrc%2Fmain%2Fkotlin%2Fde%2Ffraunhofer%2Faisec%2Fcpg%2Fhelpers%2Fneo4j%2FDataflowGranularityConverter.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Fraunhofer-AISEC#diff-Y3BnLWNvcmUvc3JjL21haW4va290bGluL2RlL2ZyYXVuaG9mZXIvYWlzZWMvY3BnL2hlbHBlcnMvbmVvNGovRGF0YWZsb3dHcmFudWxhcml0eUNvbnZlcnRlci5rdA==) | `60.00% <60.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/Fraunhofer-AISEC/cpg/pull/1825/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Fraunhofer-AISEC)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.