arrow
Return

An Efficient and Scalable Platform for Java Source Code Analysis Using Overlaid Graph Representations

delete2020-01-01
delete18
delete
OA
AI
O
Oscar Rodriguez-Prieto
A
Alan Mycroft
F
Francisco Ortín *
DOI:10.1109/ACCESS.2020.2987631delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Although source code programs are commonly written as textual information, they enclose syntactic and semantic information that is usually represented as graphs. This information is used for many different purposes, such as static program analysis, advanced code search, coding guideline checking, software metrics computation, and extraction of semantic and syntactic information to create predictive models. Most of the existing systems that provide these kinds of services are designed ad hoc for the particular purpose they are aimed at. For this reason, we created ProgQuery, a platform to allow users to write their own Java program analyses in a declarative fashion, using graph representations. We modify the Java compiler to compute seven syntactic and semantic representations, and store them in a Neo4j graph database. Such representations are overlaid, meaning that syntactic and semantic nodes of the different graphs are interconnected to allow combining different kinds of information in the queries/analyses. We evaluate ProgQuery and compare it to the related systems. Our platform outperforms the other systems in analysis time, and scales better to program sizes and analysis complexity. Moreover, the queries coded show that ProgQuery is more expressive than the other approaches. The additional information stored by ProgQuery increases the database size and associated insertion time, but these increases are significantly lower than the query/analysis performance gains obtained.
Keywords:
Java
Syntactics
Semantics
Tools
Databases
Ciphers
Database languages
Code analysis
graph database
coding guidelines
declarative query language
program representation
Cypher
Java
Neo4j
errShare
errSave
errShare
errSave
Real-Time Text-to-Cypher Query Generation with Large Language Models for Graph Databases
err2024-11-22
err3
errOAAI
errKreussel, Michael; Steindl, Christoph; Ebner, Fabian; Empl, Philip; Schoenig, Stefan
errShare
errSave
Spork: Structured Merge for Java With Formatting Preservation
err2023-01-01
err4
errOAAI
errLarsen, Simon; Falleri, Jean-Remy; Baudry, Benoit; Monperrus, Martin
errShare
errSave
Survey of graph database models
err2008-02-22
err643
PREAI
errAngles, Renzo; Gutierrez, Claudio
errShare
errSave

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
10.1W
Citations:
36.3W

Organization

U
University of Oviedo
Scholars:
250
Papers: 104
Citations: 4.8K
U
University of Cambridge
Scholars:
7.0K
Papers: 2.7K
Citations: 7.1W
Cited Papers

Cited Papers

Pesticides of natural origin
err2009-01-01
err0
PREAI
errWilliam Charles Evans; Daphne Evans
errShare
errSave
Successful Combined Treatment of Giant Carotid Body Tumor with Embolization Applied before Surgery
err2021-06-25
err0
errOAAI
errHakan Usta; Izatullah Jalalzai; Ferhat Borulu; Eyupserhat Calik; Bilgehan Erkut
errShare
errSave
Digital Imaging and Vision Analysis in Science Project improves the self-efficacy and skill of undergraduate students in computational work
err
IF0
err2020-10-26
err0
errOAAI
errTessa Durham Brooks; Raychelle Burks; Erin Doyle; Mark Meysenburg; Tim Frey
errShare
errSave
errShare
errSave
researcher View more