From 9986f28193a6c5507729cb37249548ad5f8879f7 Mon Sep 17 00:00:00 2001 From: Martin Lehmann Date: Wed, 18 Sep 2024 16:34:36 +0200 Subject: [PATCH 1/2] ci: Add model complexity badge action --- .github/workflows/push-checks.yml | 6 ++++++ README.md | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/push-checks.yml b/.github/workflows/push-checks.yml index cf03f73..4180691 100644 --- a/.github/workflows/push-checks.yml +++ b/.github/workflows/push-checks.yml @@ -24,3 +24,9 @@ jobs: run: python -m pip install pre-commit - name: Run Pre-Commit run: pre-commit run --all-files + + complexity-badge: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: DSD-DBS/py-capellambse/ci-templates/github/model-complexity-badge@master diff --git a/README.md b/README.md index 50f68f8..2ad0247 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ This repo contains the "In-Flight Entertainment System" sample model, originally maintained by the Capella developers at . +Model complexity +---------------- +![model complexity](./model-complexity-badge.svg) + This repo also contains some adjustments to the model as well as additional configuration to showcase some features of [py-capellambse](https://github.com/DSD-DBS/py-capellambse). From e3874feb80ea391e2de6bb0c31c49221c05c8013 Mon Sep 17 00:00:00 2001 From: "capellambse[bot]" Date: Wed, 18 Sep 2024 14:39:08 +0000 Subject: [PATCH 2/2] docs: Update model complexity badge --- model-complexity-badge.svg | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 model-complexity-badge.svg diff --git a/model-complexity-badge.svg b/model-complexity-badge.svg new file mode 100644 index 0000000..cdd6a48 --- /dev/null +++ b/model-complexity-badge.svg @@ -0,0 +1,38 @@ + + + +710 +objects + + + +14% + +29% + +48% + +77 +diagrams + + +14% + +26% + +23% + +36% + + + +Operational Analysis + +System Analysis + +Logical Architecture + +Physical Architecture + + +