You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-29Lines changed: 7 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,67 +188,45 @@ VariableHardUsage is an index used to evaluate the frequency of use and scope of
188
188
189
189
This tool calculates the **Variable Hard Usage** score for each **scope** (i.e., a functionor method) based on how local variables are used. The calculation consists of the following steps:
190
190
191
-
---
192
-
193
191
#### 1. Extract local variables in a scope
194
192
195
193
For each scope $S$, extract all local variables:
196
194
197
-
$$
198
-
V = {v_1, v_2, ..., v_m}
199
-
$$
200
-
201
-
---
195
+
$V = {v_1, v_2, ..., v_m}$
202
196
203
197
#### 2. For each variable $v_j$, identify lines where it is referenced
204
198
205
199
Let the variable $v_j$ be referenced at line numbers:
0 commit comments