A blazingly fast multi-language serialization framework for idiomatic domain objects, schema IDL, and cross-language data exchange.
This report presents the forensic synthetic code analysis of apache/fory, a Java project with 4,416 GitHub stars. SynthScan v2.0 examined 712,110 lines of code across 2177 source files, recording 3117 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 5.4 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3117 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/setup.py | 68 | def _is_retryable_network_error(output: str) -> bool: | CODE |
| LOW | python/pyfory/registry.py | 186 | def _accepts_n_positional_args(factory, nargs: int) -> bool: | CODE |
| LOW | python/pyfory/registry.py | 325 | def get_or_create_encoded_meta_string(self, data: bytes, hashcode: int) -> EncodedMetaString: | CODE |
| LOW | python/pyfory/registry.py | 995 | def get_registered_user_type_id(self, cls): | CODE |
| LOW | python/pyfory/registry.py | 1007 | def _load_metabytes_to_type_info(self, ns_metabytes, type_metabytes): | CODE |
| LOW | python/pyfory/registry.py | 1108 | def _get_nonexist_enum_type_info(self): | CODE |
| LOW | python/pyfory/registry.py | 1161 | def _build_type_info_from_typedef(self, type_def): | CODE |
| LOW | python/pyfory/registry.py | 1181 | def _local_type_info_for_typedef(self, type_def): | CODE |
| LOW | python/pyfory/registry.py | 1193 | def _check_remote_type_def_key(self, type_key): | CODE |
| LOW⚡ | python/pyfory/registry.py | 1220 | def _check_remote_type_def_limit(self, type_def): | CODE |
| LOW⚡ | python/pyfory/registry.py | 1230 | def _check_remote_type_def_meta(self, type_id, namespace, typename, user_type_id): | CODE |
| LOW⚡ | python/pyfory/registry.py | 1238 | def _read_and_build_type_info(self, buffer): | CODE |
| LOW | python/pyfory/policy.py | 468 | def check_restored_reduced_object(self, obj, **kwargs): | CODE |
| LOW | python/pyfory/converter.py | 60 | def supports_compatible_scalar_conversion(remote_type_id: int, local_type_id: int) -> bool: | CODE |
| LOW | python/pyfory/converter.py | 208 | def _decimal_from_float_value(value: float) -> decimal.Decimal: | CODE |
| LOW | python/pyfory/converter.py | 353 | def compatible_scalar_convert(value, remote_type_id: int, local_type_id: int): | CODE |
| LOW | python/pyfory/converter.py | 365 | def _read_compatible_scalar_value(read_context, remote_serializer, remote_type_id: int): | CODE |
| LOW | python/pyfory/types.py | 71 | def _is_special_compiled_primitive_type(type_) -> bool: | CODE |
| LOW | python/pyfory/types.py | 193 | def _is_special_compiled_primitive_array_type(type_) -> bool: | CODE |
| LOW | python/pyfory/context.py | 107 | def write_encoded_meta_string(self, buffer, encoded_meta_string: EncodedMetaString): | CODE |
| LOW | python/pyfory/type_util.py | 331 | def get_homogeneous_tuple_elem_type(type_or_args): | CODE |
| LOW | python/pyfory/collection.py | 147 | def _write_same_type_has_null(self, write_context, value, serializer): | CODE |
| LOW | python/pyfory/serializer.py | 65 | def _resolve_validated_module_attr(policy, module_name, attr_name, is_local=False): | CODE |
| LOW | python/pyfory/serializer.py | 70 | def _resolve_validated_module_qualname(policy, module_name, qualname): | CODE |
| LOW | python/pyfory/serializer.py | 130 | def _authorize_callable_materialization(policy, callable_type, **kwargs): | CODE |
| LOW | python/pyfory/serializer.py | 161 | def _resolve_validated_bound_method(policy, obj, method_name, is_local): | CODE |
| LOW | python/pyfory/serializer.py | 341 | def _can_use_small_decimal_encoding(unscaled: int) -> bool: | CODE |
| LOW | python/pyfory/serializer.py | 525 | def _build_pyarray_typecode_tables(): | CODE |
| LOW | python/pyfory/serializer.py | 632 | def fory_array_serializer_type(type_id): | CODE |
| LOW | python/pyfory/serializer.py | 680 | def _build_pyarray_serializer(self, type_resolver, type_id): | CODE |
| LOW | python/pyfory/serializer.py | 687 | def _build_ndarray_serializer(self, type_resolver, type_id): | CODE |
| LOW | python/pyfory/codegen.py | 64 | def gen_write_nullable_basic_stmts( | CODE |
| LOW | python/pyfory/codegen.py | 83 | def gen_read_nullable_basic_stmts( | CODE |
| LOW | python/pyfory/struct.py | 157 | def _is_dynamic_nullable_default(type_hint: type) -> bool: | CODE |
| LOW | python/pyfory/struct.py | 328 | def resolve_missing_field_default( | CODE |
| LOW | python/pyfory/struct.py | 377 | def _resolve_missing_field_default(dc_field, type_resolver, type_hints): | CODE |
| LOW | python/pyfory/struct.py | 381 | def build_default_values_factory(type_resolver, type_hints, dc_fields=()): | CODE |
| LOW | python/pyfory/struct.py | 528 | def _build_missing_field_defaults(self): | CODE |
| LOW | python/pyfory/struct.py | 768 | def _read_missing_field_value( | CODE |
| LOW | python/pyfory/struct.py | 1085 | def compute_struct_fingerprint(type_resolver, field_names, serializers, nullable_map=None, field_infos_list=None): | CODE |
| LOW | python/pyfory/struct.py | 1156 | def _normalize_schema_fingerprint_type_id(type_id): | CODE |
| LOW | python/pyfory/struct.py | 1175 | def _leaf_schema_fingerprint_type_id(type_resolver, type_hint): | CODE |
| LOW | python/pyfory/struct.py | 1193 | def _build_schema_fingerprint_type(type_resolver, type_hint, nullable, track_ref, include_ref, include_nullable=True): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 102 | def test_collection_list_mixed_type_shared_reference(xlang): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 113 | def test_collection_tuple_shared_reference_python_mode(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 123 | def test_collection_set_element_alias_with_outer_reference_python_mode(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 134 | def test_map_shared_value_aliases_with_none_key(xlang): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 144 | def test_map_self_cycle_and_shared_submap_python_mode(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 155 | def test_map_key_alias_with_outer_reference_python_mode(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 165 | def test_struct_shared_fields_and_cross_container_alias_python_mode(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 185 | def test_struct_field_ref_override_controls_alias_preservation(xlang): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 207 | def test_collection_ref_override_unsets_tracking_bit(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 225 | def test_ref_annotation_preserves_override(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 232 | def test_collection_ref_override_disables_alias_preservation(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 248 | def test_struct_self_cycle_and_nested_alias_python_mode(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 265 | def test_collection_mixed_type_primitive_ref_value_regression(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 294 | def test_invalid_top_level_ref_id_raises_value_error(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 307 | def test_invalid_collection_element_ref_id_raises_value_error(): | CODE |
| LOW | python/pyfory/tests/test_ref_tracking.py | 342 | def test_primitive_list_fastpath_mutation_typeerror(): | CODE |
| LOW | python/pyfory/tests/test_buffer.py | 152 | def test_to_bytes_rejects_out_of_bounds_range(): | CODE |
| 1190 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .spi.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | licenserc.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .markdownlint.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/struct_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/array_primitive.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/skip.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/type_def.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/graph_memory_budget_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/slice.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/map_primitive_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/field_serializer.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/fory.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/fory.go | 481 | } | COMMENT |
| LOW | go/fory/fory.go | 681 | } | COMMENT |
| LOW | go/fory/fory.go | 861 | } | COMMENT |
| LOW | go/fory/type_resolver_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/time.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/util_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/field_info.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/field_info.go | 581 | Ref bool | COMMENT |
| LOW | go/fory/stream.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/types.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/decimal.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/test_helper_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/buffer_bench_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/string_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/fory_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/util.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/util.go | 81 | // Float32frombits returns the floating-point number corresponding | COMMENT |
| LOW | go/fory/endian_big.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/optional_serializer.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/serializer.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/serializer.go | 21 | "reflect" | COMMENT |
| LOW | go/fory/serializer.go | 41 | // - refMode: controls reference/null handling behavior: | COMMENT |
| LOW | go/fory/serializer.go | 61 | // type information validation, and delegating to ReadData for the actual data deserialization. | COMMENT |
| LOW | go/fory/serializer.go | 81 | COMMENT | |
| LOW | go/fory/serializer.go | 101 | // - typeInfo: pre-read type information; do NOT read type info again from buffer | COMMENT |
| LOW | go/fory/serializer.go | 121 | // | COMMENT |
| LOW | go/fory/ref_override_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/ref_resolver.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/writer.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/buffer_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/buffer.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/enum_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/evolving.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/doc.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/extension.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/tag_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/primitive.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/struct_init.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/primitive_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/slice_primitive_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/type_resolver.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/type_def_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/reader.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/stream_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/type_test.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/map.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | go/fory/slice_primitive.go | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| 990 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/pyfory/tests/xlang_test_main.py | 1341 | # Group 2: Java sends null, Python receives null (like C++) | COMMENT |
| HIGH | python/pyfory/tests/xlang_test_main.py | 1377 | # Verify Group 2: Java sent null, Python receives null (like C++ with std::optional) | COMMENT |
| HIGH | python/pyfory/tests/xlang_test_main.py | 1309 | Java sends: Group 1 (non-nullable with values) + Group 2 (nullable with null) | STRING |
| HIGH | python/pyfory/tests/test_serializer.py | 753 | assert df2.equals(df) | CODE |
| HIGH | python/pyfory/format/columnar.py | 112 | """Append a value (can be None for null).""" | STRING |
| HIGH | ci/release.py | 109 | "git add LICENSE && git commit -m 'remove benchmark from license'", shell=True | CODE |
| HIGH⚡ | compiler/fory_compiler/tests/test_generated_code.py | 658 | "registerGeneratedStruct(fory, _envelopeForySchema, id: null, name: 'demo.Envelope');" | CODE |
| HIGH⚡ | compiler/fory_compiler/tests/test_generated_code.py | 662 | "registerGeneratedEnum(fory, _envelopeKindForySchema, id: null, name: 'demo.Envelope.Kind');" | CODE |
| HIGH⚡ | compiler/fory_compiler/tests/test_generated_code.py | 666 | "fory.registerSerializer(Envelope_Choice, const _Envelope_ChoiceForySerializer(), id: null, name: 'demo.Envelope | CODE |
| HIGH | compiler/fory_compiler/tests/test_generated_code.py | 895 | assert "Objects.equals(f16, that.f16)" in java_output | CODE |
| HIGH | compiler/fory_compiler/tests/test_generated_code.py | 896 | assert "Objects.equals(optF16, that.optF16)" in java_output | CODE |
| HIGH | compiler/fory_compiler/tests/test_generated_code.py | 944 | assert "index == that.index && deepValueEquals(value, that.value)" in java_output | CODE |
| HIGH | compiler/fory_compiler/tests/test_javascript_codegen.py | 86 | assert "email?: string | null;" in output | CODE |
| HIGH | compiler/fory_compiler/tests/test_dart_generator.py | 71 | "registerGeneratedStruct(fory, _scalarForySchema, id: 100, name: null);" | CODE |
| HIGH | compiler/fory_compiler/tests/test_dart_generator.py | 101 | "registerGeneratedEnum(fory, _statusForySchema, id: 101, name: null);" | CODE |
| HIGH | compiler/fory_compiler/tests/test_dart_generator.py | 143 | "fory.registerSerializer(Animal, const _AnimalForySerializer(), id: 101, name: null);" | CODE |
| HIGH | compiler/fory_compiler/tests/test_dart_generator.py | 172 | assert "List<int>? maybeInts = null;" in file.content | CODE |
| HIGH⚡ | compiler/fory_compiler/tests/test_dart_generator.py | 333 | "registerGeneratedStruct(fory, _envelopeForySchema, id: null, name: 'demo.Envelope');" | CODE |
| HIGH⚡ | compiler/fory_compiler/tests/test_dart_generator.py | 337 | "registerGeneratedStruct(fory, _envelopePayloadForySchema, id: null, name: 'demo.Envelope.Payload');" | CODE |
| HIGH | compiler/fory_compiler/tests/test_service_codegen.py | 2373 | Greeter.BindService(metadataBinder, null); | CODE |
| HIGH | compiler/fory_compiler/tests/test_service_codegen.py | 2376 | metadataBinder.Handlers.TrueForAll(static handler => handler is null), | CODE |
| HIGH | compiler/fory_compiler/tests/test_service_codegen.py | 2542 | return (Method<TRequest, TResponse>)field.GetValue(null)!; | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 924 | f"{ind} return index == that.index && deepValueEquals(value, that.value);" | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 928 | f"{ind} return index == that.index && Objects.equals(value, that.value);" | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 928 | f"{ind} return index == that.index && Objects.equals(value, that.value);" | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1901 | lines.append(" return sb.toString();") | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1913 | " if (left == null || right == null) {", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1913 | " if (left == null || right == null) {", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1919 | " if (left instanceof java.util.List && right instanceof java.util.List) {", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1949 | " return Objects.equals(left, right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1954 | " return Arrays.equals((boolean[]) left, (boolean[]) right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1957 | " return Arrays.equals((byte[]) left, (byte[]) right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1960 | " return Arrays.equals((short[]) left, (short[]) right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1963 | " return Arrays.equals((int[]) left, (int[]) right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1966 | " return Arrays.equals((long[]) left, (long[]) right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1969 | " return Arrays.equals((float[]) left, (float[]) right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1972 | " return Arrays.equals((double[]) left, (double[]) right);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/java.py | 1981 | " if (value == null) {", | CODE |
| HIGH | compiler/fory_compiler/generators/java.py | 813 | lines.append(f"{ind} if (v == null) {{") | CODE |
| HIGH | compiler/fory_compiler/generators/java.py | 895 | lines.append(f"{ind} if (v == null) {{") | CODE |
| HIGH | compiler/fory_compiler/generators/java.py | 1932 | " if (left instanceof java.util.Map && right instanceof java.util.Map) {", | CODE |
| HIGH | compiler/fory_compiler/generators/java.py | 2033 | lines.append(" if (o == null || getClass() != o.getClass()) return false;") | CODE |
| HIGH | compiler/fory_compiler/generators/java.py | 2044 | f"Arrays.equals({field_name}, that.{field_name})" | CODE |
| HIGH | compiler/fory_compiler/generators/java.py | 2074 | f"Objects.equals({field_name}, that.{field_name})" | CODE |
| HIGH | compiler/fory_compiler/generators/java.py | 2078 | f"Objects.equals({field_name}, that.{field_name})" | CODE |
| HIGH | compiler/fory_compiler/generators/dart.py | 905 | f"{self.indent_str * (indent + 1)}bool operator ==(Object other) => identical(this, other) || (other is | CODE |
| HIGH | compiler/fory_compiler/generators/dart.py | 1298 | f"{self.indent_str * (indent + 2)}if (existing != null) return existing;", | CODE |
| HIGH | compiler/fory_compiler/generators/cpp.py | 2091 | lines.append(" if (!remote || remote->type_id != expected->type_id) {") | CODE |
| HIGH | compiler/fory_compiler/generators/cpp.py | 2104 | lines.append(" if (ref_mode == RefMode::Tracking && ctx.track_ref()) {") | CODE |
| HIGH | compiler/fory_compiler/generators/cpp.py | 2163 | " if (ref_flag != NOT_NULL_VALUE_FLAG && ref_flag != REF_VALUE_FLAG) {" | CODE |
| HIGH | compiler/fory_compiler/generators/cpp.py | 2220 | " if (ref_flag != NOT_NULL_VALUE_FLAG && ref_flag != REF_VALUE_FLAG) {" | CODE |
| HIGH | compiler/fory_compiler/generators/go.py | 549 | f"func (u {type_name}) IsSet() bool {{ return u.case_ != {case_type}Invalid && u.value != nil }}" | CODE |
| HIGH | compiler/fory_compiler/generators/go.py | 575 | lines.append(f"\tif u.case_ == {case_type}Invalid || u.value == nil {{") | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/javascript.py | 1195 | " serialize: (value: T | null) => Uint8Array;", | CODE |
| HIGH | compiler/fory_compiler/generators/services/java.py | 208 | lines.append(" if (local == null) {") | CODE |
| HIGH | compiler/fory_compiler/generators/services/java.py | 211 | lines.append(" if (local == null) {") | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/services/csharp.py | 339 | f"{self.indent_str * 2}public virtual {response_type} {method_name}({request_type} request, grpc::Metadata? | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/services/csharp.py | 346 | f"{self.indent_str * 3}return CallInvoker.BlockingUnaryCall({descriptor}, null, options, request);", | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/services/csharp.py | 349 | f"{self.indent_str * 2}public virtual grpc::AsyncUnaryCall<{response_type}> {async_name}({request_type} requ | CODE |
| HIGH⚡ | compiler/fory_compiler/generators/services/csharp.py | 356 | f"{self.indent_str * 3}return CallInvoker.AsyncUnaryCall({descriptor}, null, options, request);", | CODE |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/org/apache/fory/idl_tests/ScalaIdlRoundTripTest.scala | 159 | enumListInfo.genericType.getTypeParameter0.getTypeRef.getTypeExtMeta.typeId() shouldBe | CODE |
| CRITICAL | …/java/org/apache/fory/GuavaOptionalDependencyTest.java | 195 | byte[] bytes = fory.serialize(com.google.common.collect.ImmutableList.of("fory")); | CODE |
| CRITICAL | …/java/org/apache/fory/GuavaOptionalDependencyTest.java | 197 | if (!com.google.common.collect.ImmutableList.of("fory").equals(value)) { | CODE |
| CRITICAL | …t/java/org/apache/fory/codegen/CodegenContextTest.java | 117 | org.apache.fory.codegen.javalangnameconflict.Object.class.getPackage().getName()); | CODE |
| CRITICAL | …st/java/org/apache/fory/xlang/PyCrossLanguageTest.java | 498 | org.apache.fory.serializer.DeferedLazySerializer.class.getDeclaredMethod("getSerializer"); | CODE |
| CRITICAL | …src/test/java/org/apache/fory/xlang/XlangTestBase.java | 989 | struct1.union = org.apache.fory.type.union.Union2.ofT1("hello"); | CODE |
| CRITICAL | …src/test/java/org/apache/fory/xlang/XlangTestBase.java | 993 | struct2.union = org.apache.fory.type.union.Union2.ofT2(42L); | CODE |
| CRITICAL | …t/java/org/apache/fory/resolver/ClassResolverTest.java | 1059 | org.apache.fory.test.bean.Foo.create(), org.apache.fory.test.bean.Foo.create()); | CODE |
| CRITICAL | …/main/java/org/apache/fory/serializer/FieldGroups.java | 278 | org.apache.fory.serializer.collection.PrimitiveListSerializers.createArraySerializer( | CODE |
| CRITICAL | …main/java/org/apache/fory/reflect/ReflectionUtils.java | 713 | org.apache.fory.collection.Collections.newClassKeyCacheMap(); | CODE |
| CRITICAL | …/main/java/org/apache/fory/resolver/ClassResolver.java | 1627 | org.apache.fory.serializer.CodegenSerializer.loadCodegenSerializer( | CODE |
| CRITICAL | …/main/java/org/apache/fory/resolver/XtypeResolver.java | 1068 | new org.apache.fory.serializer.BufferSerializers.ByteBufferSerializer( | CODE |
| CRITICAL | …/main/java/org/apache/fory/resolver/XtypeResolver.java | 1076 | new org.apache.fory.serializer.BufferSerializers.ByteBufferSerializer( | CODE |
| CRITICAL | …ory/annotation/processing/ForyStructProcessorTest.java | 971 | org.apache.fory.type.Float16.fromBits((short) 0x0000), | CODE |
| CRITICAL | …ory/annotation/processing/ForyStructProcessorTest.java | 972 | org.apache.fory.type.Float16.fromBits((short) 0x3C00))); | CODE |
| CRITICAL | …/org/apache/fory/format/type/ArrowSchemaConverter.java | 118 | new org.apache.arrow.vector.types.pojo.Field( | CODE |
| CRITICAL | …/org/apache/fory/format/type/ArrowSchemaConverter.java | 123 | return new org.apache.arrow.vector.types.pojo.Field( | CODE |
| CRITICAL | …/org/apache/fory/format/type/ArrowSchemaConverter.java | 138 | return new org.apache.arrow.vector.types.pojo.Schema(arrowFields, forySchema.metadata()); | CODE |
| CRITICAL | …ava/org/apache/fory/json/codec/ClosedSubtypeCodec.java | 304 | long hash = org.apache.fory.json.meta.JsonFieldNameHash.hash(property); | CODE |
| CRITICAL | …/org/apache/fory/json/resolver/JsonSharedRegistry.java | 352 | long hash = org.apache.fory.json.meta.JsonFieldNameHash.hash(name); | CODE |
| CRITICAL | …/apache/fory/scala/internal/ForySerializerMacros.scala | 1090 | org.apache.fory.util.DefaultValueUtils.getScalaDefaultValue( | CODE |
| CRITICAL | …/apache/fory/scala/internal/ForySerializerMacros.scala | 1281 | org.apache.fory.reflect.FieldAccessor.createAccessor( | CODE |
| CRITICAL | benchmarks/java/run.sh | 182 | BENCHMARK_REGEX="org.apache.fory.benchmark.XlangBenchmark.BM_(${SERIALIZERS})_(${DATA_TYPES})_(Serialize|Deserialize)" | CODE |
| CRITICAL | …main/java/org/apache/fory/benchmark/ZeroCopySuite.java | 270 | return org.apache.fory.benchmark.state.FstState.FstBenchmarkState.serialize( | CODE |
| CRITICAL | …main/java/org/apache/fory/benchmark/ZeroCopySuite.java | 275 | return org.apache.fory.benchmark.state.FstState.FstBenchmarkState.deserialize( | CODE |
| CRITICAL⚡ | …c/main/java/org/apache/fory/benchmark/data/Struct.java | 148 | + " return org.apache.fory.benchmark.data.Struct.toString(this);\n" | CODE |
| CRITICAL⚡ | …c/main/java/org/apache/fory/benchmark/data/Struct.java | 151 | + " return org.apache.fory.benchmark.data.Struct.equalsWith(this, o);\n" | CODE |
| CRITICAL⚡ | …c/main/java/org/apache/fory/benchmark/data/Struct.java | 154 | + " return org.apache.fory.benchmark.data.Struct.calcHashCode(this);\n" | CODE |
| CRITICAL⚡ | compiler/fory_compiler/generators/services/scala.py | 500 | " com.google.common.util.concurrent.MoreExecutors.directExecutor())", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/annotation.py | 29 | CODE | |
| LOW | python/pyfory/__init__.py | 18 | CODE | |
| LOW | python/pyfory/__init__.py | 19 | CODE | |
| LOW | python/pyfory/__init__.py | 19 | CODE | |
| LOW | python/pyfory/__init__.py | 29 | CODE | |
| LOW | python/pyfory/__init__.py | 34 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| LOW | python/pyfory/__init__.py | 36 | CODE | |
| 218 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/pyfory/policy.py | 147 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/policy.py | 149 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/policy.py | 193 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/policy.py | 195 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/policy.py | 356 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/policy.py | 358 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1073 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1075 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1393 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1395 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1588 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1590 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1606 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1608 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1747 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/xlang_test_main.py | 1749 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 87 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 89 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 254 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 256 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 292 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 294 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 337 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 339 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 425 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 427 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 1674 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/xlang_test_main.py | 1676 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/test_struct.py | 1526 | # ============================================================================ | COMMENT |
| MEDIUM | python/pyfory/tests/test_struct.py | 1528 | # ============================================================================ | COMMENT |
| MEDIUM | examples/cpp/hello_world/CMakeLists.txt | 30 | # ============================================================================= | COMMENT |
| MEDIUM | examples/cpp/hello_world/CMakeLists.txt | 32 | # ============================================================================= | COMMENT |
| MEDIUM | examples/cpp/hello_row/CMakeLists.txt | 30 | # ============================================================================= | COMMENT |
| MEDIUM | examples/cpp/hello_row/CMakeLists.txt | 32 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 40 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 42 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 94 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 96 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 127 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 129 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 154 | # ============================================================================= | COMMENT |
| MEDIUM | benchmarks/cpp/CMakeLists.txt | 156 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/README.md | 884 | except Exception as e: | CODE |
| LOW | python/README.md | 1034 | except Exception as e: | CODE |
| LOW | python/README.md | 1042 | except Exception as e: | CODE |
| LOW | python/pyfory/codegen.py | 164 | except Exception as e: | CODE |
| LOW | python/pyfory/tests/test_stateful_reproduction.py | 127 | except Exception as e: | CODE |
| MEDIUM | python/pyfory/tests/test_stateful_reproduction.py | 128 | print(f"Error in repr/comparison: {e}") | CODE |
| LOW | python/pyfory/tests/test_metastring.py | 92 | except Exception as e: | CODE |
| LOW | python/pyfory/tests/test_thread_safe.py | 68 | except Exception as e: | CODE |
| LOW | python/pyfory/tests/test_thread_safe.py | 165 | except Exception as e: | CODE |
| MEDIUM | python/pyfory/tests/test_thread_safe.py | 62 | def serialize_deserialize(thread_id): | CODE |
| MEDIUM | python/pyfory/tests/test_thread_safe.py | 159 | def serialize_data(thread_id): | CODE |
| LOW | python/pyfory/meta/test_meta_compressor.py | 97 | except Exception as e: | CODE |
| MEDIUM | python/pyfory/meta/test_meta_compressor.py | 87 | def compress_worker(): | CODE |
| MEDIUM | python/pyfory/meta/typedef.py | 1003 | def _numpy_uint8_type(): | CODE |
| LOW | python/pyfory/meta/typedef.py | 251 | except Exception: | CODE |
| LOW | python/pyfory/meta/typedef.py | 467 | except Exception: | CODE |
| LOW | python/pyfory/meta/typedef.py | 484 | except Exception: | CODE |
| LOW | python/pyfory/meta/typedef.py | 490 | except Exception: | CODE |
| LOW | python/pyfory/meta/typedef.py | 1220 | except Exception as e: | CODE |
| LOW | python/pyfory/meta/typedef.py | 1350 | except Exception as e: | CODE |
| LOW | …egration_tests/idl_tests/python/idl_tests/roundtrip.py | 214 | except Exception: | CODE |
| MEDIUM | ci/build_linux_wheels.py | 202 | print(f"Error running docker: {e}", file=sys.stderr) | CODE |
| LOW | ci/tasks/java.py | 47 | except Exception: | CODE |
| MEDIUM | ci/tasks/java.py | 25 | def get_jdk_major_version(): | CODE |
| LOW | ci/tasks/rust.py | 55 | except Exception as e: | CODE |
| LOW | ci/tasks/rust.py | 63 | except Exception as e: | CODE |
| LOW | docs/guide/python/troubleshooting.md | 159 | except Exception as e: | CODE |
| LOW | docs/guide/python/troubleshooting.md | 167 | except Exception as e: | CODE |
| MEDIUM | benchmarks/go/benchmark_report.py | 448 | print("Error: No benchmark results found.") | CODE |
| MEDIUM | benchmarks/go/benchmark_report.py | 453 | print("Error: Could not parse benchmark results.") | CODE |
| MEDIUM | benchmarks/python/fory_benchmark.py | 544 | print(f"Error: Invalid benchmark names: {', '.join(invalid)}") | CODE |
| MEDIUM | benchmarks/python/fory_benchmark.py | 559 | print(f"Error: Invalid serializer names: {', '.join(invalid)}") | CODE |
| MEDIUM | benchmarks/python/fory_benchmark.py | 563 | print("Error: msgpack is not installed.") | CODE |
| LOW | benchmarks/dart/benchmark_report.py | 128 | except Exception: | CODE |
| MEDIUM | benchmarks/dart/benchmark_report.py | 121 | def detect_memory_gb() -> str: | CODE |
| LOW | benchmarks/cpp/benchmark_report.py | 113 | except Exception as e: | CODE |
| MEDIUM | benchmarks/cpp/benchmark_report.py | 102 | def get_system_info(): | CODE |
| MEDIUM⚡ | compiler/fory_compiler/cli.py | 1120 | print(f"Error: Root not found: {root}", file=sys.stderr) | CODE |
| MEDIUM⚡ | compiler/fory_compiler/cli.py | 1123 | print(f"Error: Root is not a directory: {root}", file=sys.stderr) | CODE |
| MEDIUM⚡ | compiler/fory_compiler/cli.py | 1132 | print(f"Error deleting {file_path}: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 229 | print(f"Error reading {file_path}: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 233 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 341 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 700 | print(f"Error: Unknown language(s): {', '.join(invalid)}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 743 | print(f"Error reading {file_path}: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 746 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 781 | print(f"Error: {error}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 806 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 903 | print(f"Error reading {file_path}: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 907 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 1021 | print("Error: No target languages specified.", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 1028 | print(f"Error: Unknown language(s): {', '.join(invalid)}", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 1065 | print("Error: --grpc-python-mode requires --grpc.", file=sys.stderr) | CODE |
| MEDIUM | compiler/fory_compiler/cli.py | 1085 | print(f"Error: File not found: {file_path}", file=sys.stderr) | CODE |
| LOW | compiler/fory_compiler/generators/java.py | 151 | except Exception: | CODE |
| LOW | compiler/fory_compiler/generators/java.py | 171 | except Exception: | CODE |
| LOW | compiler/fory_compiler/generators/dart.py | 361 | except Exception: | CODE |
| LOW | compiler/fory_compiler/generators/dart.py | 370 | except Exception: | CODE |
| LOW | compiler/fory_compiler/generators/cpp.py | 793 | except Exception: | CODE |
| LOW | compiler/fory_compiler/generators/cpp.py | 819 | except Exception: | CODE |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | compiler/fory_compiler/tests/test_scala_generator.py | 0 | import "common.fdl"; message holder [id=201] { optional common common = 1; } | STRING |
| HIGH | compiler/fory_compiler/tests/test_kotlin_generator.py | 0 | import "common.fdl"; message holder [id=201] { optional common common = 1; } | STRING |
| HIGH | compiler/fory_compiler/tests/test_generated_code.py | 0 | import "common.fdl"; message holder [id=201] { optional common common = 1; } | STRING |
| HIGH | compiler/fory_compiler/tests/test_scala_generator.py | 0 | package app; import "common.fdl"; message holder [id=201] { common common = 1; } | STRING |
| HIGH | compiler/fory_compiler/tests/test_kotlin_generator.py | 0 | package app; import "common.fdl"; message holder [id=201] { common common = 1; } | STRING |
| HIGH | compiler/fory_compiler/tests/test_generated_code.py | 0 | package app; import "common.fdl"; message holder [id=201] { common common = 1; } | STRING |
| HIGH | compiler/fory_compiler/tests/test_swift_generator.py | 0 | package demo; message money [id=100] { decimal amount = 1; } union valueunion [id=101] { decimal amount = 1; money money | STRING |
| HIGH | compiler/fory_compiler/tests/test_javascript_codegen.py | 0 | package demo; message money [id=100] { decimal amount = 1; } union valueunion [id=101] { decimal amount = 1; money money | STRING |
| HIGH | compiler/fory_compiler/tests/test_dart_generator.py | 0 | package demo; message money [id=100] { decimal amount = 1; } union valueunion [id=101] { decimal amount = 1; money money | STRING |
| HIGH | compiler/fory_compiler/generators/java.py | 0 | return true if a type definition comes from an imported idl file. | STRING |
| HIGH | compiler/fory_compiler/generators/cpp.py | 0 | return true if a type definition comes from an imported idl file. | STRING |
| HIGH | compiler/fory_compiler/generators/python.py | 0 | return true if a type definition comes from an imported idl file. | STRING |
| HIGH | compiler/fory_compiler/generators/go.py | 0 | return true if a type definition comes from an imported idl file. | STRING |
| HIGH | compiler/fory_compiler/generators/javascript.py | 0 | return true if a type definition comes from an imported idl file. | STRING |
| HIGH | compiler/fory_compiler/generators/rust.py | 0 | return true if a type definition comes from an imported idl file. | STRING |
| HIGH | compiler/fory_compiler/generators/java.py | 0 | collect imports for a message and its nested types recursively. | STRING |
| HIGH | compiler/fory_compiler/generators/python.py | 0 | collect imports for a message and its nested types recursively. | STRING |
| HIGH | compiler/fory_compiler/generators/go.py | 0 | collect imports for a message and its nested types recursively. | STRING |
| HIGH | compiler/fory_compiler/generators/java.py | 0 | generate registration code for a message and its nested types. | STRING |
| HIGH | compiler/fory_compiler/generators/cpp.py | 0 | generate registration code for a message and its nested types. | STRING |
| HIGH | compiler/fory_compiler/generators/python.py | 0 | generate registration code for a message and its nested types. | STRING |
| HIGH | compiler/fory_compiler/generators/go.py | 0 | generate registration code for a message and its nested types. | STRING |
| HIGH | compiler/fory_compiler/generators/rust.py | 0 | generate registration code for a message and its nested types. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/pyfory/registry.py | 660 | CODE | |
| LOW | python/pyfory/registry.py | 718 | CODE | |
| LOW | python/pyfory/registry.py | 811 | CODE | |
| LOW | python/pyfory/registry.py | 893 | CODE | |
| LOW | python/pyfory/registry.py | 1047 | CODE | |
| LOW | python/pyfory/converter.py | 82 | CODE | |
| LOW | python/pyfory/type_util.py | 73 | CODE | |
| LOW | python/pyfory/type_util.py | 349 | CODE | |
| LOW | python/pyfory/collection.py | 83 | CODE | |
| LOW | python/pyfory/collection.py | 365 | CODE | |
| LOW | python/pyfory/collection.py | 471 | CODE | |
| LOW | python/pyfory/serializer.py | 135 | CODE | |
| LOW | python/pyfory/serializer.py | 1165 | CODE | |
| LOW | python/pyfory/serializer.py | 1215 | CODE | |
| LOW | python/pyfory/serializer.py | 1449 | CODE | |
| LOW | python/pyfory/struct.py | 195 | CODE | |
| LOW | python/pyfory/struct.py | 397 | CODE | |
| LOW | python/pyfory/struct.py | 658 | CODE | |
| LOW | python/pyfory/struct.py | 894 | CODE | |
| LOW | python/pyfory/tests/test_metastring.py | 62 | CODE | |
| LOW | python/pyfory/meta/metastring.py | 102 | CODE | |
| LOW | python/pyfory/meta/metastring.py | 175 | CODE | |
| LOW | python/pyfory/meta/metastring.py | 198 | CODE | |
| LOW | python/pyfory/meta/metastring.py | 297 | CODE | |
| LOW | python/pyfory/meta/metastring.py | 375 | CODE | |
| LOW | python/pyfory/meta/metastring.py | 530 | CODE | |
| LOW | python/pyfory/meta/typedef.py | 1224 | CODE | |
| LOW | python/pyfory/meta/typedef.py | 1354 | CODE | |
| LOW | python/pyfory/meta/typedef.py | 197 | CODE | |
| LOW | python/pyfory/meta/typedef.py | 246 | CODE | |
| LOW | python/pyfory/format/columnar.py | 28 | CODE | |
| LOW | python/pyfory/format/columnar.py | 70 | CODE | |
| LOW | python/pyfory/format/infer.py | 229 | CODE | |
| LOW | python/pyfory/format/infer.py | 257 | CODE | |
| LOW | python/pyfory/format/infer.py | 319 | CODE | |
| LOW | python/pyfory/format/infer.py | 276 | CODE | |
| LOW | python/pyfory/format/infer.py | 338 | CODE | |
| LOW | python/pyfory/format/schema.py | 158 | CODE | |
| LOW | python/pyfory/format/schema.py | 192 | CODE | |
| LOW | python/pyfory/format/schema.py | 231 | CODE | |
| LOW | python/pyfory/format/schema.py | 267 | CODE | |
| LOW | ci/validate_fory_site_sync.py | 91 | CODE | |
| LOW | ci/release.py | 172 | CODE | |
| LOW | ci/release.py | 423 | CODE | |
| LOW | ci/release.py | 1084 | CODE | |
| LOW | ci/release.py | 1221 | CODE | |
| LOW | ci/extract_cpp_doc_code.py | 51 | CODE | |
| LOW | ci/generate_release_note.py | 21 | CODE | |
| LOW | ci/run_ci.py | 248 | CODE | |
| LOW | ci/tasks/java.py | 411 | CODE | |
| LOW | ci/tasks/rust.py | 22 | CODE | |
| LOW | benchmarks/go/benchmark_report.py | 146 | CODE | |
| LOW | benchmarks/python/fory_benchmark.py | 517 | CODE | |
| LOW | benchmarks/csharp/benchmark_report.py | 306 | CODE | |
| LOW | compiler/fory_compiler/cli.py | 69 | CODE | |
| LOW | compiler/fory_compiler/cli.py | 415 | CODE | |
| LOW | compiler/fory_compiler/cli.py | 441 | CODE | |
| LOW | compiler/fory_compiler/cli.py | 707 | CODE | |
| LOW | compiler/fory_compiler/frontend/fbs/parser.py | 94 | CODE | |
| LOW | compiler/fory_compiler/frontend/fbs/lexer.py | 173 | CODE | |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration_tests/idl_tests/go/idl_roundtrip_test.go | 48 | Number: "555-0100", | CODE |
| LOW | integration_tests/idl_tests/go/idl_roundtrip_test.go | 52 | Number: "555-0111", | CODE |
| LOW | …egration_tests/idl_tests/python/idl_tests/roundtrip.py | 60 | number="555-0100", | CODE |
| LOW | …egration_tests/idl_tests/python/idl_tests/roundtrip.py | 64 | number="555-0111", | CODE |
| LOW | …tion_tests/idl_tests/dart/test/idl_roundtrip_test.dart | 64 | ..number = '555-0100' | CODE |
| LOW | …tion_tests/idl_tests/dart/test/idl_roundtrip_test.dart | 67 | ..number = '555-0111' | CODE |
| LOW | integration_tests/idl_tests/rust/tests/idl_roundtrip.rs | 49 | number: "555-0100".to_string(), | CODE |
| LOW | integration_tests/idl_tests/rust/tests/idl_roundtrip.rs | 53 | number: "555-0111".to_string(), | CODE |
| LOW | …t/java/org/apache/fory/idl_tests/IdlRoundTripTest.java | 953 | mobile.setNumber("555-0100"); | CODE |
| LOW | …t/java/org/apache/fory/idl_tests/IdlRoundTripTest.java | 957 | work.setNumber("555-0111"); | CODE |
| LOW | …ackage/Tests/IdlRoundTripTests/IdlRoundTripTests.swift | 341 | let mobile = Addressbook.Person.PhoneNumber(number: "555-0100", phoneType: .mobile) | CODE |
| LOW | …ackage/Tests/IdlRoundTripTests/IdlRoundTripTests.swift | 342 | let work = Addressbook.Person.PhoneNumber(number: "555-0111", phoneType: .work) | CODE |
| LOW | …tion_tests/idl_tests/csharp/IdlTests/RoundtripTests.cs | 409 | Number = "555-0100", | CODE |
| LOW | …tion_tests/idl_tests/csharp/IdlTests/RoundtripTests.cs | 414 | Number = "555-0111", | CODE |
| LOW | integration_tests/idl_tests/javascript/roundtrip.ts | 272 | buildPhoneNumber("555-0100", Person.PhoneType.MOBILE), | CODE |
| LOW | integration_tests/idl_tests/javascript/roundtrip.ts | 273 | buildPhoneNumber("555-0111", Person.PhoneType.WORK), | CODE |
| LOW | …tion_tests/idl_tests/javascript/test/roundtrip.test.ts | 212 | buildPhoneNumber("555-0100", Person.PhoneType.MOBILE), | CODE |
| LOW | …tion_tests/idl_tests/javascript/test/roundtrip.test.ts | 213 | buildPhoneNumber("555-0111", Person.PhoneType.WORK), | CODE |
| LOW | rust/README.md | 124 | name: "John Doe".to_string(), | CODE |
| LOW | rust/README.md | 127 | street: "123 Main St".to_string(), | CODE |
| LOW | rust/README.md | 375 | address: "123 Main St".to_string(), | CODE |
| LOW | rust/fory/src/lib.rs | 146 | //! name: "John Doe".to_string(), | COMMENT |
| LOW | rust/fory/src/lib.rs | 149 | //! street: "123 Main St".to_string(), | COMMENT |
| LOW | rust/fory/src/lib.rs | 660 | //! address: "123 Main St".to_string(), | COMMENT |
| LOW | rust/tests/tests/test_box.rs | 59 | name: "John Doe".to_string(), | CODE |
| LOW | rust/tests/tests/test_box.rs | 83 | name: "Jane Doe".to_string(), | CODE |
| LOW | rust/tests/tests/test_field_meta.rs | 1047 | street_address: "123 Main Street".to_string(), | CODE |
| LOW | rust/tests/tests/test_field_meta.rs | 1055 | street_address: "123 Main Street".to_string(), | CODE |
| LOW | rust/fory-core/src/util/string_util.rs | 652 | assert!(murmurhash3_x64_128("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam at consequat massa. | CODE |
| LOW | rust/fory-core/src/util/string_util.rs | 652 | assert!(murmurhash3_x64_128("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam at consequat massa. | CODE |
| LOW | docs/guide/rust/schema-evolution.md | 59 | address: "123 Main St".to_string(), | CODE |
| LOW | docs/guide/rust/basic-serialization.md | 62 | name: "John Doe".to_string(), | CODE |
| LOW | docs/guide/rust/basic-serialization.md | 65 | street: "123 Main St".to_string(), | CODE |
| LOW | docs/guide/scala/type-serialization.md | 174 | Company("Acme", Address("123 Main St", "Springfield")), | CODE |
| LOW⚡ | docs/guide/cpp/schema-evolution.md | 247 | EmployeeV1 emp_v1{"Jane Doe", {"123 Main St", "NYC"}}; | CODE |
| LOW⚡ | docs/guide/cpp/schema-evolution.md | 247 | EmployeeV1 emp_v1{"Jane Doe", {"123 Main St", "NYC"}}; | CODE |
| LOW⚡ | docs/guide/cpp/schema-evolution.md | 252 | assert(emp_v2.name == "Jane Doe"); | CODE |
| LOW⚡ | docs/guide/cpp/schema-evolution.md | 253 | assert(emp_v2.home_address.street == "123 Main St"); | CODE |
| LOW | docs/guide/cpp/basic-serialization.md | 78 | "John Doe", | CODE |
| LOW | docs/guide/cpp/basic-serialization.md | 80 | {"123 Main St", "New York", "USA"}, | CODE |
| LOW | cpp/README.md | 120 | "John Doe", | CODE |
| LOW | cpp/README.md | 122 | Address{"123 Main St", "New York", "USA"}, | CODE |
| LOW | cpp/README.md | 220 | PersonV1 v1{"Alice", 30, "123 Main St"}; | CODE |
| LOW⚡ | javascript/benchmark/index.js | 96 | name: "John Doe", | CODE |
| LOW⚡ | javascript/benchmark/index.js | 100 | street: "123 Main St", | CODE |
| LOW⚡ | javascript/benchmark/index.js | 108 | number: "555-1234", | CODE |
| LOW⚡ | javascript/benchmark/index.js | 112 | number: "555-5678", | CODE |
| LOW | javascript/benchmark/platform-buffer.js | 26 | name: "John Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/pyfory/utils.py | 24 | # This method is derived from https://github.com/mars-project/mars/blob/c36c53fa22e10ef9477d9c454401a2f281375f31/mars/ut | COMMENT |
| MEDIUM | python/pyfory/type_util.py | 435 | # This method is derived from https://github.com/ericvsmith/dataclasses/blob/5f6568c3468f872e8f447dc20666628387786397/da | COMMENT |
| MEDIUM | python/pyfory/type_util.py | 444 | # Create a new dict for our new class. | COMMENT |
| MEDIUM | python/pyfory/serializer.py | 1236 | # Create the object using the callable and args | COMMENT |
| MEDIUM | python/pyfory/serializer.py | 1615 | # Create a globals dictionary with module's globals as the base | COMMENT |
| MEDIUM | python/pyfory/tests/test_class_serializer.py | 40 | # Create an instance of the local class | COMMENT |
| MEDIUM | python/pyfory/tests/test_class_serializer.py | 78 | # Create a local class with closure | COMMENT |
| MEDIUM | python/pyfory/tests/test_class_serializer.py | 186 | # Define a nested global class (defined at module level but nested in structure) | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/test_typedef_encoding.py | 289 | # Create a mock resolver | COMMENT |
| MEDIUM⚡ | python/pyfory/tests/test_typedef_encoding.py | 299 | # Create a buffer from the encoded data | COMMENT |
| MEDIUM | python/pyfory/tests/test_stateful_serializer.py | 260 | # Create a list with the same object referenced twice | COMMENT |
| MEDIUM | python/pyfory/tests/test_function.py | 99 | # Create a nested function | COMMENT |
| MEDIUM | python/pyfory/meta/typedef_decoder.py | 130 | # Create a new buffer for meta data | COMMENT |
| MEDIUM | ci/tasks/java.py | 170 | # Create the root element | COMMENT |
| MEDIUM | benchmarks/java/plot_map_benchmark.py | 75 | # Create the subplots for datatype "int" | COMMENT |
| MEDIUM | benchmarks/java/plot_map_benchmark.py | 117 | # Create the subplots for datatype "string" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 550 | // Step 1: Serialize with fory1 | COMMENT |
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 556 | // Step 2: Deserialize with fory2 (gets UnknownStruct) | COMMENT |
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 561 | // Step 3: Serialize UnknownStruct with fory2 | COMMENT |
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 564 | // Step 4: Deserialize again with fory2 (should get UnknownStruct with same values) | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 315 | // Step 1: Serialize proxy on "JVM A" | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 319 | // Step 2: Deserialize on "JVM B" (no ProxyEntity class) | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 323 | // Step 3: Re-serialize on "JVM B" | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 326 | // Step 4: Deserialize back on "JVM A" | COMMENT |
| LOW | docs/guide/java/graalvm-support.md | 43 | ### Step 0: Add the GraalVM Support Dependency | COMMENT |
| LOW | docs/guide/java/graalvm-support.md | 59 | ### Step 1: Create Fory and Register Classes | COMMENT |
| LOW | docs/guide/java/graalvm-support.md | 83 | ### Step 2: Configure Build-Time Initialization | COMMENT |
| LOW | docs/guide/javascript/references.md | 30 | ## Step 1: Enable Reference Tracking on the `Fory` Instance | COMMENT |
| LOW | docs/guide/javascript/references.md | 36 | ## Step 2: Mark the Fields That Can Have Shared or Circular References | COMMENT |
| LOW | docs/specification/xlang_serialization_spec.md | 1630 | ##### Step 1: Field identifier | COMMENT |
| LOW | docs/specification/xlang_serialization_spec.md | 1650 | ##### Step 2: Group assignment | COMMENT |
| LOW | docs/specification/xlang_serialization_spec.md | 1660 | ##### Step 3: Intra-group ordering | COMMENT |
| LOW⚡ | docs/compiler/protobuf-idl.md | 294 | ### Step 1: Translate Schema Syntax | COMMENT |
| LOW⚡ | docs/compiler/protobuf-idl.md | 300 | ### Step 2: Convert `oneof` and Special Types | COMMENT |
| LOW⚡ | docs/compiler/protobuf-idl.md | 305 | ### Step 3: Replace Protobuf Workarounds with `ref` | COMMENT |
| LOW⚡ | docs/compiler/protobuf-idl.md | 310 | ### Step 4: Update Build/Codegen | COMMENT |
| LOW | docs/compiler/protobuf-idl.md | 336 | ### Step 5: Run Compatibility Checks | COMMENT |
| LOW | benchmarks/cpp/run.sh | 170 | # Step 1: Build | COMMENT |
| LOW | benchmarks/cpp/run.sh | 194 | # Step 2: Run benchmark | COMMENT |
| LOW | benchmarks/cpp/run.sh | 209 | # Step 3: Generate report | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/pyfory/policy.py | 152 | Authorize instantiation of a class during deserialization. This hook is called before creating an instance of a | STRING |
| HIGH | python/pyfory/policy.py | 361 | Intercept and validate __reduce__ protocol callable invocation. This hook is called when deserializing an objec | STRING |
| HIGH | python/pyfory/policy.py | 422 | Inspect and validate an object after __reduce__ protocol reconstruction. This hook is called after an object ha | STRING |
| HIGH | python/pyfory/policy.py | 473 | Intercept and validate __setstate__ protocol before state restoration. This hook is called when deserializing a | STRING |
| HIGH | python/pyfory/format/infer.py | 258 | Convert an Arrow Schema to a Fory Schema. This is for compatibility with code that uses PyArrow schemas. Args: | STRING |
| HIGH | python/pyfory/format/infer.py | 320 | Convert a Fory Schema to an Arrow Schema. This is for compatibility with ArrowWriter which requires Arrow schemas. | STRING |
| HIGH | python/pyfory/format/schema.py | 32 | Convert an Arrow data type to a Fory TypeId value. Args: arrow_type: A PyArrow DataType instance. | STRING |
| HIGH | python/pyfory/format/schema.py | 96 | Convert a Fory TypeId value to an Arrow data type. Args: type_id: The Fory TypeId value (int). | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/pyfory/registry.py | 896 | # Check if it's a Union type first | COMMENT |
| LOW | python/pyfory/serializer.py | 1167 | # Check if the object has a custom __reduce_ex__ method (not just the default from object) | COMMENT |
| LOW | python/pyfory/struct.py | 150 | # Check if it's an abstract class using inspect.isabstract | COMMENT |
| LOW | python/pyfory/struct.py | 232 | # Check if fory has field_nullable global setting | COMMENT |
| LOW⚡ | python/pyfory/tests/xlang_test_main.py | 872 | # Set f2 to empty string for serialization (match Go behavior) | COMMENT |
| LOW | python/pyfory/meta/meta_compressor.py | 160 | # Check if the compressor has custom __eq__ and __hash__ methods | COMMENT |
| LOW | ci/release.py | 93 | # Check if branch exists, if not create it | COMMENT |
| LOW | ci/extract_cpp_doc_code.py | 52 | # Check if the code block is a complete, runnable example.A complete example should have a main function with all co | COMMENT |
| LOW | ci/extract_cpp_doc_code.py | 56 | # Check if there are statements outside of any function | COMMENT |
| LOW | ci/extract_cpp_doc_code.py | 75 | # Check if entering main | COMMENT |
| LOW | ci/deploy.sh | 56 | # Check if the tag starts with 'v' and strip it | COMMENT |
| LOW | ci/tasks/python_container_build_script.sh | 36 | # Check if GITHUB_REF_NAME is available and use it for verification | COMMENT |
| LOW | benchmarks/go/run.sh | 156 | # Check if protoc is installed | COMMENT |
| LOW | benchmarks/go/run.sh | 167 | # Check if protoc-gen-go is installed | COMMENT |
| LOW | benchmarks/go/run.sh | 233 | # Check if Python is available | COMMENT |
| LOW | benchmarks/cpp/profile.sh | 113 | # Check if benchmark exists | COMMENT |
| LOW | benchmarks/cpp/profile.sh | 197 | # Check if process is running | COMMENT |
| LOW | compiler/fory_compiler/cli.py | 854 | # Check if distinct source files map to the same output file, e.g. due to naming normalization | COMMENT |
| LOW | compiler/fory_compiler/frontend/fdl/parser.py | 1056 | # Check if it's a primitive type | COMMENT |
| LOW | compiler/fory_compiler/generators/javascript.py | 497 | # Check if this NamedType matches a primitive type name | COMMENT |
| LOW | compiler/fory_compiler/generators/javascript.py | 511 | # Check if it matches any primitive kind directly | COMMENT |
| LOW | compiler/fory_compiler/generators/base.py | 279 | # Check if value_name starts with the prefix | COMMENT |
| LOW | compiler/fory_compiler/generators/base.py | 286 | # Check if remainder is a valid identifier (starts with letter) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 550 | // Step 1: Serialize with fory1 | COMMENT |
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 556 | // Step 2: Deserialize with fory2 (gets UnknownStruct) | COMMENT |
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 561 | // Step 3: Serialize UnknownStruct with fory2 | COMMENT |
| LOW⚡ | …pache/fory/serializer/UnknownClassSerializersTest.java | 564 | // Step 4: Deserialize again with fory2 (should get UnknownStruct with same values) | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 315 | // Step 1: Serialize proxy on "JVM A" | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 319 | // Step 2: Deserialize on "JVM B" (no ProxyEntity class) | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 323 | // Step 3: Re-serialize on "JVM B" | COMMENT |
| LOW⚡ | …g/apache/fory/serializer/WriteReplaceCrossJvmTest.java | 326 | // Step 4: Deserialize back on "JVM A" | COMMENT |
| LOW | benchmarks/cpp/run.sh | 170 | # Step 1: Build | COMMENT |
| LOW | benchmarks/cpp/run.sh | 194 | # Step 2: Run benchmark | COMMENT |
| LOW | benchmarks/cpp/run.sh | 209 | # Step 3: Generate report | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/pyfory/annotation.py | 172 | __all__ = [ | CODE |
| LOW | python/pyfory/registry.py | 156 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/pyfory/type_id.py | 173 | __all__ = ["TypeId"] | CODE |
| LOW | python/pyfory/__init__.py | 140 | __all__ = [ | CODE |
| LOW | python/pyfory/types.py | 44 | __all__ = ["TypeId"] | CODE |
| LOW | python/pyfory/utils.py | 110 | __all__ = [ | CODE |
| LOW | python/pyfory/serializer.py | 1822 | __all__ = [ | CODE |
| LOW | python/pyfory/_serializer.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/pyfory/struct.py | 82 | logger = logging.getLogger(__name__) | CODE |
| LOW | ci/release.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | compiler/fory_compiler/__init__.py | 27 | __all__ = [ | CODE |
| LOW | compiler/fory_compiler/frontend/__init__.py | 23 | __all__ = ["BaseFrontend", "FrontendError", "FBSFrontend"] | CODE |
| LOW | compiler/fory_compiler/frontend/fbs/__init__.py | 47 | __all__ = ["FBSFrontend", "Lexer", "Parser", "LexerError", "ParseError"] | CODE |
| LOW | compiler/fory_compiler/frontend/fdl/__init__.py | 42 | __all__ = ["FDLFrontend"] | CODE |
| LOW | compiler/fory_compiler/ir/__init__.py | 38 | __all__ = [ | CODE |
| LOW | compiler/fory_compiler/ir/types.py | 89 | __all__ = [ | CODE |
| LOW | compiler/fory_compiler/generators/__init__.py | 47 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | go/fory/stream.go | 25 | // InputStream supports robust sequential deserialization from a stream. | COMMENT |
| MEDIUM | go/fory/float16/float16.go | 115 | // Actually pure bit manipulation is robust if careful. | COMMENT |
| MEDIUM | rust/fory/src/lib.rs | 728 | //! Compatible mode enables robust schema evolution with variant type encoding: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/pr-lint.yml | 72 | # If `subjectPattern` is configured, you can use this property to override | COMMENT |
| MEDIUM | .github/workflows/pr-lint.yml | 89 | # Commits spec, you can use these options to customize the parsing of the type, scope and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/pyfory/field.py | 106 | CODE | |
| LOW | python/pyfory/registry.py | 256 | CODE | |
| LOW | python/pyfory/_fory.py | 132 | CODE | |
| LOW | python/pyfory/meta/typedef_encoder.py | 129 | CODE | |
| LOW | compiler/fory_compiler/cli.py | 707 | CODE | |
| LOW | compiler/fory_compiler/generators/cpp.py | 2270 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/apache/fory/serializer/converter/FieldConverters.java | 200 | // guardrails remain owned by descriptor-level conversion above. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cpp/fory/serialization/serializer.h | 45 | /// Example usage: | COMMENT |
| LOW | cpp/fory/row/schema.h | 31 | /// Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/pyfory/tests/test_serializer.py | 927 | def test_function(track_ref): | CODE |
| LOW | benchmarks/java/analyze.py | 497 | def process_data(filepath: str): | CODE |