Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
main ▾

Modern-Apps.git / docs / structure / line-budget.json

line-budget.json146 lines · 4.0 KiBRaw
1{
2 "version": 1,
3 "description": "Line-count ratchet baseline. Total source lines (.kt/.java/.rs/.swift, tests included; third_party/, build/, target/ segments excluded) must not exceed baseline_lines. Shrinking passes; deliberate growth bumps baseline_lines in the same change. Regenerate: python3 tools/structure_check.py lines --regen (review the diff). Per-module figures are a snapshot for reporting, not per-module caps.",
4 "extensions": [
5 ".kt",
6 ".java",
7 ".rs",
8 ".swift"
9 ],
10 "excluded_path_segments": [
11 "third_party",
12 "build",
13 "target"
14 ],
15 "excluded_modules": [
16 "communicate-dev"
17 ],
18 "excluded_modules_note": "communicate-dev is the Communicate dev module, pre-registered before it existed. The exact name is include(\":communicate-dev\") with dir communicate-dev/ (settings.gradle.kts also has :madeveloper, a different app); only that exact module is excluded. infra/ (including infra/agents) is deliberately counted.",
19 "baseline_lines": 1749740,
20 "modules": {
21 "(root)": 1941,
22 "apple": 8535,
23 "appstore": 37594,
24 "appstore/wear": 1172,
25 "astronomy": 7021,
26 "auto": 20801,
27 "auto/protocol": 9886,
28 "backup": 4744,
29 "build-logic": 1772,
30 "calculator": 9457,
31 "calendar": 17070,
32 "calendar/wear": 964,
33 "camera": 55324,
34 "camera-wear": 1252,
35 "cast": 15929,
36 "cast/protocol": 7200,
37 "cast/tv": 9795,
38 "clock": 11747,
39 "clock/wear": 2591,
40 "code": 22329,
41 "communicate": 111583,
42 "communicate-wear": 1998,
43 "contacts": 31519,
44 "contacts-wear": 1266,
45 "desktop/notes": 2587,
46 "desktop/passwords": 827,
47 "education": 7391,
48 "email": 28049,
49 "emergency": 5556,
50 "euicc": 10092,
51 "everysync": 13960,
52 "files": 10902,
53 "findfamily": 31793,
54 "findfamily-wear": 1464,
55 "flashcards": 12500,
56 "fooddelivery": 13133,
57 "games/arrows": 5821,
58 "games/chess": 13987,
59 "games/hub": 10177,
60 "games/kart": 9929,
61 "games/logicgate": 9322,
62 "games/minesweeper": 4620,
63 "games/nonogram": 5825,
64 "games/pipes": 8965,
65 "games/solitaire": 11459,
66 "games/sudoku": 6954,
67 "games/unblockjam": 5488,
68 "games/voxels": 26103,
69 "games/wordmaker": 8500,
70 "globalesim": 3214,
71 "health": 34954,
72 "infra": 19403,
73 "keyboard": 11133,
74 "launcher": 21166,
75 "launcher/wear": 1289,
76 "library": 31304,
77 "library/aosp-stubs": 1566,
78 "library/avatar": 7533,
79 "library/biometric": 908,
80 "library/carhost": 2174,
81 "library/downloadservice": 2321,
82 "library/e2ee-openpgp": 1220,
83 "library/e2ee-p2p": 2205,
84 "library/everysync-core": 5552,
85 "library/format": 156,
86 "library/image": 4786,
87 "library/ink": 940,
88 "library/locationprovider": 276,
89 "library/log": 820,
90 "library/map": 56024,
91 "library/media": 3818,
92 "library/ml": 78080,
93 "library/network": 5380,
94 "library/ocr": 446,
95 "library/room": 1545,
96 "library/tv": 1889,
97 "library/ui": 43370,
98 "library/wearlink": 1605,
99 "library/widgets": 1249,
100 "library/work": 472,
101 "lint-rules": 5255,
102 "logviewer": 5656,
103 "madeveloper": 4824,
104 "maps": 75766,
105 "maps/wear": 1282,
106 "measure": 11357,
107 "music": 15227,
108 "music/wear": 1779,
109 "networklocation": 8512,
110 "news": 11588,
111 "notes": 9981,
112 "notes-wear": 1131,
113 "office": 59001,
114 "openassistant": 14057,
115 "parentalcontrols": 7543,
116 "passwords": 19608,
117 "pdf": 73891,
118 "photos": 49119,
119 "screentime": 6231,
120 "scripts": 92454,
121 "sdk/cast": 2376,
122 "sdk/controller": 3646,
123 "sdk/games": 1017,
124 "sdk/openassistant": 323,
125 "securemail": 9447,
126 "setupwizard": 3113,
127 "share": 21108,
128 "shop": 8846,
129 "speech": 4792,
130 "taxi": 12764,
131 "things": 7914,
132 "todo": 17044,
133 "todo-wear": 1784,
134 "translate": 8838,
135 "travel": 18664,
136 "tuner": 9973,
137 "uniflix": 12201,
138 "updater": 5483,
139 "vpn": 15828,
140 "weather": 19955,
141 "weather/wear": 453,
142 "web": 18699,
143 "youpipe": 39782,
144 "youpipe/extractor": 25736
145 }
146}