FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/cpp/ql/src/Architecture/FeatureEnvy.qhelp at codeql-cli/v2.27.1 · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
474
(474)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
cpp
/
ql
/
src
/
Architecture
/
FeatureEnvy.qhelp
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (23 loc) · 964 Bytes
Breadcrumbs
codeql
/
cpp
/
ql
/
src
/
Architecture
/
FeatureEnvy.qhelp
Copy path
File metadata and controls
32 lines (23 loc) · 964 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
24
25
26
27
28
29
30
31
32
<!
DOCTYPE
qhelp
PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<
qhelp
>
<
overview
>
<
p
>
This rule finds functions that use more functions and variables from another file than functions and variables from its own file.
This function may be better placed in the other file, to avoid exposing internals of the file it depends on.
</
p
>
</
overview
>
<
recommendation
>
<
p
>See if the function can be moved to the file which contains most of its dependencies.</
p
>
</
recommendation
>
<
references
>
<
li
>W. C. Wake, <
em
>Refactoring Workbook</
em
>, pp. 95
–
96. Addison-Wesley Professional, 2004.</
li
>
<
li
>E. Gamma, R. Helm, R. Johnson, J. Vlissides,
<
em
>Design patterns: elements of reusable object-oriented software</
em
>.
Addison-Wesley Longman Publishing Co., Inc. Boston, MA, 1995.</
li
>
<
li
>
MSDN Magazine: <
a
href
=
"
http://msdn.microsoft.com/en-us/magazine/cc947917.aspx
"
>Patterns in Practice: Cohesion And Coupling</
a
>
</
li
>
</
references
>
</
qhelp
>
Back
|
FazBrowse Home
|
New Git URL