microsoft / inventory-hub-java-on-azure
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 33 files with 1,488 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (412 lines of code)
    • 30 very small files (1,076 lines of code)
0% | 0% | 0% | 27% | 72%
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
java0% | 0% | 0% | 36% | 63%
html0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
dashboard-web-app/src/main/java/org/inventory/hub/controller0% | 0% | 0% | 74% | 25%
function-apps/Update-Product-Inventory/src/main/java/org/inventory/hub0% | 0% | 0% | 100% | 0%
function-apps/Point-Of-Transaction/src/main/java/org/inventory/hub0% | 0% | 0% | 100% | 0%
dashboard-web-app/src/main/java/org/inventory/hub/event0% | 0% | 0% | 0% | 100%
dashboard-web-app/src/main/java/org/inventory/hub/model0% | 0% | 0% | 0% | 100%
dashboard-web-app/src/main/resources/static0% | 0% | 0% | 0% | 100%
dashboard-web-app/src/main/resources/static/Views0% | 0% | 0% | 0% | 100%
function-apps/Append-Transaction/src/main/java/org/inventory/hub0% | 0% | 0% | 0% | 100%
dashboard-web-app/src/main/resources/static/Scripts0% | 0% | 0% | 0% | 100%
dashboard-web-app/src/main/java/org/inventory/hub0% | 0% | 0% | 0% | 100%
function-apps/Notify-Inventory/src/main/java/org/inventory/hub0% | 0% | 0% | 0% | 100%
dashboard-web-app/src/main/java/org/inventory/hub/security0% | 0% | 0% | 0% | 100%
dashboard-web-app/src/main/java/org/inventory/hub/dao0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
ProductsInventoryController.java
in dashboard-web-app/src/main/java/org/inventory/hub/controller
157 6
UpdateProductInventory.java
in function-apps/Update-Product-Inventory/src/main/java/org/inventory/hub
148 1
POT.java
in function-apps/Point-Of-Transaction/src/main/java/org/inventory/hub
107 1
Home.html
in dashboard-web-app/src/main/resources/static/Views
74 -
app.js
in dashboard-web-app/src/main/resources/static
71 7
Transaction.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
70 14
ProductsInventory.java
in dashboard-web-app/src/main/java/org/inventory/hub/model
69 13
index.html
in dashboard-web-app/src/main/resources/static
63 -
NotifyInventoryUpdate.java
in function-apps/Notify-Inventory/src/main/java/org/inventory/hub
53 1
Product.java
in dashboard-web-app/src/main/java/org/inventory/hub/model
52 11
TransactionsFIFO.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
51 4
homeCtrl.js
in dashboard-web-app/src/main/resources/static/Scripts
48 4
Location.java
in dashboard-web-app/src/main/java/org/inventory/hub/model
47 8
About.html
in dashboard-web-app/src/main/resources/static/Views
44 -
InventoryHub.java
in dashboard-web-app/src/main/java/org/inventory/hub
43 3
PointOfTransaction.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
38 9
ProductInformation.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
38 9
TransactionEvent.java
in function-apps/Append-Transaction/src/main/java/org/inventory/hub
37 2
TransactionsController.java
in dashboard-web-app/src/main/java/org/inventory/hub/controller
29 2
WebSecurityConfiguration.java
in dashboard-web-app/src/main/java/org/inventory/hub/security
29 1
AppendTransaction.java
in function-apps/Append-Transaction/src/main/java/org/inventory/hub
27 1
SecurityController.java
in dashboard-web-app/src/main/java/org/inventory/hub/controller
25 2
WebSocketController.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
24 2
TransactionDocument.java
in function-apps/Append-Transaction/src/main/java/org/inventory/hub
24 -
WebSocketConfig.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
21 2
productsSvc.js
in dashboard-web-app/src/main/resources/static/Scripts
21 5
SetupKafkaConsumerGroupName.java
in dashboard-web-app/src/main/java/org/inventory/hub
18 1
FunctionApplication.java
in function-apps/Append-Transaction/src/main/java/org/inventory/hub
15 2
main.css
in dashboard-web-app/src/main/resources/static
13 -
app.js
in dashboard-web-app/src/main/resources/static/Scripts
11 -
LocationRepository.java
in dashboard-web-app/src/main/java/org/inventory/hub/dao
7 -
ProductsInventoryRepository.java
in dashboard-web-app/src/main/java/org/inventory/hub/dao
7 -
aboutCtrl.js
in dashboard-web-app/src/main/resources/static/Scripts
7 1
Files With Most Units (Top 20)
File# lines# units
Transaction.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
70 14
ProductsInventory.java
in dashboard-web-app/src/main/java/org/inventory/hub/model
69 13
Product.java
in dashboard-web-app/src/main/java/org/inventory/hub/model
52 11
PointOfTransaction.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
38 9
ProductInformation.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
38 9
Location.java
in dashboard-web-app/src/main/java/org/inventory/hub/model
47 8
app.js
in dashboard-web-app/src/main/resources/static
71 7
ProductsInventoryController.java
in dashboard-web-app/src/main/java/org/inventory/hub/controller
157 6
productsSvc.js
in dashboard-web-app/src/main/resources/static/Scripts
21 5
TransactionsFIFO.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
51 4
homeCtrl.js
in dashboard-web-app/src/main/resources/static/Scripts
48 4
InventoryHub.java
in dashboard-web-app/src/main/java/org/inventory/hub
43 3
SecurityController.java
in dashboard-web-app/src/main/java/org/inventory/hub/controller
25 2
TransactionsController.java
in dashboard-web-app/src/main/java/org/inventory/hub/controller
29 2
WebSocketConfig.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
21 2
WebSocketController.java
in dashboard-web-app/src/main/java/org/inventory/hub/event
24 2
FunctionApplication.java
in function-apps/Append-Transaction/src/main/java/org/inventory/hub
15 2
TransactionEvent.java
in function-apps/Append-Transaction/src/main/java/org/inventory/hub
37 2
SetupKafkaConsumerGroupName.java
in dashboard-web-app/src/main/java/org/inventory/hub
18 1
WebSecurityConfiguration.java
in dashboard-web-app/src/main/java/org/inventory/hub/security
29 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 10 long lines.

File# lines# units# long lines
index.html
in dashboard-web-app/src/main/resources/static
63 - 3
NotifyInventoryUpdate.java
in function-apps/Notify-Inventory/src/main/java/org/inventory/hub
53 1 2
UpdateProductInventory.java
in function-apps/Update-Product-Inventory/src/main/java/org/inventory/hub
148 1 2
TransactionsController.java
in dashboard-web-app/src/main/java/org/inventory/hub/controller
29 2 1
Home.html
in dashboard-web-app/src/main/resources/static/Views
74 - 1
POT.java
in function-apps/Point-Of-Transaction/src/main/java/org/inventory/hub
107 1 1