~/talk

Using Gremlin.NET and Azure Cosmos DB for code analysis

links:none on file
slides:none on file

A .NET code-analysis tool now persists a property-graph model of assemblies into Azure Cosmos DB using Gremlin.NET, replacing fragile string queries with a bytecode-based requests workflow by implementing a CosmosDBRemoteConnection that translates bytecode to script and deserializes vertices, edges, paths and valueMaps. Cosmos DB supports Gremlin.NET 3.5 (not 3.6), Gremlin.Net extensions are stale, and the pipeline already answers queries like classes with >30 incoming accessedBy edges to reveal a single highly coupled class; work in progress but end-to-end persists and queries code graphs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Motivation
  3. 3:40Persistence
  4. 6:17Property Graph
  5. 7:34Code Model
  6. 9:14Libraries
  7. 10:22Cosmos DB Connection
  8. 12:45Submitting the query
  9. 13:43Drawbacks
  10. 15:03GremlinNET Extensions
  11. 15:39bytecode based request approach
  12. 17:39what now
  13. 18:05example
  14. 19:07driver remote connection
  15. 19:50driver remote connection interface
  16. 20:49Groovy translator
  17. 21:47Deserialize vertices
  18. 22:12Analyzing NET assemblies
  19. 22:31Querying data
  20. 23:18Visualization
  21. 24:19Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.