全部搜索项
bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: cognitive-complexity  ]

软件包:python3-cognitive-complexity(1.2.0-4)

python3-cognitive-complexity 的相关链接

Screenshot

Debian 的资源:

下载源码包 cognitive-complexity

维护小组:

外部的资源:

相似软件包:

Library to calculate Python functions cognitive complexity via code

This library provides a mechanism to evaluate the cognitive complexity of Python functions. Cognitive complexity is a metric designed to measure the understandability of code, assessing how challenging it might be for a human to comprehend. It assigns points for various constructs such as breaking control flow, nesting, and recursion within the code. The calculation of cognitive complexity can aid in making the code more maintainable and readable by helping developers identify areas that could be simplified. The metric is derived from a structured algorithm that, although not precisely replicating the original proposal, delivers similar results. This algorithm adapts traditional computation techniques to assess elements that contribute to mental processing difficulty when reading and interpreting source code.

其他与 python3-cognitive-complexity 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 python3-cognitive-complexity

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 6.2 kB34.0 kB [文件列表]