├── .bandit ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── check-coverage.py │ ├── commit-signoff-check.yml │ ├── coverage.yml │ ├── run-precommit.yml │ └── run-unittest.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CITATION.cff ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── SECURITY.md ├── codebasin ├── __init__.py ├── __main__.py ├── _detail │ ├── __init__.py │ └── logging.py ├── compilers │ ├── clang.toml │ ├── gnu.toml │ ├── intel.toml │ └── nvidia.toml ├── config.py ├── coverage │ ├── __init__.py │ └── __main__.py ├── file_parser.py ├── file_source.py ├── finder.py ├── language.py ├── preprocessor.py ├── report.py ├── schema │ ├── analysis.schema │ ├── cbiconfig.schema │ ├── compilation-database.schema │ └── coverage.schema ├── source.py ├── tree.py └── util.py ├── docs ├── Makefile ├── README.md ├── make.bat ├── sample-code-base │ └── src │ │ ├── CMakeLists.txt │ │ ├── cpu │ │ └── foo.cpp │ │ ├── gpu │ │ └── foo.cpp │ │ ├── main.cpp │ │ └── third-party │ │ ├── library.cpp │ │ └── library.h └── source │ ├── analysis.rst │ ├── cmd.rst │ ├── compilation-databases.rst │ ├── conf.py │ ├── emulating-compiler-behavior.rst │ ├── example-dendrogram.png │ ├── excluding-files.rst │ ├── features.rst │ ├── index.rst │ ├── notices-and-disclaimers.rst │ ├── sample-code-base.rst │ ├── sample-code-base.zip │ ├── specialization-tree.png │ └── specialization.rst ├── pyproject.toml ├── setup.py └── tests ├── __init__.py ├── basic_asm ├── __init__.py ├── lowercase.s ├── test.asm ├── test.ptx ├── test_basic_asm.py └── uppercase.S ├── basic_fortran ├── __init__.py ├── test.f90 └── test_basic_fortran.py ├── build-dir ├── __init__.py ├── foo.cpp └── test_build_dir.py ├── cli ├── __init__.py ├── test_cbicov.py ├── test_formatter.py ├── test_meta_warning.py └── test_warning_aggregator.py ├── code-base ├── __init__.py └── test_code_base.py ├── commented_directive ├── __init__.py ├── main.cpp └── test_commented_directive.py ├── comments ├── __init__.py ├── continuation.cpp ├── fortran.f90 └── test_comments.py ├── compilation-database ├── __init__.py └── test_compilation_database.py ├── compile-command ├── __init__.py └── test_compile_command.py ├── compilers ├── __init__.py ├── test_actions.py └── test_compilers.py ├── define ├── __init__.py ├── main.cpp └── test_define.py ├── disjoint ├── __init__.py ├── cpu.cpp ├── cpu_headers │ └── header.h ├── gpu.cpp ├── gpu_headers │ └── header.h └── test_disjoint.py ├── duplicates ├── __init__.py ├── cpu │ └── foo.cpp ├── cpu2 ├── gpu │ └── foo.cpp └── test_duplicates.py ├── exclude ├── __init__.py ├── commands.json ├── src │ ├── excluded_extension.f90 │ ├── excluded_name.cpp │ ├── included.cpp │ └── thirdparty │ │ └── library.cpp └── test_exclude.py ├── failure ├── __init__.py └── test_bignum.py ├── files ├── __init__.py ├── test_filetree.py ├── test_filetree_node.py └── test_filetree_utils.py ├── include ├── __init__.py ├── cpu_commands.json ├── gpu_commands.json ├── headers │ ├── cpu.h │ ├── gpu.h │ └── test.h ├── main.cpp └── test_include.py ├── lexer ├── __init__.py └── test_lexer.py ├── literals ├── __init__.py ├── main.cpp └── test_literals.py ├── macro_expansion ├── __init__.py ├── defined_undefined_test.cpp ├── function_like_test.cpp ├── infinite_loop_test.cpp ├── macro_expansion-dendrogram.png ├── max_level.cpp └── test_macro_expansion.py ├── metrics ├── __init__.py ├── test_coverage.py └── test_divergence.py ├── multi_line ├── __init__.py ├── main.cpp └── test_multi_line.py ├── nesting ├── __init__.py ├── main.cpp └── test_nesting.py ├── once ├── __init__.py ├── main.cpp ├── once.h └── test_once.py ├── operators ├── __init__.py ├── main.cpp └── test_operators.py ├── parsers ├── __init__.py └── test_directive_parser.py ├── preprocessor ├── __init__.py └── test_warnings.py ├── report ├── __init__.py └── test_summary_report.py ├── safe_write ├── __init__.py └── test_safe_write.py ├── schema ├── __init__.py ├── analysis.toml ├── cbiconfig.toml ├── compile_commands.json ├── invalid_analysis.toml ├── invalid_cbiconfig.toml ├── invalid_compile_commands.json ├── test.cpp └── test_schema.py ├── source-tree ├── __init__.py └── test_source_tree.py ├── source ├── __init__.py └── test_source.py ├── util ├── __init__.py └── test_util.py └── valid_path ├── __init__.py └── test_valid_path.py /.bandit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.bandit -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: [] 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/check-coverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/workflows/check-coverage.py -------------------------------------------------------------------------------- /.github/workflows/commit-signoff-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/workflows/commit-signoff-check.yml -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.github/workflows/run-precommit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/workflows/run-precommit.yml -------------------------------------------------------------------------------- /.github/workflows/run-unittest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.github/workflows/run-unittest.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/CITATION.cff -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/SECURITY.md -------------------------------------------------------------------------------- /codebasin/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/__init__.py -------------------------------------------------------------------------------- /codebasin/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/__main__.py -------------------------------------------------------------------------------- /codebasin/_detail/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/_detail/__init__.py -------------------------------------------------------------------------------- /codebasin/_detail/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/_detail/logging.py -------------------------------------------------------------------------------- /codebasin/compilers/clang.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/compilers/clang.toml -------------------------------------------------------------------------------- /codebasin/compilers/gnu.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/compilers/gnu.toml -------------------------------------------------------------------------------- /codebasin/compilers/intel.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/compilers/intel.toml -------------------------------------------------------------------------------- /codebasin/compilers/nvidia.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/compilers/nvidia.toml -------------------------------------------------------------------------------- /codebasin/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/config.py -------------------------------------------------------------------------------- /codebasin/coverage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /codebasin/coverage/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/coverage/__main__.py -------------------------------------------------------------------------------- /codebasin/file_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/file_parser.py -------------------------------------------------------------------------------- /codebasin/file_source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/file_source.py -------------------------------------------------------------------------------- /codebasin/finder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/finder.py -------------------------------------------------------------------------------- /codebasin/language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/language.py -------------------------------------------------------------------------------- /codebasin/preprocessor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/preprocessor.py -------------------------------------------------------------------------------- /codebasin/report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/report.py -------------------------------------------------------------------------------- /codebasin/schema/analysis.schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/schema/analysis.schema -------------------------------------------------------------------------------- /codebasin/schema/cbiconfig.schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/schema/cbiconfig.schema -------------------------------------------------------------------------------- /codebasin/schema/compilation-database.schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/schema/compilation-database.schema -------------------------------------------------------------------------------- /codebasin/schema/coverage.schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/schema/coverage.schema -------------------------------------------------------------------------------- /codebasin/source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/source.py -------------------------------------------------------------------------------- /codebasin/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/tree.py -------------------------------------------------------------------------------- /codebasin/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/codebasin/util.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/sample-code-base/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/sample-code-base/src/CMakeLists.txt -------------------------------------------------------------------------------- /docs/sample-code-base/src/cpu/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/sample-code-base/src/cpu/foo.cpp -------------------------------------------------------------------------------- /docs/sample-code-base/src/gpu/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/sample-code-base/src/gpu/foo.cpp -------------------------------------------------------------------------------- /docs/sample-code-base/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/sample-code-base/src/main.cpp -------------------------------------------------------------------------------- /docs/sample-code-base/src/third-party/library.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/sample-code-base/src/third-party/library.cpp -------------------------------------------------------------------------------- /docs/sample-code-base/src/third-party/library.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2024 Intel Corporation 2 | // SPDX-License-Identifier: 0BSD 3 | void bar(); 4 | -------------------------------------------------------------------------------- /docs/source/analysis.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/analysis.rst -------------------------------------------------------------------------------- /docs/source/cmd.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/cmd.rst -------------------------------------------------------------------------------- /docs/source/compilation-databases.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/compilation-databases.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/emulating-compiler-behavior.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/emulating-compiler-behavior.rst -------------------------------------------------------------------------------- /docs/source/example-dendrogram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/example-dendrogram.png -------------------------------------------------------------------------------- /docs/source/excluding-files.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/excluding-files.rst -------------------------------------------------------------------------------- /docs/source/features.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/features.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/notices-and-disclaimers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/notices-and-disclaimers.rst -------------------------------------------------------------------------------- /docs/source/sample-code-base.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/sample-code-base.rst -------------------------------------------------------------------------------- /docs/source/sample-code-base.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/sample-code-base.zip -------------------------------------------------------------------------------- /docs/source/specialization-tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/specialization-tree.png -------------------------------------------------------------------------------- /docs/source/specialization.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/docs/source/specialization.rst -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/basic_asm/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2021 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/basic_asm/lowercase.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/basic_asm/lowercase.s -------------------------------------------------------------------------------- /tests/basic_asm/test.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/basic_asm/test.asm -------------------------------------------------------------------------------- /tests/basic_asm/test.ptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/basic_asm/test.ptx -------------------------------------------------------------------------------- /tests/basic_asm/test_basic_asm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/basic_asm/test_basic_asm.py -------------------------------------------------------------------------------- /tests/basic_asm/uppercase.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/basic_asm/uppercase.S -------------------------------------------------------------------------------- /tests/basic_fortran/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/basic_fortran/test.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/basic_fortran/test.f90 -------------------------------------------------------------------------------- /tests/basic_fortran/test_basic_fortran.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/basic_fortran/test_basic_fortran.py -------------------------------------------------------------------------------- /tests/build-dir/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2021 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/build-dir/foo.cpp: -------------------------------------------------------------------------------- 1 | void foo() { return; } 2 | -------------------------------------------------------------------------------- /tests/build-dir/test_build_dir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/build-dir/test_build_dir.py -------------------------------------------------------------------------------- /tests/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cli/test_cbicov.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/cli/test_cbicov.py -------------------------------------------------------------------------------- /tests/cli/test_formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/cli/test_formatter.py -------------------------------------------------------------------------------- /tests/cli/test_meta_warning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/cli/test_meta_warning.py -------------------------------------------------------------------------------- /tests/cli/test_warning_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/cli/test_warning_aggregator.py -------------------------------------------------------------------------------- /tests/code-base/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/code-base/test_code_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/code-base/test_code_base.py -------------------------------------------------------------------------------- /tests/commented_directive/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/commented_directive/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/commented_directive/main.cpp -------------------------------------------------------------------------------- /tests/commented_directive/test_commented_directive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/commented_directive/test_commented_directive.py -------------------------------------------------------------------------------- /tests/comments/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/comments/continuation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/comments/continuation.cpp -------------------------------------------------------------------------------- /tests/comments/fortran.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/comments/fortran.f90 -------------------------------------------------------------------------------- /tests/comments/test_comments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/comments/test_comments.py -------------------------------------------------------------------------------- /tests/compilation-database/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/compilation-database/test_compilation_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/compilation-database/test_compilation_database.py -------------------------------------------------------------------------------- /tests/compile-command/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/compile-command/test_compile_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/compile-command/test_compile_command.py -------------------------------------------------------------------------------- /tests/compilers/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/compilers/test_actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/compilers/test_actions.py -------------------------------------------------------------------------------- /tests/compilers/test_compilers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/compilers/test_compilers.py -------------------------------------------------------------------------------- /tests/define/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/define/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/define/main.cpp -------------------------------------------------------------------------------- /tests/define/test_define.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/define/test_define.py -------------------------------------------------------------------------------- /tests/disjoint/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/disjoint/cpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/disjoint/cpu.cpp -------------------------------------------------------------------------------- /tests/disjoint/cpu_headers/header.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 Intel Corporation 2 | // SPDX-License-Identifier: BSD-3-Clause 3 | 4 | void foo(); 5 | -------------------------------------------------------------------------------- /tests/disjoint/gpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/disjoint/gpu.cpp -------------------------------------------------------------------------------- /tests/disjoint/gpu_headers/header.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 Intel Corporation 2 | // SPDX-License-Identifier: BSD-3-Clause 3 | 4 | void bar(); 5 | -------------------------------------------------------------------------------- /tests/disjoint/test_disjoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/disjoint/test_disjoint.py -------------------------------------------------------------------------------- /tests/duplicates/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2021 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/duplicates/cpu/foo.cpp: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /tests/duplicates/cpu2: -------------------------------------------------------------------------------- 1 | cpu/ -------------------------------------------------------------------------------- /tests/duplicates/gpu/foo.cpp: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /tests/duplicates/test_duplicates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/duplicates/test_duplicates.py -------------------------------------------------------------------------------- /tests/exclude/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/exclude/commands.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/exclude/commands.json -------------------------------------------------------------------------------- /tests/exclude/src/excluded_extension.f90: -------------------------------------------------------------------------------- 1 | #define EXCLUDED_EXTENSION 2 | -------------------------------------------------------------------------------- /tests/exclude/src/excluded_name.cpp: -------------------------------------------------------------------------------- 1 | #define EXCLUDED_NAME 2 | -------------------------------------------------------------------------------- /tests/exclude/src/included.cpp: -------------------------------------------------------------------------------- 1 | #define INCLUDED 2 | -------------------------------------------------------------------------------- /tests/exclude/src/thirdparty/library.cpp: -------------------------------------------------------------------------------- 1 | #define THIRDPARTY_LIBRARY 2 | -------------------------------------------------------------------------------- /tests/exclude/test_exclude.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/exclude/test_exclude.py -------------------------------------------------------------------------------- /tests/failure/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/failure/test_bignum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/failure/test_bignum.py -------------------------------------------------------------------------------- /tests/files/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/files/test_filetree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/files/test_filetree.py -------------------------------------------------------------------------------- /tests/files/test_filetree_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/files/test_filetree_node.py -------------------------------------------------------------------------------- /tests/files/test_filetree_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/files/test_filetree_utils.py -------------------------------------------------------------------------------- /tests/include/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/include/cpu_commands.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/include/cpu_commands.json -------------------------------------------------------------------------------- /tests/include/gpu_commands.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/include/gpu_commands.json -------------------------------------------------------------------------------- /tests/include/headers/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/include/headers/cpu.h -------------------------------------------------------------------------------- /tests/include/headers/gpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/include/headers/gpu.h -------------------------------------------------------------------------------- /tests/include/headers/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/include/headers/test.h -------------------------------------------------------------------------------- /tests/include/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/include/main.cpp -------------------------------------------------------------------------------- /tests/include/test_include.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/include/test_include.py -------------------------------------------------------------------------------- /tests/lexer/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/lexer/test_lexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/lexer/test_lexer.py -------------------------------------------------------------------------------- /tests/literals/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/literals/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/literals/main.cpp -------------------------------------------------------------------------------- /tests/literals/test_literals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/literals/test_literals.py -------------------------------------------------------------------------------- /tests/macro_expansion/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/macro_expansion/defined_undefined_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/macro_expansion/defined_undefined_test.cpp -------------------------------------------------------------------------------- /tests/macro_expansion/function_like_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/macro_expansion/function_like_test.cpp -------------------------------------------------------------------------------- /tests/macro_expansion/infinite_loop_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/macro_expansion/infinite_loop_test.cpp -------------------------------------------------------------------------------- /tests/macro_expansion/macro_expansion-dendrogram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/macro_expansion/macro_expansion-dendrogram.png -------------------------------------------------------------------------------- /tests/macro_expansion/max_level.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/macro_expansion/max_level.cpp -------------------------------------------------------------------------------- /tests/macro_expansion/test_macro_expansion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/macro_expansion/test_macro_expansion.py -------------------------------------------------------------------------------- /tests/metrics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/metrics/test_coverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/metrics/test_coverage.py -------------------------------------------------------------------------------- /tests/metrics/test_divergence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/metrics/test_divergence.py -------------------------------------------------------------------------------- /tests/multi_line/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/multi_line/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/multi_line/main.cpp -------------------------------------------------------------------------------- /tests/multi_line/test_multi_line.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/multi_line/test_multi_line.py -------------------------------------------------------------------------------- /tests/nesting/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/nesting/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/nesting/main.cpp -------------------------------------------------------------------------------- /tests/nesting/test_nesting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/nesting/test_nesting.py -------------------------------------------------------------------------------- /tests/once/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/once/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/once/main.cpp -------------------------------------------------------------------------------- /tests/once/once.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/once/once.h -------------------------------------------------------------------------------- /tests/once/test_once.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/once/test_once.py -------------------------------------------------------------------------------- /tests/operators/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/operators/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/operators/main.cpp -------------------------------------------------------------------------------- /tests/operators/test_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/operators/test_operators.py -------------------------------------------------------------------------------- /tests/parsers/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/parsers/test_directive_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/parsers/test_directive_parser.py -------------------------------------------------------------------------------- /tests/preprocessor/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/preprocessor/test_warnings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/preprocessor/test_warnings.py -------------------------------------------------------------------------------- /tests/report/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/report/test_summary_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/report/test_summary_report.py -------------------------------------------------------------------------------- /tests/safe_write/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/safe_write/test_safe_write.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/safe_write/test_safe_write.py -------------------------------------------------------------------------------- /tests/schema/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/schema/analysis.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/analysis.toml -------------------------------------------------------------------------------- /tests/schema/cbiconfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/cbiconfig.toml -------------------------------------------------------------------------------- /tests/schema/compile_commands.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/compile_commands.json -------------------------------------------------------------------------------- /tests/schema/invalid_analysis.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/invalid_analysis.toml -------------------------------------------------------------------------------- /tests/schema/invalid_cbiconfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/invalid_cbiconfig.toml -------------------------------------------------------------------------------- /tests/schema/invalid_compile_commands.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/invalid_compile_commands.json -------------------------------------------------------------------------------- /tests/schema/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/test.cpp -------------------------------------------------------------------------------- /tests/schema/test_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/schema/test_schema.py -------------------------------------------------------------------------------- /tests/source-tree/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/source-tree/test_source_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/source-tree/test_source_tree.py -------------------------------------------------------------------------------- /tests/source/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/source/test_source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/source/test_source.py -------------------------------------------------------------------------------- /tests/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/util/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/util/test_util.py -------------------------------------------------------------------------------- /tests/valid_path/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 Intel Corporation 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | -------------------------------------------------------------------------------- /tests/valid_path/test_valid_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P3HPC/code-base-investigator/HEAD/tests/valid_path/test_valid_path.py --------------------------------------------------------------------------------