angular_analyzer_plugin 0.0.17+5

  • README.md
  • Installing
  • Versions
  • 73

AngularDart analyzer plugin #

A plugin for the Dart analyzer library package providing AngularDart support.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  angular_analyzer_plugin: ^0.0.17+5

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:angular_analyzer_plugin/angular_analyzer_plugin.dart';
  
Version Uploaded Documentation Archive
0.0.17+5 Jan 18, 2019 Go to the documentation of angular_analyzer_plugin 0.0.17+5 Download angular_analyzer_plugin 0.0.17+5 archive
0.0.17+4 Nov 15, 2018 Go to the documentation of angular_analyzer_plugin 0.0.17+4 Download angular_analyzer_plugin 0.0.17+4 archive
0.0.17+3 Aug 14, 2018 Go to the documentation of angular_analyzer_plugin 0.0.17+3 Download angular_analyzer_plugin 0.0.17+3 archive
0.0.17+2 Aug 11, 2018 Go to the documentation of angular_analyzer_plugin 0.0.17+2 Download angular_analyzer_plugin 0.0.17+2 archive
0.0.17+1 Aug 3, 2018 Go to the documentation of angular_analyzer_plugin 0.0.17+1 Download angular_analyzer_plugin 0.0.17+1 archive
0.0.17 Jul 25, 2018 Go to the documentation of angular_analyzer_plugin 0.0.17 Download angular_analyzer_plugin 0.0.17 archive
0.0.16 Jul 3, 2018 Go to the documentation of angular_analyzer_plugin 0.0.16 Download angular_analyzer_plugin 0.0.16 archive
0.0.15+1 Apr 17, 2018 Go to the documentation of angular_analyzer_plugin 0.0.15+1 Download angular_analyzer_plugin 0.0.15+1 archive
0.0.15 Apr 17, 2018 Go to the documentation of angular_analyzer_plugin 0.0.15 Download angular_analyzer_plugin 0.0.15 archive
0.0.14 Mar 26, 2018 Go to the documentation of angular_analyzer_plugin 0.0.14 Download angular_analyzer_plugin 0.0.14 archive

All 15 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
98
Health:
Code health derived from static analysis. [more]
52
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
40
Overall:
Weighted score of the above. [more]
73
Learn more about scoring.

We analyzed this package on Feb 20, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.13+1

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:angular_analyzer_plugin/angular_analyzer_plugin.dart.

Health suggestions

Fix lib/src/summary/format.dart. (-30.64 points)

Analysis of lib/src/summary/format.dart reported 73 hints, including:

line 64 col 3: Avoid return types on setters.

line 71 col 3: Avoid return types on setters.

line 78 col 3: Avoid return types on setters.

line 85 col 3: Avoid return types on setters.

line 181 col 3: Avoid return types on setters.

Fix lib/src/completion.dart. (-6.31 points)

Analysis of lib/src/completion.dart reported 13 hints, including:

line 264 col 25: Use = to separate a named parameter from its default value.

line 264 col 66: Use = to separate a named parameter from its default value.

line 271 col 21: Use = to separate a named parameter from its default value.

line 271 col 62: Use = to separate a named parameter from its default value.

line 295 col 21: Use = to separate a named parameter from its default value.

Fix lib/src/converter.dart. (-3.45 points)

Analysis of lib/src/converter.dart reported 7 hints, including:

line 499 col 34: Use = to separate a named parameter from its default value.

line 500 col 28: Use = to separate a named parameter from its default value.

line 501 col 26: Use = to separate a named parameter from its default value.

line 502 col 33: Use = to separate a named parameter from its default value.

line 503 col 34: Use = to separate a named parameter from its default value.

Fix additional 12 files with analysis or formatting issues. (-17.84 points)

Additional issues in the following files:

  • lib/src/resolver.dart (7 hints)
  • lib/src/angular_driver.dart (6 hints)
  • lib/src/standard_components.dart (6 hints)
  • lib/src/directive_extraction.dart (5 hints)
  • lib/src/model.dart (4 hints)
  • lib/src/pipe_extraction.dart (2 hints)
  • lib/ast.dart (1 hint)
  • lib/errors.dart (1 hint)
  • lib/plugin.dart (1 hint)
  • lib/src/directive_linking.dart (1 hint)
  • lib/src/navigation.dart (1 hint)
  • lib/src/view_extraction.dart (1 hint)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and angular_analyzer_plugin.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.0.0 <3.0.0
analyzer 0.33.1 0.33.1 0.35.1
analyzer_plugin 0.0.1-alpha.5 0.0.1-alpha.5 0.0.1-alpha.6
angular_ast ^0.5.0 0.5.7 0.5.8
crypto >=1.1.1 <3.0.0 2.0.6
meta ^1.0.2 1.1.7
plugin ^0.2.0 0.2.0+3
yaml ^2.1.2 2.1.15
Transitive dependencies
args 1.5.1
async 2.0.8
charcode 1.1.2
collection 1.14.11
convert 2.1.1
csslib 0.14.6
front_end 0.1.6+1 0.1.11
glob 1.1.7
html 0.13.3+3
kernel 0.3.6+1 0.3.11
logging 0.11.3+2
package_config 1.0.5
path 1.6.2
pub_semver 1.4.2
source_span 1.5.4
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
Dev dependencies
mockito ^3.0.0
test ^1.2.0
test_reflective_loader ^0.1.0