public_internal 3.1.0 copy "public_internal: ^3.1.0" to clipboard
public_internal: ^3.1.0 copied to clipboard

Linter to make class only accessible within its directory or subdirectories.

0
likes
110/ 160
pub points
51%
popularity

We analyzed this package 7 days 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: Apache-2.0.

failed
Provide documentation
0 / 20trigger folding of the section

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

0 out of 5 API elements (0.0 %) 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: public_internal, public_internal.main, public_internal.start, version, version.packageVersion.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:public_internal/public_internal.dart that imports:
  • package:public_internal/src/utils/websocket_plugin_server.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:public_internal/public_internal.dart that imports:
  • package:public_internal/src/utils/websocket_plugin_server.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

/tmp/pana_VQAKWP/lib/src/cli/analyze.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
analyzer >=4.4.0 <7.0.0 6.8.0 6.11.0
analyzer_plugin ^0.11.2 0.11.3 0.11.3
ansicolor ^2.0.1 2.0.3 2.0.3
args ^2.0.0 2.6.0 2.6.0
glob ^2.0.1 2.1.2 2.1.2
logging ^1.0.1 1.3.0 1.3.0
path ^1.8.0 1.9.1 1.9.1
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 76.0.0
_macros - 0.3.2 0.3.2
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.7 2.3.7
file - 7.0.1 7.0.1
macros - 0.1.2-main.4 0.1.3-main.0
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
watcher - 1.1.0 1.1.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_GETTER - lib/src/lint/rules.dart:109:31 - The getter 'element' isn't defined for the type 'DartType'.

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.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
110
pub points
51%
popularity

Publisher

verified publisherwisecrab.com

Linter to make class only accessible within its directory or subdirectories.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

analyzer, analyzer_plugin, ansicolor, args, glob, logging, path, yaml

More

Packages that depend on public_internal