Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
evermake committed Feb 2, 2024
1 parent 1fd74e7 commit 51cde87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def varcomp(tlist) -> float:
variables += 1

# Java only allows "$" and "_" as special symbols in variable names.
# Split by them to only count words ans numbers.
# Split variable name by them to only count words and numbers.
components = [comp for comp in re.split(r'[\$_]+', name) if comp != '']

if len(components) == 0:
Expand Down

0 comments on commit 51cde87

Please sign in to comment.