oc_snapshot 0.0.2 copy "oc_snapshot: ^0.0.2" to clipboard
oc_snapshot: ^0.0.2 copied to clipboard

Port of CorpNewt's OCSnapshot. Supports both CLI use and Dart use.

150/ 160
pub points
242
downloads

We analyzed this package 38 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

47 out of 47 API elements (100.0 %) have documentation comments.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:oc_snapshot/oc_snapshot.dart that imports:
  • package:plist_parser/plist_parser.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

INFO: Statements in a for should be enclosed in a block.

bin/plist_to_json.dart:67:41

   ╷
67 │   for (var i = 0; i < keys.length; i++) if (keys[i] != i) return false;
   │                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/plist_to_json.dart

INFO: Statements in a for should be enclosed in a block.

lib/oc_snapshot.dart:144:52

    ╷
144 │             for (var e in snapshotAcpiAdd.entries) newEntry[e.key] = snapshotAcpiAdd[e.key];
    │                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
crypto ^3.0.7 3.0.7 3.0.7
path ^1.9.1 1.9.1 1.9.1
plist_parser ^0.2.6 0.2.6 0.2.6
xml ^6.6.1 6.6.1 6.6.1
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
meta - 1.17.0 1.17.0
petitparser - 7.0.1 7.0.1
typed_data - 1.4.0 1.4.0

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
150
points
242
downloads

Publisher

verified publishercalebh101.com

Weekly Downloads

Port of CorpNewt's OCSnapshot. Supports both CLI use and Dart use.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, crypto, path, plist_parser, xml

More

Packages that depend on oc_snapshot