-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.code-gps.yaml
More file actions
268 lines (251 loc) · 11.9 KB
/
.code-gps.yaml
File metadata and controls
268 lines (251 loc) · 11.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
# Code GPS v3.1-final | 19 LiveViews | 28 Components
# === ROUTES ===
/: AshfolioWeb.DashboardLive ❌
/accounts: AshfolioWeb.AccountLive ❌
/accounts/:id: AshfolioWeb.AccountLive ❌
/accounts/:id/edit: AshfolioWeb.AccountLive ❌
/accounts/new: AshfolioWeb.AccountLive ❌
/advanced_analytics: AshfolioWeb.AdvancedAnalyticsLive ❌
/categories: AshfolioWeb.CategoryLive ❌
/categories/:id/edit: AshfolioWeb.CategoryLive ❌
/categories/new: AshfolioWeb.CategoryLive ❌
/corporate-actions: AshfolioWeb.CorporateActionLive ❌
/corporate-actions/:id/edit: AshfolioWeb.CorporateActionLive ❌
/corporate-actions/new: AshfolioWeb.CorporateActionLive ❌
/expenses: AshfolioWeb.ExpenseLive ❌
/expenses/:id/edit: AshfolioWeb.ExpenseLive ❌
/expenses/analytics: AshfolioWeb.ExpenseLive ❌
/expenses/import: AshfolioWeb.ExpenseLive ❌
/expenses/new: AshfolioWeb.ExpenseLive ❌
/forecast: AshfolioWeb.ForecastLive ❌
/goals: AshfolioWeb.FinancialGoalLive ❌
/goals/:id/edit: AshfolioWeb.FinancialGoalLive ❌
/goals/new: AshfolioWeb.FinancialGoalLive ❌
/money-ratios: AshfolioWeb.MoneyRatiosLive ❌
/net_worth: AshfolioWeb.NetWorthLive ❌
/retirement: AshfolioWeb.RetirementLive ❌
/tax-planning: AshfolioWeb.TaxPlanningLive ❌
/transactions: AshfolioWeb.TransactionLive ❌
# === LIVE VIEWS ===
Index:
file: lib/ashfolio_web/live/account_live/index.ex
mount: 13 | render: 183
events: ["new_account", "filter_accounts", "edit_account", "delete_account", "toggle_exclusion"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Show:
file: lib/ashfolio_web/live/account_live/show.ex
mount: 10 | render: 36
events: ["show_balance_update_modal"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/advanced_analytics_live/index.ex
mount: 27 | render:
events: ["calculate_twr", "calculate_mwr", "calculate_rolling_returns", "calculate_risk_metrics", "calculate_efficient_frontier", "refresh_all", "clear_cache", "show_cache_stats"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/benchmark_live/index.ex
mount: 17 | render: 40
events: ["update_form", "use_current_portfolio", "run_analysis"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/category_live/index.ex
mount: 11 | render: 134
events: ["new_category", "filter_categories", "edit_category", "delete_category", "cancel_form"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/corporate_action_live/index.ex
mount: 11 | render:
events: ["filter", "apply_action", "preview_action", "reverse_action", "delete"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Dashboard:
file: lib/ashfolio_web/live/dashboard_live.ex
mount: 20 | render: 158
events: ["refresh_prices", "sort", "create_snapshot"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Example:
file: lib/ashfolio_web/live/example_live.ex
mount: 14 | render: 42
events: ["simulate_error", "simulate_success", "clear_flash"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Analytics:
file: lib/ashfolio_web/live/expense_live/analytics.ex
mount: 13 | render: 119
events: ["change_date_range", "update_year_comparison", "apply_advanced_filters", "apply_date_range"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Import:
file: lib/ashfolio_web/live/expense_live/import.ex
mount: 12 | render: 93
events: ["validate", "select_import_type", "upload", "validate_import", "import"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/expense_live/index.ex
mount: 12 | render: 105
events: ["sort", "search", "toggle_filters", "filter", "clear_filters"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/financial_goal_live/index.ex
mount: 12 | render: 130
events: ["sort", "toggle_filters", "filter", "clear_filters", "delete_goal", "setup_emergency_fund"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Forecast:
file: lib/ashfolio_web/live/financial_planning_live/forecast.ex
mount: 13 | render: 176
events: ["calculate_forecast", "switch_scenario", "toggle_advanced_settings", "analyze_contribution", "optimize_for_goal", "clear_results", "export_forecast"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/forecast_live.ex
mount: 22 | render: 268
events: ["update_form", "calculate_projection", "calculate_scenarios", "analyze_contributions", "switch_tab"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/money_ratios_live/index.ex
mount: 23 | render:
events: ["switch_tab", "save_profile"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/net_worth_live/index.ex
mount: 13 | render: 73
events: ["change_date_range", "create_snapshot"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/retirement_live/index.ex
mount: 20 | render:
events: ["calculate", "use_historical_expenses"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/tax_planning_live/index.ex
mount: 15 | render: 42
events: ["switch_tab", "update_tax_year", "update_account", "update_tax_rate", "refresh_analysis"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
Index:
file: lib/ashfolio_web/live/transaction_live/index.ex
mount: 20 | render: 635
events: ["new_transaction", "parse_transaction_text", "edit_transaction", "filter_transactions", "filter_by_category", "apply_composite_filters", "clear_filters", "delete_transaction"]
subscriptions: []
missing: ["accounts", "transactions", "net_worth", "expenses"]|...3
# === KEY COMPONENTS ===
flash: lib/ashfolio_web/components/core_components.ex:111 (118x)
list: lib/ashfolio_web/components/core_components.ex:541 (115x)
icon: lib/ashfolio_web/components/core_components.ex:599 (110x)
input: lib/ashfolio_web/components/core_components.ex:295 (96x)
input: lib/ashfolio_web/components/core_components.ex:306 (96x)
input: lib/ashfolio_web/components/core_components.ex:332 (96x)
# === DEPENDENCIES ===
bandit: ❌ (0)
credo: ❌ (0)
dns_cluster: ❌ (0)
ecto_sql: ❌ (0)
ecto_sqlite3: ❌ (0)
esbuild: ❌ (0)
finch: ❌ (0)
floki: ❌ (0)
gettext: ❌ (7)
heroicons: ❌ (0)
jason: ❌ (0)
lazy_html: ❌ (0)
phoenix: ❌ (27)
phoenix_ecto: ❌ (0)
phoenix_html: ❌ (0)
phoenix_live_dashboard: ❌ (0)
phoenix_live_reload: ❌ (0)
phoenix_live_view: ❌ (0)
swoosh: ❌ (1)
tailwind: ❌ (1)
telemetry_metrics: ❌ (0)
telemetry_poller: ❌ (0)
# === FRESHNESS ===
recent: ["lib/ashfolio/portfolio.ex", "lib/ashfolio_web/mcp/tools.ex", "lib/ashfolio_web/mcp/anonymizer.ex", "lib/ashfolio_web/mcp/privacy_filter.ex", "lib/ashfolio_web/router.ex"]
uncommitted: 22 files
commits_ahead: 11
# === TEST ANALYSIS ===
summary:
total_test_modules: 149
total_tests: 2006
average_tests_per_module: 13.5
top_10_test_modules:
Unknown: 48 tests, 86 assertions (15 describes) | test/ashfolio_web/form_helpers_test.exs
Unknown: 47 tests, 137 assertions (13 describes) | test/ashfolio/financial_management/retirement_calculator_test.exs
Unknown: 45 tests, 78 assertions (15 describes) | test/ashfolio/financial/decimal_helpers_test.exs
Unknown: 44 tests, 66 assertions (14 describes) | test/ashfolio/financial/mathematical_test.exs
Unknown: 44 tests, 201 assertions (7 describes) | test/ashfolio/financial_management/forecast_calculator_test.exs
Unknown: 43 tests, 122 assertions (10 describes) | test/ashfolio/portfolio/calculators/risk_metrics_calculator_test.exs
Unknown: 38 tests, 79 assertions (8 describes) | test/ashfolio/financial/formatters_test.exs
Unknown: 37 tests, 63 assertions (9 describes) | test/ashfolio/data_helpers_test.exs
Unknown: 35 tests, 81 assertions (3 describes) | test/ashfolio/portfolio/account_test.exs
Unknown: 31 tests, 66 assertions (6 describes) | test/ashfolio_web/mcp/anonymizer_test.exs
# === TEST GAPS ===
missing_tests:
lib/ashfolio_web/live/example_live.ex ❌
lib/ashfolio_web/components/chart_data.ex ❌
lib/ashfolio_web/components/chart_geometry.ex ❌
lib/ashfolio_web/components/core_components.ex ❌
lib/ashfolio_web/components/holdings_table.ex ❌
orphaned_tests:
test/ashfolio/financial/formatters_chart_test.exs ⚠️
test/ashfolio/financial_management/category_migration_test.exs ⚠️
test/ashfolio/financial_management/forecast_calculator_aer_test.exs ⚠️
# === MODULE ANALYSIS ===
summary:
total_modules: 156 (148 lib, 8 test)
total_functions: 2252 (2175 lib, 77 test)
public/private: 864 public, 1388 private
average_functions_per_module: 14.4
complex_modules: 19 (>30 functions)
empty_modules: 19 (potential parsing issues)
top_20_modules:
Unknown: 64 functions (1 public, 63 private) | lib/ashfolio_web/components/forecast_chart.ex
Unknown: 59 functions (32 public, 27 private) | lib/ashfolio/data_helpers.ex
Unknown: 57 functions (13 public, 44 private) | lib/ashfolio_web/live/financial_goal_live/index.ex
Unknown: 55 functions (13 public, 42 private) | lib/ashfolio_web/live/dashboard_live.ex
Unknown: 54 functions (20 public, 34 private) | lib/ashfolio_web/live/transaction_live/index.ex
Unknown: 51 functions (33 public, 18 private) | lib/ashfolio_web/components/core_components.ex
Unknown: 49 functions (41 public, 8 private) | lib/ashfolio/financial/formatters.ex
Unknown: 46 functions (44 public, 2 private) | lib/ashfolio_web/form_helpers.ex
Unknown: 43 functions (7 public, 36 private) | lib/ashfolio/financial_management/forecast_calculator.ex
Unknown: 41 functions (5 public, 36 private) | lib/ashfolio/financial_management/contribution_analyzer.ex
Unknown: 40 functions (18 public, 22 private) | lib/ashfolio_web/live/advanced_analytics_live/index.ex
Unknown: 38 functions (1 public, 37 private) | lib/ashfolio_web/components/transaction_group.ex
Unknown: 38 functions (13 public, 25 private) | lib/ashfolio_web/live/financial_planning_live/forecast.ex
Unknown: 36 functions (6 public, 30 private) | lib/ashfolio_web/live/expense_live/analytics.ex
Unknown: 33 functions (10 public, 23 private) | lib/ashfolio_web/live/expense_live/index.ex
Unknown: 32 functions (14 public, 18 private) | lib/ashfolio/financial_management/retirement_calculator.ex
Unknown: 32 functions (1 public, 31 private) | lib/ashfolio_web/components/transaction_stats.ex
Unknown: 31 functions (10 public, 21 private) | lib/ashfolio_web/mcp/anonymizer.ex
Unknown: 31 functions (2 public, 29 private) | lib/ashfolio_web/mcp/privacy_filter.ex
Unknown: 30 functions (4 public, 26 private) | lib/ashfolio/financial_management/symbol_search.ex
# === CODE QUALITY ===
credo_analysis: Text parsing summary
credo_issues: 0
dialyzer_analysis: skipped for performance ⚡
quality_score: 100/100 (0 total issues)
# === PATTERNS ===
error_handling: "Standard put_flash error handling"
currency_format: "Basic decimal formatting"
test_setup: "ExUnit setup blocks (150 total)"
# === INTEGRATION OPPORTUNITIES ===
Add PubSub Subscriptions:
desc: Add missing PubSub subscriptions: accounts, transactions, net_worth, expenses, goals, prices, forecasts
priority: medium
subscribe: lib/ashfolio_web/live/example_live.ex:14
Use Popular Components:
desc: Consider using frequently used components: modal, flash, simple_form, button, input, input, input, input, input, label
priority: low
component: