cognition_package 1.5.4 copy "cognition_package: ^1.5.4" to clipboard
cognition_package: ^1.5.4 copied to clipboard

A Flutter framework for cognitive testing. Contains 14 pre-defined cognitive tests and an API for creating your own.

6
likes
130/ 140
pub points
74%
popularity

We analyzed this package 43 hours ago, and awarded it 130 pub points (of a possible 140):

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

489 out of 853 API elements (57.3 %) have documentation comments.

Some symbols that are missing documentation: cognition_package, cognition_package_model.RPContinuousVisualTrackingActivity.RPContinuousVisualTrackingActivity.fromJson, cognition_package_model.RPContinuousVisualTrackingActivity.timer, cognition_package_model.RPCorsiBlockTappingActivity.RPCorsiBlockTappingActivity.fromJson, cognition_package_model.RPCorsiBlockTappingActivity.timer.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS

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:audiofileplayer/audiofileplayer.dart that declares support for platforms: Android, iOS.
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:audiofileplayer/audiofileplayer.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

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:audiofileplayer/audiofileplayer.dart that declares support for platforms: Android, iOS.
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:audiofileplayer/audiofileplayer.dart that declares support for platforms: Android, iOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 37 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/model.json.dart:5:1

  ╷
5 │ part of cognition_package_model;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model.json.dart

INFO: The file name 'CPLocalizations.dart' isn't a lower_case_with_underscores identifier.

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

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

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

Package Constraint Compatible Latest
carp_serializable ^1.1.0 1.1.1 1.1.1
flutter flutter 0.0.0 0.0.0
json_annotation ^4.8.0 4.8.1 4.8.1
just_audio ^0.9.34 0.9.36 0.9.36
reorderables ^0.6.0 0.6.0 0.6.0
research_package ^1.4.0 1.4.3 1.4.3
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.4.10 3.4.10
args - 2.4.2 2.4.2
async - 2.11.0 2.11.0
audio_session - 0.1.18 0.1.18
audiofileplayer - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
flutter_svg - 2.0.10+1 2.0.10+1
flutter_web_plugins - 0.0.0 0.0.0
html_unescape - 2.0.0 2.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
image - 4.1.7 4.1.7
js - 0.7.1 0.7.1
just_audio_platform_interface - 4.2.2 4.2.2
just_audio_web - 0.4.9 0.4.9
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
path_provider - 2.1.2 2.1.2
path_provider_android - 2.2.2 2.2.2
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.7.4 3.7.4
rxdart - 0.27.7 0.27.7
signature - 5.4.1 5.4.1
simple_html_css - 4.0.0 4.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.3.3
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.3.0 5.3.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

6
likes
130
pub points
74%
popularity

Publisher

verified publishercachet.dk

A Flutter framework for cognitive testing. Contains 14 pre-defined cognitive tests and an API for creating your own.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

carp_serializable, flutter, json_annotation, just_audio, reorderables, research_package

More

Packages that depend on cognition_package