Files
vectorcraft/sonar-project.properties
T
Dylan M. Taylor 8b0b808857 packaging(linux): support co-installable nightly packages (#9233)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-25 06:01:37 -06:00

21 lines
1.1 KiB
Properties

sonar.projectKey=storytold_vectorcraft
sonar.organization=storytold
# Sources and tests both start at the root, as in craft-libs: sonar.tests alone stops the
# scanner defaulting sources to the repository. Test files are the ones the coverage job
# leaves out of lcov (tests/ directories, tests.rs and *_tests.rs), plus this repo's
# tests_*.rs naming. Classifying them as tests keeps coverage and duplication on new code
# measuring the product, not the tests.
sonar.sources=.
sonar.tests=.
sonar.test.inclusions=**/tests/**,**/tests.rs,**/*_tests.rs,**/tests_*.rs
# S4790 (weak hash): MD5 is the key derivation of the PDF standard security handler revisions 2-4
# (ISO 32000-1 §7.6.3.3), which PDF 1.3-1.6 files use. It is needed to read those files and to write
# the compatibility the user picks, not chosen for new security: the default is 256-bit AES
# (revision 6), which hashes with SHA-2.
sonar.issue.ignore.multicriteria=pdf_md5
sonar.issue.ignore.multicriteria.pdf_md5.ruleKey=rust:S4790
sonar.issue.ignore.multicriteria.pdf_md5.resourceKey=crates/pdf/src/encrypt.rs
sonar.coverage.exclusions=packaging/**