An Android library for managing images and the memory they use.
This report summarizes scanner evidence for facebook/fresco, a Kotlin project with 17,159 GitHub stars. SynthScan examined 1,199,406 lines of code across 2466 source files, recording 88 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.1 (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? 80 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 50 finding(s).
Which changes need focused human review? 88 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 88 distinct pattern matches across 9 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 |
|---|---|---|---|---|
| LOW⚡ | docs/static/JSXTransformer.js | 11661 | function collectClosureIdentsAndTraverse(node, path, state) { | CODE |
| LOW⚡ | docs/static/JSXTransformer.js | 11671 | function collectBlockIdentsAndTraverse(node, path, state) { | CODE |
| LOW⚡ | docs/static/JSXTransformer.js | 11681 | function visitLocalClosureIdentifiers(node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 87 | function createSourceCodeErrorMessage(code, e) { | CODE |
| LOW | docs/static/JSXTransformer.js | 2530 | function scanUnicodeCodePointEscape() { | CODE |
| LOW | docs/static/JSXTransformer.js | 3628 | function markerCreatePreserveWhitespace() { | CODE |
| LOW | docs/static/JSXTransformer.js | 4863 | function parsePropertyMethodFunction(options) { | CODE |
| LOW | docs/static/JSXTransformer.js | 5073 | function parseObjectSpreadProperty() { | CODE |
| LOW | docs/static/JSXTransformer.js | 5296 | function parseSpreadOrAssignmentExpression() { | CODE |
| LOW | docs/static/JSXTransformer.js | 5344 | function parseLeftHandSideExpressionAllowCall() { | CODE |
| LOW | docs/static/JSXTransformer.js | 5365 | function parseLeftHandSideExpression() { | CODE |
| LOW | docs/static/JSXTransformer.js | 5602 | function parseConditionalExpression() { | CODE |
| LOW | docs/static/JSXTransformer.js | 5623 | function reinterpretAsAssignmentBindingPattern(expr) { | CODE |
| LOW | docs/static/JSXTransformer.js | 5667 | function reinterpretAsDestructuredParameter(options, expr) { | CODE |
| LOW | docs/static/JSXTransformer.js | 5703 | function reinterpretAsCoverFormalsList(expressions) { | CODE |
| LOW | docs/static/JSXTransformer.js | 5759 | function parseArrowFunctionExpression(options, marker) { | CODE |
| LOW | docs/static/JSXTransformer.js | 5792 | function parseAssignmentExpression() { | CODE |
| LOW | docs/static/JSXTransformer.js | 5973 | function parseTypeParameterDeclaration() { | CODE |
| LOW | docs/static/JSXTransformer.js | 5990 | function parseTypeParameterInstantiation() { | CODE |
| LOW | docs/static/JSXTransformer.js | 6339 | function parseTypeAnnotatableIdentifier(requireTypeAnnotation, canBeOptionalParam) { | CODE |
| LOW | docs/static/JSXTransformer.js | 6403 | function parseVariableDeclarationList(kind) { | CODE |
| LOW | docs/static/JSXTransformer.js | 6459 | function parseExportBatchSpecifier() { | CODE |
| LOW | docs/static/JSXTransformer.js | 6617 | function parseImportDefaultSpecifier() { | CODE |
| LOW | docs/static/JSXTransformer.js | 6626 | function parseImportNamespaceSpecifier() { | CODE |
| LOW | docs/static/JSXTransformer.js | 6777 | function parseForVariableDeclaration() { | CODE |
| LOW | docs/static/JSXTransformer.js | 7272 | function parseFunctionSourceElements() { | CODE |
| LOW | docs/static/JSXTransformer.js | 8679 | function parseXJSExpressionContainer() { | CODE |
| LOW | docs/static/JSXTransformer.js | 11047 | function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { | CODE |
| LOW | docs/static/JSXTransformer.js | 11088 | function compareByGeneratedPositions(mappingA, mappingB, onlyCompareGenerated) { | CODE |
| LOW | docs/static/JSXTransformer.js | 11706 | function visitLocalBlockIdentifiers(node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 12225 | function getLexicalBindingMetadata(identName, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 12293 | function enqueueNodeWithStartIndex(queue, node) { | CODE |
| LOW | docs/static/JSXTransformer.js | 12723 | function visitClassFunctionExpression(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13094 | function visitSuperMemberExpression(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13199 | function getDestructuredComponents(node, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13283 | function visitStructuredAssignment(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13354 | function visitFunctionBodyForStructuredParameter(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13370 | function renderDestructuredComponents(funcNode, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13510 | function visitObjectLiteralShortNotation(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13576 | function visitFunctionParamsWithRestParam(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13618 | function visitFunctionBodyWithRestParam(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 13722 | function visitTaggedTemplateExpression(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 14067 | function visitInterfaceDeclaration(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 14075 | function visitFunctionParametricAnnotation(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 14087 | function visitFunctionReturnAnnotation(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 14096 | function visitOptionalFunctionParameterAnnotation(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 14108 | function visitTypeAnnotatedIdentifier(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 14117 | function visitTypeAnnotatedObjectOrArrayPattern(traverse, node, path, state) { | CODE |
| LOW | docs/static/JSXTransformer.js | 14736 | function renderXJSExpressionContainer(traverse, object, isLast, path, state) { | CODE |
| LOW | docs/javadoc/assets/doclava-developer-reference.js | 382 | function ensureAllInheritedExpanded() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …book/imagepipeline/producers/NetworkFetchProducer.java | 121 | pooledOutputStream.close(); | COMMENT |
| LOW | …ain/jni/third-party/libjpeg-turbo-2.1.5.1/jconfigint.h | 21 | # define SIZEOF_SIZE_T 8 | COMMENT |
| LOW | …in/jni/third-party/libjpeg-turbo-2.1.5.1/neon-compat.h | 21 | #if defined(__clang__) || defined(_MSC_VER) | COMMENT |
| LOW | native-filters/src/main/jni/filters/rounding_filter.cpp | 21 | #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) | COMMENT |
| LOW | animated-gif/src/main/jni/gifimage/gif.cpp | 1 | /* | COMMENT |
| LOW | animated-gif/src/main/jni/gifimage/gif.cpp | 21 | #include "gif_lib.h" | COMMENT |
| LOW | docs/static/JSXTransformer.js | 1641 | },{}],6:[function(_dereq_,module,exports){ | COMMENT |
| LOW | docs/static/JSXTransformer.js | 9621 | // | COMMENT |
| LOW | docs/static/JSXTransformer.js | 9801 | }, this); | COMMENT |
| LOW | docs/static/JSXTransformer.js | 9821 | // corresponds to this chunk of generated code, | COMMENT |
| LOW | …in/java/com/facebook/drawee/generic/WrappingUtils.java | 41 | // | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 21 | /*#undef PNG_ARM_NEON_CHECK_SUPPORTED*/ | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 41 | #define PNG_INCH_CONVERSIONS_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 61 | #define PNG_READ_INTERLACING_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 81 | #define PNG_READ_USER_TRANSFORM_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 101 | #define PNG_SEQUENTIAL_READ_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 121 | #define PNG_USER_TRANSFORM_INFO_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 141 | #define PNG_WRITE_PACK_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 161 | #define PNG_WRITE_sCAL_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 181 | #define PNG_tEXt_SUPPORTED | COMMENT |
| LOW | …bp/src/main/jni/third-party/libpng-1.6.37/pnglibconf.h | 201 | #define PNG_TEXT_Z_DEFAULT_STRATEGY 0 | COMMENT |
| LOW | …ain/jni/third-party/libjpeg-turbo-2.1.5.1/jconfigint.h | 21 | # define SIZEOF_SIZE_T 8 | COMMENT |
| LOW | …in/jni/third-party/libjpeg-turbo-2.1.5.1/neon-compat.h | 21 | #if defined(__clang__) || defined(_MSC_VER) | COMMENT |
| LOW | static-webp/src/main/jni/static-webp/webp.cpp | 21 | // Defined in webp_bitmapfactory.cpp — wrapper that dispatches to sandboxed or | COMMENT |
| LOW | …c-webp/src/main/jni/static-webp/webp_bitmapfactory.cpp | 1 | /* | COMMENT |
| LOW | …acebook/imagepipeline/backends/okhttp3/OkHttpCompat.kt | 21 | // This backend's source uses okhttp 4.x property accessors (e.g. `response.body`). These extension | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ook/fresco/vito/core/impl/VitoImagePipelineImplTest.kt | 62 | com.facebook.fresco.vito.options.ImageOptions.defaults(), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_comparison.py | 31 | CODE | |
| LOW | run_comparison.py | 31 | CODE | |
| LOW | run_comparison.py | 31 | CODE | |
| LOW | run_comparison.py | 31 | CODE | |
| LOW | run_comparison.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | samples/showcase/src/main/res/values/strings.xml | 107 | <string name="format_color_help" description="Helper text for the custom color XML image format example in the Fresco | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …est/resources/com/facebook/imageformat/xmls/convert.sh | 33 | # Define a temporary directory for the APK | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mples/scrollperf/src/androidTest/res/values/colors.xml | 4 | <color name="placeholder">#e1e4eb</color> | CODE |
| LOW | samples/comparison/src/main/res/values/colors.xml | 2 | <color name="placeholder">#e1e4eb</color> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …e/imageformat/override/ImageFormatOverrideExample.java | 32 | * <p>If your decoder needs a custom {@link DrawableFactory} to render the image, don't forget to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_comparison.py | 301 | CODE |