Thread (12 messages) 12 messages, 4 authors, 2016-02-09

Re: [PATCH 2/3] Add Cyclomatic complexity GCC plugin

From: Emese Revfy <hidden>
Date: 2016-02-09 18:57:18

On Mon, 8 Feb 2016 20:23:12 -0800
Kees Cook [off-list ref] wrote:
quoted
+         The complexity M of a function's control flow graph is defined as:
+          M = E - N + 2P
+         where
+
+         E = the number of edges
+         N = the number of nodes
+         P = the number of connected components (exit nodes).
+
+         See Documentation/gcc-plugins.txt for details.
Is this plugin documented there? I don't see a chunk for that in this patch.
No yet, please see my other response.

--
Emese
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help