fbthrift 1.0.0+3 copy "fbthrift: ^1.0.0+3" to clipboard
fbthrift: ^1.0.0+3 copied to clipboard

Thrift for Dart, forkde from Apache Thrift and translated from fbthrift java version.

1
likes
130/ 160
pub points
54%
popularity

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

failed
Follow Dart file conventions
20 / 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

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

partial
Provide documentation
10 / 20trigger folding of the section

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

81 out of 514 API elements (15.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: fbthrift, fbthrift.ClientTypes, fbthrift.ClientTypes.FRAMED_DEPRECATED, fbthrift.ClientTypes.HEADERS, fbthrift.ClientTypes.HTTP.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:fbthrift/fbthrift.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:fbthrift/fbthrift.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 29 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/src/protocol/t_binary_protocol.dart:1:1

   ╷
1  │ ┌ /// Licensed to the Apache Software Foundation (ASF) under one
2  │ │ /// or more contributor license agreements. See the NOTICE file
3  │ │ /// distributed with this work for additional information
4  │ │ /// regarding copyright ownership. The ASF licenses this file
5  │ │ /// to you under the Apache License, Version 2.0 (the
6  │ │ /// "License"); you may not use this file except in compliance
7  │ │ /// with the License. You may obtain a copy of the License at
8  │ │ ///
9  │ │ /// http://www.apache.org/licenses/LICENSE-2.0
10 │ │ ///
11 │ │ /// Unless required by applicable law or agreed to in writing,
   │ └─────────────────────^
   ╵

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

INFO: The part-of directive uses a library name.

lib/src/protocol/t_compact_protocol.dart:1:1

   ╷
1  │ ┌ /// Licensed to the Apache Software Foundation (ASF) under one
2  │ │ /// or more contributor license agreements. See the NOTICE file
3  │ │ /// distributed with this work for additional information
4  │ │ /// regarding copyright ownership. The ASF licenses this file
5  │ │ /// to you under the Apache License, Version 2.0 (the
6  │ │ /// 'License'); you may not use this file except in compliance
7  │ │ /// with the License. You may obtain a copy of the License at
8  │ │ ///
9  │ │ /// http://www.apache.org/licenses/LICENSE-2.0
10 │ │ ///
11 │ │ /// Unless required by applicable law or agreed to in writing,
   │ └─────────────────────^
   ╵

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

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

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

Package Constraint Compatible Latest
fixnum ^1.1.0 1.1.1 1.1.1

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

1
likes
130
pub points
54%
popularity

Publisher

verified publisherdudu.ltd

Thrift for Dart, forkde from Apache Thrift and translated from fbthrift java version.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

fixnum

More

Packages that depend on fbthrift