Debian Codegraph @

debian/control

raw
1 Source: cognitive-complexity
2 Maintainer: Debian Python Team <[email protected]>
3 Uploaders:
4 Edward Betts <[email protected]>,
5 Section: python
6 Priority: optional
7 Build-Depends:
8 debhelper-compat (= 13),
9 dh-sequence-python3,
10 python3-all,
11 python3-setuptools,
12 Build-Depends-Indep:
13 python3-pytest <!nocheck>,
14 Rules-Requires-Root: no
15 Standards-Version: 4.7.0
16 Homepage: https://github.com/Melevir/cognitive_complexity
17 Vcs-Browser: https://salsa.debian.org/python-team/packages/cognitive-complexity
18 Vcs-Git: https://salsa.debian.org/python-team/packages/cognitive-complexity.git
19
20 Package: python3-cognitive-complexity
21 Architecture: all
22 Depends:
23 ${misc:Depends},
24 python3:any,
25 Description: Library to calculate Python functions cognitive complexity via code
26 This library provides a mechanism to evaluate the cognitive complexity of
27 Python functions. Cognitive complexity is a metric designed to measure the
28 understandability of code, assessing how challenging it might be for a human
29 to comprehend. It assigns points for various constructs such as breaking
30 control flow, nesting, and recursion within the code. The calculation of
31 cognitive complexity can aid in making the code more maintainable and readable
32 by helping developers identify areas that could be simplified. The metric is
33 derived from a structured algorithm that, although not precisely replicating
34 the original proposal, delivers similar results. This algorithm adapts
35 traditional computation techniques to assess elements that contribute to
36 mental processing difficulty when reading and interpreting source code.