dghub_generator 0.0.1-beta9.9.7 copy "dghub_generator: ^0.0.1-beta9.9.7" to clipboard
dghub_generator: ^0.0.1-beta9.9.7 copied to clipboard

Developed by DGHub Studio

1
likes
120/ 160
pub points
55
downloads

We analyzed this package 16 hours ago, and awarded it 120 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.

Homepage URL doesn't exist.

At the time of the analysis https://pub.dghub.dev was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

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

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-2-Clause.

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

62 out of 294 API elements (21.1 %) have documentation comments.

Some symbols that are missing documentation: dghub_generator, dghub_generator.BooleanValidatorExtensions, dghub_generator.CommonValidatorExtensions, dghub_generator.DGApi, dghub_generator.DGApi.DGApi.fromJson.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:dghub_generator/dghub_generator.dart that imports:
  • package:dghub_generator/src/dghub_generator.dart that imports:
  • package:dghub_generator/src/generators/python/model_generator.dart that imports:
  • package:dghub_generator/src/bundles/module/python/python_module_bundle.dart that imports:
  • package:mason/mason.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:dghub_generator/dghub_generator.dart that imports:
  • package:dghub_generator/src/dghub_generator.dart that imports:
  • package:dghub_generator/src/generators/python/model_generator.dart that imports:
  • package:dghub_generator/src/bundles/module/python/python_module_bundle.dart that imports:
  • package:mason/mason.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:dghub_generator/dghub_generator.dart that imports:
  • package:dghub_generator/src/dghub_generator.dart that imports:
  • package:dghub_generator/src/generators/python/model_generator.dart that imports:
  • package:dghub_generator/src/bundles/module/python/python_module_bundle.dart that imports:
  • package:mason/mason.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dghub_generator/dghub_generator.dart that imports:
  • package:dghub_generator/src/dghub_main_generator.dart that imports:
  • package:dghub_generator/src/libraries/icon_generator/lfogger.dart that imports:
  • package:cli_util/cli_logging.dart that imports:
  • dart:io

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 check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/dghub_generator/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 55 issues. Showing the first 2:

WARNING: Unused import: 'package:logger/logger.dart'.

lib/src/dghub_generator.dart:6:8

  ╷
6 │ import 'package:logger/logger.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: The value of the local variable 'imports' isn't used.

lib/src/dghub_generator.dart:41:9

   ╷
41 │     var imports = importedLibraries.map((e) => e.identifier).toList();
   │         ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dghub_generator.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
analyzer ^6.4.1 6.11.0 7.4.2
ansicolor ^2.0.3 2.0.3 2.0.3
args ^2.5.0 2.7.0 2.7.0
build ^2.4.1 2.4.2 2.4.2
change_case ^2.0.1 2.2.0 2.2.0
checked_yaml ^2.0.3 2.0.3 2.0.3
cli_completion ^0.5.0 0.5.1 0.5.1
cli_util ^0.4.1 0.4.2 0.4.2
code_builder ^4.10.0 4.10.1 4.10.1
dart_style ^2.3.6 2.3.8 3.0.1
dio ^5.4.3+1 5.8.0+1 5.8.0+1
html ^0.15.4 0.15.5+1 0.15.5+1
image ^4.3.0 4.5.4 4.5.4
json_annotation ^4.9.0 4.9.0 4.9.0
logger ^2.4.0 2.5.0 2.5.0
mason ^0.1.0-dev.60 0.1.1 0.1.1
mason_logger any 0.3.3 0.3.3
meta ^1.15.0 1.16.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
pluralize ^0.0.8 0.0.8 0.0.8
pub_updater ^0.4.0 0.4.0 0.5.0
source_gen ^1.5.0 1.5.0 2.0.0
universal_io ^2.2.2 2.2.2 2.2.2
xml ^6.5.0 6.5.0 6.5.0
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 76.0.0 82.0.0
archive - 4.0.6 4.0.6
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.5 8.9.5
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dio_web_adapter - 2.1.1 2.1.1
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0 Discontinued
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
mustache_template - 2.0.0 2.0.0
package_config - 2.2.0 2.2.0
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
pool - 1.5.1 1.5.1
posix - 6.0.2 6.0.2
process - 5.0.3 5.0.3
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
watcher - 1.1.1 1.1.1
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.0

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

Found 4 issues. Showing the first 2:

The constraint `^6.4.1` on analyzer does not support the stable version `7.0.0`.

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

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

Try running dart pub upgrade --major-versions dart_style 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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: