├── .github └── workflows │ ├── linux-release.yml │ ├── macos-release.yml │ ├── test-all.yml │ └── windows-release.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── DesignDecisons.md ├── LICENSE.txt ├── README.md ├── TODO.md ├── release.toml ├── src ├── code_line_data.rs ├── coupling.rs ├── file_stats.rs ├── file_walker.rs ├── flare.rs ├── git.rs ├── git_file_future.rs ├── git_file_history.rs ├── git_logger.rs ├── git_user_dictionary.rs ├── indentation.rs ├── lib.rs ├── loc.rs ├── main.rs ├── polyglot_data.rs ├── postprocessing.rs └── toxicity_indicator_calculator.rs ├── test_shared ├── Cargo.toml └── src │ └── lib.rs └── tests ├── data ├── builders │ ├── README.md │ └── renaming │ │ ├── build_rename_complex.sh │ │ └── build_rename_simple.sh ├── languages │ ├── foo.unknown │ ├── non-utf8.properties │ └── pfunit_test.pf ├── simple │ ├── .polyglot_code_scanner_ignore │ ├── child │ │ ├── a.txt │ │ └── ignored.txt │ └── parent.clj ├── simple_linked │ ├── .polyglot_code_scanner_ignore │ ├── child │ └── parent.clj └── zipped │ ├── git_sample.zip │ ├── rename_complex.zip │ └── rename_simple.zip ├── expected ├── git │ ├── git_sample.json │ ├── git_sample_by_filename.json │ └── git_sample_with_merges.json ├── integration_tests │ ├── git_detailed_flare_test.json │ ├── git_flare_test.json │ └── loc_flare_test.json ├── simple_files.json └── simple_files_with_indicators.json └── integration_tests.rs /.github/workflows/linux-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/.github/workflows/linux-release.yml -------------------------------------------------------------------------------- /.github/workflows/macos-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/.github/workflows/macos-release.yml -------------------------------------------------------------------------------- /.github/workflows/test-all.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/.github/workflows/test-all.yml -------------------------------------------------------------------------------- /.github/workflows/windows-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/.github/workflows/windows-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/Cargo.toml -------------------------------------------------------------------------------- /DesignDecisons.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/DesignDecisons.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/TODO.md -------------------------------------------------------------------------------- /release.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/release.toml -------------------------------------------------------------------------------- /src/code_line_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/code_line_data.rs -------------------------------------------------------------------------------- /src/coupling.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/coupling.rs -------------------------------------------------------------------------------- /src/file_stats.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/file_stats.rs -------------------------------------------------------------------------------- /src/file_walker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/file_walker.rs -------------------------------------------------------------------------------- /src/flare.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/flare.rs -------------------------------------------------------------------------------- /src/git.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/git.rs -------------------------------------------------------------------------------- /src/git_file_future.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/git_file_future.rs -------------------------------------------------------------------------------- /src/git_file_history.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/git_file_history.rs -------------------------------------------------------------------------------- /src/git_logger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/git_logger.rs -------------------------------------------------------------------------------- /src/git_user_dictionary.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/git_user_dictionary.rs -------------------------------------------------------------------------------- /src/indentation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/indentation.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/loc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/loc.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/polyglot_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/polyglot_data.rs -------------------------------------------------------------------------------- /src/postprocessing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/postprocessing.rs -------------------------------------------------------------------------------- /src/toxicity_indicator_calculator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/src/toxicity_indicator_calculator.rs -------------------------------------------------------------------------------- /test_shared/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/test_shared/Cargo.toml -------------------------------------------------------------------------------- /test_shared/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/test_shared/src/lib.rs -------------------------------------------------------------------------------- /tests/data/builders/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/builders/README.md -------------------------------------------------------------------------------- /tests/data/builders/renaming/build_rename_complex.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/builders/renaming/build_rename_complex.sh -------------------------------------------------------------------------------- /tests/data/builders/renaming/build_rename_simple.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/builders/renaming/build_rename_simple.sh -------------------------------------------------------------------------------- /tests/data/languages/foo.unknown: -------------------------------------------------------------------------------- 1 | Unknown files 2 | should be treated as code -------------------------------------------------------------------------------- /tests/data/languages/non-utf8.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/languages/non-utf8.properties -------------------------------------------------------------------------------- /tests/data/languages/pfunit_test.pf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/languages/pfunit_test.pf -------------------------------------------------------------------------------- /tests/data/simple/.polyglot_code_scanner_ignore: -------------------------------------------------------------------------------- 1 | **/ignored.txt -------------------------------------------------------------------------------- /tests/data/simple/child/a.txt: -------------------------------------------------------------------------------- 1 | test with 2 | two lines -------------------------------------------------------------------------------- /tests/data/simple/child/ignored.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/simple/parent.clj: -------------------------------------------------------------------------------- 1 | (ns parent) 2 | 3 | (do 4 | (prn "wow")) -------------------------------------------------------------------------------- /tests/data/simple_linked/.polyglot_code_scanner_ignore: -------------------------------------------------------------------------------- 1 | ../simple/.polyglot_code_scanner_ignore -------------------------------------------------------------------------------- /tests/data/simple_linked/child: -------------------------------------------------------------------------------- 1 | ../simple/child -------------------------------------------------------------------------------- /tests/data/simple_linked/parent.clj: -------------------------------------------------------------------------------- 1 | ../simple/parent.clj -------------------------------------------------------------------------------- /tests/data/zipped/git_sample.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/zipped/git_sample.zip -------------------------------------------------------------------------------- /tests/data/zipped/rename_complex.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/zipped/rename_complex.zip -------------------------------------------------------------------------------- /tests/data/zipped/rename_simple.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/data/zipped/rename_simple.zip -------------------------------------------------------------------------------- /tests/expected/git/git_sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/git/git_sample.json -------------------------------------------------------------------------------- /tests/expected/git/git_sample_by_filename.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/git/git_sample_by_filename.json -------------------------------------------------------------------------------- /tests/expected/git/git_sample_with_merges.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/git/git_sample_with_merges.json -------------------------------------------------------------------------------- /tests/expected/integration_tests/git_detailed_flare_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/integration_tests/git_detailed_flare_test.json -------------------------------------------------------------------------------- /tests/expected/integration_tests/git_flare_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/integration_tests/git_flare_test.json -------------------------------------------------------------------------------- /tests/expected/integration_tests/loc_flare_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/integration_tests/loc_flare_test.json -------------------------------------------------------------------------------- /tests/expected/simple_files.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/simple_files.json -------------------------------------------------------------------------------- /tests/expected/simple_files_with_indicators.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/expected/simple_files_with_indicators.json -------------------------------------------------------------------------------- /tests/integration_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kornysietsma/polyglot-code-scanner/HEAD/tests/integration_tests.rs --------------------------------------------------------------------------------