class Summary {

    public String create() {
        return div(labelProvider.getTitle(analysisResult, !analysisResult.getErrorMessages().isEmpty()),
                createDescription())
                .withId(labelProvider.getId() + "-summary")
                .renderFormatted();
    }

    public  Summary(final StaticAnalysisLabelProvider labelProvider, final AnalysisResult result);
    @VisibleForTesting  Summary(final StaticAnalysisLabelProvider labelProvider, final AnalysisResult result,
            final LabelProviderFactoryFacade facade);

}