Make your JSON data collaborative and version-controlled with CRDTs
This report summarizes scanner evidence for loro-dev/loro, a Rust project with 6,271 GitHub stars. SynthScan examined 320,505 lines of code across 831 source files, recording 760 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 607 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 202 finding(s).
Which changes need focused human review? 760 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 760 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/kv-store/src/sstable.rs | 26 | /// ┌──────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 32 | /// └──────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 44 | /// ┌────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 50 | /// └────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 279 | /// ┌─────────────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 285 | /// └─────────────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 34 | //! ┌────────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 40 | //! └────────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 44 | //! ┌─────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 50 | //! └─────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 54 | //! ┌────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 60 | //! └────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 103 | //! ┌────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 109 | //! └────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 113 | //! ┌──────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 119 | //! └──────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 11 | //! ┌─────────────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 17 | //! └─────────────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 81 | //! ┌──────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 87 | //! └──────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 32 | /// ┌──────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 38 | /// └──────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 84 | /// ┌────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 90 | /// └────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 366 | /// ┌─────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 372 | /// └─────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1477 | // ┌────┐ ┌───────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1479 | // └────┘ └───────────────┘│ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1480 | // ┌───────┐ │ ┌────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1481 | // │Del 1@0│◀─────────────────┴─│Meta 2@1│ ◀─── undo 2 ops redo 2 ops | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1482 | // └───────┘ └────────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 882 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 884 | // └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 887 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 889 | // └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 892 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 894 | // └─────┬──────┘ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 900 | // loop ┌────────────┐ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 902 | // └─────┬──────┘ │ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 908 | // ┌────────────┐ │ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 910 | // └─────┬──────┘ │ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 913 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 915 | // └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 920 | // │ ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 922 | // │ └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 925 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 927 | // └────────────┘ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 11 | //! ┌────────────────────────┬─────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 13 | //! └────────────────────────┴─────────────────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 14 | //! ┌──────────────┬──────────────┬────────────────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 16 | //! └──────────────┴──────────────┴────────────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 17 | //! ┌──────────────────────────────────────────────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 18 | //! │ N LEB128 Change AtomLen │◁───┼───── Important metadata | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 19 | //! └──────────────────────────────────────────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 20 | //! ┌───────────────────┬────────────────────────┬─────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 22 | //! └───────────────────┴────────────────────────┴─────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 23 | //! ┌──────────────────────────────────────────────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 25 | //! └──────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 26 | //! ┌──────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 28 | //! └──────────────────────────────────────────────────────────────┘ | COMMENT |
| 89 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deny.toml | 1 | # This template contains all of the possible sections and their default values | COMMENT |
| LOW | deny.toml | 21 | # The triple can be any string, but only the target triples built in to | COMMENT |
| LOW | deny.toml | 41 | unmaintained = "warn" | COMMENT |
| LOW | deny.toml | 61 | #severity-threshold = | COMMENT |
| LOW | deny.toml | 81 | "ISC" | COMMENT |
| LOW | deny.toml | 101 | # 2. License isn't copyleft | COMMENT |
| LOW | deny.toml | 121 | # The name of the crate the clarification applies to | COMMENT |
| LOW | deny.toml | 141 | # visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field. | COMMENT |
| LOW | deny.toml | 161 | # * simplest-path - The path to the version with the fewest edges is highlighted | COMMENT |
| LOW | deny.toml | 181 | ] | COMMENT |
| LOW | cliff.toml | 1 | # git-cliff ~ default configuration file | COMMENT |
| LOW | cliff.toml | 81 | # skip_tags = "" | COMMENT |
| LOW | crates/delta/benches/rope.rs | 41 | } | COMMENT |
| LOW | crates/delta/benches/rope.rs | 61 | // }); | COMMENT |
| LOW | crates/delta/benches/rope.rs | 81 | // }); | COMMENT |
| LOW | crates/delta/benches/rope.rs | 101 | // }); | COMMENT |
| LOW | crates/delta/benches/rope.rs | 121 | // group.throughput(Throughput::Bytes(*size as u64)); | COMMENT |
| LOW | crates/json-float-consumer/src/lib.rs | 1 | //! Workspace member whose normal `loro` dependency must round-trip finite | COMMENT |
| LOW | crates/kv-store/src/sstable.rs | 21 | /// walk can retain its entire store decompressed. | COMMENT |
| LOW | crates/kv-store/src/sstable.rs | 41 | } | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 1 | //! # MemKvStore Documentation | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 21 | //! 3. Block Chunks: A series of data blocks containing key-value pairs. | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 41 | //! | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 61 | //! | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 81 | //! ┌──────────────────────────┐ | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 101 | //! The Block Meta section contains metadata for all blocks in the SSTable. | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 121 | //! Encoding: | COMMENT |
| LOW | crates/kv-store/src/block.rs | 361 | } | COMMENT |
| LOW | crates/generic-btree/src/lib.rs | 981 | } else { | COMMENT |
| LOW | crates/loro-internal/proptest-regressions/dag/test.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | crates/loro-internal/tests/test.rs | 1061 | // #[test] | COMMENT |
| LOW | …tes/loro-internal/tests/mergeable_container/pending.rs | 1 | //! Importing ops on mergeable children whose causal dependencies (the child's creation | COMMENT |
| LOW | …ro-internal/tests/mergeable_container/type_conflict.rs | 1 | //! Concurrent different-kind creation, resolved by the parent map's marker LWW. | COMMENT |
| LOW | …ates/loro-internal/tests/mergeable_container/delete.rs | 1 | //! Delete semantics for mergeable children. | COMMENT |
| LOW | …ates/loro-internal/tests/mergeable_container/delete.rs | 101 | COMMENT | |
| LOW | …ro-internal/tests/mergeable_container/discriminator.rs | 1 | //! Marker-based mergeable type-conflict resolution. | COMMENT |
| LOW | …es/loro-internal/tests/mergeable_container/snapshot.rs | 1 | //! Snapshot and update-import round-trips, including LWW recovery. | COMMENT |
| LOW | …internal/tests/mergeable_container/events_and_paths.rs | 161 | assert!(did_undo, "undo must report it did something"); | COMMENT |
| LOW | crates/loro-internal/examples/encoding.rs | 1 | use std::time::Instant; | COMMENT |
| LOW | crates/loro-internal/examples/encoding.rs | 141 | // // let times = 300; | COMMENT |
| LOW | crates/loro-internal/examples/encoding_parallel.rs | 1 | use bench_utils::{get_automerge_actions, TextAction}; | COMMENT |
| LOW | crates/loro-internal/examples/encoding_parallel.rs | 21 | // text.insert(&loro, pos, ins).unwrap(); | COMMENT |
| LOW | crates/loro-internal/examples/encoding_parallel.rs | 41 | // let mut c2 = LoroCore::new(Default::default(), Some(1)); | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 1 | // #[global_allocator] | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 21 | // } | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 41 | // let profiler = dhat::Profiler::builder().trim_backtraces(None).build(); | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 61 | // let pos = pos % (text.len() + 1); | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 81 | // } | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 101 | // concurrent_actors(200); | COMMENT |
| LOW | crates/loro-internal/benches/text_r.rs | 181 | let l = LoroDoc::new(); | COMMENT |
| LOW | crates/loro-internal/src/parent.rs | 101 | let container_id = target.associated_meta_container(); | COMMENT |
| LOW | crates/loro-internal/src/dag.rs | 81 | /// The replay base for diffing `a_id` into `b_id`: the meet when it is a | COMMENT |
| LOW | crates/loro-internal/src/dag.rs | 621 | /// causally after `v`. Replaying from `{v}` is safe because no concurrency | COMMENT |
| LOW | crates/loro-internal/src/dag.rs | 901 | /// staying concurrent with another, and the tree calculator's fast path | COMMENT |
| LOW | crates/loro-internal/src/fork.rs | 1 | //! The fork module provides functionality to create a new LoroDoc instance at a specified version | COMMENT |
| LOW | crates/loro-internal/src/fork.rs | 21 | //! | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 4721 | /// # Errors | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 4781 | }) | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 4801 | /// | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 4821 | /// Returns [`LoroError::MisuseDetachedContainer`] when called on a detached map. | COMMENT |
| 472 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/loro-wasm/index.ts | 467 | function decorateAllPrototypeMethods(prototype: object) { | CODE |
| LOW | crates/loro-wasm/scripts/post-rollup.ts | 44 | async function injectExplicitWasmReexports( | CODE |
| LOW | crates/loro-wasm/scripts/build.ts | 351 | async function stripReferenceTypesFeatureHint() { | CODE |
| LOW | loro-js/tests/movable-list-invalid-ops.test.ts | 113 | function assertSameResultOnEveryImportPath(json: JsonSchema, expected: unknown): void { | CODE |
| LOW | …o-js/tests/shallow-snapshot-deleted-containers.test.ts | 100 | function docWithRowsDeletedBeforeCut(rows: number, fillerOps: number) { | CODE |
| LOW | …o-js/tests/shallow-snapshot-deleted-containers.test.ts | 119 | function docWithChildRevivedFromDeletedParent(fillerOps: number) { | CODE |
| LOW | loro-js/tests/differential/harness.ts | 540 | function withoutNoOpSequenceEvents( | CODE |
| LOW | loro-js/src/codec/serde-columnar.ts | 27 | export function decodeColumnarVecMaybeWrapped(bytes: Uint8Array): Uint8Array[] { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 453 | export function decodeMovableListStateSnapshot( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 541 | export function encodeMovableListStateSnapshot( | CODE |
| LOW⚡ | loro-js/src/codec/state-snapshot.ts | 579 | export function decodeCounterStateSnapshot(bytes: Uint8Array): CounterStateSnapshot { | CODE |
| LOW⚡ | loro-js/src/codec/state-snapshot.ts | 584 | export function encodeCounterStateSnapshot(state: CounterStateSnapshot): Uint8Array { | CODE |
| LOW⚡ | loro-js/src/codec/state-snapshot.ts | 590 | export function decodeContainerStateSnapshot( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 612 | export function encodeContainerStateSnapshot(state: ContainerStateSnapshot): Uint8Array { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 632 | export function decodeContainerStateWrapper(bytes: Uint8Array): ContainerStateWrapper { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 643 | export function encodeContainerStateWrapper(wrapper: ContainerStateWrapper): Uint8Array { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 689 | export function decodeLazyStateSnapshotStore( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 717 | export function getLazyStateSnapshotContainer( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 732 | export function rewriteLazyStateSnapshotStore( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 822 | function decodePostcardUsizeVector(bytes: Uint8Array): number[] { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 835 | function encodePostcardUsizeVector(values: readonly number[]): Uint8Array { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 844 | function collectSortedMapKeysForDecode( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 855 | function collectSortedMapKeysForEncode( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 962 | function validateDecodedMovableList( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 1003 | function validateEncodedMovableList(state: MovableListStateSnapshot): void { | CODE |
| LOW | loro-js/src/codec/sstable.ts | 550 | function validateEntriesForEncoding(entries: readonly SstableEntry[]): void { | CODE |
| LOW | loro-js/src/codec/version.ts | 6 | export function readPostcardVersionVector(reader: PostcardReader): Id[] { | CODE |
| LOW⚡ | loro-js/src/codec/version.ts | 20 | export function writePostcardVersionVector( | CODE |
| LOW⚡ | loro-js/src/codec/version.ts | 30 | export function decodePostcardVersionVector(bytes: Uint8Array): Id[] { | CODE |
| LOW⚡ | loro-js/src/codec/version.ts | 37 | export function encodePostcardVersionVector(version: VersionVector): Uint8Array { | CODE |
| LOW | loro-js/src/codec/change-block-codec.ts | 762 | function assertNonnegativePosition(value: number): number { | CODE |
| LOW | loro-js/src/codec/container-id.ts | 60 | export function containerTypeToHistoricalByte(type: ContainerTypeValue): number { | CODE |
| LOW | loro-js/src/codec/container-id.ts | 80 | export function containerTypeFromHistoricalByte(value: number): ContainerTypeValue { | CODE |
| LOW⚡ | loro-js/src/codec/container-id.ts | 183 | export function decodePostcardContainerId(bytes: Uint8Array): ContainerId { | CODE |
| LOW⚡ | loro-js/src/codec/container-id.ts | 190 | export function encodePostcardContainerId(id: ContainerId): Uint8Array { | CODE |
| LOW⚡ | loro-js/src/codec/container-id.ts | 196 | export function readPostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/codec/container-id.ts | 212 | export function writePostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/codec/container-id.ts | 224 | export function decodePostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/codec/container-id.ts | 233 | export function encodePostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/runtime/jsonpath.ts | 66 | export function compileJsonPathEventMatcher( | CODE |
| LOW | loro-js/src/runtime/document.ts | 9140 | function hasMaterializedSequenceInsertions( | CODE |
| LOW | loro-js/src/runtime/document.ts | 9242 | function appendToTrailingListInsert( | CODE |
| LOW | loro-js/src/runtime/document.ts | 9772 | function lowerBoundIndexedOperation( | CODE |
| LOW | loro-js/src/runtime/document.ts | 9839 | function historyRecordsToJsonSchema( | CODE |
| LOW | loro-js/src/runtime/document.ts | 9863 | function historyRecordToJsonChange( | CODE |
| LOW | loro-js/src/runtime/document.ts | 10131 | function jsonSchemaToHistoryRecords(schema: JsonSchema): HistoryRecord[] { | CODE |
| LOW | loro-js/src/runtime/document.ts | 10429 | function jsonNumberToChangeLoroValue(value: number): ChangeLoroValue { | CODE |
| LOW | loro-js/src/runtime/document.ts | 10439 | function jsonValueToChangeLoroValue( | CODE |
| LOW | loro-js/src/runtime/document.ts | 10627 | function importStatusBetweenVersions( | CODE |
| LOW | loro-js/src/runtime/containers.ts | 3367 | function writePostcardCursorContainer( | CODE |
| LOW | loro-js/src/runtime/containers.ts | 3382 | function readPostcardCursorContainer(reader: PostcardReader): CodecContainerId { | CODE |
| LOW | packages/fractional-index/src/index.ts | 370 | function jitterBytesWithNormalized( | CODE |
| LOW | packages/fractional-index/src/index.ts | 584 | function assertNonNegativeSafeInteger( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/loro-internal/src/state.rs | 736 | // We can utilize the output of the Diff to determine which child nodes should be revived. | COMMENT |
| MEDIUM | crates/loro-internal/src/encoding/json_schema.rs | 1743 | /// structure. Redacted documents maintain seamless collaboration capabilities with both | COMMENT |
| MEDIUM | crates/loro-internal/src/state/tree_state.rs | 1456 | // The code will be more robust and easy to understand | COMMENT |
| MEDIUM | crates/loro-wasm/src/lib.rs | 5623 | /// a list structure, we can utilize the ID of each item/character on List CRDT or | COMMENT |
| MEDIUM | crates/loro/src/lib.rs | 2170 | /// a document, it is more effective to leverage the unique ID of each item/character | COMMENT |
| MEDIUM | crates/loro/src/lib.rs | 3035 | /// a document, it is more effective to leverage the unique ID of each item/character | COMMENT |
| MEDIUM | crates/loro/src/lib.rs | 3718 | /// a document, it is more effective to leverage the unique ID of each item/character | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/loro-internal/src/loro.rs | 3185 | // Step 1: Export the initial state from the GC snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3192 | // Step 2: Create a new document and import the initial snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3198 | // Step 3: Export updates since the shallow start version vector to the current version. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3201 | // Step 4: Import these updates into the new document. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3205 | // Step 5: Checkout to the current state's frontiers and compare the states. | COMMENT |
| LOW | crates/loro-internal/src/loro.rs | 1723 | /// NOTE: This method will make the doc enter the **detached mode**. | COMMENT |
| LOW | …oro-internal/src/encoding/outdated_encode_reordered.rs | 39 | /// NOTE: This method expects that the remote_changes are already sorted by lamport value | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/loro-internal/src/loro.rs | 3185 | // Step 1: Export the initial state from the GC snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3192 | // Step 2: Create a new document and import the initial snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3198 | // Step 3: Export updates since the shallow start version vector to the current version. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3201 | // Step 4: Import these updates into the new document. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 3205 | // Step 5: Checkout to the current state's frontiers and compare the states. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/examples/benches/bench_text.rs | 299 | "section={section_idx}; paragraph={i}; lorem ipsum dolor sit amet, consectetur adipiscing elit. " | CODE |
| LOW | crates/examples/benches/bench_text.rs | 299 | "section={section_idx}; paragraph={i}; lorem ipsum dolor sit amet, consectetur adipiscing elit. " | CODE |
| LOW | crates/loro-common/src/internal_string.rs | 277 | let long_str1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut la | CODE |
| LOW | crates/loro-common/src/internal_string.rs | 277 | let long_str1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut la | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/loro-internal/src/handler.rs | 2667 | // TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/create-release-pr.yml | 57 | # Check if the output contains any error messages | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/examples/import_overlap_measure.py | 22 | CODE |