dart-collect-coverage
Collect Dart and Flutter Coverage
Coverage setup can be inconsistent across Dart and Flutter projects. This skill guides dependency setup, test execution, LCOV generation, and output validation.
๋ด ์์ด์ ํธ๋ก ์ค์น
์ด ์์ฒญ์ ์์ด์ ํธ์ ๋ณต์ฌํ์ธ์. ๊ณต์ Skill ํ์ด์ง์ ๋งค๋ํ์คํธ๊ฐ ํฌํจ๋์ด ์์ต๋๋ค.
Review the Skillstore skill "dart-collect-coverage" from https://skillstore.io/skills/flutter-dart-collect-coverage.md and its manifest at https://skillstore.io/api/skills/flutter-dart-collect-coverage/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.์์ด์ ํธ๋ ๊ณ์ํด์ ๊ณํ์ ํ์ํ๊ณ ๋ณด์ ์ ์ฑ ์์ ์๊ตฌํ๋ ํ์ธ์ ์์ฒญํด์ผ ํฉ๋๋ค.
์์ด์ ํธ๊ฐ ์ฝ๊ธฐ ์ฌ์ด ๋ฆฌ์์ค
AI ์์ด์ ํธ, ํฌ๋กค๋ฌ, ์คํฌ๋ฆฝํธ๊ฐ ์ ์ฒด ํ์ด์ง ๋์ ์ ๋ฆฌ๋ ์ปจํ ์คํธ๋ง ํ์ํ ๋ ์ด ๋งํฌ๋ฅผ ์ฌ์ฉํ์ธ์.
ํ ์คํธํด ๋ณด๊ธฐ
"dart-collect-coverage" ์ฌ์ฉ ์ค์ ๋๋ค. Collect coverage for a standard Dart package.
์์ ๊ฒฐ๊ณผ:
The coverage dependency was added for development. Tests completed, and the LCOV report is available at coverage/lcov.info.
"dart-collect-coverage" ์ฌ์ฉ ์ค์ ๋๋ค. Explain why one library is absent from the report.
์์ ๊ฒฐ๊ณผ:
The library was not imported or executed by the test suite. Add a relevant test or mark generated code with an ignore directive.
"dart-collect-coverage" ์ฌ์ฉ ์ค์ ๋๋ค. Prepare coverage for two workspace packages.
์์ ๊ฒฐ๊ณผ:
- Selected both package test directories.
- Collected raw Dart VM coverage.
- Generated a shared LCOV report and identified failed tests.
๋ณด์ ๊ฐ์ฌ
์ค๊ฐ ์ํThe Markdown backticks, local loopback URL, example environment field, and legacy method name are false positives rather than executable threats. The advanced workflow still creates a real medium-severity risk by disabling Dart VM service authentication during coverage collection.
ํ์ธ๋ ๋ณด์ ์ฐ๋ ค ์ฌํญ (1)
์ํ ์์ธ
โ๏ธ ์ธ๋ถ ๋ช ๋ น์ด (31)
๐ ๋คํธ์ํฌ ์ ๊ทผ (2)
์ด ๋ณด๊ณ ์ ๊ณต์ ๋ฐ ์ธ์ฉ
๋ฒ์ ์ด ์ง์ ๋ ํ๊ฐ ๋ณด๊ณ ์, ์ค๋ฆฝ ๋ฐฐ์ง, ์๋ฒ ๋ ์นด๋ ๋ฐ ์ธ์ฉ์ ๊ณต์ ํ์ธ์. Skillstore๋ ๊ทผ๊ฑฐ๋ฅผ ๋ณด๊ณ ํ์ง๋ง ์ด Skill์ ์์ ์ฌ๋ถ๋ฅผ ํ๋จํ์ง ์์ต๋๋ค.
๋ณด๊ณ ์ ๋งํฌ ๋ณต์ฌ
https://skillstore.io/skills/flutter-dart-collect-coverage/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown ๋ฐฐ์ง
[](https://skillstore.io/skills/flutter-dart-collect-coverage?utm_source=security_passport_badge)HTML ๋ฐฐ์ง
<a href="https://skillstore.io/skills/flutter-dart-collect-coverage?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/flutter-dart-collect-coverage/security.svg" alt="Skillstore security assessment" loading="lazy"></a>์๋ฒ ๋ ์นด๋
<iframe src="https://skillstore.io/embed/skills/flutter-dart-collect-coverage.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>ํ์ ์ธ์ฉ (APA ยท BibTeX ยท CFF)
APA ์ธ์ฉ
flutter. (2026). dart-collect-coverage security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flutter-dart-collect-coverage/audits/1BibTeX ์ธ์ฉ
@techreport{flutter-flutter-dart-collect-coverage-2026,
author = {flutter},
title = {dart-collect-coverage security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/flutter-dart-collect-coverage/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "dart-collect-coverage security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "flutter"
date-released: "2026-08-19"
url: "https://skillstore.io/skills/flutter-dart-collect-coverage/audits/1"
identifiers:
- type: other
value: "skillstore:flutter-dart-collect-coverage:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore ์ ์
์ด ์ ์์ ์ด์ ์ฆ๊ฑฐ ์ ๋ขฐ๋: ์ค๊ฐ๋ง๋ค ์ ์๋ ๊ฒ
Add Coverage to a Dart Package
Configure the coverage dependency, run package tests, and produce an LCOV report for continuous integration.
Measure Flutter Widget Tests
Collect coverage from Flutter tests and verify that application files appear in the report.
Standardize Monorepo Reporting
Run selected package test directories and generate consistent LCOV artifacts for quality gates.
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
Set up test coverage for this Dart project. Add the required development dependency, run tests, and generate coverage/lcov.info.
Inspect this Flutter project and collect test coverage. Confirm the expected output files and explain any missing source files.
Generate one coverage workflow for these Dart workspace test directories: [directories]. Preserve package boundaries and report any collection failures.
Design a manual Dart coverage workflow with branch and function metrics. Keep VM service authentication enabled and bind the service to loopback.
๋ชจ๋ฒ ์ฌ๋ก
- Keep the coverage package under development dependencies.
- Review test failures before trusting generated coverage percentages.
- Bind manual VM services to loopback and retain authentication.
ํผํ๊ธฐ
- Do not exclude testable code only to increase the coverage percentage.
- Do not publish raw coverage artifacts containing sensitive source paths.
- Do not expose an unauthenticated Dart VM service beyond loopback.
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
Does this skill support both Dart and Flutter?
What report format does it generate?
Can it collect branch and function coverage?
Why is a source file missing from coverage?
Does the skill write tests?
Is manual VM service collection secure?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
์์ฑ์
flutter๋ผ์ด์ ์ค
MIT
Skillstore ๋ฆฌ๋น์
r1
๋ฒ์ ์๋ด
์์ฑ์๊ฐ ๋ฒ์ ์ ์ ์ธํ์ง ์์์ต๋๋ค.
๋ฆฌํฌ์งํ ๋ฆฌ
https://github.com/flutter/agent-plugins/tree/c3c71cf87c8c39fa65c7f58eb371c9ee10346adc/skills/dart-collect-coverage์ฐธ์กฐ
d470a531237e5ea9f83703b952179232a0315751
์ ์ง๋ณด์ ์ต์ ์ฑ
2026. 8. 19.
์ฌ์ฉ๋
0 ๋ค์ด๋ก๋ ยท 0 ์กฐํ
ํ์ผ ๊ตฌ์กฐ
๐ SKILL.md