Components audit

Component files

Lists what files each component has

Numbers in table headers show column totals. Numbers in table cells show number of lines in files. Note that component test files cannot currently be detected in applications that use minitest instead of Rspec.

Component Template CSS Print CSS JS JS test GF CSS GF JS Test Helper
accordion govuk_publishing_components 94 lines of code in accordion template 57 lines of code in accordion stylesheet Yes 106 lines of code in accordion javascript 85 lines of code in accordion javascript test Yes Yes 353 lines of code in accordion test 38 lines of code in accordion helper
action link govuk_publishing_components 74 lines of code in action link template 192 lines of code in action link stylesheet Yes 111 lines of code in action link test
attachment govuk_publishing_components 133 lines of code in attachment template 106 lines of code in attachment stylesheet Yes 326 lines of code in attachment test 200 lines of code in attachment helper
attachment link govuk_publishing_components 40 lines of code in attachment link template 19 lines of code in attachment link stylesheet Yes 88 lines of code in attachment link test
back link govuk_publishing_components 22 lines of code in back link template 2 lines of code in back link stylesheet Yes 35 lines of code in back link test
big number govuk_publishing_components 47 lines of code in big number template 60 lines of code in big number stylesheet 112 lines of code in big number test 30 lines of code in big number helper
breadcrumbs govuk_publishing_components 44 lines of code in breadcrumbs template 76 lines of code in breadcrumbs stylesheet Yes Yes 133 lines of code in breadcrumbs test 75 lines of code in breadcrumbs helper
button govuk_publishing_components 36 lines of code in button template 114 lines of code in button stylesheet Yes 5 lines of code in button javascript Yes Yes 255 lines of code in button test 140 lines of code in button helper
cards govuk_publishing_components 53 lines of code in cards template 184 lines of code in cards stylesheet Yes 204 lines of code in cards test
character count govuk_publishing_components 28 lines of code in character count template 2 lines of code in character count stylesheet 5 lines of code in character count javascript Yes Yes 46 lines of code in character count test
chart govuk_publishing_components 196 lines of code in chart template 64 lines of code in chart stylesheet 1 lines of code in chart javascript 165 lines of code in chart test
chat entry govuk_publishing_components 55 lines of code in chat entry template 39 lines of code in chat entry stylesheet 84 lines of code in chat entry test
checkboxes govuk_publishing_components 66 lines of code in checkboxes template 24 lines of code in checkboxes stylesheet 68 lines of code in checkboxes javascript 114 lines of code in checkboxes javascript test Yes Yes 480 lines of code in checkboxes test 105 lines of code in checkboxes helper
contents list govuk_publishing_components 93 lines of code in contents list template 113 lines of code in contents list stylesheet Yes 270 lines of code in contents list test 78 lines of code in contents list helper
contextual breadcrumbs govuk_publishing_components 20 lines of code in contextual breadcrumbs template 203 lines of code in contextual breadcrumbs test
contextual footer govuk_publishing_components 12 lines of code in contextual footer template 79 lines of code in contextual footer test
contextual guidance govuk_publishing_components 32 lines of code in contextual guidance template 49 lines of code in contextual guidance stylesheet 31 lines of code in contextual guidance javascript 71 lines of code in contextual guidance javascript test 29 lines of code in contextual guidance test
contextual sidebar govuk_publishing_components 40 lines of code in contextual sidebar template 49 lines of code in contextual sidebar stylesheet 73 lines of code in contextual sidebar test
cookie banner govuk_publishing_components 111 lines of code in cookie banner template 24 lines of code in cookie banner stylesheet Yes 141 lines of code in cookie banner javascript 378 lines of code in cookie banner javascript test Yes 103 lines of code in cookie banner test
copy to clipboard govuk_publishing_components 21 lines of code in copy to clipboard template 1 lines of code in copy to clipboard stylesheet 26 lines of code in copy to clipboard javascript 33 lines of code in copy to clipboard javascript test 19 lines of code in copy to clipboard test
cross service header govuk_publishing_components 19 lines of code in cross service header template 469 lines of code in cross service header stylesheet Yes 78 lines of code in cross service header javascript 301 lines of code in cross service header javascript test 64 lines of code in cross service header test
date input govuk_publishing_components 86 lines of code in date input template 16 lines of code in date input stylesheet Yes 86 lines of code in date input test
details govuk_publishing_components 42 lines of code in details template 2 lines of code in details stylesheet Yes 100 lines of code in details test
devolved nations govuk_publishing_components 43 lines of code in devolved nations template 27 lines of code in devolved nations stylesheet Yes 204 lines of code in devolved nations test 53 lines of code in devolved nations helper
document list govuk_publishing_components 142 lines of code in document list template 184 lines of code in document list stylesheet Yes 577 lines of code in document list test
emergency banner govuk_publishing_components 68 lines of code in emergency banner template 84 lines of code in emergency banner stylesheet Yes 99 lines of code in emergency banner test 17 lines of code in emergency banner helper
error alert govuk_publishing_components 23 lines of code in error alert template 38 lines of code in error alert stylesheet 24 lines of code in error alert test
error message govuk_publishing_components 20 lines of code in error message template 2 lines of code in error message stylesheet Yes 38 lines of code in error message test
error summary govuk_publishing_components 49 lines of code in error summary template 7 lines of code in error summary stylesheet 5 lines of code in error summary javascript Yes Yes 92 lines of code in error summary test
feedback govuk_publishing_components 25 lines of code in feedback template 260 lines of code in feedback stylesheet 226 lines of code in feedback javascript 727 lines of code in feedback javascript test 89 lines of code in feedback test
fieldset govuk_publishing_components 50 lines of code in fieldset template 2 lines of code in fieldset stylesheet Yes 65 lines of code in fieldset test
file upload govuk_publishing_components 78 lines of code in file upload template 2 lines of code in file upload stylesheet Yes 158 lines of code in file upload test
google tag manager script govuk_publishing_components 17 lines of code in google tag manager script template 14 lines of code in google tag manager script test
govspeak govuk_publishing_components 39 lines of code in govspeak template 120 lines of code in govspeak stylesheet Yes 28 lines of code in govspeak javascript 70 lines of code in govspeak javascript test 64 lines of code in govspeak test
govspeak html publication govuk_publishing_components 13 lines of code in govspeak html publication template 151 lines of code in govspeak html publication stylesheet Yes 40 lines of code in govspeak html publication test
heading govuk_publishing_components 24 lines of code in heading template 63 lines of code in heading stylesheet Yes 121 lines of code in heading test 38 lines of code in heading helper
hint govuk_publishing_components 17 lines of code in hint template 2 lines of code in hint stylesheet Yes 58 lines of code in hint test
image card govuk_publishing_components 80 lines of code in image card template 363 lines of code in image card stylesheet Yes 19 lines of code in image card javascript 179 lines of code in image card test 147 lines of code in image card helper
input govuk_publishing_components 148 lines of code in input template 30 lines of code in input stylesheet Yes 321 lines of code in input test
inset text govuk_publishing_components 25 lines of code in inset text template 8 lines of code in inset text stylesheet Yes Yes 42 lines of code in inset text test
intervention govuk_publishing_components 90 lines of code in intervention template 35 lines of code in intervention stylesheet Yes 69 lines of code in intervention javascript 85 lines of code in intervention javascript test 185 lines of code in intervention test 50 lines of code in intervention helper
inverse header govuk_publishing_components 14 lines of code in inverse header template 43 lines of code in inverse header stylesheet Yes 41 lines of code in inverse header test
label govuk_publishing_components 35 lines of code in label template 2 lines of code in label stylesheet Yes 117 lines of code in label test
layout footer govuk_publishing_components 140 lines of code in layout footer template 59 lines of code in layout footer stylesheet Yes Yes 405 lines of code in layout footer test 35 lines of code in layout footer helper
layout for admin govuk_publishing_components 37 lines of code in layout for admin template 1 lines of code in layout for admin stylesheet 74 lines of code in layout for admin test
layout for public govuk_publishing_components 193 lines of code in layout for public template 60 lines of code in layout for public stylesheet 346 lines of code in layout for public test
layout header govuk_publishing_components 45 lines of code in layout header template 189 lines of code in layout header stylesheet Yes 5 lines of code in layout header javascript Yes Yes 134 lines of code in layout header test
layout super navigation header govuk_publishing_components 337 lines of code in layout super navigation header template 1018 lines of code in layout super navigation header stylesheet Yes 226 lines of code in layout super navigation header javascript 521 lines of code in layout super navigation header javascript test 178 lines of code in layout super navigation header test
lead paragraph govuk_publishing_components 16 lines of code in lead paragraph template 20 lines of code in lead paragraph stylesheet Yes 26 lines of code in lead paragraph test
list govuk_publishing_components 31 lines of code in list template 158 lines of code in list test
machine readable metadata govuk_publishing_components 32 lines of code in machine readable metadata template 120 lines of code in machine readable metadata test
meta tags govuk_publishing_components 5 lines of code in meta tags template 524 lines of code in meta tags test
metadata govuk_publishing_components 102 lines of code in metadata template 116 lines of code in metadata stylesheet Yes 27 lines of code in metadata javascript 66 lines of code in metadata javascript test 266 lines of code in metadata test
modal dialogue govuk_publishing_components 23 lines of code in modal dialogue template 150 lines of code in modal dialogue stylesheet 108 lines of code in modal dialogue javascript 128 lines of code in modal dialogue javascript test 31 lines of code in modal dialogue test
notice govuk_publishing_components 51 lines of code in notice template 25 lines of code in notice stylesheet Yes 106 lines of code in notice test
option select govuk_publishing_components 76 lines of code in option select template 177 lines of code in option select stylesheet 319 lines of code in option select javascript 553 lines of code in option select javascript test 135 lines of code in option select test
organisation logo govuk_publishing_components 41 lines of code in organisation logo template 169 lines of code in organisation logo stylesheet Yes 85 lines of code in organisation logo test 36 lines of code in organisation logo helper
panel govuk_publishing_components 32 lines of code in panel template 21 lines of code in panel stylesheet Yes 52 lines of code in panel test
password input govuk_publishing_components 93 lines of code in password input template 2 lines of code in password input stylesheet 5 lines of code in password input javascript Yes Yes 79 lines of code in password input test
phase banner govuk_publishing_components 43 lines of code in phase banner template 47 lines of code in phase banner stylesheet Yes Yes 61 lines of code in phase banner test
previous and next navigation govuk_publishing_components 77 lines of code in previous and next navigation template 10 lines of code in previous and next navigation stylesheet Yes Yes 131 lines of code in previous and next navigation test
print link govuk_publishing_components 44 lines of code in print link template 56 lines of code in print link stylesheet 16 lines of code in print link javascript 30 lines of code in print link javascript test 89 lines of code in print link test
radio govuk_publishing_components 140 lines of code in radio template 6 lines of code in radio stylesheet 5 lines of code in radio javascript Yes Yes 690 lines of code in radio test
related navigation govuk_publishing_components 48 lines of code in related navigation template 112 lines of code in related navigation stylesheet 349 lines of code in related navigation test 211 lines of code in related navigation helper
reorderable list govuk_publishing_components 47 lines of code in reorderable list template 118 lines of code in reorderable list stylesheet 108 lines of code in reorderable list javascript 206 lines of code in reorderable list javascript test 66 lines of code in reorderable list test
search govuk_publishing_components 87 lines of code in search template 321 lines of code in search stylesheet 205 lines of code in search test
search with autocomplete govuk_publishing_components 27 lines of code in search with autocomplete template 200 lines of code in search with autocomplete stylesheet 170 lines of code in search with autocomplete javascript 327 lines of code in search with autocomplete javascript test 52 lines of code in search with autocomplete test
secondary navigation govuk_publishing_components 29 lines of code in secondary navigation template 94 lines of code in secondary navigation stylesheet 36 lines of code in secondary navigation test
select govuk_publishing_components 41 lines of code in select template 7 lines of code in select stylesheet Yes 260 lines of code in select test 81 lines of code in select helper
share links govuk_publishing_components 123 lines of code in share links template 155 lines of code in share links stylesheet 162 lines of code in share links test
signup link govuk_publishing_components 32 lines of code in signup link template 36 lines of code in signup link stylesheet 50 lines of code in signup link test
single page notification button govuk_publishing_components 36 lines of code in single page notification button template 40 lines of code in single page notification button stylesheet 71 lines of code in single page notification button javascript 152 lines of code in single page notification button javascript test 142 lines of code in single page notification button test 83 lines of code in single page notification button helper
skip link govuk_publishing_components 7 lines of code in skip link template 2 lines of code in skip link stylesheet 5 lines of code in skip link javascript Yes Yes 22 lines of code in skip link test
step by step nav govuk_publishing_components 119 lines of code in step by step nav template 546 lines of code in step by step nav stylesheet Yes 467 lines of code in step by step nav javascript 560 lines of code in step by step nav javascript test 377 lines of code in step by step nav test 125 lines of code in step by step nav helper
step by step nav header govuk_publishing_components 51 lines of code in step by step nav header template 36 lines of code in step by step nav header stylesheet Yes 79 lines of code in step by step nav header test
step by step nav related govuk_publishing_components 60 lines of code in step by step nav related template 53 lines of code in step by step nav related stylesheet Yes 164 lines of code in step by step nav related test
subscription links govuk_publishing_components 80 lines of code in subscription links template 131 lines of code in subscription links stylesheet 140 lines of code in subscription links test 48 lines of code in subscription links helper
success alert govuk_publishing_components 31 lines of code in success alert template 28 lines of code in success alert stylesheet Yes Yes 32 lines of code in success alert test
summary card govuk_publishing_components 66 lines of code in summary card template 16 lines of code in summary card stylesheet Yes 212 lines of code in summary card test
summary list govuk_publishing_components 137 lines of code in summary list template 53 lines of code in summary list stylesheet Yes 324 lines of code in summary list test
table govuk_publishing_components 80 lines of code in table template 167 lines of code in table stylesheet Yes 52 lines of code in table javascript 109 lines of code in table javascript test Yes 156 lines of code in table test
tabs govuk_publishing_components 74 lines of code in tabs template 65 lines of code in tabs stylesheet Yes 5 lines of code in tabs javascript Yes Yes 149 lines of code in tabs test
textarea govuk_publishing_components 83 lines of code in textarea template 28 lines of code in textarea stylesheet Yes Yes 234 lines of code in textarea test
title govuk_publishing_components 42 lines of code in title template 50 lines of code in title stylesheet Yes 98 lines of code in title test
translation nav govuk_publishing_components 31 lines of code in translation nav template 55 lines of code in translation nav stylesheet 88 lines of code in translation nav test 33 lines of code in translation nav helper
warning text govuk_publishing_components 36 lines of code in warning text template 34 lines of code in warning text stylesheet Yes Yes 51 lines of code in warning text test

Components containing other components

Shows which components contain other components
attachment
details
character count
error message, hint, label, textarea
chart
details, heading, skip link
contextual breadcrumbs
breadcrumbs, step by step nav header
contextual footer
related navigation
contextual sidebar
related navigation, step by step nav, step by step nav related
cookie banner
button
copy to clipboard
button, error message, hint, input, label
date input
error message, fieldset, hint, input, label
feedback
button, error message, hint, label, textarea
fieldset
error message
file upload
error message, hint, label
input
error message, hint, label
label
hint
layout for public
button, cookie banner, cross service header, error message, feedback, hint, label, layout footer, layout header, layout super navigation header, phase banner, search, skip link, textarea
layout header
search
metadata
heading
notice
govspeak
option select
checkboxes
password input
hint, label
radio
error message, hint, label
reorderable list
button, error message, hint, input, label
select
error message, hint
subscription links
error message, hint, input, label
table
error message, hint, input, label
textarea
error message, hint, label