Skip to content

doc(SNP-744) Update readme and example tests #53

doc(SNP-744) Update readme and example tests

doc(SNP-744) Update readme and example tests #53

GitHub Actions / Analysis of surf_widget_test_composer succeeded Feb 14, 2024 in 2m 47s

Package analysis results for surf_widget_test_composer

Score

130/140 points
(92.85714285714286%)

Supported platforms

  • Flutter
    • android
    • ios
    • windows
    • linux
    • macos

Details

Follow Dart file conventions (20/30)

❌ 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

✔ 5/5 points: Provide a valid README.md

✔ 5/5 points: Provide a valid CHANGELOG.md

✔ 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Provide documentation (20/20)

✔ 10/10 points: 20% or more of the public API has dartdoc comments

26 out of 40 API elements (65.0 %) have documentation comments.

Some symbols that are missing documentation: base_widget_test_wrapper, device, device.TestDevice, device.TestDevice.TestDevice, flutter_test_config.

✔ 10/10 points: Package has an example

Platform support (20/20)

✔ 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:surf_widget_test_composer/surf_widget_test_composer.dart that imports:
  • package:surf_widget_test_composer/mocks/base_widget_test_wrapper.dart that imports:
  • package:surf_widget_test_composer/utils/test_widget.dart that imports:
  • package:surf_widget_test_composer/flutter_test_config.dart that imports:
  • package:golden_toolkit/golden_toolkit.dart that imports:
  • package:golden_toolkit/src/widget_tester_extensions.dart that imports:
  • package:golden_toolkit/src/configuration.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io

Pass static analysis (50/50)

✔ 50/50 points: code has no errors, warnings, lints, or formatting issues

Support up-to-date dependencies (20/20)

✔ 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_test flutter 0.0.0 0.0.0
golden_toolkit ^0.15.0 0.15.0 0.15.0
meta ^1.9.1 1.10.0 1.12.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
fake_async - 1.3.1 1.3.1
matcher - 0.12.16 0.12.16+1
material_color_utilities - 0.5.0 0.8.0
path - 1.8.3 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.0
vector_math - 2.1.4 2.1.4
web - 0.3.0 0.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

✔ 10/10 points: Package supports latest stable Dart and Flutter SDKs

Versions