fj_phone_server_plugin 1.0.1 copy "fj_phone_server_plugin: ^1.0.1" to clipboard
fj_phone_server_plugin: ^1.0.1 copied to clipboard

Interface with recipe service API plug-in framework

115/ 160
pub points
206
downloads

We analyzed this package 9 hours ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://192.168.1.240/androidteam/af/apps/smarthome/base/phone_server_plugin was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

224 out of 511 API elements (43.8 %) have documentation comments.

Some symbols that are missing documentation: api_cm005, api_cm005.ApiCm005, api_cm005.ApiCm005.ApiCm005.new, api_cm005.ApiCm005.addCopyProgramToSelf, api_cm005.ApiCm005.formatResponse.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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 Android

Because:

  • package:fj_phone_server_plugin/phone_server_plugin_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform iOS

Because:

  • package:fj_phone_server_plugin/phone_server_plugin_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Windows

Because:

  • package:fj_phone_server_plugin/phone_server_plugin_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Linux

Because:

  • package:fj_phone_server_plugin/phone_server_plugin_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform macOS

Because:

  • package:fj_phone_server_plugin/phone_server_plugin_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Web

Because:

  • package:fj_phone_server_plugin/api/api_cm005.dart that imports:
  • package:fj_phone_server_plugin/core/core_http_manager.dart that imports:
  • package:fj_phone_server_plugin/interceptor/interceptor_log.dart that imports:
  • package:fj_phone_server_plugin/util/logger_util.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:fj_phone_server_plugin/api/api_cm005.dart that imports:
  • package:fj_phone_server_plugin/core/core_http_manager.dart that imports:
  • package:fj_phone_server_plugin/interceptor/interceptor_log.dart that imports:
  • package:fj_phone_server_plugin/util/logger_util.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Swift Package Manager support:

Package does not support the Swift Package Manager on macOS

It does not contain macos/fj_phone_server_plugin/Package.swift.

Package does not support the Swift Package Manager on iOS

It does not contain ios/fj_phone_server_plugin/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 23 issues. Showing the first 2:

WARNING: Unused import: 'dart:convert'.

lib/base/base_response_test.dart:2:8

  ╷
2 │ import 'dart:convert';
  │        ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/base/base_response_test.dart

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/core/core_http_manager.dart:62:104

   ╷
62 │         'init http: \n是否开启调试模式: $isDebug \n是否是开发模式: $isDev \n是否是国外环境: $isAbroad \nIP/域名: ${_baseOptions?.baseUrl}');
   │                                                                                                        ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/core_http_manager.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
crypto ^3.0.3 3.0.7 3.0.7
dio ^5.4.3+1 5.9.1 5.9.1
http_parser ^4.0.2 4.1.2 4.1.2
json_annotation ^4.9.0 4.11.0 4.11.0
logger ^2.3.0 2.6.2 2.6.2
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
shared_preferences ^2.2.3 2.5.4 2.5.4
uuid ^3.0.6 3.0.7 4.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
shared_preferences_android - 2.4.21 2.4.21
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

The constraint `^3.0.6` on uuid does not support the stable version `4.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: