elastic / opentelemetry-demo
File Size

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

Intro
Learn more...
File Size Overall
57% | 5% | 7% | 6% | 23%
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
ts78% | 0% | 0% | 2% | 19%
go87% | 6% | 3% | 0% | 1%
py0% | 63% | 0% | 26% | 9%
yaml0% | 0% | 76% | 16% | 7%
java0% | 0% | 65% | 0% | 34%
proto0% | 0% | 87% | 0% | 12%
cpp0% | 0% | 100% | 0% | 0%
tsx0% | 0% | 0% | 21% | 78%
cs0% | 0% | 0% | 39% | 60%
rs0% | 0% | 0% | 46% | 53%
js0% | 0% | 0% | 0% | 100%
php0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
kt0% | 0% | 0% | 0% | 100%
kts0% | 0% | 0% | 0% | 100%
mm0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
erb0% | 0% | 0% | 0% | 100%
rb0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src58% | 5% | 6% | 6% | 23%
pb0% | 0% | 100% | 0% | 0%
internal0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
demo.ts
in src/frontend/protos
3651 97
demo.ts
in src/react-native-app/protos
3570 97
demo.pb.go
in src/product-catalog/genproto/oteldemo
2275 295
demo.pb.go
in src/checkout/genproto/oteldemo
2275 295
demo_grpc.pb.go
in src/product-catalog/genproto/oteldemo
1058 100
demo_grpc.pb.go
in src/checkout/genproto/oteldemo
1058 100
demo_pb2_grpc.py
in src/recommendation
702 60
main.go
in src/checkout
515 23
otelcol-elastic-config.yaml
in src/otel-collector
481 -
main.go
in src/product-catalog
287 15
AdService.java
in src/ad/src/main/java/oteldemo
262 10
envoy.tmpl.yaml
in src/frontend-proxy
243 -
proto
242 -
server.cpp
in src/currency/src
221 8
ValkeyCartStore.cs
in src/cart/src/cartstore
190 8
CheckoutForm.tsx
in src/react-native-app/components/CheckoutForm
187 -
CheckoutForm.tsx
in src/frontend/components/CheckoutForm
183 -
locustfile.py
in src/load-generator
175 11
157 -
shipping_service.rs
in src/shipping/src
145 2
AdvancedView.tsx
in src/flagd-ui/src/components/advanced
143 4
Api.gateway.ts
in src/react-native-app/gateways
125 9
recommendation_server.py
in src/recommendation
116 6
Api.gateway.ts
in src/frontend/gateways
101 11
index.tsx
in src/frontend/pages/product/[productId]
97 1
BasicView.tsx
in src/flagd-ui/src/components/basic
93 1
cart.tsx
in src/react-native-app/app/(tabs)
93 1
useTracer.ts
in src/react-native-app/hooks
89 -
CartService.cs
in src/cart/src/services
87 4
CartDropdown.styled.ts
in src/frontend/components/CartDropdown
83 -
sanitycheck.py
in internal/tools
82 1
tracer_common.h
in src/currency/src
81 6
money.go
in src/checkout/money
80 12
build.gradle.kts
in src/fraud-detection
74 -
ic_launcher_background.xml
in src/react-native-app/android/app/src/main/res/drawable
74 -
Consumer.cs
in src/accounting
73 5
CheckoutItem.styled.ts
in src/frontend/components/CheckoutItem
73 -
Cart.styled.ts
in src/frontend/styles
71 -
CartDetail.tsx
in src/frontend/components/Cart
69 -
quote.rs
in src/shipping/src/shipping_service
68 1
CartItems.tsx
in src/frontend/components/CartItems
68 -
ProductDetail.styled.ts
in src/frontend/styles
68 -
main.kt
in src/fraud-detection/src/main/kotlin/frauddetection
67 2
_app.tsx
in src/frontend/pages
65 1
charge.js
in src/payment
64 1
Cart.provider.tsx
in src/react-native-app/providers
64 -
index.php
in src/quote/public
64 -
Program.cs
in src/cart/src
63 -
CartItems.styled.ts
in src/frontend/components/CartItems
63 -
CPULoad.java
in src/ad/src/main/java/oteldemo/problempattern
63 6
Files With Most Units (Top 50)
File# lines# units
demo.pb.go
in src/product-catalog/genproto/oteldemo
2275 295
demo.pb.go
in src/checkout/genproto/oteldemo
2275 295
demo_grpc.pb.go
in src/product-catalog/genproto/oteldemo
1058 100
demo_grpc.pb.go
in src/checkout/genproto/oteldemo
1058 100
demo.ts
in src/react-native-app/protos
3570 97
demo.ts
in src/frontend/protos
3651 97
demo_pb2_grpc.py
in src/recommendation
702 60
main.go
in src/checkout
515 23
main.go
in src/product-catalog
287 15
money.go
in src/checkout/money
80 12
Api.gateway.ts
in src/frontend/gateways
101 11
locustfile.py
in src/load-generator
175 11
AdService.java
in src/ad/src/main/java/oteldemo
262 10
Api.gateway.ts
in src/react-native-app/gateways
125 9
ValkeyCartStore.cs
in src/cart/src/cartstore
190 8
server.cpp
in src/currency/src
221 8
recommendation_server.py
in src/recommendation
116 6
CPULoad.java
in src/ad/src/main/java/oteldemo/problempattern
63 6
tracer_common.h
in src/currency/src
81 6
Consumer.cs
in src/accounting
73 5
AdvancedView.tsx
in src/flagd-ui/src/components/advanced
143 4
CartService.cs
in src/cart/src/services
87 4
MainActivity.kt
in src/react-native-app/android/app/src/main/java/io/opentelemetry/reactnativeapp
34 3
MainApplication.kt
in src/react-native-app/android/app/src/main/java/io/opentelemetry/reactnativeapp
41 3
Session.gateway.ts
in src/react-native-app/gateways
31 3
cypress.config.ts
in src/frontend
21 3
Cart.gateway.ts
in src/frontend/gateways/rpc
22 3
ProductCatalog.service.ts
in src/frontend/services
31 3
MemoryUtils.java
in src/ad/src/main/java/oteldemo/problempattern
32 3
GarbageCollectionTrigger.java
in src/ad/src/main/java/oteldemo/problempattern
44 3
main.kt
in src/fraud-detection/src/main/kotlin/frauddetection
67 2
Helpers.cs
in src/accounting
28 2
index.js
in src/payment
41 2
shipping_service.rs
in src/shipping/src
145 2
ProductCatalog.gateway.ts
in src/frontend/gateways/rpc
17 2
Currency.gateway.ts
in src/frontend/gateways/rpc
17 2
Session.gateway.ts
in src/frontend/gateways
23 2
logger.py
in src/recommendation
20 2
logger_common.h
in src/currency/src
29 2
Settings.php
in src/quote/src/Application/Settings
15 2
sanitycheck.py
in internal/tools
82 1
charge.js
in src/payment
64 1
logger.js
in src/payment
14 1
BasicView.tsx
in src/flagd-ui/src/components/basic
93 1
instrumentation.ts
in src/flagd-ui/src
4 1
page.tsx
in src/flagd-ui/src/app
10 1
route.ts
in src/flagd-ui/src/app/api/read-file
16 1
route.ts
in src/flagd-ui/src/app/api/write-to-file
20 1
ProductCard.tsx
in src/react-native-app/components/ProductCard
51 1
babel.config.js
in src/react-native-app
6 1
Files With Long Lines (Top 24)

There are 24 files with lines longer than 120 characters. In total, there are 196 long lines.

File# lines# units# long lines
demo_grpc.pb.go
in src/product-catalog/genproto/oteldemo
1058 100 48
demo_grpc.pb.go
in src/checkout/genproto/oteldemo
1058 100 48
demo.pb.go
in src/product-catalog/genproto/oteldemo
2275 295 30
demo.pb.go
in src/checkout/genproto/oteldemo
2275 295 30
main.go
in src/checkout
515 23 7
AppDelegate.mm
in src/react-native-app/ios/reactnativeapp
42 - 6
envoy.tmpl.yaml
in src/frontend-proxy
243 - 4
main.go
in src/product-catalog
287 15 3
index.php
in src/quote/public
64 - 3
_document.tsx
in src/frontend/pages
44 1 2
confirmation.erb
in src/email/views
37 - 2
main.kt
in src/fraud-detection/src/main/kotlin/frauddetection
67 2 1
log4j2.xml
in src/fraud-detection/src/main/resources
13 - 1
charge.js
in src/payment
64 1 1
FileEditor.tsx
in src/flagd-ui/src/components/advanced
20 - 1
AdvancedView.tsx
in src/flagd-ui/src/components/advanced
143 4 1
BasicView.tsx
in src/flagd-ui/src/components/basic
93 1 1
DefaultVariantSelect.tsx
in src/flagd-ui/src/components/basic
30 - 1
ValkeyCartStore.cs
in src/cart/src/cartstore
190 8 1
Program.cs
in src/cart/src
63 - 1
data.ts
in src/frontend/pages/api
18 - 1
metrics.py
in src/recommendation
8 1 1
logger.py
in src/recommendation
20 2 1
log4j2.xml
in src/ad/src/main/resources
13 - 1