Java: Use .inc.qhelp extension for included help files

This commit is contained in:
Marcono1234
2021-02-23 23:04:42 +01:00
parent e21cbe82a9
commit 53dc2ce9b6
54 changed files with 53 additions and 53 deletions

View File

@@ -0,0 +1,24 @@
<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<fragment>
<p>
A class, method, or field may be dead even if it has dependencies from other parts of the program,
if those dependencies are from code that is also considered to be dead. We can also consider this
from the opposite side - an element is live, if and only if there is an entry point - such as a
<code>main</code> method - that eventually calls the method, reads the field or constructs the class.
</p>
<p>
When identifying dead code, we make an assumption that the snapshot of the project includes all
possible callers of the code. If the project is a library project, this may not be the case, and
code may be flagged as dead when it is only used by other projects not included in the snapshot.
</p>
<p>
You can customize the results by defining additional "entry points" or by identifying fields that
are accessed using reflection. You may also wish to "whitelist" classes, methods or fields that
should be excluded from the results. Please refer to the Semmle documentation for more information.
</p>
</fragment>
</qhelp>