Toggle navigation
Home
org.sonar.server.component.es.ProjectMeasuresDoc to org.sonar.db.measure.ProjectMeasuresIndexerIterator.ProjectMeasures
No. of Instances - 15
No. of Commits - 1
No. of Projects - {'sonarqube'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
newIndexRequest(doc)
to
newIndexRequest(toProjectMeasuresDoc(doc))
assertThat(doc.getId())
to
assertThat(doc.getProject().getUuid())
assertThat(doc.getKey())
to
assertThat(doc.getProject().getKey())
assertThat(doc.getName())
to
assertThat(doc.getProject().getName())
assertThat(doc.getMeasures())
to
assertThat(doc.getMeasures().getNumericMeasures())
ImmutableMap.of("key","ncloc","value",10d)
to
entry("ncloc",10d)
ImmutableMap.of("key","coverage","value",20d)
to
entry("coverage",20d)
assertThat(doc.getAnalysedAt())
to
assertThat(doc.getProject().getAnalysisDate())
assertThat(doc.getId())
to
assertThat(doc.getProject().getUuid())
assertThat(doc.getKey()).isNotNull()
to
assertThat(doc.getProject().getKey()).isNotNull()
assertThat(doc.getName()).isNotNull()
to
assertThat(doc.getProject().getName()).isNotNull()
assertThat(docsById.get(project.uuid()).getQualityGate())
to
assertThat(docsById.get(project.uuid()).getMeasures().getQualityGateStatus())