Build system, successor to Buck
This report presents the forensic synthetic code analysis of facebook/buck2, a Rust project with 4,370 GitHub stars. SynthScan v2.0 examined 888,522 lines of code across 5253 source files, recording 3234 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 4.6 places this repository in the Likely human-written 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 3234 distinct pattern matches across 19 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 | test.py | 233 | def _get_default_rustc_warnings() -> list[str]: | CODE |
| LOW | …buck2_interpreter_for_build/src/interpreter/testing.rs | 382 | def _assert_eq_ignore_hash_for_strings(a, b): | CODE |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/functions.rs | 119 | /// def _impl_get_path_without_materialization(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/functions.rs | 170 | /// def _impl_get_paths_without_materialization(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/functions.rs | 364 | /// def _impl_read_package_visibility(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/functions.rs | 391 | /// def _impl_read_package_within_view(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/functions.rs | 417 | /// def _impl_read_package_visibility_cap(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs | 466 | /// def _targets_in_buildfile_impl(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs | 490 | /// def _impl_resolved_attrs_lazy(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs | 519 | /// def _impl_resolved_attrs_eager(ctx): | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs | 1070 | /// def _impl_resolved_attrs_lazy(ctx): | COMMENT |
| LOW | app/buck2_interpreter_for_build_tests/src/select.rs | 115 | def _test_concatenated_native(): | CODE |
| LOW | app/buck2_interpreter_for_build_tests/src/select.rs | 128 | def _test_concatenated_nested(): | CODE |
| LOW | starlark-rust/benchmark/benchmark.py | 34 | def benchmark_call_native_len(): | CODE |
| LOW⚡ | starlark-rust/starlark/src/typing/tests/callable.rs | 48 | def good_function_pos_or_named(x: str, y: int) -> None: | CODE |
| LOW⚡ | starlark-rust/starlark/src/typing/tests/callable.rs | 57 | def bad_function_missing_params(x: str) -> None: | CODE |
| LOW⚡ | starlark-rust/starlark/src/typing/tests/callable.rs | 60 | def bad_function_extra_params(x: str, y: int, z: int) -> None: | CODE |
| LOW | website/gen_docs.py | 58 | def generate_prelude_rules_docs(buck: str) -> None: | CODE |
| LOW | website/gen_docs.py | 106 | def generate_bxl_utils_api_docs(buck: str) -> None: | CODE |
| LOW⚡ | website/gen_docs.py | 162 | def generate_help_docs_subcommand(buck: str, args: List[str]) -> str: | CODE |
| LOW⚡ | website/gen_docs.py | 169 | def generate_subcommand_short_help(buck: str, args: List[str]) -> str: | CODE |
| LOW⚡ | website/gen_docs.py | 178 | def generate_help_docs_index_page(buck: str, subcommands: List[str]) -> str: | CODE |
| LOW | tests/core/interpreter/test_peak_allocated_bytes.py | 18 | async def test_peak_allocated_bytes(buck: Buck) -> None: | CODE |
| LOW | tests/core/interpreter/test_cpu_instruction_count.py | 21 | async def test_cpu_instruction_count(buck: Buck) -> None: | CODE |
| LOW⚡ | …s/core/interpreter/test_package_file_package_values.py | 21 | async def test_package_file_package_values(buck: Buck) -> None: | CODE |
| LOW⚡ | …s/core/interpreter/test_package_file_package_values.py | 28 | async def test_audit_package_values(buck: Buck) -> None: | CODE |
| LOW⚡ | …s/core/interpreter/test_package_file_package_values.py | 37 | async def test_audit_package_values_select(buck: Buck) -> None: | CODE |
| LOW | …s/core/interpreter/test_package_file_package_values.py | 56 | async def test_audit_package_values_visibility_cap_intersection( | CODE |
| LOW | …s/core/interpreter/test_package_file_package_values.py | 69 | async def test_targets_package_values(buck: Buck) -> None: | CODE |
| LOW | …s/core/interpreter/test_package_file_package_values.py | 78 | async def test_targets_package_values_regex(buck: Buck) -> None: | CODE |
| LOW | …s/core/interpreter/test_package_file_package_values.py | 132 | async def test_targets_streaming_package_values(buck: Buck) -> None: | CODE |
| LOW⚡ | tests/core/interpreter/test_relative_paths.py | 25 | async def test_relative_path_left_allowed_dir(buck: Buck) -> None: | CODE |
| LOW⚡ | tests/core/interpreter/test_relative_paths.py | 33 | async def test_relative_path_has_symlink(buck: Buck) -> None: | CODE |
| LOW⚡ | tests/core/interpreter/test_relative_paths.py | 42 | async def test_relative_path_in_attribute_default_current(buck: Buck) -> None: | CODE |
| LOW⚡ | tests/core/interpreter/test_relative_paths.py | 50 | async def test_relative_path_in_attribute_default_up(buck: Buck) -> None: | CODE |
| LOW | tests/core/interpreter/test_package_file_visibility.py | 17 | async def test_no_package_call_does_not_reset_visibility(buck: Buck) -> None: | CODE |
| LOW | tests/core/interpreter/test_package_file_alt_name.py | 19 | async def test_package_file_alt_name(buck: Buck) -> None: | CODE |
| LOW | tests/core/interpreter/test_deprecated_config.py | 38 | async def test_not_deprecated_config(buck: Buck, root: str) -> None: | CODE |
| LOW | tests/core/interpreter/test_deprecated_config.py | 52 | async def test_no_deprecated_cell_config(buck: Buck) -> None: | CODE |
| LOW | tests/core/interpreter/test_missing_source_file.py | 22 | async def test_missing_source_file_when_hard_errors_enabled(buck: Buck) -> None: | CODE |
| LOW | tests/core/interpreter/test_missing_source_file.py | 34 | async def test_missing_source_file_when_hard_errors_disabled(buck: Buck) -> None: | CODE |
| LOW | …e/interpreter/test_package_values_missing_buck_file.py | 18 | async def test_package_values_missing_buck_file(buck: Buck) -> None: | CODE |
| LOW | …interpreter/test_peak_allocated_bytes_exceeds_limit.py | 24 | async def test_peak_allocated_bytes_exceeds_limit(buck: Buck) -> None: | CODE |
| LOW | …sts/core/interpreter/test_package_values_cross_cell.py | 18 | async def test_audit_package_values_cross_cell(buck: Buck) -> None: | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 19 | async def test_optin_inside_consumer_can_depend_on_public_target( | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 27 | async def test_optin_clips_public_target_for_outside_consumer( | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 43 | async def test_optin_cap_blocks_target_visibility_leaking_outside_cap( | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 59 | async def test_optin_target_own_visibility_match_passes(buck: Buck) -> None: | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 65 | async def test_inherit_true_child_can_still_tighten_cap(buck: Buck) -> None: | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 81 | async def test_package_with_omitted_visibility_does_not_empty_cap( | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 93 | async def test_optin_preserves_parent_within_view(buck: Buck) -> None: | CODE |
| LOW | …terpreter/test_package_file_visibility_intersection.py | 108 | async def test_call_from_bzl_is_rejected(buck: Buck) -> None: | CODE |
| LOW | …ore/configurations/test_toolchain_overconfiguration.py | 17 | async def test_configuration_rule_unbound(buck: Buck) -> None: | CODE |
| LOW | tests/core/configurations/test_target_incompatible.py | 21 | async def test_incompatible_target_skipping(buck: Buck) -> None: | CODE |
| LOW | tests/core/configurations/test_target_incompatible.py | 47 | async def test_dep_incompatible_target(buck: Buck, target_pattern: str) -> None: | CODE |
| LOW | tests/core/configurations/test_target_incompatible.py | 60 | async def test_incompatible_target_with_incompatible_dep(buck: Buck) -> None: | CODE |
| LOW | tests/core/configurations/test_target_incompatible.py | 71 | async def test_exec_dep_transitive_incompatible(buck: Buck) -> None: | CODE |
| LOW | tests/core/configurations/test_target_incompatible.py | 78 | async def test_exec_dep_transitive_incompatible_post_transition(buck: Buck) -> None: | CODE |
| LOW | tests/core/configurations/test_target_incompatible.py | 98 | async def test_error_on_dep_only_incompatible( | CODE |
| LOW | tests/core/configurations/test_target_incompatible.py | 116 | async def test_error_on_dep_only_incompatible_conf(buck: Buck) -> None: | CODE |
| 1275 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust-project.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | buck2.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | host_sharing/src/host_sharing.rs | 21 | COMMENT | |
| LOW | app/buck2_cli_proto/src/lib.rs | 201 | macro_rules! define_request { | COMMENT |
| LOW | app/buck2_file_watcher/src/watchman/core.rs | 61 | #[buck2(input)] | COMMENT |
| LOW | app/buck2_file_watcher/src/watchman/core.rs | 321 | /// commands to be sent to the SyncableQueryHandler. | COMMENT |
| LOW | app/buck2_file_watcher/src/watchman/interface.rs | 281 | let has_new_mergebase = self.last_mergebase.as_ref() != mergebase.as_ref(); | COMMENT |
| LOW | app/buck2_file_watcher/src/edenfs/interface.rs | 701 | // Mergebase has not changed (or dice_clear_on_mergebase_change is disabled) - | COMMENT |
| LOW | app/buck2_file_watcher/src/edenfs/interface.rs | 721 | // In the case of lost changes, we need to treat the DICE map and dep files as | COMMENT |
| LOW | app/buck2_cmd_debug_client/src/heap_dump.rs | 21 | use buck2_client_ctx::events_ctx::EventsCtx; | COMMENT |
| LOW | app/buck2_cmd_debug_client/src/paranoid.rs | 21 | /// Configure paranoid mode. | COMMENT |
| LOW | app/buck2_cmd_debug_client/src/trace_io.rs | 41 | /// Enable I/O tracing in the buck daemon so we keep track of which files | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 101 | { | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 121 | let path = AbsPath::new(p.as_ref())?; | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 141 | /// } else { | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 181 | /// Some(AbsNormPath::new("/")?), | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 201 | /// | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 221 | /// let path = AbsNormPath::new(r"C:\test\foo\bar.txt")?; | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 241 | /// shared_path.strip_prefix(AbsNormPath::new(r"\\server\share\")?)?, | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 301 | /// let abs_path = AbsNormPath::new("/some/foo")?; | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 341 | } | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 361 | /// # buck2_error::Ok(()) | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 381 | /// .join_normalized("../../baz.txt") | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 441 | #[cfg(windows)] | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 501 | #[cfg(windows)] | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 521 | /// assert_eq!( | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 621 | COMMENT | |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 661 | /// no allocation conversion | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_norm_path.rs | 701 | /// ``` | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 181 | COMMENT | |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 201 | /// assert!(ForwardRelativePath::new(Path::new("normalize/./bar")).is_err()); | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 261 | /// use buck2_fs::paths::forward_rel_path::ForwardRelativePathBuf; | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 301 | /// use buck2_fs::paths::forward_rel_path::ForwardRelativePath; | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 321 | } | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 341 | /// ForwardRelativePath::new("usr/bin/ls")?.file_name() | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 401 | } else { | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 421 | /// assert_eq!( | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 501 | &self.0[..self.0.len() - suffix.0.len() - 1], | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 521 | /// # buck2_error::Ok(()) | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 541 | /// assert!(!path.ends_with(ForwardRelativePath::new("oo")?)); | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 561 | /// `.`s within; | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 641 | /// ); | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 661 | /// Append a relative system path, obtained from e.g. `read_link`. | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 681 | /// assert_eq!(it.next(), Some(FileName::unchecked_new("foo"))); | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 701 | /// assert_eq!( | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 801 | } | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 821 | /// ); | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 881 | /// use buck2_fs::paths::RelativePath; | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 901 | /// path | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 1081 | /// | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 1101 | } | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 1141 | /// | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 1181 | /// assert!(ForwardRelativePathBuf::try_from("./bar".to_owned()).is_err()); | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 1201 | /// use std::path::PathBuf; | COMMENT |
| LOW | app/buck2_fs/src/paths/forward_rel_path.rs | 1221 | } | COMMENT |
| LOW | app/buck2_fs/src/paths/file_name.rs | 121 | impl AsRef<ForwardRelativePath> for FileName { | COMMENT |
| LOW | app/buck2_fs/src/paths/file_name.rs | 181 | /// * The entire file name if the file name begins with `.` and has no other | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_path.rs | 181 | /// | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_path.rs | 201 | /// ); | COMMENT |
| LOW | app/buck2_fs/src/paths/abs_path.rs | 221 | /// path.with_added_extension(""), | COMMENT |
| 1374 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | app/buck2_core/src/target/label/label.rs | 103 | self.0.header.header.hash.hash(state); | CODE |
| CRITICAL | app/buck2_core/src/target/label/label.rs | 139 | self.0.header.header.pkg.dupe() | CODE |
| CRITICAL | app/buck2_server/src/ctx.rs | 771 | self.cmd_ctx.base_context.daemon.memory_tracker.is_some(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 890 | self.cmd_ctx.base_context.daemon.materializer.dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 891 | self.cmd_ctx.base_context.daemon.blocking_executor.dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 895 | self.cmd_ctx.base_context.daemon.forkserver.dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 898 | self.cmd_ctx.base_context.daemon.io.project_root().dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 900 | self.cmd_ctx.base_context.daemon.paranoid.dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 904 | self.cmd_ctx.base_context.daemon.memory_tracker.dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 905 | self.cmd_ctx.base_context.daemon.incremental_db_state.dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 908 | self.cmd_ctx.base_context.daemon.daemon_id.dupe(), | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 910 | data.set_blocking_executor(self.cmd_ctx.base_context.daemon.blocking_executor.dupe()); | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 911 | data.set_http_client(self.cmd_ctx.base_context.daemon.http_client.dupe()); | CODE |
| CRITICAL⚡ | app/buck2_server/src/ctx.rs | 912 | data.set_materializer(self.cmd_ctx.base_context.daemon.materializer.dupe()); | CODE |
| CRITICAL | app/buck2_server/src/ctx.rs | 934 | data.spawner = self.cmd_ctx.base_context.daemon.spawner.dupe(); | CODE |
| CRITICAL | …/java/abi/source/TreeBackedAnnotatedConstructTest.java | 72 | "@com.facebook.buck.jvm.java.abi.source.AnnotationWithSingleClassForTreeBackedTest(single" | CODE |
| CRITICAL | …/java/abi/source/TreeBackedAnnotatedConstructTest.java | 100 | "@com.facebook.buck.jvm.java.abi.source.AnnotationWithClassArrayForTreeBackedTest(multi" | CODE |
| CRITICAL | …/java/abi/source/TreeBackedAnnotatedConstructTest.java | 127 | "@com.facebook.buck.jvm.java.abi.source.AnnotationWithSingleClassForTreeBackedTest(single" | CODE |
| CRITICAL | …/java/abi/source/TreeBackedAnnotatedConstructTest.java | 163 | "@com.facebook.buck.jvm.java.abi.source.AnnotationWithClassArrayForTreeBackedTest(multi" | CODE |
| CRITICAL | …serialization/kotlin/ActionMetadataSerializerTest.java | 57 | return com.facebook.buck.cd.model.kotlin.ActionMetadata.newBuilder() | CODE |
| CRITICAL | …d/src/com/facebook/buck/jvm/java/ClasspathChecker.java | 113 | com.google.common.io.Files.getFileExtension( | CODE |
| CRITICAL | …k/jvm/java/stepsbuilder/javacd/main/JavaCDCommand.java | 61 | com.facebook.buck.cd.model.java.BuildJavaCommand.newBuilder(); | CODE |
| CRITICAL | …n/src/main/kotlin/compose/ClassStabilityTransformer.kt | 173 | symbol = org.jetbrains.kotlin.ir.symbols.impl.IrFieldSymbolImpl(), | CODE |
| CRITICAL | …i-gen/src/main/kotlin/compose/ComposerParamInjector.kt | 164 | symbol = org.jetbrains.kotlin.ir.symbols.impl.IrValueParameterSymbolImpl(), | CODE |
| CRITICAL | …i-gen/src/main/kotlin/compose/ComposerParamInjector.kt | 187 | symbol = org.jetbrains.kotlin.ir.symbols.impl.IrValueParameterSymbolImpl(), | CODE |
| CRITICAL | …i-gen/src/main/kotlin/compose/ComposerParamInjector.kt | 211 | symbol = org.jetbrains.kotlin.ir.symbols.impl.IrValueParameterSymbolImpl(), | CODE |
| CRITICAL | …ook/buck/jvm/kotlin/cd/workertool/KotlinCDCommand.java | 108 | com.facebook.buck.cd.model.kotlin.BuildKotlinCommand.newBuilder(); | CODE |
| CRITICAL | …ook/buck/jvm/kotlin/cd/workertool/KotlinCDCommand.java | 159 | com.facebook.buck.cd.model.kotlin.ActionMetadata.newBuilder(); | CODE |
| CRITICAL | …/buck/android/resources/MergeAssetsExecutableMain.java | 120 | com.google.common.io.Files.hash(outputApkPath.toFile(), Hashing.sha1()).toString()); | CODE |
| CRITICAL | …roid/resources/ExoResourcesRewriterExecutableMain.java | 106 | com.google.common.io.Files.hash(Paths.get(exoResources).toFile(), Hashing.sha1()) | CODE |
| CRITICAL | …ebook/buck/android/exopackage/ExopackageInstaller.java | 343 | com.google.common.io.Files.write( | CODE |
| CRITICAL⚡ | …com/facebook/buck/android/exopackage/DexExoHelper.java | 94 | com.google.common.io.Files.toString(dexInfo.getMetadata().toFile(), StandardCharsets.UTF_8); | CODE |
| CRITICAL⚡ | …com/facebook/buck/android/exopackage/DexExoHelper.java | 98 | return com.google.common.io.Files.toString( | CODE |
| CRITICAL⚡ | …com/facebook/buck/android/exopackage/DexExoHelper.java | 105 | return com.google.common.io.Files.toString( | CODE |
| CRITICAL | …droid/src/com/facebook/buck/android/aapt/MiniAapt.java | 529 | com.google.common.io.Files.getFileExtension( | CODE |
| CRITICAL | …android/src/com/facebook/buck/android/dex/D8Utils.java | 151 | com.android.tools.r8.D8.run(d8Command); | CODE |
| CRITICAL | …android/src/com/facebook/buck/android/dex/D8Utils.java | 248 | com.google.common.io.Files.hash(secondaryDexPath.toFile(), Hashing.sha1()).toString(), | CODE |
| CRITICAL | …roid/src/com/facebook/buck/installer/InstallError.java | 60 | return com.facebook.buck.install.model.ErrorDetail.newBuilder() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/buck2_interpreter_for_build/src/plugins.rs | 224 | /// # Define a plugin kind for Rust proc macros | COMMENT |
| MEDIUM | …k2_action_impl/src/dynamic/dynamic_actions_callable.rs | 265 | /// # Create a DynamicActionsCallable | COMMENT |
| MEDIUM | app/buck2_daemon/src/daemon.rs | 206 | # This file is a cache directory tag created by Buck2. | COMMENT |
| MEDIUM | …reter/rule_defs/provider/builtin/configuration_info.rs | 404 | /// # Create a copy and modify it without affecting the original | COMMENT |
| MEDIUM | pagable/src/pagable_arc.rs | 148 | /// # Creating a PagableArc | COMMENT |
| MEDIUM | pagable/src/pagable_arc.rs | 482 | /// # Creating a PinnedPagableArc | COMMENT |
| MEDIUM | …lues_data/targets-streaming-package-values.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …e_package_values_data/audit-package-values.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …package_values_data/targets-package-values.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ata/audit-package-values-missing-buck-file.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …_cell_data/audit-package-values-cross-cell.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …sibility_from_package_data/override/golden.uquery.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …visibility_from_package_data/simple/golden.uquery.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …isibility_from_package_data/inherit/golden.uquery.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …visibility_from_package_data/public/golden.uquery.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | tests/core/materializer/test_clean_stale.py | 224 | # Create a new daemon and build something else (could be any command that starts a daemon). | COMMENT |
| MEDIUM | tests/core/materializer/test_clean_stale.py | 257 | # Create a new daemon and build something else (could be any command that starts a daemon). | COMMENT |
| MEDIUM | tests/core/docs/test_docs_data/prelude_docs.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …l/test_dynamic_data/happy_path_dynamic_ctx.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | tests/core/common/io/file_watcher_scm_tests.py | 31 | # Create a file | COMMENT |
| MEDIUM | tests/core/common/io/file_watcher_scm_tests.py | 43 | # Create a file | COMMENT |
| MEDIUM | tests/core/common/io/file_watcher_scm_tests.py | 52 | # Create a file | COMMENT |
| MEDIUM⚡ | tests/core/common/io/file_watcher_scm_tests.py | 75 | # Create a file | COMMENT |
| MEDIUM⚡ | tests/core/common/io/file_watcher_scm_tests.py | 84 | # Create a file | COMMENT |
| MEDIUM | …argets_data/json/golden.deeply_nested_subs_of_sub.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …dit_subtargets_data/json/golden.has_no_subtargets.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …t_subtargets_data/json/golden.deeply_nested_basic.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …dit/test_audit_subtargets_data/json/golden.nested.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …udit/test_audit_subtargets_data/json/golden.basic.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …log/test_user_event_log_data/instant_event.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …/log/test_user_event_log_data/action_event.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …e/query/aquery/test_aquery_data/bxl_target.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …/core/query/aquery/test_aquery_data/target.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ry/aquery/test_aquery_data/bxl_all_outputs.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …test_aquery_data/bxl_all_outputs_subtarget.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ore/query/aquery/test_aquery_data/bxl_deps.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ts/core/query/aquery/test_aquery_data/deps.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ery/test_aquery_data/all_outputs_subtarget.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ore/query/aquery/test_aquery_data/bxl_eval.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …/query/aquery/test_aquery_data/all_actions.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …/query/aquery/test_aquery_data/all_outputs.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …e/query/aquery/test_aquery_data/bxl_filter.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …/core/query/aquery/test_aquery_data/filter.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ry/aquery/test_aquery_data/bxl_all_actions.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …/multi_query_universe/multi_query_universe.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …a/unsorted/multi_query_print_provider_json.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …ry_data/unsorted/query_print_provider_json.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | …nd/test_target_metadata_data/test_metadata.golden.json | 1 | # This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test comm | COMMENT |
| MEDIUM | tests/e2e_util/buck_workspace.py | 130 | # Create a temporary file to store all lines of extra buck config values. | COMMENT |
| MEDIUM | tests/e2e_util/helper/golden.py | 20 | f"# This file is {'@'}generated, " | CODE |
| MEDIUM | tests/e2e_util/helper/golden.py | 292 | # Create a new dict where the keys are 1 + a large number | COMMENT |
| MEDIUM | shim/third-party/rust/Cargo.toml | 10 | # This file is **not** used by cargo build of buck2. | COMMENT |
| MEDIUM | prelude/apple/tools/make_modulemap.py | 113 | # Create a tree of nested modules, one for each path component. | COMMENT |
| MEDIUM | …elude/apple/tools/info_plist_processor/process_test.py | 274 | # Create a temporary plist file to merge | COMMENT |
| MEDIUM⚡ | …elude/apple/tools/info_plist_processor/process_test.py | 329 | # Create a temporary plist file to merge with nested list of dicts | COMMENT |
| MEDIUM | …elude/apple/tools/info_plist_processor/process_test.py | 375 | # Create a non-trivial plist_data structure with nested dictionaries and arrays | COMMENT |
| MEDIUM | …elude/apple/tools/info_plist_processor/process_test.py | 420 | # Create a non-trivial plist_data structure with nested dictionaries and arrays | COMMENT |
| MEDIUM | prelude/rust/tools/transitive_dependency_symlinks.py | 143 | # Create the symlinks in the directory (i.e., not the relative path) | COMMENT |
| MEDIUM | prelude/cxx/tools/stub_header_unit.py | 122 | # Create a temporary file for the dependency output (currently we ignore it, but in | COMMENT |
| MEDIUM | …oid/tools/tests/test_combine_apk_with_relinked_libs.py | 245 | # Create an empty relinked dir | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/buck2_test/src/internal_runner.rs | 63 | // Step 1: Execute listing using the dedicated listing command | COMMENT |
| LOW⚡ | app/buck2_test/src/internal_runner.rs | 113 | // Step 2: Parse listing output via Starlark callback | COMMENT |
| LOW⚡ | app/buck2_test/src/internal_runner.rs | 118 | // Step 3: Report discovered tests | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/dynamic_output.rs | 227 | /// # Step 1: Define the implementation function | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/dynamic_output.rs | 236 | /// # Step 2: Create a factory | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/unsorted.rs | 144 | /// # Step 1: Create a unique tag for tracking header dependencies | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/unsorted.rs | 152 | /// # Step 2: Tag the inputs and depfile output | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/unsorted.rs | 161 | /// # Step 3: Associate the tag with the "headers" label | COMMENT |
| LOW | app/buck2_build_api/src/configure_targets.rs | 35 | // NOTE: This function returns Result<(..., Vec<Error>)> to support keep-going: | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 218 | # Step 1: Run the test normally to get a valid run_id from the test infra | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 224 | # Step 2: Create BRR file with suite-level "- main" entry, simulating a | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 295 | # Step 1: Run the unmanaged type-check target normally to get a valid run_id. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 301 | # Step 2: BRR file with a real existing unmanaged entry plus a synthetic new | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 570 | # Step 1: a normal run of the real target just to get a valid run_id. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 577 | # Step 2: BRR file naming a `- unmanaged` entry for a target that does not | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 665 | # Step 2: Verify the report was written and contains a "- main" entry. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 672 | # Step 3: Feed the report back as a BRR retry input, saving the retry | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 807 | # Step 2: Verify the report has "- listing". | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 814 | # Step 3: Feed the report back WITHOUT TPX_PLAYGROUND_FATAL — listing | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 829 | # Step 4: Execution is suppressed for listing-only targets. Listing | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 865 | # Step 2: Verify the report contains a "- listing" entry. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 872 | # Step 3: Feed the report back with --list-only (simulating Citadel | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 911 | # Step 1: Run with TPX_PLAYGROUND_FATAL=1 to make listing crash. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 926 | # Step 2: Verify the report has "- listing". | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 933 | # Step 3: Feed the report back with --list-only WITHOUT | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 967 | # Step 1: Run with TPX_PLAYGROUND_FATAL=1 to make listing crash. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 982 | # Step 2: Verify the report has "- listing". | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 989 | # Step 3: Feed the report back WITHOUT --list-only and WITHOUT | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 1004 | # Step 4: TPX must suppress execution for listing-only targets even | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 241 | # Step 3: Run with BRR retry — the fix converts "- main" to a prefix | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 257 | # Step 4: Assert tests actually ran (before the fix, this was "NO TESTS RAN") | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 320 | # Step 3: Base-revision retry with new-test detection enabled, capturing the | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 385 | # Step 1: target run — the unmanaged test FAILS on demand. Capture its run_id. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 396 | # Step 2: BRR file naming the suite-level `- unmanaged` entry that failed. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 416 | # Step 3: base-revision retry — still failing on base (BRR_SIM_FAIL=1). | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 485 | # Step 1: target run — the labeled unmanaged test FAILS on demand. Capture run_id. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 496 | # Step 2: BRR file naming the suite-level `- unmanaged` entry that failed. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 516 | # Step 3: base-revision retry — still failing on base (BRR_SIM_FAIL=1). | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 598 | # Step 3: base-revision retry with new-test detection enabled. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 649 | # Step 1: Run the broken run_as_bundle target and save the failure report. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 689 | # Step 4: The retry must reproduce the failure. Verify by | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 719 | # Step 1: Run the broken listing target and save the failure report. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 736 | # Step 2: Verify the report was written and contains a "- listing" entry. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 749 | # Step 3: Feed the report back as a BRR retry input, saving the retry | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 766 | # Step 4: The retry must reproduce the listing failure. Verify by | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 792 | # Step 1: Run with TPX_PLAYGROUND_FATAL=1 to make listing crash. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 850 | # Step 1: Run the broken listing target and save the failure report. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 891 | # Step 4: The retry must reproduce the listing failure with --list-only. | COMMENT |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 144 | ### Step 0: Setup | COMMENT |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 202 | ### Step 1: Create the Minimal Rule Stub | COMMENT |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 262 | ### Step 2: Add Source File Attribute | COMMENT |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 330 | ### Step 3: Declare Output Artifact | COMMENT |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 382 | ### Step 4: Create an Action | COMMENT |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 453 | ### Step 5: Understanding Targets | STRING |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 548 | ### Step 6: Add Configuration Support with select() | STRING |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 644 | ### Step 7: Add Dependencies | STRING |
| LOW | .claude/skills/buck2-rule-basics/SKILL.md | 771 | ### Step 8: Rules vs Macros | STRING |
| LOW | docs/rule_authors/anon_targets.md | 339 | # Step 2: now link them all together | COMMENT |
| LOW | docs/rule_authors/anon_targets.md | 353 | # Step 1: compile all my individual files | COMMENT |
| LOW | docs/getting_started/tutorial_adding_tests.md | 29 | ## Step 1: Create a dedicated directory for our tests | COMMENT |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/resource_control/test_action_suspension.py | 50 | CODE | |
| LOW | tests/core/completion/test_completion.py | 26 | CODE | |
| LOW | tests/core/completion/test_completion.py | 41 | CODE | |
| LOW | tests/core/profile/test_profile.py | 331 | CODE | |
| LOW | tests/core/profile/test_profile.py | 368 | CODE | |
| LOW | tests/core/targets_command/test_targets_imports_toml.py | 19 | CODE | |
| LOW | tests/core/targets_command/test_targets_imports_json.py | 19 | CODE | |
| LOW | tests/core/targets_command/test_targets_imports.py | 19 | CODE | |
| LOW | tests/e2e_util/buck_workspace.py | 58 | CODE | |
| LOW | tests/e2e_util/api/fixtures.py | 120 | CODE | |
| LOW | tests/e2e/test/test_configs.py | 260 | CODE | |
| LOW | tests/e2e/fdb/types.py | 32 | CODE | |
| LOW | tests/e2e/targets_command/test_targets.py | 152 | CODE | |
| LOW | docs/developers/perf/scripts/heap_aggregate.py | 101 | CODE | |
| LOW | docs/developers/perf/scripts/heap_aggregate.py | 180 | CODE | |
| LOW | docs/developers/perf/scripts/heap_diff.py | 89 | CODE | |
| LOW | docs/developers/perf/scripts/heap_stacks.py | 130 | CODE | |
| LOW | prelude/apple/tools/swift_exec.py | 262 | CODE | |
| LOW | prelude/apple/tools/make_swift_interface.py | 126 | CODE | |
| LOW | prelude/apple/tools/make_swift_comp_db.py | 22 | CODE | |
| LOW | prelude/apple/tools/info_plist_processor/process.py | 19 | CODE | |
| LOW | prelude/apple/tools/info_plist_processor/process.py | 40 | CODE | |
| LOW | prelude/apple/tools/info_plist_processor/process.py | 72 | CODE | |
| LOW | prelude/apple/tools/info_plist_processor/process.py | 215 | CODE | |
| LOW | prelude/apple/tools/selective_debugging/macho_parser.py | 59 | CODE | |
| LOW | …elude/apple/tools/selective_debugging/scrubber_test.py | 288 | CODE | |
| LOW | …ools/code_signing/prepare_code_signing_entitlements.py | 23 | CODE | |
| LOW | prelude/apple/tools/index/merge_index_store.py | 77 | CODE | |
| LOW | prelude/apple/tools/bundling/incremental_state.py | 97 | CODE | |
| LOW | prelude/apple/tools/bundling/signing_context.py | 151 | CODE | |
| LOW | prelude/python/tools/__test_main__.py | 675 | CODE | |
| LOW | prelude/python/tools/make_py_package_modules.py | 75 | CODE | |
| LOW | prelude/python/tools/make_py_package_modules.py | 192 | CODE | |
| LOW | prelude/python/tools/make_py_package_modules.py | 286 | CODE | |
| LOW | prelude/python/tools/create_link_tree.py | 17 | CODE | |
| LOW | prelude/python/tools/compile.py | 80 | CODE | |
| LOW | prelude/python/tools/compile.py | 136 | CODE | |
| LOW | prelude/python/tools/extract.py | 62 | CODE | |
| LOW | prelude/python/tools/extract.py | 98 | CODE | |
| LOW | prelude/python/tools/wheel.py | 180 | CODE | |
| LOW | prelude/python/tools/make_py_package_manifest_module.py | 53 | CODE | |
| LOW | prelude/python/tools/make_par/sitecustomize.py | 27 | CODE | |
| LOW | prelude/python/tools/make_par/sitecustomize.py | 248 | CODE | |
| LOW | prelude/python/tools/make_par/sitecustomize.py | 32 | CODE | |
| LOW | prelude/python/tools/make_par/live_builder.py | 45 | CODE | |
| LOW | prelude/go_bootstrap/tools/go_wrapper.py | 19 | CODE | |
| LOW | prelude/js/worker_runner/worker_tool_runner.py | 277 | CODE | |
| LOW | prelude/js/worker_runner/worker_tool_runner.py | 311 | CODE | |
| LOW | prelude/rust/tools/shared_libraries_symlink_tree.py | 68 | CODE | |
| LOW | prelude/rust/tools/rustc_action.py | 229 | CODE | |
| LOW | prelude/rust/tools/rustc_action.py | 241 | CODE | |
| LOW | prelude/rust/tools/rustc_action.py | 322 | CODE | |
| LOW | prelude/rust/tools/failure_filter_action.py | 54 | CODE | |
| LOW | prelude/rust/tools/extract_link_action.py | 58 | CODE | |
| LOW | prelude/rust/tools/buildscript_run.py | 211 | CODE | |
| LOW | prelude/cxx/dist_lto/tools/dist_lto_planner_darwin.py | 183 | CODE | |
| LOW | prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py | 51 | CODE | |
| LOW | prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py | 75 | CODE | |
| LOW | prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py | 67 | CODE | |
| LOW | prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py | 108 | CODE | |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/buck2_test/src/internal_runner.rs | 63 | // Step 1: Execute listing using the dedicated listing command | COMMENT |
| LOW⚡ | app/buck2_test/src/internal_runner.rs | 113 | // Step 2: Parse listing output via Starlark callback | COMMENT |
| LOW⚡ | app/buck2_test/src/internal_runner.rs | 118 | // Step 3: Report discovered tests | COMMENT |
| LOW | app/buck2_core/src/cells.rs | 213 | // TODO(bobyf) we need to check if cells changed | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/dynamic_output.rs | 227 | /// # Step 1: Define the implementation function | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/dynamic_output.rs | 236 | /// # Step 2: Create a factory | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/unsorted.rs | 144 | /// # Step 1: Create a unique tag for tracking header dependencies | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/unsorted.rs | 152 | /// # Step 2: Tag the inputs and depfile output | COMMENT |
| LOW⚡ | app/buck2_action_impl/src/context/unsorted.rs | 161 | /// # Step 3: Associate the tag with the "headers" label | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 218 | # Step 1: Run the test normally to get a valid run_id from the test infra | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 224 | # Step 2: Create BRR file with suite-level "- main" entry, simulating a | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 295 | # Step 1: Run the unmanaged type-check target normally to get a valid run_id. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 301 | # Step 2: BRR file with a real existing unmanaged entry plus a synthetic new | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 570 | # Step 1: a normal run of the real target just to get a valid run_id. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 577 | # Step 2: BRR file naming a `- unmanaged` entry for a target that does not | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 665 | # Step 2: Verify the report was written and contains a "- main" entry. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 672 | # Step 3: Feed the report back as a BRR retry input, saving the retry | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 807 | # Step 2: Verify the report has "- listing". | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 814 | # Step 3: Feed the report back WITHOUT TPX_PLAYGROUND_FATAL — listing | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 829 | # Step 4: Execution is suppressed for listing-only targets. Listing | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 865 | # Step 2: Verify the report contains a "- listing" entry. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 872 | # Step 3: Feed the report back with --list-only (simulating Citadel | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 911 | # Step 1: Run with TPX_PLAYGROUND_FATAL=1 to make listing crash. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 926 | # Step 2: Verify the report has "- listing". | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 933 | # Step 3: Feed the report back with --list-only WITHOUT | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 949 | # Step 4: --list-only must suppress execution even when listing succeeds. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 967 | # Step 1: Run with TPX_PLAYGROUND_FATAL=1 to make listing crash. | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 982 | # Step 2: Verify the report has "- listing". | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 989 | # Step 3: Feed the report back WITHOUT --list-only and WITHOUT | COMMENT |
| LOW⚡ | tests/e2e/test/test_brr_suite_level_retry.py | 1004 | # Step 4: TPX must suppress execution for listing-only targets even | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 241 | # Step 3: Run with BRR retry — the fix converts "- main" to a prefix | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 257 | # Step 4: Assert tests actually ran (before the fix, this was "NO TESTS RAN") | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 320 | # Step 3: Base-revision retry with new-test detection enabled, capturing the | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 385 | # Step 1: target run — the unmanaged test FAILS on demand. Capture its run_id. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 396 | # Step 2: BRR file naming the suite-level `- unmanaged` entry that failed. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 416 | # Step 3: base-revision retry — still failing on base (BRR_SIM_FAIL=1). | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 485 | # Step 1: target run — the labeled unmanaged test FAILS on demand. Capture run_id. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 496 | # Step 2: BRR file naming the suite-level `- unmanaged` entry that failed. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 516 | # Step 3: base-revision retry — still failing on base (BRR_SIM_FAIL=1). | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 598 | # Step 3: base-revision retry with new-test detection enabled. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 649 | # Step 1: Run the broken run_as_bundle target and save the failure report. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 689 | # Step 4: The retry must reproduce the failure. Verify by | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 719 | # Step 1: Run the broken listing target and save the failure report. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 736 | # Step 2: Verify the report was written and contains a "- listing" entry. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 749 | # Step 3: Feed the report back as a BRR retry input, saving the retry | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 766 | # Step 4: The retry must reproduce the listing failure. Verify by | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 792 | # Step 1: Run with TPX_PLAYGROUND_FATAL=1 to make listing crash. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 850 | # Step 1: Run the broken listing target and save the failure report. | COMMENT |
| LOW | tests/e2e/test/test_brr_suite_level_retry.py | 891 | # Step 4: The retry must reproduce the listing failure with --list-only. | COMMENT |
| LOW⚡ | …ebook/buck/android/exopackage/AndroidDeviceImplTest.kt | 330 | // Step 1: root, wait-for-device, remount | COMMENT |
| LOW⚡ | …ebook/buck/android/exopackage/AndroidDeviceImplTest.kt | 334 | // Step 5: push apex | COMMENT |
| LOW⚡ | …ebook/buck/android/exopackage/AndroidDeviceImplTest.kt | 338 | // Step 6: reboot | COMMENT |
| LOW⚡ | …ebook/buck/android/exopackage/AndroidDeviceImplTest.kt | 392 | // Step 1: root, wait-for-device, remount | COMMENT |
| LOW⚡ | …ebook/buck/android/exopackage/AndroidDeviceImplTest.kt | 399 | // Step 4: root, wait-for-device, remount again after reboot | COMMENT |
| LOW⚡ | …ebook/buck/android/exopackage/AndroidDeviceImplTest.kt | 403 | // Step 5: push apex | COMMENT |
| LOW⚡ | …ebook/buck/android/exopackage/AndroidDeviceImplTest.kt | 407 | // Step 6: final reboot | COMMENT |
| LOW | …k/buck/jvm/java/abi/source/PostEnterCanonicalizer.java | 163 | // DeclaredType that has ErrorTypes for type arguments. So we need to check if there's an | COMMENT |
| LOW | …src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt | 1010 | // We need to check if the companion has the property AND if it's resolvable. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/core/resource_control/test_memory_reporting.py | 35 | "BUCK2_TEST_RESOURCE_CONTROL_CONFIG": '{"status":"Off","init":"Systemd","memory_max":null,"memory_high":null,"me | CODE |
| HIGH | tests/core/common/io/file_watcher.py | 76 | # "incomplete_events_reason": null, | COMMENT |
| HIGH | tests/core/common/io/file_watcher.py | 78 | # "fresh_instance_data": null, | COMMENT |
| HIGH | prelude/rust/tools/transitive_dependency_symlinks.py | 41 | # [ "../../libfoo.rlib", null ], | COMMENT |
| HIGH | prelude/rust/tools/transitive_dependency_symlinks.py | 50 | # If the cratename is null, then the artifact is simply symlinked from the basename | COMMENT |
| HIGH⚡ | prelude/cxx/dist_lto/tools/tests/test_dist_lto_opt.py | 267 | "-Wl,--undefined,Global", | CODE |
| HIGH⚡ | prelude/cxx/dist_lto/tools/tests/test_dist_lto_opt.py | 268 | "-Wl,--undefined,Local", | CODE |
| HIGH⚡ | prelude/cxx/dist_lto/tools/tests/test_dist_lto_opt.py | 269 | "-Wl,--undefined,MockConnection", | CODE |
| HIGH⚡ | prelude/cxx/dist_lto/tools/tests/test_dist_lto_opt.py | 270 | "-Wl,--undefined,Global", | CODE |
| HIGH⚡ | prelude/cxx/dist_lto/tools/tests/test_dist_lto_opt.py | 271 | "-Wl,--undefined,Local", | CODE |
| HIGH⚡ | prelude/cxx/dist_lto/tools/tests/test_dist_lto_opt.py | 272 | "-Wl,--undefined,MockConnection", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 67 | //! ┌─────────────────┐ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 72 | //! └────────▲────────┘ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 74 | //! ┌─────────────────┼─────────────────┐ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 76 | //! ┌──────┴──────┐ ┌──────┴──────┐ ┌──────┴──────┐ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 80 | //! └─────────────┘ └─────────────┘ └─────────────┘ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 92 | //! ┌─────────┐ alloc_pinned ┌────────┐ release_pin ┌──────────┐ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 93 | //! │ PagedOut│ ───────────────►│ Pinned │───────────────►│ Unpinned │ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 94 | //! └─────────┘ (deserialize) └────────┘ (count→0, └──────────┘ | COMMENT |
| MEDIUM⚡ | pagable/src/pagable_arc.rs | 97 | //! └──────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …rlark-rust/starlark/src/values/layout/avalues/array.rs | 189 | /// ┌─────────────────────────────┐ ← me | COMMENT |
| MEDIUM⚡ | …rlark-rust/starlark/src/values/layout/avalues/array.rs | 191 | /// ├─────────────────────────────┤ ← + offset_of_payload() | COMMENT |
| MEDIUM⚡ | …rlark-rust/starlark/src/values/layout/avalues/array.rs | 193 | /// ├─────────────────────────────┤ ← + offset_of_extra() | COMMENT |
| MEDIUM⚡ | …rlark-rust/starlark/src/values/layout/avalues/array.rs | 195 | /// └─────────────────────────────┘ | COMMENT |
| MEDIUM | prelude/apple/tools/make_vfsoverlay.py | 17 | # ---------------------------------- | COMMENT |
| MEDIUM | prelude/cxx/tools/clang_tidy_wrapper.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | prelude/cxx/tools/clang_tidy_wrapper.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | prelude/cxx/tools/clang_tidy_wrapper.py | 77 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | prelude/cxx/tools/clang_tidy_wrapper.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | prelude/cxx/tools/clang_tidy_wrapper.py | 97 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | prelude/cxx/tools/clang_tidy_wrapper.py | 99 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test.py | 250 | # This is some parsing that wants to be a little robust to changes in the | COMMENT |
| MEDIUM | app/buck2_interpreter_for_build/src/nodes/attr_spec.rs | 181 | // For now `within_view` is always set, but let's make code more robust. | COMMENT |
| MEDIUM | starlark-rust/starlark/src/values/types/function.rs | 326 | /// Essentially a `&dyn Fn(Value, Heap) -> Result<Value>`, but expanded out by hand, and | COMMENT |
| MEDIUM | starlark-rust/starlark/src/eval/bc/writer.rs | 480 | // Definitely assigned save/restore is redundant here, it is performed more precisely | COMMENT |
| MEDIUM | starlark-rust/starlark/src/eval/compiler/call.rs | 163 | // Definitely assigned local variable. | COMMENT |
| MEDIUM | tests/core/executor/test_hash_all_commands.py | 37 | # Disable remote cache lookup so we actually utilize the local depfile cache for this test | COMMENT |
| MEDIUM | tests/e2e_util/helper/utils.py | 134 | # The test harness's extra external config is part of normal Buck config | COMMENT |
| MEDIUM | dice/dice_examples/bin/memory_by_key.rs | 29 | //! of the trailing few per-shadow heap deltas** — robust to | COMMENT |
| MEDIUM | prelude/python/tools/__test_main__.py | 228 | # the builtin python test harness). If we see one, recurse on it. | COMMENT |
| MEDIUM | prelude/python/tools/__test_main__.py | 232 | # The builtin python test harness sets test references to `None` | COMMENT |
| MEDIUM | …id/src/com/facebook/buck/util/zip/EntryAccounting.java | 169 | // Essentially, we're about to set bits 1 and 2 to indicate to tools such as zipinfo which | COMMENT |
| MEDIUM | …vm-abi-gen/src/main/kotlin/fir/FirMetadataSanitizer.kt | 507 | // This is more robust than trying to replace error expressions with literals, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/interpreter/test_cancellation.py | 68 | except Exception: | CODE |
| LOW | tests/e2e_util/api/buck_result.py | 331 | except Exception as e: | CODE |
| LOW | tests/e2e_util/api/buck_result.py | 439 | except Exception as e: | CODE |
| LOW | prelude/apple/tools/selective_debugging/main.py | 59 | except Exception as e: | CODE |
| LOW | …ls/code_signing/provisioning_profile_selection_test.py | 118 | except Exception: | CODE |
| LOW | …ls/code_signing/provisioning_profile_selection_test.py | 170 | except Exception: | CODE |
| LOW | prelude/apple/tools/code_signing/app_id.py | 71 | except Exception as e: | CODE |
| LOW | prelude/apple/tools/bundling/main.py | 573 | except Exception: | STRING |
| LOW | prelude/apple/tools/bundling/main.py | 621 | except Exception: | STRING |
| LOW | prelude/apple/tools/bundling/main.py | 715 | except Exception: | STRING |
| LOW | prelude/python/tools/compile.py | 130 | except Exception: | CODE |
| LOW | prelude/python/tools/make_par/sitecustomize.py | 64 | except Exception: | CODE |
| LOW⚡ | prelude/python/tools/make_par/sitecustomize.py | 496 | except Exception: | CODE |
| LOW⚡ | prelude/python/tools/make_par/sitecustomize.py | 502 | except Exception: | CODE |
| MEDIUM | prelude/python/tools/make_par/sitecustomize.py | 476 | def __startup__() -> None: | CODE |
| LOW | prelude/js/worker_runner/worker_tool_runner.py | 349 | except Exception: | CODE |
| LOW | prelude/rust/tools/from_any_dir.py | 69 | except Exception: | CODE |
| LOW | prelude/erlang/toolchain/generate_otp_versions.py | 239 | except Exception as e: | CODE |
| MEDIUM | prelude/erlang/toolchain/generate_otp_versions.py | 240 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM | prelude/cxx/tools/stub_header_unit.py | 135 | print("Error: No output file specified with -o", file=sys.stderr) | CODE |
| MEDIUM | prelude/cxx/tools/check_nonempty_output.py | 34 | print("Error: Output file is empty.") | CODE |
| LOW | prelude/kotlin/tools/compile_kotlin/compile_kotlin.py | 260 | except Exception as e: | CODE |
| LOW | …/com/facebook/buck/jvm/java/testdata/prebuilt/unzip.py | 20 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …core/incremental_api/test_incremental_remote_action.py | 12 | CODE | |
| LOW | tests/core/resource_control/test_action_suspension.py | 11 | CODE | |
| LOW | …urce_control/test_hybrid_execution_resource_control.py | 11 | CODE | |
| LOW | tests/core/vpnless/test_vpnless.py | 12 | CODE | |
| LOW | tests/core/http2/test_http2.py | 12 | CODE | |
| LOW | tests/core/trace_io/test_trace_io.py | 12 | CODE | |
| LOW | tests/e2e_util/conftest.py | 13 | CODE | |
| LOW | …le/tools/code_signing/provisioning_profile_metadata.py | 11 | CODE | |
| LOW | prelude/apple/tools/code_signing/info_plist_metadata.py | 11 | CODE | |
| LOW | …e/apple/tools/code_signing/list_codesign_identities.py | 11 | CODE | |
| LOW | prelude/apple/tools/code_signing/identity.py | 11 | CODE | |
| LOW | prelude/apple/tools/code_signing/app_id.py | 11 | CODE | |
| LOW | prelude/apple/tools/bundling/assemble_bundle_types.py | 11 | CODE | |
| LOW | prelude/apple/tools/bundling/incremental_state.py | 11 | CODE | |
| LOW | prelude/python/tools/wheel.py | 9 | CODE | |
| LOW | prelude/python/tools/sourcedb_merger/tests/__init__.py | 18 | CODE | |
| LOW | prelude/python/tools/sourcedb_merger/tests/__init__.py | 30 | CODE | |
| LOW | prelude/python/tools/sourcedb_merger/tests/__init__.py | 37 | CODE | |
| LOW | prelude/python/tools/make_par/sitecustomize.py | 12 | CODE | |
| LOW | prelude/python/runtime/__par__/bootstrap.py | 11 | CODE | |
| LOW | prelude/python/sourcedb/tests/pyrefly_test.py | 9 | CODE | |
| LOW | prelude/cxx/tools/clang_tidy_wrapper.py | 27 | CODE | |
| LOW | prelude/android/tools/create_jdk_system_image.py | 23 | CODE | |
| LOW | prelude/android/tools/sort_pre_dexed_files.py | 28 | CODE | |
| LOW | prelude/android/tools/merge_sequence.py | 106 | CODE | |
| LOW | …oid/tools/tests/test_combine_apk_with_relinked_libs.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | app/buck2_execute_impl/src/executors/local.rs | 937 | // wrote outputs at "placeholder" paths, not the final content-based paths (because | COMMENT |
| LOW⚡ | app/buck2_execute_impl/src/executors/local.rs | 945 | // (2) Declare an existing artifact at the "placeholder" output path that the action wrote to. | COMMENT |
| LOW⚡ | app/buck2_execute_impl/src/executors/local.rs | 946 | // (3) Then we declare a copy from the "placeholder" output path to the content-based path. | COMMENT |
| LOW⚡ | app/buck2_execute_impl/src/executors/local.rs | 948 | // (5) Note that we don't need to invalidate the "placeholder" output path, as that is | COMMENT |
| LOW | app/buck2_cmd_log_client/src/what_ran.rs | 614 | digest: "placeholder", | CODE |
| LOW | app/buck2_cmd_log_client/src/what_ran.rs | 694 | "digest": "placeholder", | CODE |
| LOW | app/buck2_event_observer/src/what_ran.rs | 483 | action_digest: "placeholder".to_owned(), | CODE |
| LOW | …/test/java/com/facebook/demoapp/model/PostModelTest.kt | 22 | PostModel("Jane Doe", 123, "This is a post", 20) | CODE |
| LOW | …/test/java/com/facebook/demoapp/model/PostModelTest.kt | 32 | PostModel("Jane Doe", 0, "This is a post", 20) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …uck2_interpreter_for_build/src/interpreter/selector.rs | 709 | /// # Check if any branch has more than 2 items | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/targetset.rs | 253 | /// # Check if sets are equal | COMMENT |
| LOW | …k2_build_api/src/interpreter/rule_defs/cmd_args/typ.rs | 855 | /// # Check if command has any inputs | COMMENT |
| LOW | tests/e2e_util/buck_workspace.py | 274 | # Check if mkscratch is available, fall back to tempfile.gettempdir() if not | COMMENT |
| LOW | prelude/apple/tools/resource_broker/ios.py | 171 | # Check if device is a device type identifier | COMMENT |
| LOW | prelude/cxx/tools/check_nonempty_output.py | 32 | # Check if the output file is not empty | COMMENT |
| LOW | prelude/cxx/tools/makefile_to_dep_file.py | 67 | # Check if this was escaped by looking at the previous character. If it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/install/test_install.py | 22 | def _setup_sandbox(buck: Buck) -> None: | CODE |
| LOW | tests/core/trace_io/test_trace_io.py | 60 | def _setup_buckconfig_digest_algorithms(buck: Buck) -> None: | CODE |
| LOW | tests/core/external_cells/test_git.py | 40 | def _set_revision(rev: str, cwd: Path) -> None: | CODE |
| LOW | tests/e2e_util/api/buck.py | 50 | def set_buckd(self, toggle: bool) -> None: | CODE |
| LOW | tests/e2e_util/api/buck.py | 57 | def set_isolation_prefix(self, isolation_prefix: str) -> None: | CODE |
| LOW | tests/e2e_util/api/executable.py | 47 | def set_env(self, key: str, value: str) -> None: | CODE |
| LOW | tests/e2e_util/api/executable.py | 53 | def set_windows_cmd_option(self, key: WindowsCmdOption, value: bool) -> None: | CODE |
| LOW | prelude/python/tools/make_par/sitecustomize.py | 193 | def _setup_child_env() -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …2_interpreter_for_build/src/attrs/visibility_record.rs | 38 | /// Example usage: | COMMENT |
| LOW | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs | 567 | /// Example usage: | COMMENT |
| LOW | app/buck2_query_derive/src/lib.rs | 24 | /// Example usage: | COMMENT |
| LOW | docs/developers/perf/scripts/peak_watch.sh | 16 | # Usage: | COMMENT |
| LOW | docs/developers/perf/scripts/measure.sh | 14 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/buck2_event_log/src/utils.rs | 93 | // Don't forget to update these lists when this is updated: | COMMENT |
| LOW | starlark-rust/starlark/src/values/layout/heap/arena.rs | 302 | /// Don't forget to call this function to release memory. | COMMENT |
| MEDIUM | tests/core/cells/test_file_watcher_resolution.py | 37 | # This is just one example, there's a thousand other ways that you can change the `CellResolver` | COMMENT |
| LOW | tests/e2e_util/buck_workspace.py | 205 | # FYI: if you remove this, make sure to remove it from external_buckconfig tests too | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/help/test_help.py | 34 | CODE | |
| LOW | tests/e2e_util/buck_workspace.py | 534 | CODE | |
| LOW | tests/e2e_util/helper/utils.py | 32 | CODE | |
| LOW | prelude/apple/tools/code_signing/codesign_bundle.py | 385 | CODE | |
| LOW | prelude/java/tools/fat_jar.py | 172 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/buck2_node/src/metadata/value.rs | 25 | // TODO: implement our own equality here that preserves ordering | COMMENT |
| LOW | starlark-rust/starlark/src/values/typing/callable.rs | 283 | // TODO: implement `#[trace(bound = "")]`. | COMMENT |