Skip to content
CAI
Produce a survey ↗Verify a survey

philss/floki

This system is the Floki HTML parsing library for Elixir, designed to parse, traverse, and manipulate HTML documents and fragments. It provides a modular architecture supporting multiple parsing backends (FastHtml, Html5ever, and Mochiweb) and features robust CSS selector matching, text extraction, and tree traversal capabilities. The codebase includes comprehensive test coverage and automated generation of HTML5 specification tests to ensure compliance and performance.

66.3

Adequate · 6 August 2026

8.7k

lines of production code

Elixir

with Erlang

3

bus factor · 110 authors in all

4

measurements over time

CAI band scale
CAI trend line

How it got here

2014 · Tooling and test coverage expansion

This period focused on improving project governance and developer experience by adding Credo configuration, documentation files, and a lock file. The Floki library expanded its HTML parsing capabilities with new functions and types, supported by extensive test coverage across multiple parsers.

5 changes

2015–2016 · CSS selector and parsing refactoring

This period focused on refactoring the Floki library's internal architecture to support more robust HTML parsing and CSS selector matching. The work introduced dedicated modules for CSS escaping, text extraction, and tree traversal, while significantly expanding support for CSS pseudo-classes, combinators, and attribute selectors.

4 changes

2017–2021 · HTML5 compliance and multi-backend support

This period focused on modernizing the library's core parsing engine by introducing a native Elixir-based HTML5-compliant tokenizer and supporting multiple HTML parsing backends. The work included implementing the FastHTML, Html5ever, and Mochiweb parsers, while also adding comprehensive test coverage and benchmarking scripts to validate the new functionality.

7 changes

CAI lens gauges

Survey your own repository

philss/floki was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 6 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 143df1fa0d — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards