mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-12-03 00:07:21 +00:00
* ci: scope SonarQube analysis to maintained code and tests * ci: use the exclusions honored by SonarQube Cloud --------- Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
33 lines
1.4 KiB
Properties
33 lines
1.4 KiB
Properties
sonar.organization=abhigyanpatwari
|
|
sonar.projectKey=abhigyanpatwari_GitNexus
|
|
|
|
# Keep GitNexus's grammar loaders and build definitions in scope. The parser
|
|
# sources, native bindings below, and Leiden implementations come from upstream.
|
|
sonar.exclusions=\
|
|
**/fixtures/**,\
|
|
**/__snapshots__/**,\
|
|
gitnexus/vendor/tree-sitter-*/src/**,\
|
|
gitnexus/vendor/tree-sitter-*/grammar.js,\
|
|
gitnexus/vendor/tree-sitter-*/bindings/node/binding.cc,\
|
|
gitnexus/vendor/**/prebuilds/**,\
|
|
gitnexus/vendor/**/*.wasm,\
|
|
gitnexus/prebuilds/**,\
|
|
gitnexus/vendor/leiden/**,\
|
|
gitnexus-web/src/vendor/leiden/*.js,\
|
|
gitnexus/bench/**/results/**,\
|
|
Documentation/docs-asset/*.png,\
|
|
.history/**
|
|
|
|
# Test suites and helpers receive issue analysis. Measure coverage and
|
|
# duplication on the code they exercise.
|
|
sonar.coverage.exclusions=**/test/**,**/tests/**,gitnexus-web/e2e/**,**/*.test.*,**/*.spec.*,**/test_*.py
|
|
|
|
# The five plugin helpers are also exempt from duplication reporting. Their
|
|
# sync tests enforce byte equality with the copies in gitnexus/hooks/claude.
|
|
sonar.cpd.exclusions=\
|
|
**/test/**,**/tests/**,gitnexus-web/e2e/**,**/*.test.*,**/*.spec.*,**/test_*.py,\
|
|
gitnexus-cursor-integration/hooks/hook-lock.cjs,\
|
|
gitnexus-cursor-integration/hooks/registry-query.cjs,\
|
|
gitnexus-factory-plugin/hooks/hook-lock.js,\
|
|
gitnexus-factory-plugin/hooks/registry-query.cjs,\
|
|
gitnexus-factory-plugin/hooks/hook-db-lock-probe.cjs
|