class AnalysisResult implements Serializable, StaticAnalysisRun {

    @Whitelisted
    public IssuesStatistics getTotals() {
        return totals;
    }

    @SuppressWarnings("checkstyle:ParameterNumber") public  AnalysisResult(final Run<?, ?> owner, final String id, final DeltaReport report, final Blames blames,
            final RepositoryStatistics totals, final QualityGateStatus qualityGateStatus,
            final Map<String, Integer> sizePerOrigin,
            final AnalysisResult previousResult);
    public  AnalysisResult(final Run<?, ?> owner, final String id, final DeltaReport report, final Blames blames,
            final RepositoryStatistics totals, final QualityGateStatus qualityGateStatus,
            final Map<String, Integer> sizePerOrigin);
    @VisibleForTesting @SuppressWarnings("checkstyle:ParameterNumber") protected  AnalysisResult(final Run<?, ?> owner, final String id, final DeltaReport report,
            final Blames blames, final RepositoryStatistics repositoryStatistics,
            final QualityGateStatus qualityGateStatus, final Map<String, Integer> sizePerOrigin,
            final boolean canSerialize);

}