Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add json logging #363

Merged
merged 10 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ recommend that a file or class name and description of purpose be included on
the same “printed page” as the copyright notice for easier identification within
third-party archives.

Copyright 2021-2024 Bartek Kryza <[email protected]>
Copyright 2021-2025 Bartek Kryza <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Makefile
#
# Copyright (c) 2021-2024 Bartek Kryza <[email protected]>
# Copyright (c) 2021-2025 Bartek Kryza <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -135,6 +135,9 @@ test: debug
test_release: release
CTEST_OUTPUT_ON_FAILURE=1 ctest --test-dir release

test_dump_config:
debug/src/clang-uml --dump-config | debug/src/clang-uml -l --config -

coverage_report: test
lcov -c -d debug -o coverage.info --no-external --gcov-tool util/clang_gcov.sh
lcov -r coverage.info -o coverage-src.info "${PWD}/src/main.cc" "${PWD}/src/common/generators/generators.cc"
Expand Down
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker/Makefile
#
# Copyright (c) 2021-2024 Bartek Kryza <[email protected]>
# Copyright (c) 2021-2025 Bartek Kryza <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docs/Makefile
#
# Copyright (c) 2021-2024 Bartek Kryza <[email protected]>
# Copyright (c) 2021-2025 Bartek Kryza <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ bin\clang-uml.exe --version
It should produce something like:
```bash
clang-uml 0.5.6
Copyright (C) 2021-2024 Bartek Kryza <[email protected]>
Copyright (C) 2021-2025 Bartek Kryza <[email protected]>
Linux x86_64 6.5.0-21-generic
Built against LLVM/Clang libraries version: 18.1.8
Using LLVM/Clang libraries version: Ubuntu clang version 18.1.8
Expand Down
2 changes: 2 additions & 0 deletions docs/test_cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
* [t00087](./test_cases/t00087.md) - Typed element class diagram filter test case
* [t00088](./test_cases/t00088.md) - Typed element Objective-C class diagram filter test case
* [t00089](./test_cases/t00089.md) - Test case for '::' prefix in class diagrams for namespaces outside of using_namespace
* [t00090](./test_cases/t00090.md) - Metaprogramming test case with recursive type list
## Sequence diagrams
* [t20001](./test_cases/t20001.md) - Basic sequence diagram test case
* [t20002](./test_cases/t20002.md) - Free function sequence diagram test case
Expand Down Expand Up @@ -158,6 +159,7 @@
* [t20061](./test_cases/t20061.md) - Test case for paths filter in sequence diagrams
* [t20062](./test_cases/t20062.md) - Test case with vaargs function in sequence diagrams
* [t20063](./test_cases/t20063.md) - Test case for '::' prefix in sequence diagrams for namespaces outside of using_namespace
* [t20064](./test_cases/t20064.md) - Metaprogramming test case with recursive type list sequence diagram
## Package diagrams
* [t30001](./test_cases/t30001.md) - Basic package diagram test case
* [t30002](./test_cases/t30002.md) - Package dependency test case
Expand Down
10 changes: 5 additions & 5 deletions docs/test_cases/t00002.md
Original file line number Diff line number Diff line change
Expand Up @@ -733,35 +733,35 @@ private:
<data key="nd2"><![CDATA[A]]></data>
<data key="nd3">abstract</data>
<data key="nd6">false</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/375fb0bfc3a0e0b702776c4e39f79ee848c5c67c/tests/t00002/t00002.cc#L7</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t00002/t00002.cc#L7</data>
<data key="nd5">This is class A</data>
</node>
<node id="n1">
<data key="nd1">class</data>
<data key="nd2"><![CDATA[B]]></data>
<data key="nd6">false</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/375fb0bfc3a0e0b702776c4e39f79ee848c5c67c/tests/t00002/t00002.cc#L16</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t00002/t00002.cc#L16</data>
<data key="nd5">This is class B</data>
</node>
<node id="n2">
<data key="nd1">class</data>
<data key="nd2"><![CDATA[C]]></data>
<data key="nd6">false</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/375fb0bfc3a0e0b702776c4e39f79ee848c5c67c/tests/t00002/t00002.cc#L27</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t00002/t00002.cc#L27</data>
<data key="nd5">This is class C - class C has a long comment</data>
</node>
<node id="n3">
<data key="nd1">class</data>
<data key="nd2"><![CDATA[D]]></data>
<data key="nd6">false</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/375fb0bfc3a0e0b702776c4e39f79ee848c5c67c/tests/t00002/t00002.cc#L36</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t00002/t00002.cc#L36</data>
<data key="nd5">D</data>
</node>
<node id="n4">
<data key="nd1">class</data>
<data key="nd2"><![CDATA[E]]></data>
<data key="nd6">false</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/375fb0bfc3a0e0b702776c4e39f79ee848c5c67c/tests/t00002/t00002.cc#L61</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t00002/t00002.cc#L61</data>
<data key="nd5">E</data>
</node>
<node id="n5">
Expand Down
Loading
Loading