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
If you specify the path of the file forwhich you want to measure the local variable abuse and run the program, a report will be displayedin JSON format.
45
+
The tool provides two operation modes: `single` mode for analyzing individual files and `scopes` mode for analyzing multiple files or directories.
46
+
47
+
### Single File Analysis
48
+
49
+
Use the `single`command to analyze a single PHP file:
VariableHardUsage is an index used to evaluate the frequency of use and scope of local variables within a function. This measure is calculated based on the variance of the line number of references to the same variable and the frequency with which the variable is assigned.
0 commit comments