swift_composer 0.5.0 icon indicating copy to clipboard operation
swift_composer: ^0.5.0 copied to clipboard

Extensible Object Manager with no boilerplate code using source_gen

0
likes
90/ 130
pub points
1%
popularity

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

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: [2022-06-26T12:01:48.426725] Starting...
Documenting swift_composer...
Initialized dartdoc with 734 libraries
Generating docs for library swift_composer from package:swift_composer/swift_composer.dart...
Generating docs for library swift_composer from package:swift_composer/swift_generator.dart...
Generating docs for library swift_composer from package:swift_composer/tools.dart...
Generating docs for library swift_composer from package:swift_composer/type_info.dart...
Documented 4 public libraries in 69.1 seconds

stderr:   warning: swift_composer has no library level documentation comments
    from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_composer.dart:1:9)
  warning: swift_composer has no library level documentation comments
    from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_generator.dart:1:9)
  error: failed to write file at: swift_composer/swift_composer-library.html
    for symbol swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_generator.dart:1:9)
    conflicting with file already generated by swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_composer.dart:1:9)
            Dartdoc generates a path and filename to write to for each symbol.
            swift_composer conflicts with another symbol in the generated
            path, and therefore can not be written out.  Changing the name,
            library name, or class name (if appropriate) of one of the
            conflicting items can resolve the conflict.   Alternatively, use the
            @nodoc tag in one symbol's documentation comments to hide it.
  warning: swift_composer has no library level documentation comments
    from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/tools.dart:2:9)
  error: failed to write file at: swift_composer/swift_composer-library.html
    for symbol swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/tools.dart:2:9)
    conflicting with file already generated by swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_generator.dart:1:9)
  warning: swift_composer has no library level documentation comments
    from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/type_info.dart:1:9)
  error: failed to write file at: swift_composer/swift_composer-library.html
    for symbol swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/type_info.dart:1:9)
    conflicting with file already generated by swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/tools.dart:2:9)
Found 4 warnings and 3 errors.
Unhandled exception:
encountered 3 errors
#0      Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:231:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:19)
<asynchronous suspension>


icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
10 / 30icon to trigger folding of the section

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

Found 45 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/swift_generator.dart:207:76

    ╷
207 │         TypeInfo type = typeMap.allTypes[typeMap.allTypes.keys.elementAt(i)!]!;
    │                                                                            ^
    ╵

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

INFO: Prefer typing uninitialized variables and fields.

lib/swift_composer.dart:29:9

   ╷
29 │   final annotation;
   │         ^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
analyzer^2.1.02.8.04.2.0
build^2.0.02.3.02.3.0
build_config^1.0.01.0.01.0.0
path^1.6.41.8.21.8.2
source_gen^1.0.01.2.21.2.2
yaml^3.1.03.1.13.1.1
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-31.0.041.0.0
args-2.3.12.3.1
async-2.9.02.9.0
checked_yaml-2.0.12.0.1
cli_util-0.3.50.3.5
collection-1.16.01.16.0
convert-3.0.23.0.2
crypto-3.0.23.0.2
dart_style-2.2.12.2.3
file-6.1.26.1.2
glob-2.1.02.1.0
json_annotation-4.5.04.5.0
logging-1.0.21.0.2
meta-1.8.01.8.0
package_config-2.1.02.1.0
pub_semver-2.1.12.1.1
pubspec_parse-1.2.01.2.0
source_span-1.9.01.9.0
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
watcher-1.0.11.0.1

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

The constraint `^2.1.0` on analyzer does not support the stable version `3.0.0`.

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.13, Dart 2.17.5.

0
likes
90
pub points
1%
popularity

Publisher

verified publisher iconswift.shop

Extensible Object Manager with no boilerplate code using source_gen

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-2-Clause (LICENSE)

Dependencies

analyzer, build, build_config, path, source_gen, yaml

More

Packages that depend on swift_composer