barcode_scan_nsn 0.0.6 copy "barcode_scan_nsn: ^0.0.6" to clipboard
barcode_scan_nsn: ^0.0.6 copied to clipboard

A new Flutter plugin.

110/ 160
pub points
14
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting barcode_scan_nsn... Discovering libraries... Linking elements... Precaching local docs for 645902 elements... Initialized dartdoc with 806 libraries Generating docs for library barcode_scan_nsn.dart from package:barcode_scan_nsn/barcode_scan_nsn.dart... Generating docs for library barcode_scan.dart from package:barcode_scan_nsn/barcode_scan.dart... Generating docs for library platform_wrapper.dart from package:barcode_scan_nsn/platform_wrapper.dart... Generating docs for library model/android_options.dart from package:barcode_scan_nsn/model/android_options.dart... Generating docs for library model/scan_result.dart from package:barcode_scan_nsn/model/scan_result.dart... [7 more lines] ERR: warning: nsn.barcode_scan has no library level documentation comments from nsn.barcode_scan: (file:///tmp/pana_EQNNLC/lib/barcode_scan.dart:1:1) warning: nsn.barcode_scan has no library level documentation comments from nsn.barcode_scan: (file:///tmp/pana_EQNNLC/lib/model/model.dart:1:1) error: file already written at "nsn.barcode_scan/index.html" for symbol nsn.barcode_scan: (file:///tmp/pana_EQNNLC/lib/model/model.dart:1:1) conflicting with file already generated by nsn.barcode_scan: (file:///tmp/pana_EQNNLC/lib/barcode_scan.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'nsn.barcode_scan' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, [18 more lines]

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:barcode_scan_nsn/barcode_scan_nsn.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:barcode_scan_nsn/barcode_scan_nsn.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:barcode_scan_nsn/barcode_scan_nsn.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:barcode_scan_nsn/barcode_scan_nsn.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/barcode_scan_nsn/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 18 issues. Showing the first 2:

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/model/android_options.dart:16:32

   ╷
16 │   })  : assert(aspectTolerance != null),
   │                                ^^^^^^^
   ╵

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

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/model/android_options.dart:17:29

   ╷
17 │         assert(useAutoFocus != null);
   │                             ^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
protobuf ^2.0.0 2.1.0 6.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
fixnum - 1.1.1 1.1.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.0

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

The constraint `^2.0.0` on protobuf does not support the stable version `3.0.0`.

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

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, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter plugin.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, protobuf

More

Packages that depend on barcode_scan_nsn

Packages that implement barcode_scan_nsn