Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Brain fried -- Core dumped


devel / comp.lang.python / McCabe complexity for just changed files in a commit?

SubjectAuthor
o McCabe complexity for just changed files in a commit?Dan Stromberg

1
McCabe complexity for just changed files in a commit?

<mailman.912.1633233960.4164.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=19945&group=comp.lang.python#19945

  copy link   Newsgroups: comp.lang.python
Path: rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: drsalists@gmail.com (Dan Stromberg)
Newsgroups: comp.lang.python
Subject: McCabe complexity for just changed files in a commit?
Date: Sat, 2 Oct 2021 21:05:47 -0700
Lines: 9
Message-ID: <mailman.912.1633233960.4164.python-list@python.org>
References: <CAGGBd_oNTdVeBDZDymxSkubS2am-uRVzjBogFhbqb8yMMv7nCQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de x646F4zucKxPhl4tv7UROg5RgegjnV4N/SC65+rt+FNw==
Return-Path: <drsalists@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=hlQCC/in;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.010
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'looks': 0.02; 'git': 0.09;
'no?': 0.09; 'python)': 0.09; 'subject:files': 0.09;
'from:addr:drsalists': 0.16; 'from:name:dan stromberg': 0.16;
'received:209.85.217': 0.16; 'to:addr:python-list': 0.20;
'thanks!': 0.24; 'think': 0.32; 'files,': 0.32; 'good.': 0.32;
'message-id:@mail.gmail.com': 0.32; 'but': 0.32; 'subject:for':
0.33; 'there': 0.33; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'functions': 0.36; 'received:209.85':
0.37; 'way': 0.38; 'received:209': 0.39; 'methods': 0.39; 'wants':
0.40; 'entire': 0.67; 'complexity': 0.69
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:from:date:message-id:subject:to;
bh=YKgEtGc+Q7drrfheT2yMFmhv0Cg1njvah+zjMaaYTxU=;
b=hlQCC/in1lcNGylAx83GPfdxkwIQGlHDDo3G2lWZwJtlIEgU1VVDe97F2c91t6RxLB
CXHS2peP3G8FDADPC3d9Zr5c/kwckQemibN53JwEbMQGI2vFYvKtJSQ+83HgY4VW6+UO
5y+ctDL4tIypLgKjVoRchZgTuObZjghSYQuFDdHvzANzo5zpRJny8m3cJ9WJc/mitRTB
ykISTnbAP2vF/QC+MlktNWXqI4XvgMkBD1IQlwQcbJ9/BThOPGe4w5gn3b0tweweXeEi
BjIgcSud9pfk73nyb4ohcfdrfN4NiEAgrn42sxe/taDkoBRXwXuFk4EtVTTPhdab5oAF
9RCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=YKgEtGc+Q7drrfheT2yMFmhv0Cg1njvah+zjMaaYTxU=;
b=CJxiHdddztl11WuTa7hRObnH9veylUxn/Wn5yAqkyfjzALjvh1rUpXhFQ9tcprK6t3
M2/m3uxQwxcaG1GDE0p+R6D8sswkDkua7zP+/R1hqDincp7qhj5mv8XGgjJ28gKpH3UA
cLNnRis11rOarrbXM5m15auNERWomOMdsuFKjwSdbRxBUB+I6VhcX8x2jbMIFazTQPSB
O8O0g0beB8S6FwZ6QIBoGOLNTkYGGkbTpIyQtzotdBpRKlyfuqO9y0GIHh7bRpnjOHKn
8Foax7Ku2O67mQkKSfMhFDvCy5m+y63hAwAp2DBgbhjaARDwA4Xr61Ef7joxQPFzNVVV
/ewA==
X-Gm-Message-State: AOAM532PMV2UF+2x9pHweEbZayaVhmt42+e/NKx/PJYgXaVDnegOOOJM
ASGsFUEOTsZ1jRNytDdjDrDjUW9u5kNktIz+QZiYWNCLldo=
X-Google-Smtp-Source: ABdhPJw7ifQRX2IvugLO6Q5sZKKfAWfNpKdwCfUmGhQssnHhBXsYST7PtKz623PviMxa+N+0nc32rH6DEswUE3H01Ds=
X-Received: by 2002:a67:b303:: with SMTP id a3mr9560962vsm.49.1633233958135;
Sat, 02 Oct 2021 21:05:58 -0700 (PDT)
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAGGBd_oNTdVeBDZDymxSkubS2am-uRVzjBogFhbqb8yMMv7nCQ@mail.gmail.com>
 by: Dan Stromberg - Sun, 3 Oct 2021 04:05 UTC

Hi folks.

Is there a way of getting the McCabe Complexity of just the functions and
methods (in Python) changed in a git commit?

I found radon, and it looks good. But I think it wants to do entire files,
no?

Thanks!


devel / comp.lang.python / McCabe complexity for just changed files in a commit?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor