Main Entities (korean)
Main Analysis Entities
Entity | Description | Etc. |
---|---|---|
AnalysisConfig | a static analysis plug-in can use this object to analyze a source file. this object transfer to a static analysis plug-in with full information. | |
AnalysisResult | a static analysis plug-in should fill(not create) the fields of this object as a result of analysis. this object will be used by the dexter-execute project(EndOfAnalysisHandler). | |
Defect | a Defect object indicate one defect. a defect object can have more than one Occurence object(s) as a List a static analysis plug-in should create a Defect or Defects List | |
Occurence | a Occurence has a exact position information of a Defect. a static analysis plug-in should create a Occurence or Occurence List | |
PreOccurence | sometimes, it is hard to create a Defect and a Occurence objects separately. in this case, you can create PreOccurence object, then create a Defect and a Occurence objects | |
IAnalysisEntityFactory | the dexter-execute project use a concreate class of this interface to create an AnalysisConfig and an AnalysisResult objects. You don't need to use this interface if you are concerns only a static analysis plug-in |
Defect State
Defect Severity
심각도 | 코드 | 설명 | 사례 |
---|---|---|---|
Critical | CRI |
| Memory Leak Array Index |
Major | MAJ |
| 중복된 Branch 구문 |
Minor | MIN |
| Type 변환 |
Clean Rule Code | CRC |
| Explicit 키워드 사용 중첩 If 구문 |
Etc. | ETC |
| null 역참조 오픈소스 라이선스 체크 |