Skip to main content
QUICK REVIEW

[Paper Review] Software is a directed multigraph (and so is software process)

Robert Dąbrowski, Krzysztof Stencel|arXiv (Cornell University)|Mar 21, 2011
Software Engineering ResearchComputer Science9 references3 citations
TL;DR

This paper proposes a graph-based model where software systems and their development processes are represented as directed multigraphs, enabling unified architectural knowledge management and quantitative metric calculation. By modeling artifacts as vertices and dependencies as multiple edge types, the approach supports continuous integration, verification, and tool-agnostic analysis using graph databases, offering a holistic foundation for assessing software quality and process maturity.

ABSTRACT

For a software system, its architecture is typically defined as the fundamental organization of the system incorporated by its components, their relationships to one another and their environment, and the principles governing their design. If contributed to by the artifacts coresponding to engineering processes that govern the system's evolution, the definition gets natually extended into the architecture of software and software process. Obviously, as long as there were no software systems, managing their architecture was no problem at all; when there were only small systems, managing their architecture became a mild problem; and now we have gigantic software systems, and managing their architecture has become an equally gigantic problem (to paraphrase Edsger Dijkstra). In this paper we propose a simple, yet we believe effective, model for organizing architecture of software systems. First of all we postulate that only a hollistic approach that supports continuous integration and verification for all software and software process architectural artifacts is the one worth taking. Next we indicate a graph-based model that not only allows collecting and maintaining the architectural knowledge in respect to both software and software process, but allows to conveniently create various quantitive metric to asses their respective quality or maturity. Such model is actually independent of the development methodologies that are currently in-use, that is it could well be applied for projects managed in an adaptive, as well as in a formal approach. Eventually we argue that the model could actually be implemented by already existing tools, in particular graph databases are a convenient implementation of architectural repository.

Motivation & Objective

  • To address the growing complexity of managing software and software process architecture in large-scale projects.
  • To unify architectural knowledge of software artifacts and development process artifacts into a single, consistent model.
  • To enable systematic, quantitative assessment of software quality and process maturity through graph-based metrics.
  • To support continuous integration and verification across all architectural artifacts using a graph-based foundation.
  • To demonstrate feasibility using existing tools, particularly graph databases, for implementation.

Proposed method

  • Model software systems and processes as directed multigraphs with vertices representing artifacts (e.g., classes, methods, requirements) and edges representing multiple dependency types (e.g., contain, implement, return).
  • Define graph views to abstract specific artifact and trace types (e.g., class view with contain, implement, return edges) for focused analysis.
  • Introduce graph maps via transitive closure of edge transformations (e.g., mapping 'contain' and 'return' to 'depend') to generate higher-level abstractions like class diagrams.
  • Define metrics as functions mapping graph components (A, T, V, L, E) to real numbers, calculable via graph algorithms (e.g., coupling factors, reachability).
  • Use graph databases as a practical implementation substrate for storing and querying the architectural graph.
  • Support interactive exploration through query languages enabling filtering, zooming, and drill-down on architectural information.

Experimental results

Research questions

  • RQ1How can software and software process artifacts be uniformly modeled to enable integrated architectural management?
  • RQ2What graph-based abstractions (views and maps) can effectively represent software architecture at different levels of abstraction?
  • RQ3Which quantitative metrics can be efficiently computed from the graph model to assess software quality and process maturity?
  • RQ4How can existing tools, especially graph databases, be leveraged to implement and query the proposed model?
  • RQ5Can the graph model support systematic comparison and classification of real-world software projects based on architectural properties?

Key findings

  • The directed multigraph model successfully unifies software and software process artifacts into a single, analyzable structure, enabling holistic architectural management.
  • Graph views and maps allow for the systematic derivation of common software diagrams (e.g., class diagrams) from the underlying graph model.
  • Reachability properties in the graph can be used to define and verify key software quality attributes, such as test coverage and requirement traceability.
  • Coupling factors and other standard metrics can be naturally expressed and efficiently computed using graph algorithms on the model.
  • The model is compatible with existing development methodologies and tools, and can be implemented using current graph database technology.
  • The framework enables the design of a query language for interactive architectural exploration and metric calculation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.