Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Fault Tree AnalysisNew to Visual Studio Code? Get it now.
Fault Tree Analysis

Fault Tree Analysis

SolutionLink

|
1 install
| (0) | Free
Write fault trees as text in .fta files, view them as diagrams, extract minimal cut sets, and export standalone HTML reports.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Fault Tree Analysis

Write fault trees as text in .fta files, see them drawn as diagrams, extract minimal cut sets, and export standalone HTML reports. A VS Code extension built on Langium with a full language server, quick fixes and refactorings, and interactive analysis panels.

Provided by SolutionLink · 솔루션링크 제공

English · 한국어


Features

  • Language server — syntax highlighting, completion (event, tree and colour names), real‑time diagnostics, hover, outline, folding, formatting, and a colour swatch next to every color: value.
  • Quick fixes and refactorings — fix a misspelled colour, turn an invalid null gate into and/or, remove an unused event, declare a missing event, replace a repeated expansion with copied; extract a gate into its own tree or merge a ref back inline.
  • Show Trees — every tree drawn as a diagram that follows your edits. Click a node to jump to its source; follow a ref to the referenced tree; a Traceability view shows which trees use each event.
  • Edit Events — edit event declarations in a table. A rename updates every reference in one undo step.
  • Cut Set Analysis — minimal cut sets of any tree, ordered by order (single points of failure first), with the trees each cut set activates highlighted on the diagram. Order and time limits for large trees.
  • Analysis of Cut Set Analysis — co‑occurrence matrices between basic failures and safety mechanisms (Defense, Coverage, All), to see what must fail together and how far a breached mechanism reaches.
  • Reports — one standalone HTML file with diagrams embedded as PNG, ready to send or print to PDF.
  • Bulk edits — comment out every unused event, allocate missing IDs, or renumber existing IDs, each as one undo step.
  • Korean and English — panels, reports and the built‑in user guide follow fault-tree.language.

Language at a glance

tutorial.fta

fta tutorial;

color cTop = black;

event TUE          { title: "Failure of Function", color: cTop };
event fault_on_func { title: "Fault of Function" };
event fault_on_sm   { title: "Fault of Safety Mechanism" };
event input1_fault  { title: "Input 1 Fault" };
event input2_fault  { title: "Input 2 Fault" };
event internal_fault_on_func;
event internal_fault_on_sm;

tree tutorial {
    TUE and {
        fault_on_func or {
            internal_fault_on_func undev;
            input1_fault basic;
            input2_fault basic;
        }
        fault_on_sm or {
            internal_fault_on_sm undev;
            input1_fault basic;     // shared by both sides → an order‑1 cut set
        }
    }
}

Gates: and, or, vote(k), null · Leaves: basic, undev, house, copied · ref OtherTree; expands another tree in place.

Commands

Find them in the command palette by typing FTA:.

Command Description
FTA: Show Trees Open the tree diagrams and the Traceability view for the active .fta file.
FTA: Edit Events Edit event declarations in a table. Works even while the file has errors.
FTA: Cut Set Analysis Compute minimal cut sets for a chosen tree and see the trees they activate.
FTA: Analysis of Cut Set Analysis Show the Defense / Coverage / All co‑occurrence matrices.
FTA: Comment Out Unused Events Comment out every unused event declaration at once.
FTA: Allocate Missing Event IDs Give an ID to every event that has none (E## leaves, G## gates).
FTA: Renumber Event IDs Renumber existing IDs per prefix in declaration order.
FTA: Open Manual Open the full user guide (English and Korean). No .fta file needs to be open.

Reports and JSON export are buttons inside the panels. Every command except Edit Events and Open Manual refuses to run while the file has error diagnostics, so an analysis is never computed from a broken file.

Getting started

  1. Create a file with the .fta extension. The extension starts when you open it.
  2. Declare events and write a tree (see the example above).
  3. Run FTA: Show Trees to see it, then FTA: Cut Set Analysis → pick the tree → Compute.
  4. Run FTA: Open Manual for the full guide: syntax reference, how to write trees, every panel, and a dictionary of diagnostic messages.

Requirements

  • VS Code 1.91.0 or newer, or an editor built on it (e.g. Cursor).

About SolutionLink

SolutionLink Co., Ltd. — Korea's first and best software engineering company.

More than 20 years have passed since SolutionLink was founded as Korea's first software engineering consulting company. At the time, software engineering was an unfamiliar field in Korea with little expertise, and SolutionLink has since created and developed many best practices.

🔗 https://www.sol-link.com/en


Free to use, including commercial use, under the SolutionLink Free EULA; redistribution and resale are not permitted. Provided "as is", without warranty of any kind; analysis results are not guaranteed and must be reviewed by a qualified engineer. Future versions or features may be offered under paid terms; versions you have already installed stay free. The extension collects no data and makes no network connections. See LICENSE.md and ThirdPartyNotices.txt included with the extension.


기능

  • 언어 서버 — 구문 강조, 자동 완성(이벤트·트리·색 이름), 실시간 진단, 호버, 개요, 접기, 포맷팅, color: 값 옆 색 견본.
  • 빠른 수정과 리팩터링 — 색 이름 오타 수정, 잘못된 null 게이트를 and/or 로 변경, 쓰이지 않는 이벤트 삭제, 없는 이벤트 선언 추가, 반복 전개를 copied 로 교체. 게이트를 별도 트리로 빼내거나 ref 를 펼쳐 합칩니다.
  • Show Trees — 모든 트리를 그림으로 보여 주고 편집에 따라 갱신합니다. 노드를 클릭하면 소스로 이동하고, ref 를 따라 참조된 트리로 넘어갑니다. Traceability 뷰는 이벤트가 어느 트리에 쓰이는지 보여 줍니다.
  • Edit Events — event 선언을 표로 편집합니다. 이름을 바꾸면 모든 참조가 함께 바뀌고 한 번의 실행 취소로 되돌아갑니다.
  • Cut Set Analysis — 원하는 트리의 최소 컷셋을 차수 순(단일 고장점 먼저)으로 구하고, 각 컷셋이 활성화하는 트리를 그림에 표시합니다. 큰 트리를 위한 차수·시간 상한을 둘 수 있습니다.
  • Analysis of Cut Set Analysis — 기본 고장과 안전 기법 사이의 동반 매트릭스(방어·커버리지·전체)로, 무엇이 함께 뚫려야 사고가 나는지와 기법 하나가 뚫렸을 때의 파급 범위를 봅니다.
  • 보고서 — 그림이 PNG 로 박힌 단독 HTML 파일 하나. 그대로 보내거나 PDF 로 인쇄할 수 있습니다.
  • 일괄 편집 — 쓰이지 않는 이벤트 주석 처리, 빠진 ID 채번, 기존 ID 재번호. 각각 한 번의 실행 취소로 되돌아갑니다.
  • 한국어 / 영어 — 패널, 보고서, 내장 사용 설명서가 fault-tree.language 설정을 따릅니다.

문법 한눈에 보기

위 English 섹션의 tutorial.fta 예제를 참고하세요.

게이트: and, or, vote(k), null · 리프: basic, undev, house, copied · ref 다른트리; 는 다른 트리를 그 자리에 펼칩니다.

명령

명령 팔레트에서 FTA: 로 찾습니다.

명령 설명
FTA: Show Trees 활성 .fta 파일의 트리 그림과 Traceability 뷰를 엽니다.
FTA: Edit Events event 선언을 표로 편집합니다. 파일에 오류가 있어도 동작합니다.
FTA: Cut Set Analysis 고른 트리의 최소 컷셋을 구하고 컷셋이 활성화하는 트리를 보여 줍니다.
FTA: Analysis of Cut Set Analysis 방어 / 커버리지 / 전체 동반 매트릭스를 보여 줍니다.
FTA: Comment Out Unused Events 쓰이지 않는 이벤트 선언을 한꺼번에 주석 처리합니다.
FTA: Allocate Missing Event IDs ID 가 없는 이벤트 전부에 ID 를 붙입니다(리프 E##, 게이트 G##).
FTA: Renumber Event IDs 기존 ID 를 접두어별로 선언 순서에 따라 다시 매깁니다.
FTA: Open Manual 전체 사용 설명서(한국어·영어)를 엽니다. .fta 파일을 열어 두지 않아도 됩니다.

보고서와 JSON 내보내기는 패널 안의 버튼입니다. Edit Events 와 Open Manual 을 뺀 모든 명령은 파일에 오류 진단이 있으면 실행을 거부합니다. 깨진 파일로 분석 결과를 내지 않기 위해서입니다.

시작하기

  1. 확장자가 .fta 인 파일을 만듭니다. 파일을 열면 확장이 켜집니다.
  2. 이벤트를 선언하고 tree 를 씁니다(위 예제 참고).
  3. FTA: Show Trees 로 그림을 보고, FTA: Cut Set Analysis → 트리 선택 → 계산 을 누릅니다.
  4. FTA: Open Manual 로 전체 설명서를 엽니다. 문법 레퍼런스, 트리 작성법, 패널별 사용법, 진단 메시지 사전이 들어 있습니다.

요구 사항

  • VS Code 1.91.0 이상, 또는 이를 기반으로 한 편집기(예: Cursor).

솔루션링크 소개

국내 최초, 최고의 소프트웨어 엔지니어링 전문 기업, (주)솔루션링크

솔루션링크가 국내 최초의 소프트웨어 엔지니어링 컨설팅 기업으로서 설립된 지도 벌써 20년이 넘었습니다. 창업 당시만 해도 국내에서는 생소했고 전문성도 부족했던 소프트웨어 공학 분야에서, 솔루션링크는 많은 모범 사례를 만들어 내고 발전시켜 왔습니다.

🔗 https://www.sol-link.com/


솔루션링크 무료 사용권 계약(Free EULA)에 따라 상업적 용도를 포함해 무료로 사용할 수 있으며, 재배포와 판매는 허용하지 않습니다. 어떠한 보증도 없이 "있는 그대로" 제공되며, 분석 결과는 보장되지 않으므로 자격을 갖춘 엔지니어가 검토해야 합니다. 향후 버전이나 기능은 유료로 제공될 수 있으나, 이미 설치한 버전은 계속 무료로 쓸 수 있습니다. 이 확장은 어떠한 데이터도 수집하지 않으며 네트워크 통신을 하지 않습니다. 확장에 포함된 LICENSE.md 와 ThirdPartyNotices.txt 를 참고하세요.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft