nextcloud 6.1.0 copy "nextcloud: ^6.1.0" to clipboard
nextcloud: ^6.1.0 copied to clipboard

A Nextcloud API client written in Dart supporting all maintained Nextcloud server versions.

24
likes
120/ 160
pub points
87%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger 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

10/10 points: Use an OSI-approved license

Detected license: AGPL-3.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

11326 out of 26729 API elements (42.4 %) have documentation comments.

Some symbols that are missing documentation: comments, comments.$CapabilitiesInterface, comments.$CapabilitiesInterface.files, comments.$CapabilitiesInterfaceBuilder, comments.$CapabilitiesInterfaceBuilder.$CapabilitiesInterfaceBuilder.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger 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

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

Package not compatible with platform Web

Because:

  • package:nextcloud/nextcloud.dart that imports:
  • package:nextcloud/src/client.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:nextcloud/nextcloud.dart that imports:
  • package:nextcloud/src/client.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 79 issues. Showing the first 2:

INFO: The declaration '_$WebDavPropertyupdateFromXmlElement' isn't referenced.

lib/src/webdav/webdav.g.dart:245:22

    ╷
245 │ WebDavPropertyupdate _$WebDavPropertyupdateFromXmlElement(XmlElement element) {
    │                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: The declaration '_$WebDavPropfindFromXmlElement' isn't referenced.

lib/src/webdav/webdav.g.dart:442:16

    ╷
442 │ WebDavPropfind _$WebDavPropfindFromXmlElement(XmlElement element) {
    │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
built_collection ^5.0.0 5.1.1 5.1.1
built_value ^8.9.0 8.9.2 8.9.2
collection ^1.0.0 1.19.1 1.19.1
cookie_jar ^4.0.7 4.0.8 4.0.8
crypto ^3.0.0 3.0.6 3.0.6
crypton ^2.0.0 2.2.1 2.2.1
dynamite_runtime ^0.4.0 0.4.0 0.5.0+1
http ^1.2.0 1.2.2 1.2.2
json_annotation ^4.9.0 4.9.0 4.9.0
meta ^1.0.0 1.16.0 1.16.0
string_scanner ^1.1.0 1.4.0 1.4.0
timezone ^0.9.3 0.9.4 0.10.0
universal_io ^2.0.0 2.2.2 2.2.2
uri ^1.0.0 1.0.0 1.0.0
version ^3.0.0 3.0.2 3.0.2
xml ^6.0.0 6.5.0 6.5.0
xml_annotation ^2.1.0 2.4.0 2.4.0
Transitive dependencies
Package Constraint Compatible Latest
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
convert - 3.1.2 3.1.2
fixnum - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
matcher - 0.12.17 0.12.17
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

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

The constraint `^0.4.0` on dynamite_runtime does not support the stable version `0.5.0`.

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

The constraint `^0.9.3` on timezone does not support the stable version `0.10.0`, that was published 7 days ago.

When timezone is 30 days old, this package will no longer be awarded points in this category.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • IMPLEMENTS_NON_CLASS - lib/src/utils/date_time.dart:38:45 - Classes and mixins can only implement other classes and mixins.
  • IMPLEMENTS_NON_CLASS - lib/src/utils/date_time.dart:92:44 - Classes and mixins can only implement other classes and mixins.
  • IMPLEMENTS_NON_CLASS - lib/src/utils/date_time.dart:146:46 - Classes and mixins can only implement other classes and mixins.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.