FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/java/ql/src/Metrics/RefTypes/TNumberOfCallables.ql at main · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
473
(473)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
java
/
ql
/
src
/
Metrics
/
RefTypes
/
TNumberOfCallables.ql
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (14 loc) · 388 Bytes
Breadcrumbs
codeql
/
java
/
ql
/
src
/
Metrics
/
RefTypes
/
TNumberOfCallables.ql
Copy path
File metadata and controls
16 lines (14 loc) · 388 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
* @name Number of methods
* @description The number of methods and constructors in a reference type.
* @kind treemap
* @treemap.warnOn highValues
* @metricType reftype
* @metricAggregate avg sum max
* @id java/functions-per-type
* @tags maintainability
*/
import
java
from
RefType
t
where
t
.
fromSource
(
)
select
t
,
t
.
getMetrics
(
)
.
getNumberOfCallables
(
)
as
n
order
by
n
desc
Back
|
FazBrowse Home
|
New Git URL