pageloader 4.0.0 copy "pageloader: ^4.0.0" to clipboard
pageloader: ^4.0.0 copied to clipboard

Supports the creation of page objects that can be shared between in-browser tests and WebDriver tests.

3
likes
70/ 160
pub points
32%
popularity

We analyzed this package 2 days ago, and awarded it 70 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
10 / 20trigger folding of the section

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

335 out of 411 API elements (81.5 %) have documentation comments.

Some symbols that are missing documentation: core, html.HtmlMouse.syncFn, html.HtmlPageLoaderElement.HtmlPageLoaderElement.createFromElement, html.HtmlPageLoaderElement.elements, html.HtmlPageLoaderElement.syncFn.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 504 issues. Showing the first 2:

ERROR: The language version must be >=2.12.0.

lib/src/generators/class_checks_collector.dart:1:1

  ╷
1 │ // @dart = 2.9
  │ ^^^^^^^^^^^^^^
  ╵

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

ERROR: The body might complete normally, causing 'null' to be returned, but the return type, 'String', is a potentially non-nullable type.

lib/src/generators/class_checks_collector.dart:22:8

   ╷
22 │ String _generateCheck(Annotation annotation) {
   │        ^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
analyzer ^1.7.1 1.7.2 7.0.0
build ^2.0.2 2.4.1 2.4.1
build_config ^1.0.0 1.1.1 1.1.1
built_value ^8.0.6 8.9.2 8.9.2
collection ^1.15.0 1.19.1 1.19.1
js ^0.6.3 0.6.7 0.7.1
matcher ^0.12.10 0.12.17 0.12.17
quiver ^3.0.1 3.2.2 3.2.2
source_gen ^1.0.1 1.0.3 1.5.0
webdriver ^3.0.0 3.0.4 3.0.4
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 22.0.0 77.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
built_collection - 5.1.1 5.1.1
checked_yaml - 2.0.3 2.0.3
cli_util - 0.3.5 0.4.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.1.1 2.3.7
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.2 2.1.2
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
pedantic - 1.11.1 1.11.1
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
sync_http - 0.3.1 0.3.1
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^1.7.1` on analyzer does not support the stable version `2.0.0`.

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

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

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

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 353 errors:

  • ILLEGAL_LANGUAGE_VERSION_OVERRIDE - lib/src/generators/class_checks_collector.dart:1:1 - The language version must be >=2.12.0.
  • BODY_MIGHT_COMPLETE_NORMALLY - lib/src/generators/class_checks_collector.dart:22:8 - The body might complete normally, causing 'null' to be returned, but the return type, 'String', is a potentially non-nullable type.
  • UNCHECKED_USE_OF_NULLABLE_VALUE - lib/src/generators/class_checks_collector.dart:25:32 - The property 'arguments' can't be unconditionally accessed because the receiver can be 'null'.

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.

3
likes
70
pub points
32%
popularity

Publisher

verified publishergoogle.dev

Supports the creation of page objects that can be shared between in-browser tests and WebDriver tests.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, build, build_config, built_value, collection, js, matcher, quiver, source_gen, webdriver

More

Packages that depend on pageloader