The Swift Programming Language
This report presents the forensic synthetic code analysis of swiftlang/swift, a Swift project with 70,161 GitHub stars. SynthScan v2.0 examined 3,670,256 lines of code across 27934 source files, recording 32396 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 9.3 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 32396 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1361 | # FIXME: guess target variant based on the host. | COMMENT |
| LOW | CMakeLists.txt | 1601 | list(APPEND CMAKE_REQUIRED_DEFINITIONS ${LIBXML2_DEFINITIONS}) | COMMENT |
| LOW | CONTRIBUTING.md | 121 | // | COMMENT |
| LOW | CONTRIBUTING.md | 141 | // Licensed under Apache License v2.0 with Runtime Library Exception | COMMENT |
| LOW | benchmark/cxx-source/CxxSetToCollection.swift | 1 | //===--- CxxSetToCollection.swift -----------------------------------------===// | COMMENT |
| LOW | benchmark/cxx-source/CxxStringConversion.swift | 1 | //===--- CxxStringConversion.swift ----------------------------------------===// | COMMENT |
| LOW | benchmark/cxx-source/ReadAccessor.swift | 1 | // Subscripts.swift - Very brief description | COMMENT |
| LOW | benchmark/cxx-source/CreateObjects.swift | 1 | //===--- CreateObjects.swift ----------------------------------------------===// | COMMENT |
| LOW | benchmark/cxx-source/CxxVectorSum.swift | 1 | //===--- CxxVectorSum.swift -----------------------------------------------===// | COMMENT |
| LOW | benchmark/cxx-source/CxxSpanTests.swift | 1 | //===--- CxxSpanTests.swift ----------------------------------------===// | COMMENT |
| LOW | benchmark/utils/TestsUtils.swift | 1 | //===--- TestsUtils.swift -------------------------------------------------===// | COMMENT |
| LOW | benchmark/utils/TestsUtils.swift | 41 | // into a benchmark, important functionality like JSON parsing, etc. | COMMENT |
| LOW | benchmark/utils/TestsUtils.swift | 61 | // code--it should exercise a known performance critical area. Typically these | COMMENT |
| LOW | benchmark/utils/TestsUtils.swift | 161 | /// Optional `legacyFactor` is a multiplication constant applied to runtime | COMMENT |
| LOW | benchmark/utils/DriverUtils.swift | 1 | //===--- DriverUtils.swift ------------------------------------------------===// | COMMENT |
| LOW | benchmark/utils/DriverUtils.swift | 421 | #else | COMMENT |
| LOW | benchmark/utils/ArgParse.swift | 1 | //===--- ArgParse.swift ---------------------------------------------------===// | COMMENT |
| LOW | benchmark/utils/main.swift | 1 | //===--- main.swift -------------------------------------------*- swift -*-===// | COMMENT |
| LOW | benchmark/utils/convertToJSON.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | benchmark/utils/convertToJSON.py | 21 | # 2,Ackermann,1,805,805,805,0,805 | COMMENT |
| LOW | benchmark/utils/convertToJSON.py | 41 | # 805 | COMMENT |
| LOW | benchmark/utils/ObjectiveCTests/ObjectiveCTests.h | 1 | //===--- ObjectiveCTests.h ------------------------------------------------===// | COMMENT |
| LOW | benchmark/utils/ObjectiveCTests/ObjectiveCTests.m | 1 | //===--- ObjectiveCTests.m ------------------------------------------------===// | COMMENT |
| LOW | benchmark/utils/LibProc/LibProcIncludeSystemHeader.h | 1 | //===--- LibProcIncludeSystemHeader.h -------------------------------------===// | COMMENT |
| LOW | …ark/single-source/ObserverPartiallyAppliedMethod.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/DiffingMyers.swift | 1 | //===--- DiffingMyers.swift -----------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/DictTest.swift | 1 | //===--- DictTest.swift ---------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/Exclusivity.swift | 1 | //===--- Exclusivity.swift -------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/DropLast.swift | 1 | //===--- DropLast.swift ---------------------------------------*- swift -*-===// | COMMENT |
| LOW | benchmark/single-source/StrComplexWalk.swift | 1 | //===--- StrComplexWalk.swift ---------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/FindStringNaive.swift | 1 | //===--- FindStringNaive.swift --------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ReduceInto.swift | 1 | //===--- ReduceInto.swift -------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ArrayOfRef.swift | 1 | //===--- ArrayOfRef.swift -------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ClassArrayGetter.swift | 1 | //===--- ClassArrayGetter.swift -------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/PrefixWhile.swift | 1 | //===--- PrefixWhile.swift ------------------------------------*- swift -*-===// | COMMENT |
| LOW | benchmark/single-source/PrefixWhile.swift | 241 | COMMENT | |
| LOW | benchmark/single-source/Fibonacci.swift | 1 | //===--- Fibonacci.swift --------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/Calculator.swift | 1 | //===--- Calculator.swift -------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/Diffing.swift | 1 | //===--- Diffing.swift ----------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/PopFrontGeneric.swift | 1 | //===--- PopFrontGeneric.swift --------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/Hash.swift | 1 | //===--- Hash.swift -------------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/DictionaryCopy.swift | 1 | //===--- DictionaryCopy.swift ---------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/BucketSort.swift | 1 | //===--- BucketSort.swift -------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ArrayOfGenericRef.swift | 1 | //===--- ArrayOfGenericRef.swift ------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/OpenClose.swift | 1 | //===--- OpenClose.swift --------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/StringEdits.swift | 1 | //===--- StringEdits.swift ------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/FloatingPointPrinting.swift | 1 | //===--- FloatingPointPrinting.swift -----------------------------------===// | COMMENT |
| LOW | benchmark/single-source/IntegerParsing.swift | 1 | //===--- IntegerParsing.swift -------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ObserverClosure.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ObjectAllocation.swift | 1 | //===--- ObjectAllocation.swift -------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/RangeIteration.swift | 1 | //===--- RangeAssignment.swift --------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/InsertCharacter.swift | 1 | //===--- InsertCharacter.swift --------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/BufferFind.swift | 1 | //===--- BufferFind.swift -------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/RemoveWhere.swift | 1 | //===--- RemoveWhere.swift ------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/MapReduce.swift | 1 | //===--- MapReduce.swift --------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/SortLettersInPlace.swift | 1 | //===--- SortLettersInPlace.swift -----------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/XorLoop.swift | 1 | //===--- XorLoop.swift ----------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ArraySliceTests.swift | 1 | //===--- ArraySliceTests.swift --------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ArrayOfPOD.swift | 1 | //===--- ArrayOfPOD.swift -------------------------------------------------===// | COMMENT |
| LOW | benchmark/single-source/ObserverForwarderStruct.swift | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| 30186 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | validation-test/lit.cfg | 11 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …idation-test/ParseableInterface/verify_all_overlays.py | 18 | # ----------------------------- | COMMENT |
| MEDIUM | test/swift_test.py | 11 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/swift_test.py | 15 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/lit.cfg | 11 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/lit.cfg | 19 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/Driver/Inputs/filelists/fake-ld.py | 12 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/Driver/Inputs/filelists/check-filelist-abc.py | 12 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/ModuleInterface/ModuleCache/Inputs/check-is-old.py | 13 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/ModuleInterface/ModuleCache/Inputs/check-is-old.py | 18 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/ModuleInterface/ModuleCache/Inputs/make-old.py | 13 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/ModuleInterface/ModuleCache/Inputs/make-old.py | 17 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/ModuleInterface/ModuleCache/Inputs/check-is-new.py | 13 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/ModuleInterface/ModuleCache/Inputs/check-is-new.py | 18 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/stdlib/FlattenDistanceFromTo.swift | 45 | /// ───────────────── | COMMENT |
| MEDIUM | test/stdlib/FlattenDistanceFromTo.swift | 53 | /// ───────────────── | COMMENT |
| MEDIUM | test/stdlib/FlattenDistanceFromTo.swift | 87 | /// ──────────────────────────────── | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 82 | /// ┌─────┐ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 83 | /// ┌────────────────┤ SDK ├───────────────┐ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 84 | /// │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 85 | /// │ ┌────────────────┐ │ ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 86 | /// │ ┌───────┤ Framework Dirs ├────────┐ │ ┌┤ Prebuilt Cache ├┐ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 87 | /// │ │ └────────────────┘ │ │ │└────────────────┘│ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 92 | /// │ └────┼───────┼───────┼────────────┘ │ └─────╫──────┼────╫┘ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 93 | /// │ │ │ └──────────────┼───────╫──────┘ ║ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 94 | /// └───────┼───────┼──────────────────────┘ ║ ║ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 95 | /// │ │ ┌───────────────┐ ║ ║ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 96 | /// │ ┌────┼───┤ Module Cache ├────────┐ ║ ║ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 97 | /// │ │ │ └───────────────┘ │ ║ ║ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 102 | /// │ └────────────┼───────╫────────────┘ ║ | COMMENT |
| MEDIUM⚡ | include/swift/Frontend/ModuleInterfaceLoader.h | 103 | /// └───────────────┘ ╚══════════════════════════╝ | COMMENT |
| MEDIUM | include/swift/Frontend/ModuleInterfaceLoader.h | 53 | /// ┌───────────────────────────────┐ | COMMENT |
| MEDIUM | include/swift/Frontend/ModuleInterfaceLoader.h | 63 | /// └───────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | include/swift/AST/AvailabilityDomain.h | 56 | /// *────────Swift──────SwiftLang──────Windows──... | COMMENT |
| MEDIUM⚡ | include/swift/AST/AvailabilityDomain.h | 60 | /// ┌──────┬─┴──┬──────────────┐ | COMMENT |
| MEDIUM⚡ | include/swift/AST/AvailabilityDomain.h | 63 | /// │ │ │ ┌──────┼───────────┐ | COMMENT |
| MEDIUM⚡ | include/swift/SIL/TypeSubstCloner.h | 337 | // ┌────────────────┐ remap ┌─────────────────────────┐ | COMMENT |
| MEDIUM⚡ | include/swift/SIL/TypeSubstCloner.h | 338 | // │ orig. fn type │ ───────(a)──────► │ remapped orig. fn type │ | COMMENT |
| MEDIUM⚡ | include/swift/SIL/TypeSubstCloner.h | 339 | // └────────────────┘ └─────────────────────────┘ | COMMENT |
| MEDIUM⚡ | include/swift/SIL/TypeSubstCloner.h | 344 | // ┌────────────────┐ remap ┌─────────────────────────┐ | COMMENT |
| MEDIUM⚡ | include/swift/SIL/TypeSubstCloner.h | 345 | // │ deriv. fn type │ ───────(c)──────► │ remapped deriv. fn type │ | COMMENT |
| MEDIUM⚡ | include/swift/SIL/TypeSubstCloner.h | 346 | // └────────────────┘ └─────────────────────────┘ | COMMENT |
| MEDIUM | utils/python_lint.py | 29 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/python_lint.py | 53 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | utils/python_lint.py | 73 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | utils/build_swift/build_swift/presets.py | 36 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/presets.py | 42 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/presets.py | 100 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/presets.py | 178 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/presets.py | 209 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/presets.py | 220 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/presets.py | 238 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/presets.py | 317 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/constants.py | 27 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/constants.py | 45 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/constants.py | 59 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/constants.py | 187 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/shell.py | 77 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/shell.py | 156 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | utils/build_swift/build_swift/shell.py | 191 | # ----------------------------------------------------------------------------- | COMMENT |
| 812 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/scripts/test_utils.py | 85 | def assert_called_all_expected(self): | CODE |
| LOW | benchmark/scripts/create_benchmark.py | 136 | def insert_line_alphabetically(name, new_line, lines, regex): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 73 | def test_command_help_lists_commands(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 78 | def test_run_benchmarks_by_name_or_ordinal(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 82 | def test_run_benchmarks_matching_pattern(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 87 | def test_run_benchmarks_and_filters_are_exclusive(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 138 | def test_check_supports_verbose_output(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 143 | def test_check_supports_markdown_output(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 148 | def test_check_flags_are_mutually_exclusive(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 329 | def test_run_benchmark_with_multiple_samples(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 339 | def test_run_benchmark_with_specified_number_of_iterations(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 345 | def test_run_benchmark_for_specified_time(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 351 | def test_run_benchmark_in_verbose_mode(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 578 | def test_init_writes_table_header(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 582 | def test_close_writes_final_newlines(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 586 | def test_errors_and_warnings_start_new_rows_with_icons(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 647 | def test_supports_verbose_output(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 655 | def test_uses_report_formatter(self): | CODE |
| LOW⚡ | benchmark/scripts/test_Benchmark_Driver.py | 662 | def test_uses_optional_markdown_report_formatter(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 58 | def test_requires_command_argument(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 103 | def test_optimization_argument(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 223 | def test_gets_list_of_precommit_benchmarks(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 243 | def test_gets_list_of_all_benchmarks_when_benchmarks_args_exist(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 252 | def test_filters_benchmarks_by_pattern(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 369 | def test_parse_results_from_running_benchmarks(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 388 | def test_run_benchmark_independent_samples(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 482 | def test_deterministic_hashing(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 554 | def test_no_prefix_for_base_logging(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 597 | def test_info_stays_in_table_cell_breaking_line_row_to_subscript(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 606 | def test_names_in_code_format(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 755 | def test_benchmark_name_matches_naming_conventions(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 827 | def test_benchmark_runtime_range(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 909 | def test_benchmark_has_no_significant_setup_overhead(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 963 | def test_benchmark_setup_takes_reasonable_time(self): | CODE |
| LOW | benchmark/scripts/test_Benchmark_Driver.py | 992 | def test_benchmark_has_constant_memory_use(self): | CODE |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 88 | def test_init_delta_quantiles(self): | CODE |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 99 | def test_init_oversampled_quantiles(self): | CODE |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 427 | def test_parse_results_tab_delimited(self): | STRING |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 434 | def test_parse_results_formatted_text(self): | STRING |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 463 | def test_parse_delta_quantiles(self): | CODE |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 838 | def test_required_input_arguments(self): | CODE |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 867 | def test_delta_threshold_argument(self): | CODE |
| LOW | benchmark/scripts/test_compare_perf_tests.py | 894 | def test_changes_only_argument(self): | CODE |
| LOW | …SourceKit/tools/sourcekitd/include/sourcekitd/plugin.h | 22 | typedef sourcekitd_variant_type_t (*sourcekitd_variant_functions_get_type_t)( | CODE |
| LOW | test/lit.cfg | 76 | def darwin_get_watchos_sim_vers(): | CODE |
| LOW | test/lit.cfg | 127 | def get_lldb_python_interpreter(lldb_build_root): | CODE |
| LOW | test/lit.cfg | 143 | def escape_for_substitute_captures(s): | CODE |
| LOW | test/lit.cfg | 155 | def configure_individual_test_timeout(): | CODE |
| LOW | test/lit.cfg | 529 | def availability_macro_to_swift_abi_target_triple(macro): | CODE |
| LOW | test/lit.cfg | 579 | def availability_macro_to_current(macro): | CODE |
| LOW | test/lit.cfg | 1325 | def use_interpreter_for_simple_runs(): | STRING |
| LOW | test/lit.cfg | 2501 | def construct_library_path_env(dirs): | STRING |
| LOW | test/attr/Inputs/access-note-gen.py | 116 | def move_at_objc_to_access_note(access_notes_file, arg, maybe_bad, offset, | CODE |
| LOW | test/PlaygroundTransform/lit.local.cfg | 4 | def escape_for_substitute_captures(s): | CODE |
| LOW | utils/swift_build_sdk_interfaces.py | 159 | def collect_framework_modules(sdk, xfails, sdk_relative_framework_dirs): | CODE |
| LOW | utils/swift_build_sdk_interfaces.py | 176 | def collect_non_framework_modules(sdk, xfails, sdk_relative_search_dirs): | CODE |
| LOW | utils/swift_build_sdk_interfaces.py | 207 | def run_with_module_cache_retry(command_args, module_cache_path, dry_run): | CODE |
| LOW | utils/analyze_code_size.py | 280 | def categorize_by_mangled_name(self, symbol): | CODE |
| LOW | utils/sil-opt-verify-all-modules.py | 22 | def get_verify_toolchain_modules_commands(toolchain_dir, sil_opt): | CODE |
| LOW | utils/sil-opt-verify-all-modules.py | 46 | def get_verify_build_dir_commands(build_dir, toolchain_name='XcodeDefault'): | CODE |
| 494 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | benchmark/single-source/CharacterRecognizer.swift | 0 | the powerful programming language that is also easy to learn. 손쉽게 학습할 수 있는 강력한 프로그래밍 언어. 🪙 a 🥞 short 🍰 piece 🫘 of 🌰 text | STRING |
| HIGH | benchmark/single-source/StringDistance.swift | 0 | the powerful programming language that is also easy to learn. 손쉽게 학습할 수 있는 강력한 프로그래밍 언어. 🪙 a 🥞 short 🍰 piece 🫘 of 🌰 text | STRING |
| HIGH | test/stdlib/CharacterRecognizer.swift | 0 | the powerful programming language that is also easy to learn. 손쉽게 학습할 수 있는 강력한 프로그래밍 언어. 🪙 a 🥞 short 🍰 piece 🫘 of 🌰 text | STRING |
| HIGH | test/stdlib/StringIndex.swift | 0 | the powerful programming language that is also easy to learn. 손쉽게 학습할 수 있는 강력한 프로그래밍 언어. 🪙 a 🥞 short 🍰 piece 🫘 of 🌰 text | STRING |
| HIGH | …ol/Sources/swift_snapshot_tool/bisect_toolchains.swift | 0 | the directory where toolchains should be downloaded to. | STRING |
| HIGH | …ol/Sources/swift_snapshot_tool/download_snapshot.swift | 0 | the directory where toolchains should be downloaded to. | STRING |
| HIGH | …t_tool/Sources/swift_snapshot_tool/run_toolchain.swift | 0 | the directory where toolchains should be downloaded to. | STRING |
| HIGH | …ld_support/swift_build_support/products/swiftsyntax.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …uild_support/swift_build_support/products/swiftdocc.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …support/swift_build_support/products/skstresstester.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …ild_support/swift_build_support/products/foundation.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …t_build_support/swift_build_support/products/xctest.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …upport/swift_build_support/products/swiftdoccrender.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …ld_support/swift_build_support/products/libdispatch.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …ft_build_support/swift_build_support/products/swift.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …ld_support/swift_build_support/products/swiftformat.py | 0 | product_source_name() -> str the name of the source code directory of this product. | STRING |
| HIGH | …ld_support/swift_build_support/products/stdlib_docs.py | 0 | return a list of products that this product depends upon | STRING |
| HIGH | …_build_support/swift_build_support/products/product.py | 0 | return a list of products that this product depends upon | STRING |
| HIGH | …pport/swift_build_support/products/staticswiftlinux.py | 0 | return a list of products that this product depends upon | STRING |
| HIGH | …ift_build_support/swift_build_support/products/curl.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl | STRING |
| HIGH | …_build_support/swift_build_support/products/libxml2.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl | STRING |
| HIGH | …ift_build_support/swift_build_support/products/zlib.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl | STRING |
| HIGH | …ift_build_support/swift_build_support/products/curl.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products | STRING |
| HIGH | …_build_support/swift_build_support/products/libxml2.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products | STRING |
| HIGH | …ift_build_support/swift_build_support/products/zlib.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products | STRING |
| HIGH | …ift_build_support/swift_build_support/products/curl.py | 0 | should_test() -> bool returns true if zlib should be tested. currently is set to false | STRING |
| HIGH | …_build_support/swift_build_support/products/libxml2.py | 0 | should_test() -> bool returns true if zlib should be tested. currently is set to false | STRING |
| HIGH | …ift_build_support/swift_build_support/products/zlib.py | 0 | should_test() -> bool returns true if zlib should be tested. currently is set to false | STRING |
| HIGH | …t_build_support/swift_build_support/products/libcxx.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …ild_support/swift_build_support/products/foundation.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/llvm.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …t_build_support/swift_build_support/products/xctest.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …ld_support/swift_build_support/products/libdispatch.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …ft_build_support/swift_build_support/products/swift.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …_build_support/swift_build_support/products/product.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …_build_support/swift_build_support/products/llbuild.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …pport/swift_build_support/products/staticswiftlinux.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/lldb.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …ft_build_support/swift_build_support/products/cmark.py | 0 | is_build_script_impl_product -> bool whether this product is produced by build-script-impl. | STRING |
| HIGH | …t_build_support/swift_build_support/products/libcxx.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products. | STRING |
| HIGH | …ild_support/swift_build_support/products/foundation.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/llvm.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products. | STRING |
| HIGH | …ld_support/swift_build_support/products/libdispatch.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products. | STRING |
| HIGH | …_build_support/swift_build_support/products/llbuild.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/lldb.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products. | STRING |
| HIGH | …ft_build_support/swift_build_support/products/cmark.py | 0 | is_before_build_script_impl_product -> bool whether this product is built before any build-script-impl products. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/llvm.py | 0 | should_build() -> bool whether or not this product should be built with the given arguments. | STRING |
| HIGH | …_build_support/swift_build_support/products/product.py | 0 | should_build() -> bool whether or not this product should be built with the given arguments. | STRING |
| HIGH | …pport/swift_build_support/products/staticswiftlinux.py | 0 | should_build() -> bool whether or not this product should be built with the given arguments. | STRING |
| HIGH | …ft_build_support/swift_build_support/products/cmark.py | 0 | should_build() -> bool whether or not this product should be built with the given arguments. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/llvm.py | 0 | build() -> void perform the build, for a non-build-script-impl product. | STRING |
| HIGH | …_build_support/swift_build_support/products/product.py | 0 | build() -> void perform the build, for a non-build-script-impl product. | STRING |
| HIGH | …pport/swift_build_support/products/staticswiftlinux.py | 0 | build() -> void perform the build, for a non-build-script-impl product. | STRING |
| HIGH | …ft_build_support/swift_build_support/products/cmark.py | 0 | build() -> void perform the build, for a non-build-script-impl product. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/llvm.py | 0 | should_test() -> bool whether or not this product should be tested with the given arguments. | STRING |
| HIGH | …_build_support/swift_build_support/products/product.py | 0 | should_test() -> bool whether or not this product should be tested with the given arguments. | STRING |
| HIGH | …pport/swift_build_support/products/staticswiftlinux.py | 0 | should_test() -> bool whether or not this product should be tested with the given arguments. | STRING |
| HIGH | …ft_build_support/swift_build_support/products/cmark.py | 0 | should_test() -> bool whether or not this product should be tested with the given arguments. | STRING |
| HIGH | …ift_build_support/swift_build_support/products/llvm.py | 0 | perform the test phase for the product. this phase might build and execute the product tests. | STRING |
| HIGH | …_build_support/swift_build_support/products/product.py | 0 | perform the test phase for the product. this phase might build and execute the product tests. | STRING |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/IDE/range_info_basics.swift | 326 | // CHECK10-NEXT: let b = a.c.c.c.c.getC().getC()</Content> | COMMENT |
| CRITICAL | test/IDE/range_info_basics.swift | 338 | // CHECK11-NEXT: let b = a.c.c.c.c.getC().getC() | COMMENT |
| CRITICAL | test/IDE/range_info_basics.swift | 352 | // CHECK12-NEXT: let b = a.c.c.c.c.getC().getC() | COMMENT |
| CRITICAL | test/IDE/range_info_basics.swift | 50 | let b = a.c.c.c.c.getC().getC() | CODE |
| CRITICAL | …tributed/distributed_actor_accessor_thunks_32bit.swift | 141 | // CHECK: [[THUNK_RESULT:%.*]] = call { i8*, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8p0s_sw | COMMENT |
| CRITICAL | …tributed/distributed_actor_accessor_thunks_32bit.swift | 175 | // CHECK: [[THUNK_RESULT:%.*]] = call { i8*, i32, i32, i32, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.asyn | COMMENT |
| CRITICAL | …tributed/distributed_actor_accessor_thunks_32bit.swift | 243 | // CHECK: [[THUNK_RESULT:%.*]] = call { i8*, i32, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8i | COMMENT |
| CRITICAL | …tributed/distributed_actor_accessor_thunks_32bit.swift | 268 | // SKIP: {{.*}} = call { i8*, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8p0s_swift.errorss({{. | COMMENT |
| CRITICAL | …tributed/distributed_actor_accessor_thunks_32bit.swift | 296 | // CHECK: [[THUNK_RESULT:%.*]] = call { i8*, i32, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8i | COMMENT |
| CRITICAL | …tributed/distributed_actor_accessor_thunks_32bit.swift | 360 | // CHECK: [[THUNK_RESULT:%.*]] = call { i8*, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8p0s_sw | COMMENT |
| CRITICAL | …tributed/distributed_actor_accessor_thunks_32bit.swift | 418 | // CHECK: [[THUNK_RESULT:%.*]] = call { i8*, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8p0s_sw | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors_popless.swift | 282 | // CHECK: [[ALLOCATION:%[^,]+]] = call token{{.*}} @llvm.coro.alloca.alloc.frame.i64(i64 [[SIZE]], i32 16, i64 [ | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors_popless.swift | 330 | // CHECK: [[ALLOCATION:%[^,]+]] = call token{{.*}} @llvm.coro.alloca.alloc.frame.i64(i64 [[SIZE]], i32 16, i64 [ | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors.swift | 225 | // CHECK: [[ID:%[^,]+]] = call token @llvm.coro.id.retcon.once.dynamic( | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors.swift | 262 | // CHECK: [[ID:%[^,]+]] = call token @llvm.coro.id.retcon.once.dynamic( | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors.swift | 389 | // CHECK-64: [[ALLOCATION:%[^,]+]] = call token{{.*}} @llvm.coro.alloca.alloc.frame.i64(i64 [[SIZE_64]], i32 16, i6 | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors.swift | 390 | // CHECK-32: [[ALLOCATION:%[^,]+]] = call token{{.*}} @llvm.coro.alloca.alloc.frame.i32(i32 {{%[^,]+}}, i32 16, i64 | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors.swift | 439 | // CHECK-64: [[ALLOCATION:%[^,]+]] = call token{{.*}} @llvm.coro.alloca.alloc.frame.i64(i64 [[SIZE_64]], i32 16, i6 | COMMENT |
| CRITICAL | test/IRGen/coroutine_accessors.swift | 440 | // CHECK-32: [[ALLOCATION:%[^,]+]] = call token{{.*}} @llvm.coro.alloca.alloc.frame.i32(i32 {{%[^,]+}}, i32 16, i64 | COMMENT |
| CRITICAL | utils/parser-lib/profile-input.swift | 1815 | make.left.right.top.bottom.equalTo(self.webViewContainer) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ceKit/tools/sourcekitd/include/sourcekitd/sourcekitd.h | 102 | /// NOTE: This function is called implicitly by 'sourcekitd_initialize()'. Only | COMMENT |
| LOW⚡ | test/api-digester/use-interface-for.swift | 11 | // Step 1: we should be able to load if we prefer cake.swiftinterface | COMMENT |
| LOW⚡ | test/api-digester/use-interface-for.swift | 16 | // Step 2: we shouldn't be able to load if we prefer cake.swiftinterface and cake.swiftinterface is broken | COMMENT |
| LOW⚡ | test/api-digester/use-interface-for.swift | 19 | // Step 3: we should be able to load if we don't prefer cake.swiftinterface | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 10 | // Step 0: Copy relevant files into the temp dir which will serve as the search path | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 16 | // Step 1: Build this file, causing an implicit build of SIMod and CIMod into the module cache. | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 21 | // Step 2: Touch the dummy modulemap we passed in with `-Xcc -fmodule-map-file` above. | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 24 | // Step 3: Re-build this file, and ensure we are not re-building SIMod due to a dependency on the dummy file | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 27 | // Step 4: Ensure that SIMod was not re-built | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 8 | // Step 1: build swift interface from the source | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 11 | // Step 2: building a module from the interface, and the module should not be a forwarding module. | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 16 | // Step 3: given the adjacent binary module as a candidate, building a module from the interface should give us a forwar | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 21 | // Step 4: given the stale adjacent binary module as a candidate, building a module from the interface should give us a | COMMENT |
| LOW⚡ | …no-package-dependencies-on-non-package-interface.swift | 11 | // Step 1: Build Foo Swift binary module | COMMENT |
| LOW⚡ | …no-package-dependencies-on-non-package-interface.swift | 14 | // Step 2: Build Bar Swift binary module and textual interface with a package-only import | COMMENT |
| LOW⚡ | …no-package-dependencies-on-non-package-interface.swift | 17 | // Step 3: Now that Bar has been built, remove package-only dependency 'Foo' so that any clients of 'Bar' fail to build | COMMENT |
| LOW⚡ | …dencies/optional_deps_of_binary_testable_imports.swift | 10 | // Step 1: build a binary swift module for `Foo`, make it testable | COMMENT |
| LOW⚡ | …dencies/optional_deps_of_binary_testable_imports.swift | 13 | // Step 2: scan dependencies | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 6 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 9 | // Step 2: scan dependency should give us the binary module we specify with 'swift-module-file' | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 13 | // Step 3: ensure that if multiple inputs for the same module are specified then a warning is emitted and the latter is | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 18 | // Step 4: verify that the usual invalid module candidate diagnostics apply | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 9 | // Step 1: build Bar swift interface and swift module side by side | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 12 | // Step 2: build Foo swift interface and swift module side by side belonging to package 'Test' | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 15 | // Step 3: scan dependencies with '-no-scanner-module-validation' and '-package-name Test' | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 17 | // Step 4: Ensure that same-package scan can see package-only dependencies | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 20 | // Step 5: scan dependencies with '-no-scanner-module-validation' and no package name | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 22 | // Step 6: Ensure that non-same-package scan can not see package-only dependencies | COMMENT |
| LOW⚡ | …anDependencies/optional_deps_of_testable_imports.swift | 10 | // Step 1: build swift interface and swift module side by side, make them testable | COMMENT |
| LOW⚡ | …anDependencies/optional_deps_of_testable_imports.swift | 13 | // Step 2: scan dependencies | COMMENT |
| LOW⚡ | …anDependencies/required_deps_of_testable_imports.swift | 10 | // Step 1: build swift interface and swift module side by side, make them testable | COMMENT |
| LOW⚡ | …anDependencies/required_deps_of_testable_imports.swift | 13 | // Step 2: scan dependencies | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 5 | // Step 1: Put the textual interface for E in the right place | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 7 | // Step 1: Build a swift interface into a binary module | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 9 | // Step 3: scan dependency should give us the binary module and a textual swift dependency from it | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 13 | // Step 4: Ensure that round-trip serialization does not affect result | COMMENT |
| LOW⚡ | …anDependencies/explicit-scanner-input-can-import.swift | 6 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | …anDependencies/explicit-scanner-input-can-import.swift | 9 | // Step 2: scan dependency should give us the binary module we specify with 'swift-module-file' | COMMENT |
| LOW⚡ | …anDependencies/explicit-scanner-input-can-import.swift | 13 | // Step 3: ensure that versioned canImport still applies with direct -swift-module-file | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 17 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 20 | // Step 2: build module from interface and put it in a location separate from the interface file | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 23 | // Step 3: scan dependencies, pointed only at the binary module file should detect it as a swiftBinaryModule kind of dep | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 27 | // Step 4: Ensure that round-trip serialization does not affect result | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 37 | // Step 1: build Foo Swift module | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 40 | // Step 2: scan dependencies and ensure the transitive dependency on "A" is missing | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 45 | // Step 3: Run an explicit module compile of this file ensuring object files are produced | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 48 | // Step 4: Ensure the resulting object file exists | COMMENT |
| LOW⚡ | …ScanDependencies/duplicate_query_optional_import.swift | 8 | // Step 1: Build binary module Foo with 'internal import C' and a .swiftinterface | COMMENT |
| LOW⚡ | …ScanDependencies/duplicate_query_optional_import.swift | 11 | // Step 2: Build binary module Bar with 'internal import C' and a .swiftinterface | COMMENT |
| LOW⚡ | …ScanDependencies/duplicate_query_optional_import.swift | 14 | // Step 3: Scan dependencies with @testable imports | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 15 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 18 | // Step 2: scan dependency should give us the binary module adjacent to the interface file. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 26 | // Step 3: remove the adjacent module. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 29 | // Step 4: scan dependency should give us the interface file. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 33 | // Step 4: build prebuilt module cache using the interface. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 36 | // Step 5: scan dependency now should give us the prebuilt module cache | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 44 | // Step 6: update the interface file from where the prebuilt module cache was built. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 47 | // Step 7: scan dependency should give us the prebuilt module file even though it's out-of-date. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 51 | // Step 8: The new scanner behavior should not give use prebuilt module file because it is out-of-date. | COMMENT |
| LOW⚡ | …pendencies/explicit-module-map-forwarding-module.swift | 7 | // Step 1: build .swiftmodule and .swiftinterface adjacent to each other from foo.swift | COMMENT |
| 66 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benchmark/utils/TestsUtils.swift | 166 | /// which are more robust to measurement errors from system under load, | COMMENT |
| MEDIUM | benchmark/utils/DriverUtils.swift | 594 | // actually pretty robust, since almost everything is a number; the only | STRING |
| LOW | benchmark/scripts/perf_test_driver/perf_test_driver.py | 62 | # We just use this to create a timeout since we use an older python. Once | COMMENT |
| MEDIUM | …mark/scripts/generate_harness/test_generate_harness.sh | 3 | # validation-test/benchmark/generate-harness.test-sh. | COMMENT |
| MEDIUM | …spect/Sources/swift-inspect/AndroidRemoteProcess.swift | 53 | // API, which enumerates allocations in the current process. We leverage this | COMMENT |
| MEDIUM | …Sources/Sources/Optimizer/Utilities/AddressUtils.swift | 412 | // this is not robust. | COMMENT |
| MEDIUM | SwiftCompilerSources/Sources/SIL/Value.swift | 165 | // TODO: This would be much more robust if pai.hasNoescapeCapture simply implied !pai.type.isEscapable | COMMENT |
| MEDIUM | …t/AutoDiff/validation-test/class_differentiation.swift | 164 | // FIXME(TF-1175): Find a robust solution so that derivatives are correct. | COMMENT |
| MEDIUM | …s/access/non-public-inheritance-module-interface.swift | 6 | // the @available(*, unavailable) attributes (to ensure this test is robust | COMMENT |
| MEDIUM | test/Interop/Cxx/stdlib/use-std-string.swift | 494 | // Since std::u32string does not support pushing back UInt32 directly, we utilize UInt16 instead. | COMMENT |
| MEDIUM | test/Interop/Cxx/stdlib/use-std-string.swift | 568 | // Since std::u32string does not support pushing back UInt32 directly, we utilize UInt16 instead. | COMMENT |
| MEDIUM | test/attr/attr_abi.swift | 2180 | // Essentially part of the name, which is unconstrained. | COMMENT |
| MEDIUM | include/swift/IDE/CancellableResult.h | 29 | /// Essentially this emulates an enum with associated values as follows | COMMENT |
| MEDIUM | …SILOptimizer/Analysis/DifferentiableActivityAnalysis.h | 20 | // Essentially, fixing some inputs and neglecting some outputs allows AD to | COMMENT |
| MEDIUM | include/swift/SILOptimizer/Analysis/ValueTracking.h | 87 | /// Essentially, it is a simple form of a range analysis. | COMMENT |
| MEDIUM | include/swift/Basic/LangOptions.h | 551 | /// TODO: remove this when @_implementationOnly modules are robust enough. | COMMENT |
| MEDIUM | include/swift/Basic/PossiblyUniquePtr.h | 34 | /// Essentially std::unique_ptr except it dynamically tracks whether the | COMMENT |
| MEDIUM | include/swift/Sema/CSBindings.h | 415 | /// Definitely not an lvalue. | COMMENT |
| MEDIUM | include/swift/Sema/CSBindings.h | 417 | /// Definitely an lvalue. | COMMENT |
| MEDIUM | include/swift/AST/Types.h | 2022 | /// in SIL. Essentially a UInt32 with some structural restrictions | COMMENT |
| MEDIUM | include/swift/AST/Types.h | 3943 | /// differential/pullback typing rules are more nuanced: see documentation for | COMMENT |
| MEDIUM | include/swift/AST/Types.h | 6024 | /// differential/pullback typing rules are more nuanced: see documentation for | COMMENT |
| MEDIUM | include/swift/AST/Import.h | 230 | /// \warning This is not very robust; for instance, it doesn't check the | COMMENT |
| MEDIUM | include/swift/AST/Import.h | 245 | /// \warning This is not very robust; for instance, it doesn't check the | COMMENT |
| MEDIUM | utils/build-presets.ini | 706 | # to LLVM_USE_RUNTIMES to build compiler-rt (#60993), so we can leverage | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 12 | # This file implements a test harness for running Swift performance benchmarks. | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 15 | # take no arguments and returns Int. The harness makes a separate test from | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 18 | # The workflow of the harness is the following: | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 22 | # o When all files are processed, the harness begins to compile them, keeping | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 24 | # o When all files are compiled, the harness begins to run the tests. The | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 25 | # harness chooses a number of iterations for each tests to achieve the best | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 29 | # o At this point everything is ready, and the harness simply reports the | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 32 | # Ideas for the harness improvement and development are welcomed here: | COMMENT |
| MEDIUM | utils/build_swift/build_swift/shell.py | 237 | """In order to utilize the same function decorators used to back-port | STRING |
| LOW | utils/bug_reducer/bug_reducer/opt_bug_reducer.py | 67 | # actually have any suffix passes. If we don't, just return. | COMMENT |
| MEDIUM | utils/update_checkout/tests/test_stash_clean.py | 47 | # the harness's local_path clones get one), so configure it before the | COMMENT |
| LOW | …ort/swift_build_support/host_specific_configuration.py | 28 | # to make a distinction in between them and can just use args. | COMMENT |
| MEDIUM | lib/SILOptimizer/Mandatory/Differentiation.cpp | 240 | // TODO(TF-1055): Can be removed after we have a robust solution for TF-1055. | COMMENT |
| MEDIUM | lib/SILOptimizer/Mandatory/Differentiation.cpp | 760 | // FIXME: This is not a very robust way of determining if the function | COMMENT |
| MEDIUM | lib/SILOptimizer/Mandatory/Differentiation.cpp | 837 | // FIXME: This is not a very robust way of determining if the function | COMMENT |
| MEDIUM | lib/SILOptimizer/Utils/ConstExpr.cpp | 2261 | /// Essentially, these are calls whose "effect" is visible only in their return | COMMENT |
| MEDIUM | lib/SILOptimizer/Utils/OSSACanonicalizeOwned.cpp | 45 | /// canonicalization algorithm as simple and robust, leaving the remaining | COMMENT |
| MEDIUM | lib/SILOptimizer/Utils/StackNesting.cpp | 35 | /// Essentially, runInDominanceOrder finds an arbitrary simple path to | COMMENT |
| MEDIUM | lib/SILOptimizer/Transforms/ARCCodeMotion.cpp | 67 | /// Essentially, we can implement the release code motion by inverting the | COMMENT |
| MEDIUM | lib/SILOptimizer/Differentiation/VJPCloner.cpp | 1715 | // bb arguments have a lifetime-ending `end_borrow` use, and is robust when | COMMENT |
| MEDIUM | lib/ClangImporter/ClangImporter.cpp | 9450 | // TODO: enumerate those kinds in a more precise and robust way | COMMENT |
| MEDIUM | lib/ClangImporter/ClangLookup.cpp | 534 | /// Essentially a pair<CXXMethodDecl *, AccessSpecifier>, from qualified lookup. | COMMENT |
| MEDIUM | lib/SILGen/SILGenExpr.cpp | 7306 | // This implementation is not very robust; if TapExpr were to ever become | COMMENT |
| MEDIUM | lib/SILGen/SILGenDecl.cpp | 915 | // metatypes mostly avoids the issue, but it's not robust and doesn't allow | COMMENT |
| MEDIUM | lib/SILGen/SILGenPattern.cpp | 823 | /// Essentially equivalent to forwardIntoIrrefutableSubtree, except it | COMMENT |
| MEDIUM | lib/SILGen/SILGenPattern.cpp | 861 | /// Essentially equivalent to forwardIntoSubtree, except it preserves | COMMENT |
| MEDIUM | lib/Serialization/Serialization.cpp | 4717 | // reason). However, we need a more robust handling of deserialization | COMMENT |
| MEDIUM | lib/Serialization/Serialization.cpp | 4768 | // need a more robust handling of deserialization dependencies that can | COMMENT |
| MEDIUM | lib/FrontendTool/LoadedModuleTrace.cpp | 825 | // Moreover, going forward, it would be nice if trace emission were more robust | COMMENT |
| MEDIUM | lib/Parse/Lexer.cpp | 2086 | // Definitely a regex literal. | COMMENT |
| MEDIUM | lib/IRGen/GenCast.cpp | 921 | /// Essentially, both the source and target types must be one of: | COMMENT |
| MEDIUM | lib/IRGen/LoadableTypeInfo.h | 124 | /// Essentially, this is like take-initializing the new explosion. | COMMENT |
| MEDIUM | lib/Sema/TypeCheckAttr.cpp | 6291 | // NOTE: To be robust, result function type parameters should be added only if | COMMENT |
| MEDIUM | lib/Sema/CSRanking.cpp | 1412 | // any way more constrained than another. We'll only utilize this | COMMENT |
| MEDIUM | lib/Sema/TypeCheckDeclObjC.cpp | 3032 | // Definitely no conflicts. | COMMENT |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …Sources/Optimizer/FunctionPasses/AllocBoxToStack.swift | 190 | // We need to check if the captured argument is escaping via the partial_apply. | COMMENT |
| LOW⚡ | test/api-digester/use-interface-for.swift | 11 | // Step 1: we should be able to load if we prefer cake.swiftinterface | COMMENT |
| LOW⚡ | test/api-digester/use-interface-for.swift | 16 | // Step 2: we shouldn't be able to load if we prefer cake.swiftinterface and cake.swiftinterface is broken | COMMENT |
| LOW⚡ | test/api-digester/use-interface-for.swift | 19 | // Step 3: we should be able to load if we don't prefer cake.swiftinterface | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 10 | // Step 0: Copy relevant files into the temp dir which will serve as the search path | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 16 | // Step 1: Build this file, causing an implicit build of SIMod and CIMod into the module cache. | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 21 | // Step 2: Touch the dummy modulemap we passed in with `-Xcc -fmodule-map-file` above. | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 24 | // Step 3: Re-build this file, and ensure we are not re-building SIMod due to a dependency on the dummy file | COMMENT |
| LOW⚡ | test/ModuleInterface/no-implicit-extra-clang-opts.swift | 27 | // Step 4: Ensure that SIMod was not re-built | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 8 | // Step 1: build swift interface from the source | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 11 | // Step 2: building a module from the interface, and the module should not be a forwarding module. | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 16 | // Step 3: given the adjacent binary module as a candidate, building a module from the interface should give us a forwar | COMMENT |
| LOW⚡ | test/ModuleInterface/emit-forward-modules.swift | 21 | // Step 4: given the stale adjacent binary module as a candidate, building a module from the interface should give us a | COMMENT |
| LOW⚡ | …no-package-dependencies-on-non-package-interface.swift | 11 | // Step 1: Build Foo Swift binary module | COMMENT |
| LOW⚡ | …no-package-dependencies-on-non-package-interface.swift | 14 | // Step 2: Build Bar Swift binary module and textual interface with a package-only import | COMMENT |
| LOW⚡ | …no-package-dependencies-on-non-package-interface.swift | 17 | // Step 3: Now that Bar has been built, remove package-only dependency 'Foo' so that any clients of 'Bar' fail to build | COMMENT |
| LOW⚡ | …dencies/optional_deps_of_binary_testable_imports.swift | 10 | // Step 1: build a binary swift module for `Foo`, make it testable | COMMENT |
| LOW⚡ | …dencies/optional_deps_of_binary_testable_imports.swift | 13 | // Step 2: scan dependencies | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 6 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 9 | // Step 2: scan dependency should give us the binary module we specify with 'swift-module-file' | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 13 | // Step 3: ensure that if multiple inputs for the same module are specified then a warning is emitted and the latter is | COMMENT |
| LOW⚡ | test/ScanDependencies/explicit-scanner-input.swift | 18 | // Step 4: verify that the usual invalid module candidate diagnostics apply | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 9 | // Step 1: build Bar swift interface and swift module side by side | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 12 | // Step 2: build Foo swift interface and swift module side by side belonging to package 'Test' | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 15 | // Step 3: scan dependencies with '-no-scanner-module-validation' and '-package-name Test' | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 17 | // Step 4: Ensure that same-package scan can see package-only dependencies | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 20 | // Step 5: scan dependencies with '-no-scanner-module-validation' and no package name | COMMENT |
| LOW⚡ | …ependencies/package_deps_of_same_package_imports.swift | 22 | // Step 6: Ensure that non-same-package scan can not see package-only dependencies | COMMENT |
| LOW⚡ | …anDependencies/optional_deps_of_testable_imports.swift | 10 | // Step 1: build swift interface and swift module side by side, make them testable | COMMENT |
| LOW⚡ | …anDependencies/optional_deps_of_testable_imports.swift | 13 | // Step 2: scan dependencies | COMMENT |
| LOW⚡ | …anDependencies/required_deps_of_testable_imports.swift | 10 | // Step 1: build swift interface and swift module side by side, make them testable | COMMENT |
| LOW⚡ | …anDependencies/required_deps_of_testable_imports.swift | 13 | // Step 2: scan dependencies | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 5 | // Step 1: Put the textual interface for E in the right place | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 7 | // Step 1: Build a swift interface into a binary module | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 9 | // Step 3: scan dependency should give us the binary module and a textual swift dependency from it | COMMENT |
| LOW⚡ | test/ScanDependencies/bin_mod_import.swift | 13 | // Step 4: Ensure that round-trip serialization does not affect result | COMMENT |
| LOW⚡ | …anDependencies/explicit-scanner-input-can-import.swift | 6 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | …anDependencies/explicit-scanner-input-can-import.swift | 9 | // Step 2: scan dependency should give us the binary module we specify with 'swift-module-file' | COMMENT |
| LOW⚡ | …anDependencies/explicit-scanner-input-can-import.swift | 13 | // Step 3: ensure that versioned canImport still applies with direct -swift-module-file | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 17 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 20 | // Step 2: build module from interface and put it in a location separate from the interface file | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 23 | // Step 3: scan dependencies, pointed only at the binary module file should detect it as a swiftBinaryModule kind of dep | COMMENT |
| LOW⚡ | test/ScanDependencies/binary_module_only.swift | 27 | // Step 4: Ensure that round-trip serialization does not affect result | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 37 | // Step 1: build Foo Swift module | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 40 | // Step 2: scan dependencies and ensure the transitive dependency on "A" is missing | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 45 | // Step 3: Run an explicit module compile of this file ensuring object files are produced | COMMENT |
| LOW⚡ | …anDependencies/optional_transitive_dep_load_fail.swift | 48 | // Step 4: Ensure the resulting object file exists | COMMENT |
| LOW⚡ | …ScanDependencies/duplicate_query_optional_import.swift | 8 | // Step 1: Build binary module Foo with 'internal import C' and a .swiftinterface | COMMENT |
| LOW⚡ | …ScanDependencies/duplicate_query_optional_import.swift | 11 | // Step 2: Build binary module Bar with 'internal import C' and a .swiftinterface | COMMENT |
| LOW⚡ | …ScanDependencies/duplicate_query_optional_import.swift | 14 | // Step 3: Scan dependencies with @testable imports | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 15 | // Step 1: build swift interface and swift module side by side | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 18 | // Step 2: scan dependency should give us the binary module adjacent to the interface file. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 26 | // Step 3: remove the adjacent module. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 29 | // Step 4: scan dependency should give us the interface file. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 33 | // Step 4: build prebuilt module cache using the interface. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 36 | // Step 5: scan dependency now should give us the prebuilt module cache | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 44 | // Step 6: update the interface file from where the prebuilt module cache was built. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 47 | // Step 7: scan dependency should give us the prebuilt module file even though it's out-of-date. | COMMENT |
| LOW⚡ | test/ScanDependencies/compiled_swift_modules.swift | 51 | // Step 8: The new scanner behavior should not give use prebuilt module file because it is out-of-date. | COMMENT |
| LOW⚡ | …pendencies/explicit-module-map-forwarding-module.swift | 7 | // Step 1: build .swiftmodule and .swiftinterface adjacent to each other from foo.swift | COMMENT |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/swift-build-modules.py | 12 | CODE | |
| LOW | utils/build_swift/build_swift/shell.py | 28 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 17 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 21 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 21 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 21 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 21 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 23 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 23 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 24 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 25 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 25 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 25 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 25 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 25 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 25 | CODE | |
| LOW | utils/update_checkout/__init__.py | 1 | CODE | |
| LOW | utils/update_checkout/tests/scheme_mock.py | 25 | CODE | |
| LOW | utils/update_checkout/tests/scheme_mock.py | 25 | CODE | |
| LOW | utils/update_checkout/tests/test_cross_repo_pr.py | 14 | CODE | |
| LOW | utils/update_checkout/tests/test_cross_repo_pr.py | 17 | CODE | |
| LOW | utils/update_checkout/tests/test_cross_repo_pr.py | 17 | CODE | |
| LOW | utils/update_checkout/update_checkout/__init__.py | 1 | CODE | |
| LOW | …s/update_checkout/update_checkout/commands/__init__.py | 1 | CODE | |
| LOW | utils/embedded-test-support/embedded-test-support.py | 16 | CODE | |
| LOW | utils/jobstats/__init__.py | 23 | CODE | |
| LOW | utils/jobstats/__init__.py | 23 | CODE | |
| LOW | utils/jobstats/__init__.py | 23 | CODE | |
| LOW | utils/jobstats/__init__.py | 23 | CODE | |
| LOW | utils/jobstats/__init__.py | 23 | CODE | |
| LOW | …ils/swift_build_support/swift_build_support/targets.py | 19 | CODE | |
| LOW | …ils/swift_build_support/swift_build_support/targets.py | 22 | CODE | |
| LOW | utils/swift_build_support/swift_build_support/cmake.py | 20 | CODE | |
| LOW | …d_support/swift_build_support/products/wasiswiftsdk.py | 19 | CODE | |
| LOW | …d_support/swift_build_support/products/wasiswiftsdk.py | 20 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 13 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 14 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 15 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 16 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 17 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 18 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 19 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 20 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 21 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 21 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 22 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 23 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 24 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 25 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 26 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 27 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 28 | CODE | |
| LOW | …build_support/swift_build_support/products/__init__.py | 29 | CODE | |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …Sources/swift-inspect/Operations/DumpConcurrency.swift | 187 | print("Error getting info for async task \(hex: task): \(String(cString: error))") | CODE |
| MEDIUM | …Sources/Sources/Optimizer/Utilities/AddressUtils.swift | 695 | print("Error: indeterminate live range") | CODE |
| MEDIUM | test/Interpreter/typed_throws_abi.swift | 17 | print("Error: \(error)") | CODE |
| MEDIUM | test/Interpreter/typed_throws_abi.swift | 327 | print("Error value is: \(String(describing: x))") | CODE |
| MEDIUM | test/stdlib/sort_integers.swift | 72 | print("Error: \(y)") | CODE |
| MEDIUM | test/embedded/concurrency-throwing-task.swift | 75 | print("Error wasn't thrown!?") | CODE |
| MEDIUM | utils/download-unpublished-toolchains.py | 107 | print(f"Error: Directory does not exist at {args.output_dir}.") | CODE |
| MEDIUM | utils/download-unpublished-toolchains.py | 113 | print(f"Error: Unable to find toolchain for {args.platform}.") | CODE |
| LOW | utils/process-stats-dir.py | 475 | except Exception as e: | CODE |
| LOW | utils/process-stats-dir.py | 509 | except Exception as e: | CODE |
| MEDIUM | utils/optimizer_counters_to_sql.py | 66 | print('Error {}' .format(e.args[0])) | CODE |
| MEDIUM | utils/check_freestanding_dependencies.py | 103 | print("Error: Required dependency '{}' missing".format(symbol)) | CODE |
| MEDIUM | utils/check_freestanding_dependencies.py | 110 | print("Error: Unexpected dependency '{}'".format(symbol)) | CODE |
| LOW | utils/build_swift/build_swift/presets.py | 298 | except Exception as e: | CODE |
| MEDIUM | utils/parser-lib/profile-input.swift | 1011 | print("Error handling URL entry: \"\(text)\".") | CODE |
| MEDIUM | utils/parser-lib/profile-input.swift | 1430 | print("Error handling URL entry: \"\(text)\".") | CODE |
| LOW | utils/update_checkout/update_checkout/retry.py | 32 | except Exception as e: | CODE |
| MEDIUM | …ils/update_checkout/update_checkout/update_checkout.py | 527 | print('Error on repo "%s": %s' % (repo_path, traceback.format_exc())) | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 83 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 249 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 255 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 373 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 387 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 460 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 466 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 525 | except Exception: | CODE |
| LOW | …ils/update_checkout/update_checkout/parallel_runner.py | 82 | except Exception as e: | CODE |
| MEDIUM | …ils/update_checkout/update_checkout/parallel_runner.py | 79 | def run_safely(*args, **kwargs): | CODE |
| LOW | utils/jobstats/jobstats.py | 270 | except Exception: | CODE |
| LOW | …support/swift_build_support/build_script_invocation.py | 1048 | except Exception: | CODE |
| LOW | utils/api_checker/swift-api-checker.py | 38 | except Exception as error: | CODE |
| MEDIUM | stdlib/public/core/Result.swift | 307 | /// print("Error retrieving the value: \(error)") | COMMENT |
| MEDIUM | stdlib/public/RuntimeModule/PDB/PDBFile.swift | 858 | print("Error \(error) during lookup") | CODE |
| MEDIUM | …blic/Concurrency/AsyncThrowingCompactMapSequence.swift | 48 | /// print("Error: \(error)") | COMMENT |
| MEDIUM | stdlib/public/Concurrency/AsyncThrowingStream.swift | 115 | /// print("Error: \(error)") | COMMENT |
| MEDIUM | …lic/Concurrency/AsyncThrowingPrefixWhileSequence.swift | 42 | /// print("Error: \(error)") | COMMENT |
| MEDIUM | …b/public/Concurrency/AsyncThrowingFilterSequence.swift | 37 | /// print("Error: \(error)") | COMMENT |
| MEDIUM | stdlib/public/Concurrency/TaskGroup.swift | 641 | /// print("Error: \(error)") | COMMENT |
| MEDIUM | …dlib/public/Concurrency/AsyncThrowingMapSequence.swift | 49 | /// print("Error: \(error)") | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/scripts/create_benchmark.py | 68 | CODE | |
| LOW | benchmark/scripts/compare_perf_tests.py | 107 | CODE | |
| LOW | benchmark/scripts/compare_perf_tests.py | 500 | CODE | |
| LOW | tools/SourceKit/bindings/python/sourcekitd/capi.py | 66 | CODE | |
| LOW | tools/SourceKit/bindings/python/sourcekitd/capi.py | 220 | CODE | |
| LOW | utils/swift_build_sdk_interfaces.py | 159 | CODE | |
| LOW | utils/swift_build_sdk_interfaces.py | 176 | CODE | |
| LOW | utils/swift_build_sdk_interfaces.py | 338 | CODE | |
| LOW | utils/analyze_code_size.py | 578 | CODE | |
| LOW | utils/GYBUnicodeDataUtils.py | 533 | CODE | |
| LOW | utils/GYBUnicodeDataUtils.py | 593 | CODE | |
| LOW | utils/GYBUnicodeDataUtils.py | 344 | CODE | |
| LOW | utils/GYBUnicodeDataUtils.py | 534 | CODE | |
| LOW | utils/GYBUnicodeDataUtils.py | 595 | CODE | |
| LOW | utils/swift-build-modules.py | 33 | CODE | |
| LOW | utils/gyb.py | 122 | CODE | |
| LOW | utils/gyb.py | 403 | CODE | |
| LOW | utils/gyb.py | 562 | CODE | |
| LOW | utils/generate_confusables.py | 32 | CODE | |
| LOW | utils/process-stats-dir.py | 243 | CODE | |
| LOW | utils/process-stats-dir.py | 323 | CODE | |
| LOW | utils/process-stats-dir.py | 514 | CODE | |
| LOW | utils/process-stats-dir.py | 564 | CODE | |
| LOW | utils/process-stats-dir.py | 344 | CODE | |
| LOW | utils/build_swift/build_swift/driver_arguments.py | 46 | CODE | |
| LOW | utils/build_swift/build_swift/defaults.py | 72 | CODE | |
| LOW | utils/cmpcodesize/cmpcodesize/main.py | 32 | CODE | |
| LOW | utils/cmpcodesize/cmpcodesize/compare.py | 66 | CODE | |
| LOW | utils/update_verify_tests/core.py | 749 | CODE | |
| LOW | utils/update_verify_tests/core.py | 1011 | CODE | |
| LOW | utils/update_verify_tests/core.py | 1234 | CODE | |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 306 | CODE | |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 605 | CODE | |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 850 | CODE | |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 1099 | CODE | |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 1153 | CODE | |
| LOW | utils/embedded-test-support/embedded-test-support.py | 31 | CODE | |
| LOW | utils/jobstats/jobstats.py | 249 | CODE | |
| LOW | utils/jobstats/jobstats.py | 299 | CODE | |
| LOW | …ort/swift_build_support/host_specific_configuration.py | 25 | CODE | |
| LOW | …ils/swift_build_support/swift_build_support/targets.py | 347 | CODE | |
| LOW | …support/swift_build_support/build_script_invocation.py | 871 | CODE | |
| LOW | …s/swift_build_support/swift_build_support/toolchain.py | 214 | CODE | |
| LOW | …s/swift_build_support/swift_build_support/workspace.py | 42 | CODE | |
| LOW | …d_support/swift_build_support/products/sourcekitlsp.py | 113 | CODE | |
| LOW | …_support/swift_build_support/products/cmake_product.py | 134 | CODE | |
| LOW | …d_support/swift_build_support/products/indexstoredb.py | 82 | CODE | |
| LOW | …ift_build_support/swift_build_support/products/llvm.py | 122 | CODE | |
| LOW | …ift_build_support/swift_build_support/products/llvm.py | 229 | CODE | |
| LOW | …ift_build_support/swift_build_support/products/llvm.py | 564 | CODE | |
| LOW | …_build_support/swift_build_support/products/product.py | 267 | CODE | |
| LOW | …_build_support/swift_build_support/products/product.py | 460 | CODE | |
| LOW | utils/api_checker/swift-api-checker.py | 202 | CODE | |
| LOW | utils/api_checker/swift-api-checker.py | 141 | CODE | |
| LOW | utils/api_checker/sdk-module-lists/infer-imports.py | 19 | CODE | |
| LOW | utils/api_checker/sdk-module-lists/infer-imports.py | 44 | CODE | |
| LOW | utils/api_checker/sdk-module-lists/infer-imports.py | 127 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | benchmark/single-source/DiffingMyers.swift | 27 | let loremIpsum = Array("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lab | CODE |
| LOW⚡ | benchmark/single-source/DiffingMyers.swift | 27 | let loremIpsum = Array("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lab | CODE |
| LOW⚡ | benchmark/single-source/DiffingMyers.swift | 28 | let unabridgedLorem = Array("Lorem ipsum, quia dolor sit amet consectetur adipisci[ng] velit, sed quia non-numquam [do] | CODE |
| LOW⚡ | benchmark/single-source/DiffingMyers.swift | 28 | let unabridgedLorem = Array("Lorem ipsum, quia dolor sit amet consectetur adipisci[ng] velit, sed quia non-numquam [do] | CODE |
| LOW⚡ | benchmark/single-source/Diffing.swift | 69 | let loremIpsum = Array("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lab | CODE |
| LOW⚡ | benchmark/single-source/Diffing.swift | 69 | let loremIpsum = Array("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lab | CODE |
| LOW⚡ | benchmark/single-source/Diffing.swift | 70 | let unabridgedLorem = Array("Lorem ipsum, quia dolor sit amet consectetur adipisci[ng] velit, sed quia non-numquam [do] | CODE |
| LOW⚡ | benchmark/single-source/Diffing.swift | 70 | let unabridgedLorem = Array("Lorem ipsum, quia dolor sit amet consectetur adipisci[ng] velit, sed quia non-numquam [do] | CODE |
| LOW | benchmark/single-source/StringRemoveDupes.swift | 17 | let text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW | benchmark/single-source/StringRemoveDupes.swift | 17 | let text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 772 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 772 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 773 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 773 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 774 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 774 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 775 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 775 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 776 | 🤔Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW⚡ | benchmark/single-source/StringComparison.swift | 776 | 🤔Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW | benchmark/single-source/StringRepeating.swift | 66 | Існує багато варіацій уривків з Lorem Ipsum, але більшість з них зазнала | CODE |
| LOW⚡ | benchmark/single-source/CountAlgo.swift | 44 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas tempus | CODE |
| LOW⚡ | benchmark/single-source/CountAlgo.swift | 44 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas tempus | CODE |
| LOW⚡ | benchmark/single-source/CountAlgo.swift | 48 | ipsum primis in faucibus. Lorem ipsum dolor sit amet, consectetur | CODE |
| LOW⚡ | benchmark/single-source/CountAlgo.swift | 48 | ipsum primis in faucibus. Lorem ipsum dolor sit amet, consectetur | CODE |
| LOW⚡ | benchmark/single-source/CountAlgo.swift | 53 | leo leo sit amet nisl. Lorem ipsum dolor sit amet, consectetur adipiscing | CODE |
| LOW⚡ | benchmark/single-source/CountAlgo.swift | 53 | leo leo sit amet nisl. Lorem ipsum dolor sit amet, consectetur adipiscing | CODE |
| LOW | benchmark/single-source/CharacterProperties.swift | 359 | Lorem ipsum something something something... | CODE |
| LOW | tools/swift-ide-test/swift-ide-test.cpp | 2121 | case SyntaxNodeKind::EditorPlaceholder: Id = "placeholder"; break; | CODE |
| LOW | test/stdlib/ThreadLocalStorage.swift | 12 | var str = "Lorem ipsum dolor sit amet\r\n 🌎 🇺🇸🇨🇦🍁" | CODE |
| LOW | test/stdlib/ThreadLocalStorage.swift | 12 | var str = "Lorem ipsum dolor sit amet\r\n 🌎 🇺🇸🇨🇦🍁" | CODE |
| LOW | …/build_swift/tests/build_swift/argparse/test_parser.py | 89 | builder.set_defaults('qux', 'Lorem ipsum set dolor') | CODE |
| LOW | …/build_swift/tests/build_swift/argparse/test_parser.py | 95 | 'qux': 'Lorem ipsum set dolor', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | include/swift/AST/ASTContext.h | 1146 | /// selector and are instance/class methods as requested. This list will be | COMMENT |
| HIGH | include/swift/AST/ModuleLoader.h | 333 | /// selector and are instance/class methods as requested. This list will be | COMMENT |
| HIGH | …cs/CppInteroperability/CppInteroperabilityManifesto.md | 1966 | // Property is synthesized as requested by the annotation. | COMMENT |
| HIGH | …/Mandatory/ConsumeOperatorCopyableAddressesChecker.cpp | 120 | /// the lifetime of the address as requested by the user. | COMMENT |
| HIGH | lib/Serialization/ModuleFile.h | 845 | /// selector and are instance/class methods as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/Interop/Cxx/templates/mangling-irgen.swift | 11 | // Don't forget to update manglings.txt when changing s4main20receiveInstantiationyySo34__CxxTemplateInst12MagicWrapperI | COMMENT |
| LOW | test/Interop/Cxx/templates/mangling-irgen.swift | 18 | // Don't forget to update manglings.txt when changing s4main19returnInstantiationSo34__CxxTemplateInst12MagicWrapperIiEV | COMMENT |
| LOW | include/swift/SIL/SILBuilder.h | 2903 | /// in `someBB`. Don't forget to switch insertion blocks after | COMMENT |
| LOW⚡ | utils/GYBUnicodeDataUtils.py | 217 | # Note: if you change any of these parameters, don't forget to update the | COMMENT |
| LOW⚡ | utils/GYBUnicodeDataUtils.py | 217 | # Note: if you change any of these parameters, don't forget to update the | COMMENT |
| LOW | …_support/swift_build_support/products/cmake_product.py | 384 | # This is needed to make sure to avoid using the wrong architecture | COMMENT |
| MEDIUM | docs/archive/LangRef.html | 534 | <p>Here is a simple example:</p> | CODE |
| LOW | lib/SILOptimizer/Analysis/DestructorAnalysis.cpp | 110 | // TODO: Don't forget to check resilience of enum decl, like | COMMENT |
| LOW | …timizer/Mandatory/MovedAsyncVarDebugInfoPropagator.cpp | 404 | // don't forget to clean it up before processing the next block. | COMMENT |
| MEDIUM | lib/SILGen/SILGenPattern.cpp | 3743 | // Enter a break/continue scope. As discussed above, the depth we jump to | COMMENT |
| LOW | lib/IRGen/GenDistributed.cpp | 663 | // Don't forget to actually store the argument | COMMENT |
| LOW | lib/Sema/OpenedExistentials.cpp | 173 | // Don't forget to look in the parent. | COMMENT |
| LOW | lib/Sema/TypeCheckType.cpp | 1104 | // If this is situation #2 we need to make sure to switch base to | COMMENT |
| MEDIUM | lib/SIL/IR/SILTypeSubstitution.cpp | 148 | // through to substitute the component types as discussed above. | COMMENT |
| LOW | lib/SIL/Verifier/LinearLifetimeChecker.cpp | 224 | // freeze it. By using a defer here, we can make sure we don't forget to do | COMMENT |
| MEDIUM | stdlib/public/runtime/Metadata.cpp | 4306 | // the field-offset vector, as discussed above. | COMMENT |
| MEDIUM | stdlib/public/Concurrency/DispatchGlobalExecutor.cpp | 243 | // API, but as discussed above, that is less important than avoiding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benchmark/scripts/test_compare_perf_tests.py | 349 | # Create a temporary directory | COMMENT |
| MEDIUM | utils/swift-api-dump.py | 285 | # Create the sets of arguments to dump_module_api. | COMMENT |
| MEDIUM⚡ | utils/swift-bench.py | 12 | # This file implements a test harness for running Swift performance benchmarks. | COMMENT |
| MEDIUM | utils/optimizer_counters_to_sql.py | 42 | # Create the required tables, indices, etc. | COMMENT |
| MEDIUM | utils/protocol_graph.py | 13 | # Create a graph of the protocol refinement relationships, associated | COMMENT |
| MEDIUM | utils/lldb/lldbToolBox.py | 103 | # Define an alias that prints rax and also steps one instruction. | STRING |
| MEDIUM | utils/jobstats/__init__.py | 15 | # This module contains subroutines for loading object-representations of one or | COMMENT |
| MEDIUM | utils/jobstats/jobstats.py | 15 | # This file contains subroutines for loading object-representations of one or | COMMENT |
| MEDIUM | …s/swift_build_support/swift_build_support/workspace.py | 43 | # Create a name for the build directory. | COMMENT |
| MEDIUM | …d_support/swift_build_support/products/wasiswiftsdk.py | 124 | # Create a closure capturing WASI-specific platform config. | COMMENT |
| MEDIUM | docs/conf.py | 5 | # This file is execfile()d with the current directory set to its containing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | utils/gyb_foundation_support.py | 27 | return false | CODE |
| HIGH | utils/gyb_foundation_support.py | 35 | return true | CODE |
| HIGH | utils/gyb_foundation_support.py | 81 | return false | CODE |
| HIGH | utils/gyb_foundation_support.py | 84 | return true | CODE |
| HIGH | utils/swift-bench.py | 177 | if CommandLine.arguments.count <= 2 || CommandLine.arguments[2] == name { | CODE |
| HIGH | utils/android/adb_push_built_products/main.py | 56 | print(adb.commands.push(sources, destination)) | CODE |
| HIGH | utils/swift_build_support/tests/test_shell.py | 72 | shell.capture(["sh", "-c", "echo foo && false"], | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/SourceKit/bindings/python/sourcekitd/capi.py | 638 | __all__ = [ | CODE |
| LOW | tools/SourceKit/bindings/python/sourcekitd/request.py | 45 | __all__ = [ | CODE |
| LOW | tools/SourceKit/bindings/python/sourcekitd/__init__.py | 24 | __all__ = ['capi', 'request'] | STRING |
| LOW | utils/python_lint.py | 24 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/class_utils.py | 15 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/presets.py | 23 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/constants.py | 12 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/shell.py | 31 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/driver_arguments.py | 23 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/cache_utils.py | 17 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/defaults.py | 23 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/versions.py | 18 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/migration.py | 23 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/wrappers/__init__.py | 12 | __all__ = [ | CODE |
| LOW⚡ | utils/build_swift/build_swift/wrappers/xcrun.py | 22 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/argparse/actions.py | 22 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/argparse/__init__.py | 29 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/argparse/types.py | 24 | __all__ = [ | CODE |
| LOW | utils/build_swift/build_swift/argparse/parser.py | 23 | __all__ = [ | CODE |
| LOW | utils/build_swift/tests/utils.py | 20 | __all__ = [ | CODE |
| LOW | utils/build_swift/tests/expected_options.py | 19 | __all__ = [ | CODE |
| LOW⚡ | utils/cmpcodesize/cmpcodesize/__init__.py | 23 | __all__ = [] | CODE |
| LOW | utils/pygments/swift.py | 24 | __all__ = ['SwiftLexer', 'SILLexer', 'SwiftConsoleLexer'] | CODE |
| LOW | utils/update_checkout/__init__.py | 3 | __all__ = ["main"] | CODE |
| LOW | utils/update_checkout/update_checkout/__init__.py | 3 | __all__ = ["main"] | CODE |
| LOW | …s/update_checkout/update_checkout/commands/__init__.py | 3 | __all__ = ["StatusCommand"] | CODE |
| LOW | utils/android/__init__.py | 11 | __all__ = ['adb', 'adb_push_built_products', 'adb_test_runner'] | CODE |
| LOW | …s/swift_build_support/swift_build_support/toolchain.py | 27 | __all__ = [ | CODE |
| LOW | …build_support/swift_build_support/products/__init__.py | 57 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/Sources/Optimizer/FunctionPasses/AsyncDemotion.swift | 455 | // TODO: implement | STRING |
| LOW | …SILOptimizer/moveonly_addresschecker_diagnostics.swift | 4144 | // TODO: Fix error to say that it is from nonTrivialStruct2 | COMMENT |
| LOW | …SILOptimizer/moveonly_addresschecker_diagnostics.swift | 4147 | // TODO: Fix error to say that it is from nonTrivialStruct2 | COMMENT |
| LOW | test/AutoDiff/IRGen/loadable_by_address.swift | 17 | // TODO: Add tests for `@differentiable(_linear)` functions. | COMMENT |
| LOW | test/Interop/Cxx/templates/Inputs/function-templates.h | 101 | // TODO: Add tests for Decltype, UnaryTransform, and TemplateSpecialization with | COMMENT |
| LOW | test/Interop/Cxx/templates/Inputs/function-templates.h | 104 | // TODO: Add test for DeducedTemplateSpecializationType once we support class templates. | COMMENT |
| LOW | test/Sema/builtin_int.swift | 17 | // TODO: implement support for dependent-width integer types | COMMENT |
| LOW | test/attr/attr_cdecl.swift | 58 | // TODO: Handle error conventions in SILGen for toplevel functions. | COMMENT |
| LOW | lib/SILOptimizer/Utils/ConstExpr.cpp | 1959 | // TODO: implement caching. | COMMENT |
| LOW | lib/IRGen/MetadataLayout.cpp | 721 | // TODO: implement resilient metadata layout | COMMENT |
| LOW | lib/SIL/IR/SILInstruction.cpp | 1429 | // TODO: implement for all remaining allocations | COMMENT |
| LOW | stdlib/public/Distributed/DistributedAssertions.swift | 105 | /// TODO: implement the logic in-place perhaps rather than delegating to precondition()? | COMMENT |
| LOW | stdlib/public/runtime/Metadata.cpp | 5851 | // TODO: implement | COMMENT |
| LOW | stdlib/public/Concurrency/ExecutorAssertions.swift | 60 | /// TODO: implement the logic in-place perhaps rather than delegating to precondition()? | COMMENT |
| LOW | stdlib/public/Concurrency/ExecutorAssertions.swift | 196 | /// TODO: implement the logic in-place perhaps rather than delegating to precondition()? | COMMENT |
| LOW | stdlib/public/Concurrency/ExecutorAssertions.swift | 242 | /// TODO: implement the logic in-place perhaps rather than delegating to precondition()? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/lit.cfg | 691 | # Check if we overrode the linker; if we do, set a feature to say that, which | COMMENT |
| LOW | test/lit.cfg | 1098 | # Check if we need to run lit tests using the legacy driver or the new driver | STRING |
| LOW | test/lit.cfg | 2658 | # Check if the Android environment needs to be in the name. | STRING |
| LOW | test/Interop/lit.local.cfg | 14 | # Check if CF_OPTIONS macro has been updated to be imported into Swift in C++ mode correctly. | COMMENT |
| LOW | utils/build_swift/build_swift/constants.py | 140 | # Check if Swift is checked out as part of a unified build. | COMMENT |
| LOW | utils/build_swift/build_swift/constants.py | 194 | # Set SWIFT_BUILD_ROOT to a directory that will contain a subdirectory for each build | COMMENT |
| LOW | utils/cmpcodesize/cmpcodesize/compare.py | 68 | # Check if multiple architectures are supported by the object file. | COMMENT |
| LOW | …ils/update_checkout/update_checkout/update_checkout.py | 1169 | # Check if `swift` repo itself needs to switch to a cross-repo branch. | COMMENT |
| LOW | utils/api_checker/swift-api-checker.py | 81 | # Check if we need fixed clang modules | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | utils/UnicodeData/GraphemeBreakProperty.txt | 1039 | B77D..B797 ; LVT # Lo [27] HANGUL SYLLABLE RAG..HANGUL SYLLABLE RAH | CODE |
| MEDIUM | …ils/gen-unicode-data/Data/17/GraphemeBreakProperty.txt | 1210 | B77D..B797 ; LVT # Lo [27] HANGUL SYLLABLE RAG..HANGUL SYLLABLE RAH | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/build_swift/build_swift/shell.py | 294 | CODE | |
| LOW | utils/build_swift/build_swift/argparse/actions.py | 60 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/swift-build-modules.py | 4 | # Usage: | COMMENT |