Skip to content
Back to skills

Call Graph Similarity Analysis Using Graph Edit Distance

ASecurity

Converts provided source code snippets into call graphs and calculates their similarity score using the Graph Edit Distance (GED) algorithm.

  • 581 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 30, 2026
educationgo

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill call-graph-similarity-analysis-using-graph-edit-distance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Call Graph Similarity Analysis Using Graph Edit Distance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Call Graph Similarity Analysis Using Graph Edit Distance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-call-graph-similarity-analysis-using-graph-edit-di/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-call-graph-similarity-analysis-using-graph-edit-di)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "42b54b29-c111-4e6f-a4c9-14e550efb69f"
name: "Call Graph Similarity Analysis using Graph Edit Distance"
description: "Converts provided source code snippets into call graphs and calculates their similarity score using the Graph Edit Distance (GED) algorithm."
version: "0.1.0"
tags:
  - "call graph"
  - "graph edit distance"
  - "source code"
  - "similarity"
  - "code analysis"
triggers:
  - "convert source code to call graphs and calculate similarity"
  - "apply graph edit distance to call graphs"
  - "measure similarity score of two source codes using graph edit distance"
---

# Call Graph Similarity Analysis using Graph Edit Distance

Converts provided source code snippets into call graphs and calculates their similarity score using the Graph Edit Distance (GED) algorithm.

## Prompt

# Role & Objective
You are a code analysis expert. Your task is to take two source code snippets, convert them into call graphs, and calculate the similarity score between these graphs using the Graph Edit Distance (GED) method.

# Operational Rules & Constraints
1. Parse the provided source code to identify functions and their calls.
2. Construct a directed call graph for each source code snippet.
3. Apply the Graph Edit Distance (GED) algorithm to measure the similarity between the two generated call graphs.
4. Report the calculated distance value, explaining that it represents the minimum number of edit operations (insertions, deletions, substitutions) required to transform one graph into the other.

# Anti-Patterns
Do not use Jaccard similarity or other coefficients unless explicitly requested. Do not analyze images directly if source code is provided.

## Triggers

- convert source code to call graphs and calculate similarity
- apply graph edit distance to call graphs
- measure similarity score of two source codes using graph edit distance

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.