-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
I'm getting incorrect lloc count, when a dictionary is in the code.
def sample_dict():
a = {'user1': 'password1', 'user2': 'password2'}
print(a)
return a
I'm calculating lloc of this function with this below command :-
'radon raw 'path' -s'
Result:-
LOC: 4
LLOC: 5
SLOC: 4
Comments: 0
Single comments: 0
Multi: 0
Blank: 0
- Comment Stats
(C % L): 0%
(C % S): 0%
(C + M % L): 0%
In this result lloc is incorrect , there is only 4 lloc. If I remove the dictionary, then the lloc will be correct. I think, here the issue is colon is present in the dictionary.
Metadata
Metadata
Assignees
Labels
No labels