analysis_server_client 2.0.1 copy "analysis_server_client: ^2.0.1" to clipboard
analysis_server_client: ^2.0.1 copied to clipboard

A client wrapper over analysis_server. Instances of the class Server manage a connection to a server process, and facilitate communication to and from the server.

2
likes
110/ 140
pub points
58%
popularity

We analyzed this package 32 hours ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: analysis_server_client,
    • contains a version property, and,
    • does not contain a publish_to property.

pkg/analysis_server_client/pubspec.yaml from the repository has no version.

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

1608 out of 2493 API elements (64.5 %) have documentation comments.

Some symbols that are missing documentation: connection_handler, connection_handler.ConnectionHandler.onFailedToConnect, connection_handler.ConnectionHandler.onProtocolNotSupported, notification_handler, notification_handler.NotificationHandler.handleEvent.

10/10 points: Package has an example

OK
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:analysis_server_client/handler/connection_handler.dart that imports:
  • package:analysis_server_client/server.dart that imports:
  • package:analysis_server_client/src/server_base.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 455 issues. Showing the first 2:

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/protocol/protocol_common.dart:70:30

   ╷
70 │   int get hashCode => Object.hash(
   │                              ^^^^
   ╵

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

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/protocol/protocol_common.dart:254:30

    ╷
254 │   int get hashCode => Object.hash(
    │                              ^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
path ^1.8.0 1.9.0 1.9.0
pub_semver ^2.0.0 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
meta - 1.15.0 1.15.0

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

2
likes
110
pub points
58%
popularity

Publisher

verified publishertools.dart.dev

A client wrapper over analysis_server. Instances of the class Server manage a connection to a server process, and facilitate communication to and from the server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

path, pub_semver

More

Packages that depend on analysis_server_client