Skip to content

Commit 3182274

Browse files
authored
Merge pull request #87 from lukecartey/csharp/ccyclomatic-kind
C#: Fix @kind property of CCyclomaticComplexity
2 parents 3b09ab9 + 70abf2d commit 3182274

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

csharp/ql/src/.qlpath

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<ns:qlpath xmlns:ns="https://semmle.com/schemas/qlpath">
3-
<librarypath></librarypath>
3+
<librarypath>
4+
<path>/semmlecode-csharp-queries</path>
5+
</librarypath>
46
<dbscheme kind="WORKSPACE">semmlecode-csharp-queries/semmlecode.csharp.dbscheme</dbscheme>
5-
<defaultImports><defaultImport>csharp</defaultImport></defaultImports>
7+
<defaultImports>
8+
<defaultImport>csharp</defaultImport>
9+
</defaultImports>
610
</ns:qlpath>

csharp/ql/src/Metrics/Callables/CCyclomaticComplexity.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @name Cyclomatic complexity of functions
33
* @description Methods with a large number of possible execution paths might be difficult to understand.
4-
* @kind table
4+
* @kind treemap
55
* @treemap.warnOn highValues
66
* @metricType callable
77
* @metricAggregate avg max sum

0 commit comments

Comments
 (0)