Repository Analysis

bevyengine/bevy

A refreshingly simple data-driven game engine built in Rust

7.1 Low AI signal View on GitHub
7.1
Adjusted Score
7.1
Raw Score
100%
Time Factor
2026-05-29
Last Push
46,352
Stars
Rust
Language
616,783
Lines of Code
2039
Files
4559
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 2MEDIUM 73LOW 4483

Pattern Findings

4559 matches across 11 categories. Click a row to expand file-level details.

Over-Commented Block4468 hits · 4048 pts
SeverityFileLineSnippet
LOWrustfmt.toml1use_field_init_shorthand = true
LOWtools/ci/src/prepare.rs1use crate::args::Args;
LOWtools/ci/src/prepare.rs21 /// cmd!(sh, "cargo check --workspace"),
LOWtools/example-showcase/src/main.rs41 per_page: Option<usize>,
LOWtools/example-showcase/src/main.rs861
LOWtools/compile_fail_utils/tests/example.rs1fn main() -> compile_fail_utils::ui_test::Result<()> {
LOWcrates/bevy_settings/src/lib.rs1//! Framework for saving and loading user settings files (e.g. user preferences) in Bevy
LOWcrates/bevy_settings/src/lib.rs41mod store_wasm;
LOWcrates/bevy_settings/src/lib.rs61/// afford one, use a reverse domain based on the URL of your repo (GitHub, GitLab, Codeberg
LOWcrates/bevy_settings/src/lib.rs81/// Saving of preferences is not automatic; the recommended practice is to issue a
LOWcrates/bevy_settings/src/lib.rs141/// The name should be in ``snake_case`` to be consistent with TOML style.
LOWcrates/bevy_remote/src/lib.rs1//! An implementation of the Bevy Remote Protocol, to allow for remote control of a Bevy app.
LOWcrates/bevy_remote/src/lib.rs21//! "components": [
LOWcrates/bevy_remote/src/lib.rs41//!
LOWcrates/bevy_remote/src/lib.rs61//! }
LOWcrates/bevy_remote/src/lib.rs81//! An error object might look like this:
LOWcrates/bevy_remote/src/lib.rs101//! The Bevy Remote Protocol includes a number of built-in methods for accessing and modifying data
LOWcrates/bevy_remote/src/lib.rs121//! If `strict` is true:
LOWcrates/bevy_remote/src/lib.rs141//! - `filter` (optional):
LOWcrates/bevy_remote/src/lib.rs161//! {
LOWcrates/bevy_remote/src/lib.rs181//! To query all entities and all of their Reflectable components (and retrieve their values), you can pass in "all" for
LOWcrates/bevy_remote/src/lib.rs201//!
LOWcrates/bevy_remote/src/lib.rs221//! },
LOWcrates/bevy_remote/src/lib.rs241//! "near": 0.10000000149011612
LOWcrates/bevy_remote/src/lib.rs261//! 0.8680371046066284,
LOWcrates/bevy_remote/src/lib.rs281//! 9.0
LOWcrates/bevy_remote/src/lib.rs301//!
LOWcrates/bevy_remote/src/lib.rs321//! Insert one or more components into an entity.
LOWcrates/bevy_remote/src/lib.rs341//!
LOWcrates/bevy_remote/src/lib.rs361//! - `entity`: The ID of the entity whose components will be listed.
LOWcrates/bevy_remote/src/lib.rs381//! in the last tick.
LOWcrates/bevy_remote/src/lib.rs401//! - `entity`: The ID of the entity whose components will be listed.
LOWcrates/bevy_remote/src/lib.rs421//! Insert the given resource into the world with the given value.
LOWcrates/bevy_remote/src/lib.rs441//!
LOWcrates/bevy_remote/src/lib.rs461//! - `event`: The [fully-qualified type name] of the event to trigger.
LOWcrates/bevy_remote/src/lib.rs481//! ### `rpc.discover`
LOWcrates/bevy_remote/src/lib.rs501//! App::new()
LOWcrates/bevy_remote/src/lib.rs521//! # use bevy_ecs::prelude::{In, World};
LOWcrates/bevy_remote/src/lib.rs921 Cleanup,
LOWcrates/bevy_remote/src/lib.rs941
LOWcrates/bevy_remote/src/lib.rs1001///
LOWcrates/bevy_remote/src/lib.rs1021/// "jsonrpc": "2.0",
LOWcrates/bevy_remote/src/lib.rs1341
LOWcrates/bevy_remote/src/builtin_methods.rs121
LOWcrates/bevy_remote/src/builtin_methods.rs141 /// The [full path] of the resource type being requested.
LOWcrates/bevy_remote/src/builtin_methods.rs161 /// An optional flag to fail when encountering an invalid component rather
LOWcrates/bevy_remote/src/builtin_methods.rs181 /// [full type paths]: bevy_reflect::TypePath::type_path
LOWcrates/bevy_remote/src/builtin_methods.rs201
LOWcrates/bevy_remote/src/builtin_methods.rs221
LOWcrates/bevy_remote/src/builtin_methods.rs241
LOWcrates/bevy_remote/src/builtin_methods.rs261 /// `parent`.
LOWcrates/bevy_remote/src/builtin_methods.rs281
LOWcrates/bevy_remote/src/builtin_methods.rs301 pub value: Value,
LOWcrates/bevy_remote/src/builtin_methods.rs321}
LOWcrates/bevy_remote/src/builtin_methods.rs341 /// The [full path] of the message to write.
LOWcrates/bevy_remote/src/builtin_methods.rs361 pub event: String,
LOWcrates/bevy_remote/src/builtin_methods.rs381/// Describes the data that is to be fetched in a query.
LOWcrates/bevy_remote/src/builtin_methods.rs401 /// [full path]: bevy_reflect::TypePath::type_path
LOWcrates/bevy_remote/src/builtin_methods.rs421 #[serde(default)]
LOWcrates/bevy_remote/src/builtin_methods.rs441 pub type_limit: JsonSchemaTypeLimit,
4408 more matches not shown…
Decorative Section Separators38 hits · 160 pts
SeverityFileLineSnippet
MEDIUMcrates/bevy_animation/src/graph.rs57/// ┌────────────┐
MEDIUMcrates/bevy_animation/src/graph.rs59/// │ Idle ├─────────────────────┐
MEDIUMcrates/bevy_animation/src/graph.rs61/// └────────────┘ │
MEDIUMcrates/bevy_animation/src/graph.rs63/// ┌────────────┐ │ ┌────────────┐
MEDIUMcrates/bevy_animation/src/graph.rs66/// │ │ │ ┌────────────┐ │ │ │
MEDIUMcrates/bevy_animation/src/graph.rs67/// └────────────┘ │ │ Blend │ │ └────────────┘
MEDIUMcrates/bevy_animation/src/graph.rs69/// ┌────────────┐ │ │ 0.5 │
MEDIUMcrates/bevy_animation/src/graph.rs70/// │ │ │ └────────────┘
MEDIUMcrates/bevy_animation/src/graph.rs73/// └────────────┘
MEDIUMcrates/bevy_animation/src/graph.rs308 /// ┌─────┐
MEDIUMcrates/bevy_animation/src/graph.rs314 /// ┌───────┼───────┐
MEDIUMcrates/bevy_animation/src/graph.rs317 /// ┌─────┐ ┌─────┐ ┌─────┐
MEDIUMcrates/bevy_animation/src/graph.rs321 /// └──┬──┘ └─────┘ └─────┘
MEDIUMcrates/bevy_animation/src/graph.rs326 /// ┌─────┐ ┌─────┐
MEDIUMcrates/bevy_animation/src/graph.rs330 /// └─────┘ └─────┘
MEDIUMcrates/bevy_render/src/render_phase/mod.rs397/// │ ─────┬──────────────┬─────
MEDIUMcrates/bevy_render/src/render_phase/mod.rs399/// │ Binned Mesh ... ├──────────────┤ ...
MEDIUMcrates/bevy_render/src/render_phase/mod.rs401/// │ ─────┴───┬──────────┴─────
MEDIUMcrates/bevy_render/src/render_phase/mod.rs403/// │ │ ┌───────────────────────────────┐
MEDIUMcrates/bevy_render/src/render_phase/mod.rs406/// │ ┌───────┬───────┬───────┬───── │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs408/// │ └───────┴───┬───┴───────┴───── │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs411/// │ Entity-to- │ ┌──────────┬──────────┬───── │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs413/// │ Instance- └──────────┴──────┬───┴───── │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs419/// │ Indirect- ┌───────┬───────┬───────┬───── │ │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs421/// │ Offset-to- └───────┴───────┴───────┴───── │ │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs425/// ┌───────┘ │ │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs429/// │ Indirect- ┌───────┬───────┬───────┬───── │ │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs431/// │ Offset └───────┴───────┴───────┴───── │ │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs435/// │ Binned Mesh ─────┬──────────────┬──────────────┬───── │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs437/// │ Buffer ─────┴──────────────┴───────────┬──┴───── │
MEDIUMcrates/bevy_render/src/render_phase/mod.rs439/// └─ └────────────┘
MEDIUMcrates/bevy_pbr/src/fog.rs448 /// V = ─────────
MEDIUMcrates/bevy_pbr/src/fog.rs456 /// β = ─────────
MEDIUMcrates/bevy_post_process/src/auto_exposure/settings.rs63 /// ●───────────────────────── time
MEDIUMcrates/bevy_math/src/compass.rs15/// W (West) ┼─────► E (East)
MEDIUMcrates/bevy_math/src/compass.rs122/// W (West) ┼─────► E (East)
MEDIUMcrates/bevy_math/src/cubic_splines/mod.rs1104 /// ●─────────── x (time)
MEDIUMcrates/bevy_math/src/cubic_splines/mod.rs1119 /// ●➔⬈───────── x (time)
AI Slop Vocabulary18 hits · 52 pts
SeverityFileLineSnippet
MEDIUMcrates/bevy_light/src/volumetric.rs125 /// is facing away. Essentially, a high value here means the light shafts
MEDIUMcrates/bevy_a11y/src/lib.rs185/// Platform-specific accessibility APIs utilize `AccessKit` nodes in their
MEDIUMcrates/bevy_a11y/src/lib.rs223/// This behavior may or may not be intended, so please utilize
MEDIUMcrates/bevy_a11y/src/lib.rs264/// providing helpful resources for other interfaces to utilize.
MEDIUMcrates/bevy_picking/src/lib.rs28//! At its core, this crate provides a robust abstraction for computing picking state regardless of
MEDIUMcrates/bevy_picking/src/hover.rs57/// [`PreviousHoverMap`] as a robust way of determining changes in hover state from the previous
MEDIUMcrates/bevy_pbr/src/light_probe/environment_map.rs12//! distance from the view, in a similar manner to a skybox. Essentially, these
MEDIUMcrates/bevy_pbr/src/meshlet/mod.rs88/// * Near-seamless level of detail (LOD).
MEDIUMcrates/bevy_pbr/src/lightmap/mod.rs17//! supply to the shader. Essentially, the lightmap is a special type of texture
MEDIUMcrates/bevy_asset/src/lib.rs425 // needs to be robust to stochastic delays anyways.
MEDIUMcrates/bevy_clipboard/src/lib.rs13//! it provides a consistent API across all platforms, with a simple but robust fallback when `arboard`
MEDIUMdocs-rs/trait-tags.html35 // but the docs.rs layout makes it tricky to do so in a robust way.
MEDIUM…ples/ui/navigation/directional_navigation_overrides.rs3//! This example shows how to leverage both automatic navigation and manual overrides to create
MEDIUMexamples/asset/multi_asset_sync.rs63/// [`Arc<Atomic>`] is a more robust alternative.
MEDIUMexamples/camera/2d_top_down_camera.rs87/// A more robust solution for player movement can be found in `examples/movement/physics_in_fixed_timestep.rs`.
MEDIUMexamples/animation/animated_transform.rs63 // in case seamless looping is wanted, the last keyframe should
LOWexamples/reflection/dynamic_types.rs55 // Or, if we had registered `ReflectClone` using `#[reflect(Clone)]`, it would simply call `Clone::clone` directly.
MEDIUMbenches/Cargo.toml75# `cargo bench -- --save-baseline before` by disabling the default benchmark harness.
Slop Phrases16 hits · 46 pts
SeverityFileLineSnippet
MEDIUMcrates/bevy_ecs/src/system/input.rs95/// Here is a simple example of a system that takes a [`usize`] and returns the square of it.
MEDIUMcrates/bevy_ecs/src/system/input.rs149/// Here is a simple example of a system that logs the passed in message.
MEDIUMcrates/bevy_ecs/src/system/input.rs202/// Here is a simple example of a system that takes a `&mut usize` and squares it.
MEDIUMcrates/bevy_shader/Cargo.toml46# When turning this feature on, you can add the following to bevy/Cargo.toml (not this file), and then run `cargo update
MEDIUMcrates/bevy_render/Cargo.toml16# When turning this feature on, you can add the following to bevy/Cargo.toml (not this file), and then run `cargo update
MEDIUMcrates/bevy_math/src/curve/mod.rs237//! First of all, it's worth noting that the API never uses `&mut self` — every method either takes
LOWexamples/ui/widgets/feathers_counter.rs26 // Don't forget to add the plugin.
MEDIUMexamples/asset/alter_mesh.rs186 // for demonstration purposes. This will affect all entities currently using the asset.
MEDIUMexamples/camera/2d_top_down_camera.rs84/// Note that the approach used here is for demonstration purposes only,
MEDIUMexamples/ecs/custom_schedule.rs19 // Create a new [`Schedule`]. For demonstration purposes, we configure it to use a single threaded executor so that
MEDIUMexamples/scene/world_serialization.rs174 // For demonstration purposes, we'll create a new one.
MEDIUMexamples/2d/mesh2d_manual.rs90 // use a custom vertex attribute here for demonstration purposes.
MEDIUMexamples/shader_advanced/custom_phase_item.rs156/// A single triangle's worth of vertices, for demonstration purposes.
MEDIUMexamples/reflection/type_data.rs29 // Here we know it's a `Zombie`, but for demonstration purposes let's pretend we don't.
MEDIUMexamples/reflection/function_reflection.rs17// Note that the `dbg!` invocations are used purely for demonstration purposes
MEDIUM.github/actions/install-linux-deps/action.yml12# repository before you can use this action.
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippet
HIGHexamples/3d/irradiance_volumes.rs413// Turns on and off the irradiance volume as requested by the user.
HIGHexamples/3d/visibility_range.rs284 // Toggle the mode as requested.
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICAL.github/workflows/welcome.yml25 const opts = github.rest.issues.listForRepo.endpoint.merge({
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMcrates/bevy_app/src/plugin.rs24/// ## Defining a plugin.
MEDIUMcrates/bevy_reflect/derive/src/lib.rs573/// # Defining the Wrapper
MEDIUM.github/workflows/send-screenshots-to-pixeleagle.yml59 # Create a new run with its associated metadata
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippet
LOWexamples/remote/integration_test.rs32 // Step 1: Take a screenshot via BRP
LOWexamples/remote/integration_test.rs93 // Step 2: Find the button entity, and its global transform
LOWexamples/remote/integration_test.rs127 // Step 3: Find the window entity and scale factor
LOWexamples/remote/integration_test.rs153 // Step 4: Convert button center from physical to logical pixels
LOWexamples/remote/integration_test.rs158 // Step 5: Send CursorMoved via WindowEvent message
LOWexamples/remote/integration_test.rs177 // Step 6: Send MouseButtonInput Pressed + Released via WindowEvent messages.
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippet
LOWexamples/ui/text/text_wrap_debug.rs111 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas auctor, nunc ac faucibus fringilla.".
LOWexamples/ui/text/text_wrap_debug.rs111 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas auctor, nunc ac faucibus fringilla.".
LOWexamples/testbed/ui.rs948 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.".to_string(),
LOWexamples/testbed/ui.rs948 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.".to_string(),
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOWcrates/bevy_text/src/text.rs831/// # Usage:
LOWcrates/bevy_asset/src/io/web.rs20/// Example usage:
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWdocs-rs/trait-tags.html64 function findImplementedBevyTraits(doc) {