Skip to main content

A collection of codebase visualisations for architects

Project description

The simplest possible code metric:

W Whitespace
I Integrated over
L Lines of
T Text

An implementation of WILT from a great talk by Robert Smallshire called Confronting Complexity [1] [2]. In the talk there were quite a few other visualisations that inspire development this package.

Install with:

pipx install Wilt

The metric can be calculated like:

$ wilt /usr/lib/python3.12/unittest/case.py
2677.75

$ wilt '/usr/lib/python3.12/**/*.py'
346219.0

$ echo "    foo" | wilt -i 2 -
2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Wilt-0.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

Wilt-0.0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page