Apache ECharts is a powerful, interactive charting and data visualization library for browser
This report summarizes scanner evidence for apache/echarts, a TypeScript project with 67,641 GitHub stars. SynthScan examined 496,916 lines of code across 2062 source files, recording 460 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.0 (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? 458 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 274 finding(s).
Which changes need focused human review? 460 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 460 distinct pattern matches across 6 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 | test/dataset-case.html | 53 | function createBasicTestOptionForArrayRows(opt) { | CODE |
| LOW | test/dataset-case.html | 181 | function createBasicTestOptionForObjectRows() { | CODE |
| LOW⚡ | test/axis-layout-0.html | 135 | function resetGridBoxIndicatorShapeOptions() { | CODE |
| LOW⚡ | test/axis-layout-0.html | 141 | function resetGridOuterBoundsIndicatorShapeOptions() { | CODE |
| LOW⚡ | test/axis-layout-0.html | 148 | function updateIndicatorShapeOptions() { | CODE |
| LOW | test/axis-layout-0.html | 174 | function makeGridBoxIndicatorOption() { | CODE |
| LOW | test/axis-layout-0.html | 205 | function makeGridOuterBoundsIndicatorOption() { | CODE |
| LOW | test/bar-race2.html | 50 | function monitorChangeAxisOrderTriggering(chart) { | CODE |
| LOW | test/rich-inherit-plain-label.html | 110 | function toggleRichInheritPlainLabel(prop) { | CODE |
| LOW | test/rich-inherit-plain-label.html | 193 | function toggleRichInheritPlainLabel(prop) { | CODE |
| LOW | test/rich-inherit-plain-label.html | 269 | function toggleRichInheritPlainLabel(prop) { | CODE |
| LOW | test/hoverFocus.html | 131 | (function addDispatchActionHighlightChart(){ | CODE |
| LOW | test/axis-break-2.html | 923 | function updateContainLabelCriterion(chart) { | CODE |
| LOW | test/axis-break.html | 929 | function getAndCheckDimentionIdx(brk) { | CODE |
| LOW | test/axis-break.html | 946 | function getAndCheckBrkInAxisBrkIdentifier(brk, actualDimIdx, testInfoBrkList) { | CODE |
| LOW | test/axis-break.html | 946 | function getAndCheckBrkInAxisBrkIdentifier(brk, actualDimIdx, testInfoBrkList) { | CODE |
| LOW | test/hover-layer.html | 575 | function checkHoverLayerNotCreated() { | CODE |
| LOW | test/matrix_application2.html | 667 | function prepareCoordForBodySelectionRect() { | CODE |
| LOW | test/matrix2.html | 601 | function updateConvertToPixelResult(result) { | CODE |
| LOW | test/option-replaceMerge2.html | 112 | function makeSingleCartesianOption() { | CODE |
| LOW | test/option-replaceMerge2.html | 147 | function makeDoubleCartesianOption() { | CODE |
| LOW | test/option-replaceMerge2.html | 372 | function createUpdatableSeriesAndDataset(seriesCount) { | CODE |
| LOW | test/geo-update.html | 886 | function mountBrushSelectedListener() { | CODE |
| LOW | test/ut/spec/data/dataValueHelper.test.ts | 206 | function eachRelationalComparisonCase(evalFn: EvaluateFunction) { | CODE |
| LOW | test/ut/spec/data/dataTransform.test.ts | 41 | function makeDatasetSourceDetection() { | CODE |
| LOW | test/ut/spec/data/dataTransform.test.ts | 50 | function makeDatasetSourceNonDetectionByRow() { | CODE |
| LOW⚡ | test/lib/testHelper.js | 1349 | function resetSelectInputOptionIndex(optionIdx) { | CODE |
| LOW⚡ | test/lib/testHelper.js | 1354 | function getSelectInputOptionIndex() { | CODE |
| LOW⚡ | test/lib/testHelper.js | 1358 | function getSelectInputValueByOptionIndex(optionIdx) { | CODE |
| LOW⚡ | test/lib/testHelper.js | 1364 | function triggerUserSelectChangedEvent() { | CODE |
| LOW⚡ | test/lib/testHelper.js | 1372 | function resetSelectInputSubInputsDisabled() { | CODE |
| LOW | test/lib/testHelper.js | 709 | function restoreInputsToInitialState() { | CODE |
| LOW | test/lib/testHelper.js | 1032 | function updateRangeInputViewValue(newVal) { | CODE |
| LOW | test/lib/testHelper.js | 1036 | function resetRangeInputWrapperCSS(wrapperEl, disabled) { | CODE |
| LOW | test/lib/testHelper.js | 1073 | function dispatchRangeInputChangedEvent() { | CODE |
| LOW | test/lib/testHelper.js | 1116 | listener: function dispatchSelectInputChangedEvent() { | CODE |
| LOW | test/lib/testHelper.js | 1146 | function createSelectInputElements() { | CODE |
| LOW | test/lib/testHelper.js | 1164 | function resetSelectInputWrapperCSS(selectWrapperEl, disabled) { | CODE |
| LOW | test/lib/testHelper.js | 1385 | function makeSelectInputTextByValue(optionDef) { | CODE |
| LOW | test/lib/testHelper.js | 1678 | function ensureBoundingRectsFacilities() { | CODE |
| LOW | test/lib/testHelper.js | 2778 | function isMethodShorthandNotAccurate(fnStr, fnName, objKey) { | CODE |
| LOW | test/lib/testHelper.js | 3258 | function objectNoOtherNotNullUndefinedPropExcept(obj, exceptProps) { | CODE |
| LOW | src/scale/break.ts | 144 | export function registerScaleBreakHelperImpl(impl: BreakScaleHelper): void { | CODE |
| LOW | src/scale/breakImpl.ts | 628 | function serializeAxisBreakIdentifier(identifier: AxisBreakOptionIdentifierInAxis): string { | CODE |
| LOW | src/scale/breakImpl.ts | 679 | function getTicksBreakOutwardTransform( | CODE |
| LOW | src/scale/breakImpl.ts | 715 | function parseAxisBreakOptionInwardTransform( | CODE |
| LOW | src/scale/breakImpl.ts | 757 | function makeAxisLabelFormatterParamBreak( | CODE |
| LOW | src/scale/helper.ts | 224 | export function intervalScaleEnsureValidExtent( | CODE |
| LOW⚡ | src/scale/scaleMapper.ts | 351 | export function getScaleExtentForTickUnsafe(mapper: ScaleMapper): number[] { | CODE |
| LOW⚡ | src/scale/scaleMapper.ts | 355 | export function getScaleExtentForMappingUnsafe( | CODE |
| LOW⚡ | src/scale/scaleMapper.ts | 364 | export function getScaleLinearSpanForMapping(mapper: ScaleMapper): number { | CODE |
| LOW⚡ | src/scale/scaleMapper.ts | 369 | export function getScaleLinearSpanEffective(mapper: ScaleMapper): number { | CODE |
| LOW | src/scale/Time.ts | 301 | function isPrimaryUnitValueAndGreaterSame( | CODE |
| LOW | src/scale/Time.ts | 430 | function getMinutesAndSecondsInterval(approxInterval: number, isMinutes?: boolean) { | CODE |
| LOW | src/scale/Time.ts | 452 | function createEstimateNiceMultiple( | CODE |
| LOW | src/core/CoordinateSystem.ts | 109 | function canBeNonSeriesBoxCoordSys(coordSysType: string): boolean { | CODE |
| LOW | src/core/CoordinateSystem.ts | 130 | export function registerLayOutOnCoordSysUsage(opt: { | CODE |
| LOW | src/core/CoordinateSystem.ts | 149 | export function getCoordForCoordSysUsageKindBox( | CODE |
| LOW | src/core/echarts.ts | 329 | function createRegisterEventWithLowercaseECharts(method: EventMethodName) { | CODE |
| LOW | src/core/echarts.ts | 338 | function createRegisterEventWithLowercaseMessageCenter(method: EventMethodName) { | CODE |
| 214 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .eslintrc-common.yaml | 1 | COMMENT | |
| LOW | .eslintrc-common-production.yaml | 1 | COMMENT | |
| LOW | .lgtm.yml | 1 | COMMENT | |
| LOW | test/visualMap-scatter-symbolSize.html | 41 | COMMENT | |
| LOW | test/visualMap-scatter-symbolSize.html | 61 | // Math.round(Math.random() * (symbolCount - 1)) | COMMENT |
| LOW | test/candlestick-large3.html | 181 | } | COMMENT |
| LOW | test/candlestick-large3.html | 241 | // { | COMMENT |
| LOW | test/candlestick-large3.html | 281 | // var param = param[0]; | COMMENT |
| LOW | test/candlestick-large3.html | 301 | // { | COMMENT |
| LOW | test/candlestick-large3.html | 321 | // type: 'line', | COMMENT |
| LOW | test/candlestick-large3.html | 341 | autoResize: false, | COMMENT |
| LOW | test/candlestick-large3.html | 361 | // min = Math.min(val, min); | COMMENT |
| LOW | test/candlestick-large2.html | 301 | '(2) Check visualMap after zoomed to normal mode' | COMMENT |
| LOW | test/candlestick-large2.html | 321 | // max = Math.max(val, max); | COMMENT |
| LOW | test/graphic-animation-wave.html | 121 | }); | COMMENT |
| LOW | test/dataset-performance.html | 61 | // type: 'category', | COMMENT |
| LOW | test/dataset-performance.html | 141 | // return i | COMMENT |
| LOW | test/gauge.html | 461 | setInterval(function () { | COMMENT |
| LOW | test/gauge.html | 481 | // normal: { | COMMENT |
| LOW | test/scatter-random-stream-fix-axis.html | 121 | legend: { | COMMENT |
| LOW | test/scatter-random-stream-fix-axis.html | 161 | type: 'scatter', | COMMENT |
| LOW | test/scatter-random-stream-fix-axis.html | 181 | // } | COMMENT |
| LOW | test/mobileBench.html | 81 | COMMENT | |
| LOW | test/scatter-random-stream.html | 121 | left: 'left', | COMMENT |
| LOW | test/scatter-random-stream.html | 161 | // large: { | COMMENT |
| LOW | test/bar-t.html | 121 | // // feature: { | COMMENT |
| LOW | test/bar-t.html | 141 | // // }, | COMMENT |
| LOW | test/bar-t.html | 221 | // }, { | COMMENT |
| LOW | test/tree-roam.html | 161 | COMMENT | |
| LOW | test/geo-data-stream.html | 81 | fontSize: 12 | COMMENT |
| LOW | test/dataZoom-extreme.html | 161 | // type: 'category', | COMMENT |
| LOW | test/candlestick-large.html | 161 | // data: data.categoryData, | COMMENT |
| LOW | test/candlestick-large.html | 181 | // min: 'dataMin', | COMMENT |
| LOW | test/candlestick-large.html | 241 | // return [ | COMMENT |
| LOW | test/candlestick-large.html | 261 | // { | COMMENT |
| LOW | test/candlestick-large.html | 281 | // type: 'line', | COMMENT |
| LOW | test/candlestick-large.html | 301 | option: option, | COMMENT |
| LOW | test/candlestick-large.html | 321 | COMMENT | |
| LOW | test/media-finance.html | 101 | <script src="data/timelineGDP.js"></script> | COMMENT |
| LOW | test/map-nested.html | 101 | echarts.registerMap('nestedMap', geoJSON); | COMMENT |
| LOW | test/timeline-finance.html | 41 | <script src="data/timelineGDP.js"></script> | COMMENT |
| LOW | test/geo-svg-demo.html | 181 | type: 'downplay', | COMMENT |
| LOW | test/parallel-lineStyle.html | 101 | } | COMMENT |
| LOW | test/sankey-vertical.html | 41 | COMMENT | |
| LOW | test/sankey-vertical.html | 61 | // ], | COMMENT |
| LOW | test/sankey-vertical.html | 81 | // {source: 'Portugal', target: 'South Africa', value: 3}, | COMMENT |
| LOW | test/candlestick.html | 141 | // tooltip: { | COMMENT |
| LOW | test/connect.html | 181 | // fromChart.on('legendselectchanged', function (params) { | COMMENT |
| LOW | test/diff.html | 81 | // xAxis: { | COMMENT |
| LOW | test/covid-america.html | 4901 | for (j = 0; j < data[n].length; j++) { | COMMENT |
| LOW | test/covid-america.html | 4961 | } | COMMENT |
| LOW | test/covid-america.html | 4981 | // } | COMMENT |
| LOW | test/covid-america.html | 5001 | // }, { | COMMENT |
| LOW | test/line.html | 81 | // shadowBlur: 10, | COMMENT |
| LOW | test/line.html | 101 | // padding: 10, | COMMENT |
| LOW | test/ut/.eslintrc.yaml | 1 | COMMENT | |
| LOW | test/ut/core/utHelper.ts | 101 | // next(); | COMMENT |
| LOW | test/ut/spec/api/containPixel.test.ts | 321 | // series: [ | COMMENT |
| LOW | test/ut/spec/api/containPixel.test.ts | 341 | // expect(chart.containPixel('series', [40, height / 2 + 10])).toEqual(true); | COMMENT |
| 118 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/lib/jquery.min.js | 5 | return new Za.prototype.init(a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,t | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/animation/universalTransition.ts | 317 | // It's more robust than groupId | COMMENT |
| MEDIUM | src/component/timeline/SliderTimelineView.ts | 828 | // leverage performance and auto updateTransform) | COMMENT |
| MEDIUM | src/view/Chart.ts | 256 | // PENDING: more robust approaches? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/ISSUE_TEMPLATE/feature_request.yml | 17 | For non-technical support or general questions, you can email [dev@echarts.apache.org](mailto:dev@echarts.apache.o | CODE |
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 17 | For non-technical support or general questions, you can email [dev@echarts.apache.org](mailto:dev@echarts.apache.o | CODE |
| LOW | src/util/states.ts | 186 | * DON'T forget to clearStates before we update the style and shape. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/tooltip-valueFormatter.html | 103 | valueFormatter: 'placeholder' | CODE |