From 35a77730f9dbcc3f5b973ebbf07fedb71f15024a Mon Sep 17 00:00:00 2001 From: Thomas Vuillaume Date: Wed, 28 Oct 2026 10:42:49 +0100 Subject: [PATCH 1/2] catalog: add ast-metrics Co-Authored-By: Claude Sonnet 5.5 --- quality-tools/ast-metrics.json | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 quality-tools/ast-metrics.json diff --git a/quality-tools/ast-metrics.json b/quality-tools/ast-metrics.json new file mode 100644 index 00000000..7183338c --- /dev/null +++ b/quality-tools/ast-metrics.json @@ -0,0 +1,46 @@ +{ + "@context": "https://w3id.org/everse/rs#", + "@id": "https://w3id.org/everse/tools/ast-metrics", + "@type": "SoftwareApplication", + "applicationCategory": { + "@id": "rs:AnalysisCode", + "@type": "@id" + }, + "appliesToProgrammingLanguage": [ + "Go", + "PHP", + "Python", + "Rust", + "Java", + "C#", + "TypeScript" + ], + "description": "Static analyzer that measures complexity, maintainability, coupling and size of a codebase across several languages, and flags in pull requests only what got worse.", + "hasQualityDimension": { + "@id": "dim:maintainability", + "@type": "@id" + }, + "howToUse": ["CI/CD", "command-line"], + "isAccessibleForFree": true, + "license": "https://spdx.org/licenses/MIT", + "name": "ast-metrics", + "url": "https://github.com/Halleck45/ast-metrics", + "measuresQualityIndicator": [ + { + "@id": "https://w3id.org/everse/i/indicators/cyclomatic_complexity_ok", + "@type": "@id" + }, + { + "@id": "https://w3id.org/everse/i/indicators/maintainability_index_ok", + "@type": "@id" + }, + { + "@id": "https://w3id.org/everse/i/indicators/lines_of_code_ok", + "@type": "@id" + }, + { + "@id": "https://w3id.org/everse/i/indicators/coupling_between_objects_ok", + "@type": "@id" + } + ] +} From 00c22faf4d34a0f8274b4190d79120b853feee43 Mon Sep 17 00:00:00 2001 From: Thomas Vuillaume Date: Wed, 28 Oct 2026 12:04:00 +0100 Subject: [PATCH 2/2] catalog: address review on ast-metrics Co-Authored-By: Claude Sonnet 5.5 --- quality-tools/ast-metrics.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quality-tools/ast-metrics.json b/quality-tools/ast-metrics.json index 7183338c..2d9e04bf 100644 --- a/quality-tools/ast-metrics.json +++ b/quality-tools/ast-metrics.json @@ -15,7 +15,7 @@ "C#", "TypeScript" ], - "description": "Static analyzer that measures complexity, maintainability, coupling and size of a codebase across several languages, and flags in pull requests only what got worse.", + "description": "Static analyzer that measures complexity, maintainability, coupling and size of a codebase in several languages, helping researchers and developers keep their software maintainable. In pull requests it flags only what got worse.", "hasQualityDimension": { "@id": "dim:maintainability", "@type": "@id" @@ -23,7 +23,7 @@ "howToUse": ["CI/CD", "command-line"], "isAccessibleForFree": true, "license": "https://spdx.org/licenses/MIT", - "name": "ast-metrics", + "name": "AST Metrics", "url": "https://github.com/Halleck45/ast-metrics", "measuresQualityIndicator": [ {