analysis_example 0.0.1-dev.1 copy "analysis_example: ^0.0.1-dev.1" to clipboard
analysis_example: ^0.0.1-dev.1 copied to clipboard

Find non translated strings: Searches all dart files for string literals, excluding non translatable strings. Useful for i18n/l10n.

100/ 160
pub points
13
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: analysis_example.

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_example,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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

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

53 out of 247 API elements (21.5 %) have documentation comments.

Some symbols that are missing documentation: analyser_plugin, analyser_plugin.ExcludePathChecker, analyser_plugin.ExcludePathChecker.ExcludePathChecker.new, analyser_plugin.ExcludePathChecker.excludePathCheckerEndsWith, analyser_plugin.ExcludePathChecker.excludePathCheckerStartsWith.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:analysis_example/analysis_example.dart that imports:
  • package:analysis_example/src/plugin.dart that imports:
  • package:analysis_example/src/analysis_example.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:analysis_example/analysis_example.dart that imports:
  • package:analysis_example/src/plugin.dart that imports:
  • package:analysis_example/src/analysis_example.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:analysis_example/analysis_example.dart that imports:
  • package:analysis_example/src/plugin.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
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 3 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/analysis_example.dart:193:35

    ╷
193 │     final lineInfo = unit.lineInfo!;
    │                                   ^
    ╵

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

INFO: The import of 'package:analysis_example/analysis_example.dart' is unnecessary because all of the used elements are also provided by the import of 'package:analysis_example/src/analysis_example.dart'.

bin/string_literal_finder.dart:4:8

  ╷
4 │ import 'package:analysis_example/analysis_example.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/string_literal_finder.dart

Failed report section
Support up-to-date dependencies
10 / 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
analyzer >=2.1.0 <4.0.0 3.4.1 10.0.1
analyzer_plugin >=0.7.0 <0.10.0 0.9.0 0.14.1
args >=2.0.0 <3.0.0 2.7.0 2.7.0
glob >=2.0.0 <3.0.0 2.1.3 2.1.3
logging >=1.0.0 <2.0.0 1.3.0 1.3.0
logging_appenders >=1.0.0 <2.0.0 1.4.0+1 2.0.0
path >=1.8.0 <2.0.0 1.9.1 1.9.1
source_gen >=1.0.2 <2.0.0 1.2.2 4.2.0
string_literal_finder_annotations ^1.0.0 1.0.0 1.0.0
yaml >=3.1.0 <4.0.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 38.0.0 93.0.0
async - 2.13.0 2.13.0
build - 2.4.1 4.0.4
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 2.2.3 3.1.5
dio - 5.9.1 5.9.1
dio_web_adapter - 2.1.1 2.1.1
file - 7.0.1 7.0.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
meta - 1.18.1 1.18.1
mime - 2.0.0 2.0.0
package_config - 2.2.0 2.2.0
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1

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

Found 4 issues. Showing the first 2:

The constraint `>=2.1.0 <4.0.0` on analyzer does not support the stable version `4.0.0`.

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

The constraint `>=0.7.0 <0.10.0` on analyzer_plugin does not support the stable version `0.10.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/plugin.dart:119:43 - The method 'getResult' isn't defined for the type 'AnalysisDriver'.

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.23.8, Dart 3.10.8.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Find non translated strings: Searches all dart files for string literals, excluding non translatable strings. Useful for i18n/l10n.

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, args, glob, logging, logging_appenders, path, source_gen, string_literal_finder_annotations, yaml

More

Packages that depend on analysis_example