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-агентов
Используйте эти ссылки, когда AI-агенту, crawler или script нужен чистый контекст вместо полной страницы.
Протестировать
Использование «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_reportЗначок Markdown
[](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
Почему такая оценка Достоверность доказательств: СреднийЧто вы можете построить
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.