microsoft / azure-maven-archetypes
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 14 files with 2,026 lines of code.
    • 1 very long files (1,519 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 13 very small files (507 lines of code)
74% | 0% | 0% | 0% | 25%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
scala88% | 0% | 0% | 0% | 11%
java0% | 0% | 0% | 0% | 100%
groovy0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
kt0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala88% | 0% | 0% | 0% | 11%
azure-iot-edge-archetype/src/main/resources/archetype-resources/src/main/java0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
azure-functions-archetype/src/main/resources/META-INF0% | 0% | 0% | 0% | 100%
apache-spark-archetype/src/main/resources/archetype-resources/src/main/java0% | 0% | 0% | 0% | 100%
azure-functions-archetype/src/main/resources/archetype-resources/src/main/java0% | 0% | 0% | 0% | 100%
apache-spark-archetype/src/main/resources/META-INF0% | 0% | 0% | 0% | 100%
azure-functions-kotlin-archetype/src/main/resources/archetype-resources/src/main/kotlin0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
DataSources.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
1519 -
App.java
in azure-iot-edge-archetype/src/main/resources/archetype-resources/src/main/java
73 4
SparkML_RankingMetricsExample.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
57 1
LogQuery.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
50 1
archetype-post-generate.groovy
in azure-functions-archetype/src/main/resources/META-INF
48 -
SparkSQLExample.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
45 3
e2etest.ps1
in root
45 -
JavaSparkPi.java
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/java
36 1
Function.java
in azure-functions-archetype/src/main/resources/archetype-resources/src/main/java
29 1
SparkSQL_RDDRelation.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
28 1
archetype-post-generate.groovy
in apache-spark-archetype/src/main/resources/META-INF
27 2
Function.kt
in azure-functions-kotlin-archetype/src/main/resources/archetype-resources/src/main/kotlin
27 1
SparkStreaming_HdfsWordCount.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
21 1
appveyor_function_e2e.yml
in root
21 -
Files With Most Units (Top 10)
File# lines# units
App.java
in azure-iot-edge-archetype/src/main/resources/archetype-resources/src/main/java
73 4
SparkSQLExample.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
45 3
archetype-post-generate.groovy
in apache-spark-archetype/src/main/resources/META-INF
27 2
JavaSparkPi.java
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/java
36 1
LogQuery.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
50 1
SparkML_RankingMetricsExample.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
57 1
SparkSQL_RDDRelation.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
28 1
SparkStreaming_HdfsWordCount.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
21 1
Function.java
in azure-functions-archetype/src/main/resources/archetype-resources/src/main/java
29 1
Function.kt
in azure-functions-kotlin-archetype/src/main/resources/archetype-resources/src/main/kotlin
27 1
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 23 long lines.

File# lines# units# long lines
DataSources.scala
in apache-spark-archetype/src/main/resources/archetype-resources/src/main/scala
1519 - 10
archetype-post-generate.groovy
in azure-functions-archetype/src/main/resources/META-INF
48 - 10
e2etest.ps1
in root
45 - 2
Function.java
in azure-functions-archetype/src/main/resources/archetype-resources/src/main/java
29 1 1