dfunc 0.7.2
dfunc: ^0.7.2 copied to clipboard

Functional batteries for Dart. Implementation of Either, Optional etc.

11
likes
120 / 130
pub points
73 %
popularity

We analyzed this package on Jul 22, 2021, and awarded it 120 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: Documenting dfunc...
Initialized dartdoc with 73 libraries in 26.9 seconds
Generating docs for library dfunc from package:dfunc/dfunc.dart...
stderr:   warning: dfunc has no library level documentation comments
    from dfunc: (file:///tmp/pub-dartlang-dartdocLSHHYL/pkg/lib/dfunc.dart:1:9)
Unhandled exception:
Bad state: T cannot have parameters
#0      ModelElement.parameters (package:dartdoc/src/model/model_element.dart:980:7)
#1      TypeParameter.referenceChildren (package:dartdoc/src/model/type_parameter.dart:75:23)
#2      DefinedElementType.referenceChildren (package:dartdoc/src/element_type.dart:367:20)
#3      Extension.referenceChildren (package:dartdoc/src/model/extension.dart:127:23)
#4      CommentReferable.referenceBy (package:dartdoc/src/model/comment_referable.dart:112:11)
#5      CommentReferable.referenceBy (package:dartdoc/src/model/comment_referable.dart:122:25)
#6      _getMatchingLinkElementCommentReferable (package:dartdoc/src/markdown_processor.dart:268:31)
#7      getMatchingLinkElement (package:dartdoc/src/markdown_processor.dart:964:16)
#8      _makeLinkNode (package:dartdoc/src/markdown_processor.dart:913:16)
#9      new MarkdownDocument.withElementLinkResolver.linkResolver (package:dartdoc/src/markdown_processor.dart:1062:14)
#10     LinkSyntax._resolveReferenceLink (package:markdown/src/inline_parser.dart:1057:34)
#11     LinkSyntax._tryCreateReferenceLink (package:markdown/src/inline_parser.dart:1085:12)
#12     LinkSyntax.close (package:markdown/src/inline_parser.dart:1028:12)
#13     InlineParser._linkOrImage (package:markdown/src/inline_parser.dart:152:29)
#14     InlineParser.parse (package:markdown/src/inline_parser.dart:108:9)
#15     MarkdownDocument._parseInlineContent (package:dartdoc/src/markdown_processor.dart:1111:67)
#16     MarkdownDocument._parseInlineContent (package:dartdoc/src/markdown_processor.dart:1116:9)
#17     MarkdownDocument.parseMarkdownText (package:dartdoc/src/markdown_processor.dart:1101:5)
#18     Documentation._parseDocumentation (package:dartdoc/src/model/documentation.dart:73:21)
#19     Documentation._renderDocumentation (package:dartdoc/src/model/documentation.dart:48:23)
#20     Documentation.asOneLiner (package:dartdoc/src/model/documentation.dart:40:7)
#21     ModelElement.oneLineDoc (package:dartdoc/src/model/model_element.dart:926:43)
#22     _renderExtension_partial_callable_6 (package:dartdoc/src/generator/templates.aot_renderers_for_html.dart:4690:25)
#23     renderExtension (package:dartdoc/src/generator/templates.aot_renderers_for_html.dart:4226:24)
#24     HtmlAotTemplates.renderExtension (package:dartdoc/src/generator/templates.dart:143:7)
#25     DartdocGeneratorBackend.generateExtension (package:dartdoc/src/generator/dartdoc_generator_backend.dart:171:29)
#26     GeneratorFrontEnd._generateDocs (package:dartdoc/src/generator/generator_frontend.dart:122:29)
#27     GeneratorFrontEnd.generate (package:dartdoc/src/generator/generator_frontend.dart:21:5)
#28     Dartdoc.generateDocsBase (package:dartdoc/dartdoc.dart:213:21)
<asynchronous suspension>
#29     Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:249:28)
<asynchronous suspension>
#30     main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:22:19)
<asynchronous suspension>

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

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

Support sound null safety
20 / 20

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

Analysed with Pana 0.19.0, Dart 2.13.4.

11
likes
120
pub points
73%
popularity

Publisher

ookamikb.dev

Functional batteries for Dart. Implementation of Either, Optional etc.

Repository (GitHub)
View/report issues

License

BSD (LICENSE)

More

Packages that depend on dfunc