์Šคํ‚ฌ dart-collect-coverage
๐Ÿ“ฆ

dart-collect-coverage

์ฝ˜ํ…์ธ  ๋ฆฌ๋น„์ „ r1 ์ค‘๊ฐ„ ์œ„ํ—˜ โš™๏ธ ์™ธ๋ถ€ ๋ช…๋ น์–ด๐ŸŒ ๋„คํŠธ์›Œํฌ ์ ‘๊ทผ

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.

์ง€์›: Claude Codex Code(CC)
Maintain this Skill? Claim it ๐Ÿ“Š 69 ์ ์ ˆํ•จ

๋‚ด ์—์ด์ „ํŠธ๋กœ ์„ค์น˜

์ด ์š”์ฒญ์„ ์—์ด์ „ํŠธ์— ๋ณต์‚ฌํ•˜์„ธ์š”. ๊ณต์‹ 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
์Šค์บ”๋œ ํŒŒ์ผ
142
๋ถ„์„๋œ ์ค„ ์ˆ˜
0
๊ฒ€ํ†  ํ•ญ๋ชฉ
0
์˜คํƒ ๋ฌด์‹œ๋จ

ํ™•์ธ๋œ ๋ณด์•ˆ ์šฐ๋ ค ์‚ฌํ•ญ (1)

์ค‘๊ฐ„
Unauthenticated Dart VM Service
The advanced workflow uses --disable-service-auth-codes while enabling the Dart VM service. Local processes could access a privileged debugging interface during collection.
The command explicitly disables service authentication and enables a VM service port. The collector uses loopback, limiting exposure but not removing local access risk.
๊ฐ์‚ฌ์ž: codex
์ด ๋ณด๊ณ ์„œ ๊ณต์œ  ๋ฐ ์ธ์šฉ

๋ฒ„์ „์ด ์ง€์ •๋œ ํ‰๊ฐ€ ๋ณด๊ณ ์„œ, ์ค‘๋ฆฝ ๋ฐฐ์ง€, ์ž„๋ฒ ๋“œ ์นด๋“œ ๋ฐ ์ธ์šฉ์„ ๊ณต์œ ํ•˜์„ธ์š”. Skillstore๋Š” ๊ทผ๊ฑฐ๋ฅผ ๋ณด๊ณ ํ•˜์ง€๋งŒ ์ด Skill์˜ ์•ˆ์ „ ์—ฌ๋ถ€๋ฅผ ํŒ๋‹จํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

๋ฒ„์ „๋ณ„ ๋ณด๊ณ ์„œ ์—ด๊ธฐ
๋ณด์•ˆ ํ‰๊ฐ€

๋ณด๊ณ ์„œ ๋งํฌ ๋ณต์‚ฌ

https://skillstore.io/skills/flutter-dart-collect-coverage/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown ๋ฐฐ์ง€

[![Skillstore security assessment](https://skillstore.io/badges/skills/flutter-dart-collect-coverage/security.svg)](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/1

BibTeX ์ธ์šฉ

@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 ์ ์ˆ˜

์ด ์ ์ˆ˜์˜ ์ด์œ  ์ฆ๊ฑฐ ์‹ ๋ขฐ๋„: ์ค‘๊ฐ„
55
์•„ํ‚คํ…์ฒ˜
85
์œ ์ง€๋ณด์ˆ˜์„ฑ
87
์ฝ˜ํ…์ธ 
65
์ปค๋ฎค๋‹ˆํ‹ฐ
83
์‚ฌ์–‘ ์ค€์ˆ˜

๋งŒ๋“ค ์ˆ˜ ์žˆ๋Š” ๊ฒƒ

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.

์ด ํ”„๋กฌํ”„ํŠธ๋ฅผ ์‚ฌ์šฉํ•ด ๋ณด์„ธ์š”

Generate Basic Coverage
Set up test coverage for this Dart project. Add the required development dependency, run tests, and generate coverage/lcov.info.
Configure Flutter Coverage
Inspect this Flutter project and collect test coverage. Confirm the expected output files and explain any missing source files.
Cover Selected Monorepo Packages
Generate one coverage workflow for these Dart workspace test directories: [directories]. Preserve package boundaries and report any collection failures.
Collect Advanced VM Metrics
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?
Yes. It provides dependency and coverage workflows for standard Dart projects and Flutter projects.
What report format does it generate?
It generates LCOV output, normally at coverage/lcov.info, plus raw JSON coverage data when applicable.
Can it collect branch and function coverage?
Yes, when the installed Dart VM supports the required flags.
Why is a source file missing from coverage?
The file may not be imported or executed by tests. Generated or intentionally untestable files can use coverage ignore directives.
Does the skill write tests?
No. It collects and formats coverage from an existing test suite.
Is manual VM service collection secure?
It requires care. Keep authentication enabled, bind to loopback, and stop the service immediately after collection.

๊ฐœ๋ฐœ์ž ์„ธ๋ถ€ ์ •๋ณด

์ž‘์„ฑ์ž

flutter

๋ผ์ด์„ ์Šค

MIT

Skillstore ๋ฆฌ๋น„์ „

r1

๋ฒ„์ „ ์•ˆ๋‚ด

์ž‘์„ฑ์ž๊ฐ€ ๋ฒ„์ „์„ ์„ ์–ธํ•˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.

์ฐธ์กฐ

d470a531237e5ea9f83703b952179232a0315751

์œ ์ง€๋ณด์ˆ˜ ์ตœ์‹ ์„ฑ

2026. 8. 19.

์‚ฌ์šฉ๋Ÿ‰

0 ๋‹ค์šด๋กœ๋“œ ยท 0 ์กฐํšŒ

ํŒŒ์ผ ๊ตฌ์กฐ

๐Ÿ“„ SKILL.md