Repository Analysis

tradingview/lightweight-charts

1.0 Likely human-written View on GitHub
1.0
Adjusted Score
1.0
Raw Score
100%
Time Factor
Last Push
Stars
Language
154,270
Lines of Code
1293
Files
145
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 144

Pattern Findings

145 matches across 4 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers135 hits · 138 pts
SeverityFileLineSnippet
LOWwebsite/plugins/suppress-resize-observer-error/index.js6module.exports = function suppressResizeObserverError() {
LOW…e/plugins/enhanced-codeblock/theme/CodeBlock/index.jsx16export function replaceThemeConstantStrings(originalString, isDarkTheme) {
LOW…docs/plugins/pixel-perfect-rendering/widths/columns.md148function fixPositionsAndReturnSmallestWidth(
LOW…docs/plugins/pixel-perfect-rendering/widths/columns.md161function fixAlignmentForNarrowColumns(
LOW…docs/plugins/pixel-perfect-rendering/widths/columns.md227export function calculateColumnPositionsInPlace(
LOW…cs/plugins/pixel-perfect-rendering/widths/crosshair.md35export function gridAndCrosshairBitmapWidth(
LOW…cs/plugins/pixel-perfect-rendering/widths/crosshair.md46export function gridAndCrosshairMediaWidth(
LOWwebsite/tutorials/a11y/assets/a11y-chart.html448 function setTooltipContentFromTemplate(id) {
LOWwebsite/tutorials/demos/moving-average.js89function calculateMovingAverageSeriesData(candleData, maLength) {
LOW…-5.1/plugins/pixel-perfect-rendering/widths/columns.md148function fixPositionsAndReturnSmallestWidth(
LOW…-5.1/plugins/pixel-perfect-rendering/widths/columns.md161function fixAlignmentForNarrowColumns(
LOW…-5.1/plugins/pixel-perfect-rendering/widths/columns.md227export function calculateColumnPositionsInPlace(
LOW….1/plugins/pixel-perfect-rendering/widths/crosshair.md35export function gridAndCrosshairBitmapWidth(
LOW….1/plugins/pixel-perfect-rendering/widths/crosshair.md46export function gridAndCrosshairMediaWidth(
LOW…-5.0/plugins/pixel-perfect-rendering/widths/columns.md148function fixPositionsAndReturnSmallestWidth(
LOW…-5.0/plugins/pixel-perfect-rendering/widths/columns.md161function fixAlignmentForNarrowColumns(
LOW…-5.0/plugins/pixel-perfect-rendering/widths/columns.md227export function calculateColumnPositionsInPlace(
LOW….0/plugins/pixel-perfect-rendering/widths/crosshair.md35export function gridAndCrosshairBitmapWidth(
LOW….0/plugins/pixel-perfect-rendering/widths/crosshair.md46export function gridAndCrosshairMediaWidth(
LOW…-4.2/plugins/pixel-perfect-rendering/widths/columns.md148function fixPositionsAndReturnSmallestWidth(
LOW…-4.2/plugins/pixel-perfect-rendering/widths/columns.md161function fixAlignmentForNarrowColumns(
LOW…-4.2/plugins/pixel-perfect-rendering/widths/columns.md227export function calculateColumnPositionsInPlace(
LOW….2/plugins/pixel-perfect-rendering/widths/crosshair.md35export function gridAndCrosshairBitmapWidth(
LOW….2/plugins/pixel-perfect-rendering/widths/crosshair.md46export function gridAndCrosshairMediaWidth(
LOW…-5.2/plugins/pixel-perfect-rendering/widths/columns.md148function fixPositionsAndReturnSmallestWidth(
LOW…-5.2/plugins/pixel-perfect-rendering/widths/columns.md161function fixAlignmentForNarrowColumns(
LOW…-5.2/plugins/pixel-perfect-rendering/widths/columns.md227export function calculateColumnPositionsInPlace(
LOW….2/plugins/pixel-perfect-rendering/widths/crosshair.md35export function gridAndCrosshairBitmapWidth(
LOW….2/plugins/pixel-perfect-rendering/widths/crosshair.md46export function gridAndCrosshairMediaWidth(
LOW…-4.1/plugins/pixel-perfect-rendering/widths/columns.md148function fixPositionsAndReturnSmallestWidth(
LOW…-4.1/plugins/pixel-perfect-rendering/widths/columns.md161function fixAlignmentForNarrowColumns(
LOW…-4.1/plugins/pixel-perfect-rendering/widths/columns.md227export function calculateColumnPositionsInPlace(
LOW….1/plugins/pixel-perfect-rendering/widths/crosshair.md35export function gridAndCrosshairBitmapWidth(
LOW….1/plugins/pixel-perfect-rendering/widths/crosshair.md46export function gridAndCrosshairMediaWidth(
LOWwebsite/src/components/landing-page/HeroChart/index.tsx51function useThemeAwareLayoutOptions(): DeepPartial<LayoutOptions> {
LOW…tions/test-cases/markers/hit-test-priceline-overlap.js15function initialInteractionsToPerform() {
LOW…tions/test-cases/markers/hit-test-priceline-overlap.js21function finalInteractionsToPerform() {
LOW…s/test-cases/markers/price-positioned-text-hit-test.js15function initialInteractionsToPerform() {
LOW…s/test-cases/markers/price-positioned-text-hit-test.js21function finalInteractionsToPerform() {
LOW…/test-cases/markers/hit-test-after-timescale-change.js15function initialInteractionsToPerform() {
LOW…/test-cases/markers/hit-test-after-timescale-change.js21function finalInteractionsToPerform() {
LOW…s/e2e/interactions/test-cases/markers/text-hit-test.js15function initialInteractionsToPerform() {
LOW…s/e2e/interactions/test-cases/markers/text-hit-test.js21function finalInteractionsToPerform() {
LOW…uch/horz-page-scroll-when-handle-scroll-is-disabled.js15function initialInteractionsToPerform() {
LOW…uch/horz-page-scroll-when-handle-scroll-is-disabled.js19function finalInteractionsToPerform() {
LOW…dont-horz-page-scroll-when-handle-scroll-is-enabled.js15function initialInteractionsToPerform() {
LOW…dont-horz-page-scroll-when-handle-scroll-is-enabled.js19function finalInteractionsToPerform() {
LOW…-vertical-page-scroll-when-handle-scroll-is-enabled.js15function initialInteractionsToPerform() {
LOW…-vertical-page-scroll-when-handle-scroll-is-enabled.js19function finalInteractionsToPerform() {
LOW…vertical-page-scroll-when-handle-scroll-is-disabled.js15function initialInteractionsToPerform() {
LOW…vertical-page-scroll-when-handle-scroll-is-disabled.js19function finalInteractionsToPerform() {
LOW…t-cases/plugins/custom-series-fallback-mouse-params.js91function initialInteractionsToPerform() {
LOW…t-cases/plugins/custom-series-fallback-mouse-params.js103function finalInteractionsToPerform() {
LOW…ractions/test-cases/plugins/pane-primitive-hit-test.js112function initialInteractionsToPerform() {
LOW…ractions/test-cases/plugins/pane-primitive-hit-test.js116function finalInteractionsToPerform() {
LOW…ts/e2e/interactions/test-cases/plugins/hit-test-top.js112function initialInteractionsToPerform() {
LOW…ts/e2e/interactions/test-cases/plugins/hit-test-top.js116function finalInteractionsToPerform() {
LOW…tions/test-cases/plugins/custom-series-mouse-params.js341function initialInteractionsToPerform() {
LOW…tions/test-cases/plugins/custom-series-mouse-params.js353function finalInteractionsToPerform() {
LOW…e2e/interactions/test-cases/plugins/hit-test-bottom.js112function initialInteractionsToPerform() {
75 more matches not shown…
Overly Generic Function Names5 hits · 5 pts
SeverityFileLineSnippet
LOW…e/realign-partially-hidden-time-scale-mark-on-right.js1function getData() {
LOW…le/realign-partially-hidden-time-scale-mark-on-left.js1function getData() {
LOW…s/test-cases/initial-options/tick-marks-formatter-2.js5function getData() {
LOW…raphics/test-cases/initial-options/time-formatter-2.js5function getData() {
LOW…ics/test-cases/initial-options/tick-marks-formatter.js8function getData() {
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOW…s/test-cases/time-scale/add-data-to-left-two-series.js201 // shift timescale (right end of line is visible, left end of line is visible)
LOW…2e/graphics/test-cases/time-scale/add-data-to-right.js181 // ------------
LOW…e2e/graphics/test-cases/time-scale/add-data-to-left.js161
LOW…/test-cases/time-scale/add-data-to-right-two-series.js201 addDataToRight(data2, areaSeries2);
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMscripts/githooks/install.js43# This file is autogenerated