Merge pull request #87 from lukecartey/csharp/ccyclomatic-kind

C#: Fix @kind property of CCyclomaticComplexity
This commit is contained in:
Pavel Avgustinov
2018-08-23 03:50:36 -07:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns:qlpath xmlns:ns="https://semmle.com/schemas/qlpath">
<librarypath></librarypath>
<librarypath>
<path>/semmlecode-csharp-queries</path>
</librarypath>
<dbscheme kind="WORKSPACE">semmlecode-csharp-queries/semmlecode.csharp.dbscheme</dbscheme>
<defaultImports><defaultImport>csharp</defaultImport></defaultImports>
<defaultImports>
<defaultImport>csharp</defaultImport>
</defaultImports>
</ns:qlpath>

View File

@@ -1,7 +1,7 @@
/**
* @name Cyclomatic complexity of functions
* @description Methods with a large number of possible execution paths might be difficult to understand.
* @kind table
* @kind treemap
* @treemap.warnOn highValues
* @metricType callable
* @metricAggregate avg max sum