GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — C#: Port the java FrameworkCoverage query. · github/codeql@98b2bc0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • csharp/ql/src/Metrics/Summaries
    • FrameworkCoverage.ql
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎csharp/ql/src/Metrics/Summaries/FrameworkCoverage.ql‎

Copy file name to clipboard
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* @id csharp/summary/framework-coverage
3+
* @name Metrics of framework coverage
4+
* @description Expose metrics for the number of API endpoints covered by CSV models.
5+
* @kind metric
6+
* @tags summary
7+
*/
8+
9+
import csharp
10+
import semmle.code.csharp.dataflow.ExternalFlow
11+
12+
from string namespaceAndType, int rows
13+
where
14+
exists(string namespace, string type |
15+
namespaceAndType = namespace + ";" + type and
16+
rows = strictsum(int n, string kind | modelCoverage(namespace, _, kind, type, n) | n)
17+
)
18+
select namespaceAndType, rows

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.