cognition_package 1.6.2
cognition_package: ^1.6.2 copied to clipboard
A Flutter framework for cognitive testing. Contains 14 pre-defined cognitive tests and an API for creating your own.
We analyzed this package 37 hours ago, and awarded it 140 pub points (of a possible 160):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
527 out of 901 API elements (58.5 %) have documentation comments.
Some symbols that are missing documentation: cognition_package
, cognition_package_model.CognitionPackage.CognitionPackage.new
, cognition_package_model.RPContinuousVisualTrackingActivity.RPContinuousVisualTrackingActivity.fromJson
, cognition_package_model.RPContinuousVisualTrackingActivity.RPContinuousVisualTrackingActivity.new
, cognition_package_model.RPContinuousVisualTrackingActivity.timer
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:cognition_package/cognition_package.dart
that imports:package:cognition_package/ui.dart
that imports:package:research_package/research_package.dart
that imports:package:research_package/ui.dart
that imports:package:just_audio/just_audio.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:cognition_package/cognition_package.dart
that imports:package:cognition_package/ui.dart
that imports:package:research_package/research_package.dart
that imports:package:research_package/ui.dart
that imports:package:just_audio/just_audio.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Web`.
Because:
package:cognition_package/cognition_package.dart
that imports:package:cognition_package/ui.dart
that imports:package:research_package/research_package.dart
that imports:package:research_package/ui.dart
that imports:package:just_audio/just_audio.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:cognition_package/cognition_package.dart
that imports:package:cognition_package/ui.dart
that imports:package:research_package/research_package.dart
that imports:package:research_package/ui.dart
that imports:package:just_audio/just_audio.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 46 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/src/ui/ActivityBody/rpui_continuous_visual_tracking_activity_body.dart:150:7
╷
150 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/ActivityBody/rpui_continuous_visual_tracking_activity_body.dart
WARNING: This default clause is covered by the previous cases.
lib/src/ui/ActivityBody/rpui_corsi_block_tapping_activity_body.dart:242:7
╷
242 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/ActivityBody/rpui_corsi_block_tapping_activity_body.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
carp_serializable |
^2.0.0 |
2.0.1 | 2.0.1 | |
json_annotation |
^4.8.0 |
4.9.0 | 4.9.0 | |
just_audio |
^0.9.34 |
0.9.46 | 0.9.46 | |
reorderables |
^0.6.0 |
0.6.0 | 0.6.0 | |
research_package |
^1.7.2 |
1.8.0 | 2.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 4.0.5 | 4.0.5 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
audio_session |
- | 0.1.25 | 0.2.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_svg |
- | 2.0.17 | 2.0.17 | |
http |
- | 1.3.0 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.5.4 | 4.5.4 | |
just_audio_platform_interface |
- | 4.5.0 | 4.5.0 | |
just_audio_web |
- | 0.4.15 | 0.4.15 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.16 | 2.2.16 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.1 | 6.0.1 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
signature |
- | 5.5.0 | 6.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_graphics |
- | 1.1.18 | 1.1.18 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.16 | 1.1.16 | |
vector_math |
- | 2.1.4 | 2.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.7.2` on research_package does not support the stable version `2.0.0`, that was published 0 days ago.
When research_package is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions research_package
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.