SSC now has its own website at https://ssc.lu/. This page is no longer maintained.

SSC, the static site checker, is an opinionated HTML nit–picker. It’s a command line tool intended for people, like me, who hand code websites, to identify coding issues that should perhaps be addressed. Point it to a directory containing your website’s HTML / XHTML / SHTML, and it will analyse what’s there.

image: escher blummen

SSC examines

It is incomplete. In particular, it does NOT:

  • understand scripts, whether Javascript, ASP, PHP, etc.;
  • process styles, except grabbing class names from CSS;
  • comprehend XML or any derivative beyond those noted above;
  • behave in an even vaguely secure manner (its parsers are holier than the infamous cow)

It can produce:

  • a detailed list of matters to consider,
  • site statistics,
  • ‘repaired’ code, &
  • a deduplicated version of the site.

It compares to the following products:

  • HTML Tidy can convert between HTML and XHTML, but checks few attributes and spots no broken links;
  • Linkchecker takes orders of magnitude longer to scan a large site, and can omit many broken links;
  • various HTML linters that analyse individual files, but not complete sites.

Read more about SSC:


Here’s a short example of ssc’s output, with added comments:

*** 404.html

9: <a href="/news">
 ==> "/news" not found
<!-- there is no file or directory called /news -->

50: <link href="http://purl.org/dc/elements/1.1/" rel="schema.dc">
 ..> <LINK> REL="schema.dc" is not standard HTML5/20210101/SVG-2.0/MathML-3/WhatWG
<!-- schema.dc is not a standard rel value (it’s part of Dublin Core) -->

75: <span class="biggerscreen">
 ==> <span> has no matching </span>
 --> "biggerscreen" is unknown
<!-- although </SPAN> is not always required, forgotten closures make HTML inefficient -->
<!-- the CSS style biggerscreen has not been defined -->

86: </nav>
 --> inserted missing </span>
<!-- and this is where the forgotten </SPAN> matters -->

If you would like to see more output, grab the project, compile it, and then run either recipe/tea/fulltest.sh (various unii) or recipe/tea/fulltest.bat (windows). It’ll output many examples to recipe/out.