Repository Analysis

apache/echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser

1.0 Likely human-written View on GitHub
1.0
Adjusted Score
1.0
Raw Score
100%
Time Factor
2026-05-29
Last Push
66,456
Stars
TypeScript
Language
496,851
Lines of Code
2060
Files
461
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 3LOW 457

Pattern Findings

461 matches across 5 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers274 hits · 284 pts
SeverityFileLineSnippet
LOWtest/dataset-case.html53 function createBasicTestOptionForArrayRows(opt) {
LOWtest/dataset-case.html181 function createBasicTestOptionForObjectRows() {
LOWtest/axis-layout-0.html135 function resetGridBoxIndicatorShapeOptions() {
LOWtest/axis-layout-0.html141 function resetGridOuterBoundsIndicatorShapeOptions() {
LOWtest/axis-layout-0.html148 function updateIndicatorShapeOptions() {
LOWtest/axis-layout-0.html174 function makeGridBoxIndicatorOption() {
LOWtest/axis-layout-0.html205 function makeGridOuterBoundsIndicatorOption() {
LOWtest/bar-race2.html50 function monitorChangeAxisOrderTriggering(chart) {
LOWtest/rich-inherit-plain-label.html110 function toggleRichInheritPlainLabel(prop) {
LOWtest/rich-inherit-plain-label.html193 function toggleRichInheritPlainLabel(prop) {
LOWtest/rich-inherit-plain-label.html269 function toggleRichInheritPlainLabel(prop) {
LOWtest/hoverFocus.html131 (function addDispatchActionHighlightChart(){
LOWtest/axis-break-2.html923 function updateContainLabelCriterion(chart) {
LOWtest/axis-break.html929 function getAndCheckDimentionIdx(brk) {
LOWtest/axis-break.html946 function getAndCheckBrkInAxisBrkIdentifier(brk, actualDimIdx, testInfoBrkList) {
LOWtest/axis-break.html946 function getAndCheckBrkInAxisBrkIdentifier(brk, actualDimIdx, testInfoBrkList) {
LOWtest/hover-layer.html575 function checkHoverLayerNotCreated() {
LOWtest/matrix_application2.html667 function prepareCoordForBodySelectionRect() {
LOWtest/matrix2.html601 function updateConvertToPixelResult(result) {
LOWtest/option-replaceMerge2.html112 function makeSingleCartesianOption() {
LOWtest/option-replaceMerge2.html147 function makeDoubleCartesianOption() {
LOWtest/option-replaceMerge2.html372 function createUpdatableSeriesAndDataset(seriesCount) {
LOWtest/geo-update.html886 function mountBrushSelectedListener() {
LOWtest/ut/spec/data/dataValueHelper.test.ts206function eachRelationalComparisonCase(evalFn: EvaluateFunction) {
LOWtest/ut/spec/data/dataTransform.test.ts41 function makeDatasetSourceDetection() {
LOWtest/ut/spec/data/dataTransform.test.ts50 function makeDatasetSourceNonDetectionByRow() {
LOWtest/lib/testHelper.js1349 function resetSelectInputOptionIndex(optionIdx) {
LOWtest/lib/testHelper.js1354 function getSelectInputOptionIndex() {
LOWtest/lib/testHelper.js1358 function getSelectInputValueByOptionIndex(optionIdx) {
LOWtest/lib/testHelper.js1364 function triggerUserSelectChangedEvent() {
LOWtest/lib/testHelper.js1372 function resetSelectInputSubInputsDisabled() {
LOWtest/lib/testHelper.js709 function restoreInputsToInitialState() {
LOWtest/lib/testHelper.js1032 function updateRangeInputViewValue(newVal) {
LOWtest/lib/testHelper.js1036 function resetRangeInputWrapperCSS(wrapperEl, disabled) {
LOWtest/lib/testHelper.js1073 function dispatchRangeInputChangedEvent() {
LOWtest/lib/testHelper.js1116 listener: function dispatchSelectInputChangedEvent() {
LOWtest/lib/testHelper.js1146 function createSelectInputElements() {
LOWtest/lib/testHelper.js1164 function resetSelectInputWrapperCSS(selectWrapperEl, disabled) {
LOWtest/lib/testHelper.js1385 function makeSelectInputTextByValue(optionDef) {
LOWtest/lib/testHelper.js1678 function ensureBoundingRectsFacilities() {
LOWtest/lib/testHelper.js2778 function isMethodShorthandNotAccurate(fnStr, fnName, objKey) {
LOWtest/lib/testHelper.js3258 function objectNoOtherNotNullUndefinedPropExcept(obj, exceptProps) {
LOWsrc/scale/break.ts144export function registerScaleBreakHelperImpl(impl: BreakScaleHelper): void {
LOWsrc/scale/breakImpl.ts628function serializeAxisBreakIdentifier(identifier: AxisBreakOptionIdentifierInAxis): string {
LOWsrc/scale/breakImpl.ts679function getTicksBreakOutwardTransform(
LOWsrc/scale/breakImpl.ts715function parseAxisBreakOptionInwardTransform(
LOWsrc/scale/breakImpl.ts757function makeAxisLabelFormatterParamBreak(
LOWsrc/scale/helper.ts224export function intervalScaleEnsureValidExtent(
LOWsrc/scale/scaleMapper.ts351export function getScaleExtentForTickUnsafe(mapper: ScaleMapper): number[] {
LOWsrc/scale/scaleMapper.ts355export function getScaleExtentForMappingUnsafe(
LOWsrc/scale/scaleMapper.ts364export function getScaleLinearSpanForMapping(mapper: ScaleMapper): number {
LOWsrc/scale/scaleMapper.ts369export function getScaleLinearSpanEffective(mapper: ScaleMapper): number {
LOWsrc/scale/Time.ts301function isPrimaryUnitValueAndGreaterSame(
LOWsrc/scale/Time.ts430function getMinutesAndSecondsInterval(approxInterval: number, isMinutes?: boolean) {
LOWsrc/scale/Time.ts452function createEstimateNiceMultiple(
LOWsrc/core/CoordinateSystem.ts109function canBeNonSeriesBoxCoordSys(coordSysType: string): boolean {
LOWsrc/core/CoordinateSystem.ts130export function registerLayOutOnCoordSysUsage(opt: {
LOWsrc/core/CoordinateSystem.ts149export function getCoordForCoordSysUsageKindBox(
LOWsrc/core/echarts.ts329function createRegisterEventWithLowercaseECharts(method: EventMethodName) {
LOWsrc/core/echarts.ts338function createRegisterEventWithLowercaseMessageCenter(method: EventMethodName) {
214 more matches not shown…
Over-Commented Block180 hits · 179 pts
SeverityFileLineSnippet
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under one
LOW.eslintrc-common.yaml1
LOW.eslintrc-common-production.yaml1
LOW.lgtm.yml1
LOWtest/visualMap-scatter-symbolSize.html41
LOWtest/visualMap-scatter-symbolSize.html61 // Math.round(Math.random() * (symbolCount - 1))
LOWtest/candlestick-large3.html181 }
LOWtest/candlestick-large3.html241 // {
LOWtest/candlestick-large3.html281 // var param = param[0];
LOWtest/candlestick-large3.html301 // {
LOWtest/candlestick-large3.html321 // type: 'line',
LOWtest/candlestick-large3.html341 autoResize: false,
LOWtest/candlestick-large3.html361 // min = Math.min(val, min);
LOWtest/candlestick-large2.html301 '(2) Check visualMap after zoomed to normal mode'
LOWtest/candlestick-large2.html321 // max = Math.max(val, max);
LOWtest/graphic-animation-wave.html121 });
LOWtest/dataset-performance.html61 // type: 'category',
LOWtest/dataset-performance.html141 // return i
LOWtest/gauge.html461 setInterval(function () {
LOWtest/gauge.html481 // normal: {
LOWtest/scatter-random-stream-fix-axis.html121 legend: {
LOWtest/scatter-random-stream-fix-axis.html161 type: 'scatter',
LOWtest/scatter-random-stream-fix-axis.html181 // }
LOWtest/mobileBench.html81
LOWtest/scatter-random-stream.html121 left: 'left',
LOWtest/scatter-random-stream.html161 // large: {
LOWtest/bar-t.html121 // // feature: {
LOWtest/bar-t.html141 // // },
LOWtest/bar-t.html221 // }, {
LOWtest/tree-roam.html161
LOWtest/geo-data-stream.html81 fontSize: 12
LOWtest/dataZoom-extreme.html161 // type: 'category',
LOWtest/candlestick-large.html161 // data: data.categoryData,
LOWtest/candlestick-large.html181 // min: 'dataMin',
LOWtest/candlestick-large.html241 // return [
LOWtest/candlestick-large.html261 // {
LOWtest/candlestick-large.html281 // type: 'line',
LOWtest/candlestick-large.html301 option: option,
LOWtest/candlestick-large.html321
LOWtest/media-finance.html101 <script src="data/timelineGDP.js"></script>
LOWtest/map-nested.html101 echarts.registerMap('nestedMap', geoJSON);
LOWtest/timeline-finance.html41 <script src="data/timelineGDP.js"></script>
LOWtest/geo-svg-demo.html181 type: 'downplay',
LOWtest/parallel-lineStyle.html101 }
LOWtest/sankey-vertical.html41
LOWtest/sankey-vertical.html61 // ],
LOWtest/sankey-vertical.html81 // {source: 'Portugal', target: 'South Africa', value: 3},
LOWtest/candlestick.html141 // tooltip: {
LOWtest/connect.html181 // fromChart.on('legendselectchanged', function (params) {
LOWtest/diff.html81 // xAxis: {
LOWtest/covid-america.html4901 for (j = 0; j < data[n].length; j++) {
LOWtest/covid-america.html4961 }
LOWtest/covid-america.html4981 // }
LOWtest/covid-america.html5001 // }, {
LOWtest/line.html81 // shadowBlur: 10,
LOWtest/line.html101 // padding: 10,
LOWtest/ut/.eslintrc.yaml1
LOWtest/ut/core/utHelper.ts101// next();
LOWtest/ut/spec/api/containPixel.test.ts321 // series: [
LOWtest/ut/spec/api/containPixel.test.ts341 // expect(chart.containPixel('series', [40, height / 2 + 10])).toEqual(true);
120 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALtest/lib/jquery.min.js5return 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
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMsrc/animation/universalTransition.ts317 // It's more robust than groupId
MEDIUMsrc/component/timeline/SliderTimelineView.ts828 // leverage performance and auto updateTransform)
MEDIUMsrc/view/Chart.ts256 // PENDING: more robust approaches?
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippet
LOW.github/ISSUE_TEMPLATE/feature_request.yml17 For non-technical support or general questions, you can email [dev@echarts.apache.org](mailto:dev@echarts.apache.o
LOW.github/ISSUE_TEMPLATE/bug_report.yml17 For non-technical support or general questions, you can email [dev@echarts.apache.org](mailto:dev@echarts.apache.o
LOWsrc/util/states.ts186 * DON'T forget to clearStates before we update the style and shape.