wszystkie opcje
bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: cognitive-complexity  ]

Pakiet: python3-cognitive-complexity (1.2.0-4)

Odnośniki dla python3-cognitive-complexity

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego cognitive-complexity:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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.

Inne pakiety związane z python3-cognitive-complexity

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie python3-cognitive-complexity

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 6,2 KiB34,0 KiB [lista plików]