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

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

24
likes
110/ 160
pub points
497
downloads

We analyzed this package 40 hours ago, and awarded it 110 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

16604 out of 35321 API elements (47.0 %) 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/nextcloud_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/nextcloud_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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 87 issues. Showing the first 2:

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

lib/src/api/webdav/models/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/api/webdav/models/webdav.g.dart

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

lib/src/api/webdav/models/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/api/webdav/models/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.3 8.9.3
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.5.0 0.5.0+1 0.5.0+1
http ^1.2.0 1.2.2 1.2.2
logging ^1.0.0 1.3.0 1.3.0
meta ^1.0.0 1.16.0 1.16.0
string_scanner ^1.1.0 1.4.1 1.4.1
timezone ^0.9.4 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.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
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.9.4` on timezone does not support the stable version `0.10.0`.

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/api/webdav/utils/xml_date_time_converter.dart:8:45 - Classes and mixins can only implement other classes and mixins.
  • IMPLEMENTS_NON_CLASS - lib/src/api/webdav/utils/xml_date_time_converter.dart:62:44 - Classes and mixins can only implement other classes and mixins.
  • IMPLEMENTS_NON_CLASS - lib/src/api/webdav/utils/xml_date_time_converter.dart:116: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.17, Dart 3.6.0.

Check the analysis log for details.

24
likes
110
points
497
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#nextcloud #openapi #webdav

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

built_collection, built_value, collection, cookie_jar, crypto, crypton, dynamite_runtime, http, logging, meta, string_scanner, timezone, universal_io, uri, version, xml, xml_annotation

More

Packages that depend on nextcloud