Skip to content

Releases: richardwooding/codemetrics

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 18:23
c373472

Changelog

Features

Others

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 15:38
9c3ad6c

Changelog

Features

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 15:16
9cf28fa

Changelog

Features

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 14:27
bbc96e8

Changelog

Others

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 03 Jul 13:39
994ae00

Changelog

Bug fixes

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 13:19
75ba3b2

Changelog

Features

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 12:50
e34cf95

Changelog

Features

Others

v0.5.0

Choose a tag to compare

@richardwooding richardwooding released this 02 Jul 08:35
4a65195

Added

  • Cognitive complexity for Swift. gotreesitter v0.20.7 fixed the tree-sitter-swift else if mis-parse (odvcencio/gotreesitter#131) that previously degraded functions to ERROR nodes, so Swift now gets a cognitive-complexity spec. else-if is modelled via a new elseDirectIf classifier (the continuation if_statement is a direct child of the outer one).

Changed

  • Bump github.com/odvcencio/gotreesitter v0.20.6 → v0.20.8.

Chore

  • Add grouped minor-and-patch dependabot config.

Refs richardwooding/file-search-on#491.

v0.4.1

Choose a tag to compare

@richardwooding richardwooding released this 29 Jun 11:49

Bumps gotreesitter v0.20.5 → v0.20.6 (parser-recovery correctness + forest/performance improvements). No API change.

v0.4.0

Choose a tag to compare

@richardwooding richardwooding released this 27 Jun 13:39

Adds treesitter.MetricsFromTree(language, tree, lang, spans) — compute cyclomatic + cognitive complexity over an already-parsed gotreesitter tree, with no second parse. Lets a symbol extractor (e.g. treesitter-symbols) return symbols and metrics from a single parse. Parse now delegates to it; the decision query is compiled+cached per grammar. Exported Span type carries the function ranges the call needs.

go get github.com/richardwooding/go-codemetrics@v0.4.0