lizard 1.17.12__py2.py3-none-any.whl → 1.17.13__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lizard-1.17.12.dist-info → lizard-1.17.13.dist-info}/METADATA +2 -1
- {lizard-1.17.12.dist-info → lizard-1.17.13.dist-info}/RECORD +8 -8
- lizard_ext/version.py +1 -1
- lizard_languages/code_reader.py +2 -2
- {lizard-1.17.12.dist-info → lizard-1.17.13.dist-info}/LICENSE.txt +0 -0
- {lizard-1.17.12.dist-info → lizard-1.17.13.dist-info}/WHEEL +0 -0
- {lizard-1.17.12.dist-info → lizard-1.17.13.dist-info}/entry_points.txt +0 -0
- {lizard-1.17.12.dist-info → lizard-1.17.13.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lizard
|
|
3
|
-
Version: 1.17.
|
|
3
|
+
Version: 1.17.13
|
|
4
4
|
Summary: A code analyzer without caring the C/C++ header files. It works with Java, C/C++, JavaScript, Python, Ruby, Swift, Objective C. Metrics includes cyclomatic complexity number etc.
|
|
5
5
|
Home-page: http://www.lizard.ws
|
|
6
6
|
Download-URL: https://pypi.python.org/lizard/
|
|
@@ -28,6 +28,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
28
28
|
Classifier: Programming Language :: Python :: 3.10
|
|
29
29
|
Classifier: Programming Language :: Python :: 3.11
|
|
30
30
|
License-File: LICENSE.txt
|
|
31
|
+
Requires-Dist: pygments
|
|
31
32
|
|
|
32
33
|
|Web Site| Lizard
|
|
33
34
|
=================
|
|
@@ -25,11 +25,11 @@ lizard_ext/lizardns.py,sha256=8pztUoRS_UWN24MawwxeHEJgYh49id5PWODUBb6O72U,4184
|
|
|
25
25
|
lizard_ext/lizardoutside.py,sha256=FGm2tbBZ17-2OCgmQlD-vobUCfQKb0FAygf86eM3xuM,336
|
|
26
26
|
lizard_ext/lizardstatementcount.py,sha256=xYk6ixSIItSE1BWQXzrWmduFgGhA3VR817SNKLffyVQ,1182
|
|
27
27
|
lizard_ext/lizardwordcount.py,sha256=2QYXD7-AtkkgAbi9VSidunMbSsGQ7MKYb6IT-bS-cok,7575
|
|
28
|
-
lizard_ext/version.py,sha256=
|
|
28
|
+
lizard_ext/version.py,sha256=cV8SELFV7_EfiIev7wFOD2wke6gb9on99S4p_3CSUAc,182
|
|
29
29
|
lizard_ext/xmloutput.py,sha256=-cbh0he4O_X-wX56gkv9AnSPNN0qvR7FACqlBeezUS4,5609
|
|
30
30
|
lizard_languages/__init__.py,sha256=iIbCcjN1AzmVtqCB7caRcLWQ4CdQwyT0UAiRKCkVeL0,1273
|
|
31
31
|
lizard_languages/clike.py,sha256=YgB0dHYdQ5Ae1pN00zcstkuXl94n8Ugo-aTYUNmJr7o,10723
|
|
32
|
-
lizard_languages/code_reader.py,sha256=
|
|
32
|
+
lizard_languages/code_reader.py,sha256=95_juW_8vcTShV_BoWNmBiz5CmCk59VxRi0QWF67Bsw,6164
|
|
33
33
|
lizard_languages/csharp.py,sha256=lVi-g-0JjHagqDR5r-lRdi2BuCdtR5aer9CYY-Nzw44,478
|
|
34
34
|
lizard_languages/erlang.py,sha256=AaPfIGq_phVi2hRUVHNrrmXiQSdlEktbSVOvPxORWf8,3822
|
|
35
35
|
lizard_languages/fortran.py,sha256=iXxS44sNJ2_h-nvJC58Pz6AGDyVx2HdBEVF-EeYGn84,7327
|
|
@@ -55,9 +55,9 @@ lizard_languages/swift.py,sha256=p8S2OAkQOx9YQ02yhoVXFkr7pMqUH1Nb3RVXPHRU_9M,245
|
|
|
55
55
|
lizard_languages/tnsdl.py,sha256=pGcalA_lHY362v2wwPS86seYBOOBBjvmU6vd4Yy3A9g,2803
|
|
56
56
|
lizard_languages/ttcn.py,sha256=ygjw_raBmPF-4mgoM8m6CAdyEMpTI-n1kZJK1RL4Vxo,2131
|
|
57
57
|
lizard_languages/typescript.py,sha256=yjUTVDkiONbg2v089pZC4wrCJSo1J5NVbQzbCfF4k6s,1547
|
|
58
|
-
lizard-1.17.
|
|
59
|
-
lizard-1.17.
|
|
60
|
-
lizard-1.17.
|
|
61
|
-
lizard-1.17.
|
|
62
|
-
lizard-1.17.
|
|
63
|
-
lizard-1.17.
|
|
58
|
+
lizard-1.17.13.dist-info/LICENSE.txt,sha256=05ZjgQ8Cl1dD9p0BhW-Txzkc5rhCogGJVEuf1GT2Y_M,1303
|
|
59
|
+
lizard-1.17.13.dist-info/METADATA,sha256=XwvrQB7WJSc664t-xQovyEcKuufzKizZCnyUPSTowq8,15403
|
|
60
|
+
lizard-1.17.13.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
61
|
+
lizard-1.17.13.dist-info/entry_points.txt,sha256=pPMMwoHAltzGHqR2WeJQItLeeyR7pbX5R2S_POC-xoo,40
|
|
62
|
+
lizard-1.17.13.dist-info/top_level.txt,sha256=5NTrTaOLhHuTzXaGcZPKfuaOgUv7WafNGe0Zl5aycpg,35
|
|
63
|
+
lizard-1.17.13.dist-info/RECORD,,
|
lizard_ext/version.py
CHANGED
lizard_languages/code_reader.py
CHANGED
|
@@ -114,7 +114,7 @@ class CodeReader:
|
|
|
114
114
|
if not token_class:
|
|
115
115
|
token_class = create_token
|
|
116
116
|
|
|
117
|
-
def _generate_tokens(source, add, flags=
|
|
117
|
+
def _generate_tokens(source, add, flags=0):
|
|
118
118
|
# DO NOT put any sub groups in the regex. Good for performance
|
|
119
119
|
_until_end = r"(?:\\\n|[^\n])*"
|
|
120
120
|
combined_symbols = ["<<=", ">>=", "||", "&&", "===", "!==",
|
|
@@ -170,7 +170,7 @@ class CodeReader:
|
|
|
170
170
|
|
|
171
171
|
pattern = re.compile(r'\(\?[aiLmsux]+\)')
|
|
172
172
|
re_flags = ''.join(opt[2:-1] for opt in pattern.findall(addition))
|
|
173
|
-
flags = reduce(or_, (flag_dict[flag] for flag in re_flags),
|
|
173
|
+
flags = reduce(or_, (flag_dict[flag] for flag in re_flags), 0)
|
|
174
174
|
|
|
175
175
|
return _generate_tokens(source_code, pattern.sub('', addition), flags=flags)
|
|
176
176
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|