win32_registry 0.1.2 copy "win32_registry: ^0.1.2" to clipboard
win32_registry: ^0.1.2 copied to clipboard

PlatformWindows
outdated

A set of classes for working with the Windows registry.

55
likes
120/ 160
pub points
95%
popularity

We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/timsneath/win32_registry/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: win32_registry,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/timsneath/win32_registry but got https://github.com/halildurmus/win32_registry.

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

27 out of 53 API elements (50.9 %) have documentation comments.

Some symbols that are missing documentation: win32_registry.AccessRights, win32_registry.ConvertAccessRightsToWin32, win32_registry.ConvertAccessRightsToWin32.win32Value, win32_registry.ConvertRegistryHiveToWin32, win32_registry.ConvertRegistryHiveToWin32.win32Value.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:win32_registry/win32_registry.dart that imports:
  • package:win32_registry/src/registry_value_type.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:win32_registry/win32_registry.dart that imports:
  • package:win32_registry/src/registry_value_type.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:win32_registry/win32_registry.dart that imports:
  • package:win32_registry/src/registry_value_type.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:win32_registry/win32_registry.dart that imports:
  • package:win32_registry/src/registry_value_type.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:win32_registry/win32_registry.dart that imports:
  • package:win32_registry/src/registry_value_type.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:win32_registry/win32_registry.dart that imports:
  • package:win32_registry/src/registry_value_type.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/winrt/userdatapaths.dart that imports:
  • package:win32/src/winrt_helpers.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/user32.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/structs.dart that imports:
  • package:win32/src/constants.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: This API is available since SDK 2.16.0, but constraints '>=2.15.0 <3.0.0' don't guarantee it.

lib/src/registry.dart:41:34

   ╷
41 │         return RegistryKey(phKey.value);
   │                                  ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/registry.dart

WARNING: This API is available since SDK 2.16.0, but constraints '>=2.15.0 <3.0.0' don't guarantee it.

lib/src/registry.dart:60:34

   ╷
60 │         return RegistryKey(phKey.value);
   │                                  ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/registry.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^1.1.2 1.2.1 2.1.3
win32 ^2.3.6 2.6.1 5.8.0

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

The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions ffi to update the constraint.

The constraint `^2.3.6` on win32 does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions win32 to update the constraint.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

55
likes
120
pub points
95%
popularity

Publisher

verified publisherhalildurmus.dev

A set of classes for working with the Windows registry.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, win32

More

Packages that depend on win32_registry