FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/python/ql/src/Metrics/CLinesOfCode.qhelp at codeql-cli/v2.27.1 · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
482
(482)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
python
/
ql
/
src
/
Metrics
/
CLinesOfCode.qhelp
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (16 loc) · 691 Bytes
Breadcrumbs
codeql
/
python
/
ql
/
src
/
Metrics
/
CLinesOfCode.qhelp
Copy path
File metadata and controls
23 lines (16 loc) · 691 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
17
18
19
20
21
22
23
<!
DOCTYPE
qhelp
PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<
qhelp
>
<
overview
>
<
p
>This metric measures the number of lines of code in a function. This excludes comments and blank lines.</
p
>
<
p
>Having too many lines of code in a function is an indication that it can be split into several functions of more manageable size.</
p
>
</
overview
>
<
recommendation
>
<
p
>Long functions should be examined to see if they can be split into smaller, more cohesive functions.</
p
>
</
recommendation
>
<
references
>
<
li
>M. Fowler, <
em
>Refactoring</
em
>. Addison-Wesley, 1999.</
li
>
<
li
>Wikipedia: <
a
href
=
"
https://en.wikipedia.org/wiki/Code_refactoring
"
>Code refactoring</
a
>.</
li
>
</
references
>
</
qhelp
>
Back
|
FazBrowse Home
|
New Git URL