uber / piranha
File Size

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

Intro
Learn more...
File Size Overall
18% | 19% | 23% | 17% | 21%
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
toml40% | 43% | 0% | 0% | 16%
rs0% | 0% | 58% | 26% | 15%
py0% | 0% | 30% | 26% | 42%
js0% | 0% | 0% | 100% | 0%
html0% | 0% | 0% | 100% | 0%
pyi0% | 0% | 0% | 100% | 0%
css0% | 0% | 0% | 0% | 100%
go0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src24% | 26% | 23% | 10% | 14%
experimental0% | 0% | 38% | 38% | 23%
ROOT0% | 0% | 0% | 68% | 31%
plugins0% | 0% | 0% | 12% | 87%
Longest Files (Top 50)
File# lines# units
rules.toml
in src/cleanup_rules/swift
1251 -
rules.toml
in src/cleanup_rules/ruby
1103 -
rules.toml
in src/cleanup_rules/java
685 -
rules.toml
in src/cleanup_rules/kt
683 -
rules.toml
in src/cleanup_rules/java_cs
584 -
rules.toml
in src/cleanup_rules/go
554 -
matches.rs
in src/models
405 22
filter.rs
in src/models
337 12
317 6
source_code_unit.rs
in src/models
287 7
piranha_chat.py
in experimental/piranha_playground/rule_inference
282 7
piranha_agent.py
in experimental/piranha_playground/rule_inference
260 11
concrete_syntax.rs
in src/models
245 6
tree_sitter_utilities.rs
in src/utilities
236 6
rule.rs
in src/models
234 6
rule_graph.rs
in src/models
225 4
static_inference.py
in experimental/piranha_playground/rule_inference
201 12
script.js
in experimental/piranha_playground/static
193 17
lib.rs
in src
188 6
default_configs.rs
in src/models
159 -
rule_store.rs
in src/models
156 2
index.html
in experimental/piranha_playground/templates
156 -
156 14
edit.rs
in src/models
155 3
rule_utils.py
in experimental/piranha_playground/rule_inference/utils
153 12
153 7
138 2
utils.rs
in src/df
132 -
rule_application.py
in experimental/piranha_playground/rule_inference
118 6
mod.rs
in src/utilities
115 4
node_utils.py
in experimental/piranha_playground/rule_inference/utils
107 8
__init__.py
in plugins/spark_upgrade/java_spark_context
104 6
language.rs
in src/models
100 2
scope_config.toml
in src/cleanup_rules/java
97 -
scope_config.toml
in src/cleanup_rules/java_cs
97 -
__init__.py
in plugins/spark_upgrade/scala_session_builder
96 6
main.py
in experimental/piranha_playground
89 6
execute_piranha.py
in plugins/spark_upgrade
89 10
86 5
__init__.py
in plugins/spark_upgrade/spark_config
85 5
edges.toml
in src/cleanup_rules/swift
84 -
styles.css
in experimental/piranha_playground/static
79 -
edges.toml
in src/cleanup_rules/java
76 -
edges.toml
in src/cleanup_rules/java_cs
76 -
template_parser.py
in experimental/piranha_playground/rule_inference
74 5
analysis.rs
in src/df
72 2
edges.toml
in src/cleanup_rules/kt
72 -
main.py
in plugins/spark_upgrade
72 4
Cargo.toml
in root
71 -
__main__.py
in plugins/zap-transformation
69 3
Files With Most Units (Top 50)
File# lines# units
matches.rs
in src/models
405 22
script.js
in experimental/piranha_playground/static
193 17
156 14
filter.rs
in src/models
337 12
rule_utils.py
in experimental/piranha_playground/rule_inference/utils
153 12
static_inference.py
in experimental/piranha_playground/rule_inference
201 12
piranha_agent.py
in experimental/piranha_playground/rule_inference
260 11
execute_piranha.py
in plugins/spark_upgrade
89 10
node_utils.py
in experimental/piranha_playground/rule_inference/utils
107 8
source_code_unit.rs
in src/models
287 7
piranha_chat.py
in experimental/piranha_playground/rule_inference
282 7
153 7
317 6
rule.rs
in src/models
234 6
concrete_syntax.rs
in src/models
245 6
lib.rs
in src
188 6
tree_sitter_utilities.rs
in src/utilities
236 6
rule_application.py
in experimental/piranha_playground/rule_inference
118 6
main.py
in experimental/piranha_playground
89 6
__init__.py
in plugins/spark_upgrade/scala_session_builder
96 6
__init__.py
in plugins/spark_upgrade/java_spark_context
104 6
86 5
template_parser.py
in experimental/piranha_playground/rule_inference
74 5
update_calendar_interval.py
in plugins/spark_upgrade
50 5
__init__.py
in plugins/spark_upgrade/spark_config
85 5
rule_graph.rs
in src/models
225 4
mod.rs
in src/utilities
115 4
query_test_check_answer_change.py
in plugins/spark_upgrade
37 4
sql_new_execution.py
in plugins/spark_upgrade
28 4
IDF_model_signature_change.py
in plugins/spark_upgrade
27 4
main.py
in plugins/spark_upgrade
72 4
gradient_boost_trees.py
in plugins/spark_upgrade
48 4
accessing_execution_plan.py
in plugins/spark_upgrade
31 4
calculator_signature_change.py
in plugins/spark_upgrade
47 4
outgoing_edges.rs
in src/models
60 3
edit.rs
in src/models
155 3
controller.py
in experimental/piranha_playground/rule_inference
44 3
__main__.py
in plugins/zap-transformation
69 3
rule_store.rs
in src/models
156 2
language.rs
in src/models
100 2
138 2
piranha_output.rs
in src/models
55 2
analysis.rs
in src/df
72 2
main.rs
in src
43 2
pretty_toml.py
in experimental/piranha_playground/rule_inference/utils
11 2
graph_parser.py
in experimental/piranha_playground/rule_inference
54 2
logger_formatter.py
in experimental/piranha_playground/rule_inference/utils
22 1
data_validation.py
in experimental/piranha_playground
30 1
sample.go
in plugins/zap-transformation/resource
6 1
build.rs
in root
31 1
Files With Long Lines (Top 15)

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

File# lines# units# long lines
piranha_chat.py
in experimental/piranha_playground/rule_inference
282 7 13
rules.toml
in src/cleanup_rules/java
685 - 7
rules.toml
in src/cleanup_rules/kt
683 - 6
scope_config.toml
in src/cleanup_rules/java
97 - 5
scope_config.toml
in src/cleanup_rules/java_cs
97 - 5
156 14 5
filter.rs
in src/models
337 12 4
__init__.py
in plugins/spark_upgrade/spark_config
85 5 4
source_code_unit.rs
in src/models
287 7 2
Cargo.toml
in root
71 - 2
153 7 2
317 6 1
rule.rs
in src/models
234 6 1
rules.toml
in src/cleanup_rules/java_cs
584 - 1
execute_piranha.py
in plugins/spark_upgrade
89 10 1
Correlations

File Size vs. Commits (all time): 86 points

Cargo.toml x: 59 commits (all time) y: 71 lines of code pyproject.toml x: 6 commits (all time) y: 25 lines of code polyglot_piranha.pyi x: 30 commits (all time) y: 153 lines of code src/models/default_configs.rs x: 42 commits (all time) y: 159 lines of code src/models/edit.rs x: 15 commits (all time) y: 155 lines of code src/models/matches.rs x: 20 commits (all time) y: 405 lines of code src/models/piranha_arguments.rs x: 37 commits (all time) y: 317 lines of code src/models/piranha_output.rs x: 8 commits (all time) y: 55 lines of code src/utilities/tree_sitter_utilities.rs x: 15 commits (all time) y: 236 lines of code src/models/language.rs x: 25 commits (all time) y: 100 lines of code src/main.rs x: 6 commits (all time) y: 43 lines of code src/lib.rs x: 26 commits (all time) y: 188 lines of code src/models/source_code_unit.rs x: 24 commits (all time) y: 287 lines of code src/models/concrete_syntax.rs x: 4 commits (all time) y: 245 lines of code src/cleanup_rules/ruby/rules.toml x: 2 commits (all time) y: 1103 lines of code src/cleanup_rules/ruby/edges.toml x: 1 commits (all time) y: 40 lines of code src/cleanup_rules/ruby/scope_config.toml x: 1 commits (all time) y: 36 lines of code plugins/spark_upgrade/accessing_execution_plan.py x: 2 commits (all time) y: 31 lines of code plugins/spark_upgrade/gradient_boost_trees.py x: 2 commits (all time) y: 48 lines of code plugins/spark_upgrade/java_spark_context/__init__.py x: 1 commits (all time) y: 104 lines of code plugins/spark_upgrade/main.py x: 11 commits (all time) y: 72 lines of code plugins/spark_upgrade/scala_session_builder/__init__.py x: 1 commits (all time) y: 96 lines of code plugins/spark_upgrade/spark_config/__init__.py x: 5 commits (all time) y: 85 lines of code plugins/zap-transformation/__main__.py x: 1 commits (all time) y: 69 lines of code plugins/zap-transformation/resource/sample.go x: 1 commits (all time) y: 6 lines of code src/df/utils.rs x: 4 commits (all time) y: 132 lines of code src/utilities/mod.rs x: 13 commits (all time) y: 115 lines of code src/models/filter.rs x: 14 commits (all time) y: 337 lines of code src/models/outgoing_edges.rs x: 9 commits (all time) y: 60 lines of code src/models/rule.rs x: 25 commits (all time) y: 234 lines of code src/models/rule_graph.rs x: 18 commits (all time) y: 225 lines of code src/cleanup_rules/swift/edges.toml x: 11 commits (all time) y: 84 lines of code src/cleanup_rules/swift/rules.toml x: 31 commits (all time) y: 1251 lines of code src/cleanup_rules/swift/scope_config.toml x: 7 commits (all time) y: 62 lines of code experimental/setup.py x: 5 commits (all time) y: 33 lines of code plugins/spark_upgrade/sql_new_execution.py x: 1 commits (all time) y: 28 lines of code plugins/spark_upgrade/calculator_signature_change.py x: 1 commits (all time) y: 47 lines of code plugins/spark_upgrade/execute_piranha.py x: 1 commits (all time) y: 89 lines of code plugins/spark_upgrade/update_calendar_interval.py x: 2 commits (all time) y: 50 lines of code plugins/pyproject.toml x: 1 commits (all time) y: 17 lines of code experimental/piranha_playground/rule_inference/rule_application.py x: 5 commits (all time) y: 118 lines of code src/models/rule_store.rs x: 22 commits (all time) y: 156 lines of code src/cleanup_rules/go/rules.toml x: 9 commits (all time) y: 554 lines of code src/cleanup_rules/java_cs/edges.toml x: 1 commits (all time) y: 76 lines of code src/cleanup_rules/java_cs/rules.toml x: 1 commits (all time) y: 584 lines of code src/models/capture_group_patterns.rs x: 6 commits (all time) y: 138 lines of code src/models/mod.rs x: 8 commits (all time) y: 28 lines of code visualize_rules_graph.py x: 2 commits (all time) y: 156 lines of code experimental/piranha_playground/rule_inference/static_inference.py x: 7 commits (all time) y: 201 lines of code src/df/mod.rs x: 1 commits (all time) y: 13 lines of code src/df/tag_analysis.rs x: 1 commits (all time) y: 86 lines of code experimental/piranha_playground/rule_inference/graph_parser.py x: 4 commits (all time) y: 54 lines of code experimental/piranha_playground/rule_inference/utils/node_utils.py x: 2 commits (all time) y: 107 lines of code experimental/piranha_playground/main.py x: 4 commits (all time) y: 89 lines of code experimental/piranha_playground/rule_inference/template_parser.py x: 3 commits (all time) y: 74 lines of code src/cleanup_rules/java/scope_config.toml x: 5 commits (all time) y: 97 lines of code experimental/piranha_playground/static/script.js x: 3 commits (all time) y: 193 lines of code experimental/piranha_playground/templates/index.html x: 4 commits (all time) y: 156 lines of code experimental/piranha_playground/data_validation.py x: 3 commits (all time) y: 30 lines of code experimental/piranha_playground/rule_inference/piranha_agent.py x: 3 commits (all time) y: 260 lines of code experimental/piranha_playground/rule_inference/controller.py x: 2 commits (all time) y: 44 lines of code experimental/piranha_playground/rule_inference/piranha_chat.py x: 2 commits (all time) y: 282 lines of code src/cleanup_rules/java/rules.toml x: 9 commits (all time) y: 685 lines of code src/cleanup_rules/kt/rules.toml x: 12 commits (all time) y: 683 lines of code src/models/scopes.rs x: 7 commits (all time) y: 68 lines of code experimental/MANIFEST.in x: 1 commits (all time) y: 2 lines of code experimental/piranha_playground/rule_inference/utils/logger_formatter.py x: 1 commits (all time) y: 22 lines of code experimental/piranha_playground/static/styles.css x: 1 commits (all time) y: 79 lines of code src/cleanup_rules/go/edges.toml x: 3 commits (all time) y: 68 lines of code src/cleanup_rules/go/scope_config.toml x: 3 commits (all time) y: 54 lines of code src/cleanup_rules/kt/scope_config.toml x: 3 commits (all time) y: 57 lines of code rustfmt.toml x: 2 commits (all time) y: 15 lines of code src/cleanup_rules/java/edges.toml x: 2 commits (all time) y: 76 lines of code src/cleanup_rules/kt/edges.toml x: 2 commits (all time) y: 72 lines of code
1251.0
lines of code
  min: 1.0
  average: 148.42
  25th percentile: 39.25
  median: 76.0
  75th percentile: 156.0
  max: 1251.0
0 59.0
commits (all time)
min: 1.0 | average: 7.51 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 9.0 | max: 59.0

File Size vs. Contributors (all time): 86 points

Cargo.toml x: 11 contributors (all time) y: 71 lines of code pyproject.toml x: 3 contributors (all time) y: 25 lines of code polyglot_piranha.pyi x: 5 contributors (all time) y: 153 lines of code src/models/default_configs.rs x: 6 contributors (all time) y: 159 lines of code src/models/edit.rs x: 4 contributors (all time) y: 155 lines of code src/models/matches.rs x: 5 contributors (all time) y: 405 lines of code src/models/piranha_arguments.rs x: 6 contributors (all time) y: 317 lines of code src/models/piranha_output.rs x: 4 contributors (all time) y: 55 lines of code src/utilities/tree_sitter_utilities.rs x: 2 contributors (all time) y: 236 lines of code src/models/language.rs x: 6 contributors (all time) y: 100 lines of code src/main.rs x: 2 contributors (all time) y: 43 lines of code src/lib.rs x: 3 contributors (all time) y: 188 lines of code src/models/source_code_unit.rs x: 2 contributors (all time) y: 287 lines of code src/models/concrete_syntax.rs x: 2 contributors (all time) y: 245 lines of code src/cleanup_rules/ruby/rules.toml x: 1 contributors (all time) y: 1103 lines of code src/cleanup_rules/ruby/edges.toml x: 1 contributors (all time) y: 40 lines of code src/cleanup_rules/ruby/scope_config.toml x: 1 contributors (all time) y: 36 lines of code plugins/spark_upgrade/accessing_execution_plan.py x: 2 contributors (all time) y: 31 lines of code plugins/spark_upgrade/gradient_boost_trees.py x: 2 contributors (all time) y: 48 lines of code plugins/spark_upgrade/java_spark_context/__init__.py x: 1 contributors (all time) y: 104 lines of code plugins/spark_upgrade/main.py x: 2 contributors (all time) y: 72 lines of code plugins/spark_upgrade/scala_session_builder/__init__.py x: 1 contributors (all time) y: 96 lines of code plugins/spark_upgrade/spark_config/__init__.py x: 2 contributors (all time) y: 85 lines of code plugins/zap-transformation/__main__.py x: 1 contributors (all time) y: 69 lines of code plugins/zap-transformation/resource/sample.go x: 1 contributors (all time) y: 6 lines of code src/df/utils.rs x: 2 contributors (all time) y: 132 lines of code src/utilities/mod.rs x: 3 contributors (all time) y: 115 lines of code src/models/filter.rs x: 3 contributors (all time) y: 337 lines of code src/models/outgoing_edges.rs x: 2 contributors (all time) y: 60 lines of code src/models/rule.rs x: 3 contributors (all time) y: 234 lines of code src/models/rule_graph.rs x: 3 contributors (all time) y: 225 lines of code src/cleanup_rules/swift/edges.toml x: 4 contributors (all time) y: 84 lines of code src/cleanup_rules/swift/rules.toml x: 5 contributors (all time) y: 1251 lines of code src/cleanup_rules/swift/scope_config.toml x: 4 contributors (all time) y: 62 lines of code plugins/spark_upgrade/sql_new_execution.py x: 1 contributors (all time) y: 28 lines of code plugins/spark_upgrade/calculator_signature_change.py x: 1 contributors (all time) y: 47 lines of code plugins/spark_upgrade/execute_piranha.py x: 1 contributors (all time) y: 89 lines of code plugins/spark_upgrade/update_calendar_interval.py x: 1 contributors (all time) y: 50 lines of code plugins/pyproject.toml x: 1 contributors (all time) y: 17 lines of code experimental/piranha_playground/rule_inference/rule_application.py x: 2 contributors (all time) y: 118 lines of code src/models/rule_store.rs x: 2 contributors (all time) y: 156 lines of code src/cleanup_rules/go/rules.toml x: 3 contributors (all time) y: 554 lines of code src/cleanup_rules/java_cs/edges.toml x: 1 contributors (all time) y: 76 lines of code src/cleanup_rules/java_cs/rules.toml x: 1 contributors (all time) y: 584 lines of code src/models/capture_group_patterns.rs x: 2 contributors (all time) y: 138 lines of code experimental/piranha_playground/rule_inference/static_inference.py x: 1 contributors (all time) y: 201 lines of code src/df/mod.rs x: 1 contributors (all time) y: 13 lines of code src/df/tag_analysis.rs x: 1 contributors (all time) y: 86 lines of code src/cleanup_rules/java/scope_config.toml x: 2 contributors (all time) y: 97 lines of code experimental/piranha_playground/static/script.js x: 1 contributors (all time) y: 193 lines of code experimental/piranha_playground/templates/index.html x: 1 contributors (all time) y: 156 lines of code experimental/piranha_playground/data_validation.py x: 1 contributors (all time) y: 30 lines of code experimental/piranha_playground/rule_inference/piranha_agent.py x: 1 contributors (all time) y: 260 lines of code experimental/piranha_playground/rule_inference/piranha_chat.py x: 1 contributors (all time) y: 282 lines of code src/cleanup_rules/java/rules.toml x: 3 contributors (all time) y: 685 lines of code src/cleanup_rules/kt/rules.toml x: 3 contributors (all time) y: 683 lines of code src/models/scopes.rs x: 2 contributors (all time) y: 68 lines of code experimental/MANIFEST.in x: 1 contributors (all time) y: 2 lines of code experimental/piranha_playground/rule_inference/utils/logger_formatter.py x: 1 contributors (all time) y: 22 lines of code experimental/piranha_playground/static/styles.css x: 1 contributors (all time) y: 79 lines of code src/cleanup_rules/go/edges.toml x: 1 contributors (all time) y: 68 lines of code src/cleanup_rules/go/scope_config.toml x: 2 contributors (all time) y: 54 lines of code src/cleanup_rules/kt/scope_config.toml x: 2 contributors (all time) y: 57 lines of code
1251.0
lines of code
  min: 1.0
  average: 148.42
  25th percentile: 39.25
  median: 76.0
  75th percentile: 156.0
  max: 1251.0
0 11.0
contributors (all time)
min: 1.0 | average: 2.02 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.25 | max: 11.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 9 points

Cargo.toml x: 2 commits (90d) y: 71 lines of code pyproject.toml x: 2 commits (90d) y: 25 lines of code polyglot_piranha.pyi x: 1 commits (90d) y: 153 lines of code src/models/default_configs.rs x: 1 commits (90d) y: 159 lines of code src/models/edit.rs x: 1 commits (90d) y: 155 lines of code src/models/matches.rs x: 1 commits (90d) y: 405 lines of code src/models/piranha_arguments.rs x: 1 commits (90d) y: 317 lines of code src/models/piranha_output.rs x: 1 commits (90d) y: 55 lines of code src/utilities/tree_sitter_utilities.rs x: 1 commits (90d) y: 236 lines of code
405.0
lines of code
  min: 25.0
  average: 175.11
  25th percentile: 63.0
  median: 155.0
  75th percentile: 276.5
  max: 405.0
0 2.0
commits (90d)
min: 1.0 | average: 1.22 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 2.0

File Size vs. Contributors (90 days): 9 points

Cargo.toml x: 1 contributors (90d) y: 71 lines of code pyproject.toml x: 1 contributors (90d) y: 25 lines of code polyglot_piranha.pyi x: 1 contributors (90d) y: 153 lines of code src/models/default_configs.rs x: 1 contributors (90d) y: 159 lines of code src/models/edit.rs x: 1 contributors (90d) y: 155 lines of code src/models/matches.rs x: 1 contributors (90d) y: 405 lines of code src/models/piranha_arguments.rs x: 1 contributors (90d) y: 317 lines of code src/models/piranha_output.rs x: 1 contributors (90d) y: 55 lines of code src/utilities/tree_sitter_utilities.rs x: 1 contributors (90d) y: 236 lines of code
405.0
lines of code
  min: 25.0
  average: 175.11
  25th percentile: 63.0
  median: 155.0
  75th percentile: 276.5
  max: 405.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0