Skip to content

cleanup

cleanup #582

GitHub Actions / Analysis of teledart succeeded Mar 31, 2024 in 46s

Package analysis results for teledart

Score

90/140 points
(64.28571428571429%)

Details

Follow Dart file conventions (30/30)

✔ 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: GPL-3.0.

Provide documentation (20/20)

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

376 out of 1796 API elements (20.9 %) have documentation comments.

Some symbols that are missing documentation: model.Animation.duration, model.Animation.duration_, model.Animation.fileId, model.Animation.fileName, model.Animation.fileSize.

✔ 10/10 points: Package has an example

Platform support (20/20)

✔ 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:teledart/teledart.dart that imports:
  • package:teledart/src/util/http_client.dart that imports:
  • package:teledart/model.dart that imports:
  • package:teledart/src/teledart/model/shipping_query.dart that imports:
  • package:teledart/src/telegram/model.dart that imports:
  • dart:io

Pass static analysis (0/50)

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

Found 63 issues. Showing the first 2:

ERROR: The getter 'typeAllChatAdministrators' isn't defined for the type 'BotCommandScope'.

lib/src/telegram/model.g.dart:85:31

   ╷
85 │               BotCommandScope.typeAllChatAdministrators,
   │                               ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: The getter 'typeAllGroupChats' isn't defined for the type 'BotCommandScope'.

lib/src/telegram/model.g.dart:97:56

   ╷
97 │       type: json['type'] as String? ?? BotCommandScope.typeAllGroupChats,
   │                                                        ^^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies (20/20)

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

Package Constraint Compatible Latest
http ^1.1.0 1.2.1 1.2.1
json_annotation ^4.8.1 4.8.1 4.8.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
meta - 1.12.0 1.12.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.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

Versions