mozilla / redash
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
2% | <1% | 26% | 31% | 38%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py7% | 0% | 36% | 27% | 29%
jsx0% | 2% | 22% | 38% | 36%
js0% | 0% | 18% | 34% | 47%
less0% | 0% | 25% | 20% | 54%
html0% | 0% | 50% | 0% | 49%
css0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
mako0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
redash7% | 0% | 38% | 27% | 26%
client0% | 1% | 25% | 34% | 38%
viz-lib0% | 0% | 9% | 32% | 57%
migrations0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
__init__.py
in redash/models
1365 116
ParameterMappingInput.jsx
in client/app/components
561 -
parameter_spec.js
in client/cypress/integration/query
494 8
layout.html
in redash/templates/emails
471 -
elasticsearch.py
in redash/query_runner
428 18
query.less
in client/app/assets/less/redash
425 -
pg.py
in redash/query_runner
409 26
QuerySource.jsx
in client/app/pages/queries
406 -
query-result.js
in client/app/services
402 33
big_query.py
in redash/query_runner
376 19
__init__.py
in redash/settings
364 1
query.js
in client/app/services
344 38
__init__.py
in redash/serializers
343 18
queries.py
in redash/handlers
339 17
query_results.py
in redash/handlers
333 17
users.py
in redash/models
332 48
ant.less
in client/app/assets/less
324 -
__init__.py
in redash/query_runner
320 31
SchemaBrowser.jsx
in client/app/components/queries
317 -
profile.less
in client/app/assets/less/inc
305 -
api.py
in redash/handlers
305 2
UsersList.jsx
in client/app/pages/users
297 -
authentication.py
in redash/handlers
293 16
VisualizationWidget.jsx
in client/app/components/dashboards/dashboard-widget
292 -
header.less
in client/app/assets/less/inc
286 -
DynamicForm.jsx
in client/app/components/dynamic-form
275 -
users.py
in redash/handlers
268 12
users.py
in redash/cli
265 8
mongodb.py
in redash/query_runner
259 16
data_sources.py
in redash/handlers
257 12
DashboardHeader.jsx
in client/app/pages/dashboards/components
256 -
SchemaTable.jsx
in client/app/pages/data-sources/schema-table-components
255 -
VisualizationEmbed.jsx
in client/app/pages/queries
254 -
athena.py
in redash/query_runner
252 10
DashboardGrid.jsx
in client/app/components/dashboards
250 -
maintenance.py
in redash/tasks/queries
250 8
ScheduleDialog.jsx
in client/app/components/queries
248 -
GeneralSettings.jsx
in viz-lib/src/visualizations/chart/Editor
246 -
mysql.py
in redash/query_runner
245 14
EditParameterSettingsDialog.jsx
in client/app/components
244 -
Alert.jsx
in client/app/pages/alert
244 -
form.less
in client/app/assets/less/inc
242 -
dashboards.py
in redash/handlers
236 10
GroupDataSources.jsx
in client/app/pages/groups
234 -
__init__.py
in redash/authentication
233 15
execution.py
in redash/tasks/queries
230 11
StyleSettings.jsx
in viz-lib/src/visualizations/map/Editor
225 -
data_sources.py
in redash/cli
225 9
QueryPageHeader.jsx
in client/app/pages/queries/components
220 -
useDashboard.js
in client/app/pages/dashboards/hooks
218 3
Files With Most Units (Top 50)
File# lines# units
__init__.py
in redash/models
1365 116
users.py
in redash/models
332 48
query.js
in client/app/services
344 38
query-result.js
in client/app/services
402 33
__init__.py
in redash/query_runner
320 31
pg.py
in redash/query_runner
409 26
python.py
in redash/query_runner
215 21
__init__.py
in redash/utils
128 20
parameterized_query.py
in redash/models
167 19
big_query.py
in redash/query_runner
376 19
Parameter.js
in client/app/services/parameters
91 18
google_spreadsheets.py
in redash/query_runner
170 18
elasticsearch.py
in redash/query_runner
428 18
__init__.py
in redash/serializers
343 18
queries.py
in redash/handlers
339 17
query_results.py
in redash/handlers
333 17
types.py
in redash/models
82 16
mongodb.py
in redash/query_runner
259 16
authentication.py
in redash/handlers
293 16
76 16
jql.py
in redash/query_runner
152 15
configuration.py
in redash/utils
77 15
__init__.py
in redash/authentication
233 15
mysql.py
in redash/query_runner
245 14
base.py
in redash/handlers
92 14
widget.js
in client/app/services
208 13
DefaultPolicy.js
in client/app/services/policy
45 13
auth.js
in client/app/services
91 13
index.js
in client/cypress/support/redash-api
138 13
organizations.py
in redash/models
65 13
clickhouse.py
in redash/query_runner
163 13
groups.py
in redash/handlers
173 13
updateData.js
in viz-lib/src/visualizations/chart/plotly
172 12
prepareLayout.js
in viz-lib/src/visualizations/chart/plotly
105 12
initSankey.js
in viz-lib/src/visualizations/sankey
202 12
__init__.py
in redash/destinations
61 12
rockset.py
in redash/query_runner
94 12
json_ds.py
in redash/query_runner
148 12
yandex_metrica.py
in redash/query_runner
144 12
data_sources.py
in redash/handlers
257 12
users.py
in redash/handlers
268 12
initSunburst.js
in viz-lib/src/visualizations/sunburst
213 11
prepareDefaultData.js
in viz-lib/src/visualizations/chart/plotly
136 11
useQueryResultData.js
in client/app/lib
20 11
DateRangeParameter.js
in client/app/services/parameters
193 11
couchbase.py
in redash/query_runner
128 11
cloudwatch_insights.py
in redash/query_runner
125 11
query_results.py
in redash/query_runner
127 11
cass.py
in redash/query_runner
165 11
salesforce.py
in redash/query_runner
172 11
Files With Long Lines (Top 50)

There are 59 files with lines longer than 120 characters. In total, there are 88 long lines.

File# lines# units# long lines
invite.html
in redash/templates/emails
16 - 5
failures.html
in redash/templates/emails
35 - 5
layout.html
in redash/templates/emails
471 - 5
verify.html
in redash/templates/emails
12 - 4
login.html
in redash/templates
52 - 3
reset_disabled.html
in redash/templates/emails
7 - 3
reset.html
in redash/templates/emails
14 - 3
Router.jsx
in client/app/components/ApplicationArea
114 - 2
button.less
in client/app/assets/less/inc
113 - 2
google_spreadsheets.py
in redash/query_runner
170 18 2
treasuredata.py
in redash/query_runner
112 5 2
pg.py
in redash/query_runner
409 26 2
invite.html
in redash/templates
47 - 2
query_results.py
in redash/handlers
333 17 2
__init__.py
in redash/settings
364 1 2
value-format.js
in viz-lib/src/lib
73 6 1
SchemaBrowser.jsx
in client/app/components/queries
317 - 1
BeaconConsent.jsx
in client/app/components
69 - 1
variables.less
in client/app/assets/less/inc
157 - 1
generics.less
in client/app/assets/less/inc
82 - 1
EditDataSource.jsx
in client/app/pages/data-sources
147 - 1
Query.jsx
in client/app/pages/alert/components
61 - 1
Alert.jsx
in client/app/pages/alert
244 - 1
ShareDashboardDialog.jsx
in client/app/pages/dashboards/components
115 - 1
value-format.js
in client/app/lib
73 6 1
unsupported.html
in client/app
56 - 1
cypress.js
in client/cypress
90 5 1
__init__.py
in redash/destinations
61 12 1
hipchat.py
in redash/destinations
49 3 1
__init__.py
in redash/models
1365 116 1
hive_ds.py
in redash/query_runner
193 10 1
influx_db.py
in redash/query_runner
76 5 1
clickhouse.py
in redash/query_runner
163 13 1
presto.py
in redash/query_runner
119 5 1
mongodb.py
in redash/query_runner
259 16 1
snowflake.py
in redash/query_runner
125 9 1
script.py
in redash/query_runner
65 8 1
impala_ds.py
in redash/query_runner
120 4 1
mssql.py
in redash/query_runner
130 6 1
athena.py
in redash/query_runner
252 10 1
axibase_tsd.py
in redash/query_runner
170 8 1
oracle.py
in redash/query_runner
146 8 1
elasticsearch.py
in redash/query_runner
428 18 1
google_analytics.py
in redash/query_runner
172 10 1
graphite.py
in redash/query_runner
82 5 1
mssql_odbc.py
in redash/query_runner
126 6 1
vertica.py
in redash/query_runner
121 4 1
big_query.py
in redash/query_runner
376 19 1
cass.py
in redash/query_runner
165 11 1
__init__.py
in redash/query_runner
320 31 1