CDD-3163: Implement section footer for landing & topic_list page #3069
Quality Gate failed
Failed conditions
96.5% Duplication on New Code (required ≤ 3%)
Annotations
Check failure on line 254 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "\nThe name of the type of chart which you want to create e.g. bar\n" 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229G&open=AZ1Jh-eExuRvoptr229G&pullRequest=3069
Check failure on line 24 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.TextBlock" 12 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr2289&open=AZ1Jh-ZXxuRvoptr2289&pullRequest=3069
Check failure on line 48 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.StructBlock" 25 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr2287&open=AZ1Jh-ZXxuRvoptr2287&pullRequest=3069
Check failure on line 97 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.StreamBlock" 11 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr228_&open=AZ1Jh-ZXxuRvoptr228_&pullRequest=3069
Check failure on line 76 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.CharBlock" 11 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr229D&open=AZ1Jh-ZXxuRvoptr229D&pullRequest=3069
Check failure on line 343 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "\nAdd the plots required for your chart. \nWithin each plot, you will be required to add a set of fields which will be used to fetch the supporting data \nfor that plot.\n" 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr229A&open=AZ1Jh-ZXxuRvoptr229A&pullRequest=3069
Check failure on line 167 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.BooleanBlock" 6 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229M&open=AZ1Jh-eExuRvoptr229M&pullRequest=3069
Check failure on line 97 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.StreamBlock" 11 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229J&open=AZ1Jh-eExuRvoptr229J&pullRequest=3069
Check failure on line 24 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.TextBlock" 12 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229H&open=AZ1Jh-eExuRvoptr229H&pullRequest=3069
Check failure on line 48 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.StructBlock" 25 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229F&open=AZ1Jh-eExuRvoptr229F&pullRequest=3069
Check failure on line 343 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "\nAdd the plots required for your chart. \nWithin each plot, you will be required to add a set of fields which will be used to fetch the supporting data \nfor that plot.\n" 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229K&open=AZ1Jh-eExuRvoptr229K&pullRequest=3069
Check failure on line 32 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "cms.dynamic_content.blocks.PageLinkChooserBlock" 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229L&open=AZ1Jh-eExuRvoptr229L&pullRequest=3069
Check failure on line 76 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.CharBlock" 11 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229N&open=AZ1Jh-eExuRvoptr229N&pullRequest=3069
Check failure on line 32 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "cms.dynamic_content.blocks.PageLinkChooserBlock" 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr229B&open=AZ1Jh-ZXxuRvoptr229B&pullRequest=3069
Check failure on line 167 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.BooleanBlock" 6 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr229C&open=AZ1Jh-ZXxuRvoptr229C&pullRequest=3069
Check failure on line 206 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal '\nThe name of the metric to pull data for e.g. "COVID-19_deaths_ONSByDay".\n' 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr228-&open=AZ1Jh-ZXxuRvoptr228-&pullRequest=3069
Check failure on line 206 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal '\nThe name of the metric to pull data for e.g. "COVID-19_deaths_ONSByDay".\n' 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229I&open=AZ1Jh-eExuRvoptr229I&pullRequest=3069
Check failure on line 114 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.ChoiceBlock" 28 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr229E&open=AZ1Jh-ZXxuRvoptr229E&pullRequest=3069
Check failure on line 254 in cms/topics_list/migrations/0005_alter_topicslistpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "\nThe name of the type of chart which you want to create e.g. bar\n" 3 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-ZXxuRvoptr2288&open=AZ1Jh-ZXxuRvoptr2288&pullRequest=3069
Check failure on line 114 in cms/home/migrations/0032_alter_landingpage_body.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "wagtail.blocks.ChoiceBlock" 28 times.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ1Jh-eExuRvoptr229O&open=AZ1Jh-eExuRvoptr229O&pullRequest=3069