나는 아래 요인에 (코드 라인) 소나 데이터베이스 구조 란 무엇입니까?
- 명 LoC을 월별 보고서베이스를 생성하기 위해 노력하고
- 위반 (정보 제외)
- 중복 된 전화 %
소나 데이터베이스에서 엔티티 관계를 확인하려고했지만 모든 테이블은 독립적입니다. 보고서를 생성하기 위해 어떤 테이블에서 값을 가져야하는지 확실하지 않습니다. 쿼리 아래의 힌트를
는 언급
힌트 :
select proj.name as ClassName, -- Class Name for which violation has been found out
proj.long_name as LongName, -- Long Class Name i.e. with package for which violation has been found out
rf.failure_level as ErrorLevel, -- Error level of the violation
rf.message as Violation, -- Cause of Violation
rf.line as LineNumber, -- Line number of the class file
ru.name ViolationName, -- Violation Description
ru.plugin_name PluginType -- Plugin tool by which this error has been detected i.e. findbug, PMD, etc.
-- ,ru.description -- (if violation description is required we can add this column) from projects proj inner join snapshots snap on proj.id = snap.project_id inner join rule_failures rf on rf.snapshot_id = snap.id inner join rules ru on ru.id = rf.rule_id
은 [Report Plugin] (http://docs.codehaus.org/display/SONAR/Sonar+PDF+Plugin)이 너무 많습니다. – oers
아, 이전 질문에 대한 답변을 제공하고 (답변 수락) (http://meta.stackexchange.com/a/5235/160062) 도와 주신 분께 감사드립니다. – oers