File tree 3 files changed +41
-1
lines changed
packages/netglade_analysis
3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 16.1.0
2
+ - Setup DCM Metrics
3
+
1
4
## 16.0.0
2
5
- Adhere to DCM 1.27.0:
3
6
- Add prefer-redirecting-superclass-constructor
Original file line number Diff line number Diff line change @@ -576,3 +576,40 @@ dart_code_metrics:
576
576
# - prefer-pinned-version-syntax # we use prefer-caret-version-syntax
577
577
- prefer-publish-to-none
578
578
- prefer-semver-version
579
+
580
+ metrics :
581
+ # Function / Method Metrics
582
+ cyclomatic-complexity : 20
583
+ halstead-volume : 150
584
+ lines-of-code : 200
585
+ maintainability-index : 50
586
+ maximum-nesting-level : 5
587
+ number-of-parameters : 4
588
+ number-of-used-widgets : 20
589
+ source-lines-of-code : 100
590
+ widgets-nesting-level : 10
591
+
592
+ # Class Metrics
593
+ coupling-between-object-classes : 12
594
+ depth-of-inheritance-tree : 5
595
+ number-of-added-methods : 10
596
+ number-of-implemented-interfaces : 5
597
+ number-of-methods : 10
598
+ number-of-overridden-methods : 10
599
+ response-for-class : 55
600
+ tight-class-cohesion : 0.33
601
+ weight-of-class : 0.33
602
+ weighted-methods-per-class : 35
603
+
604
+ # File Metrics
605
+ number-of-external-imports : 5
606
+ number-of-imports : 10
607
+ technical-debt :
608
+ threshold : 1
609
+ todo-cost : 161
610
+ ignore-cost : 320
611
+ ignore-for-file-cost : 396
612
+ as-dynamic-cost : 322
613
+ deprecated-annotations-cost : 37
614
+ file-nullsafety-migration-cost : 41
615
+ unit-type : " EUR"
Original file line number Diff line number Diff line change 1
1
name : netglade_analysis
2
- version : 16.0 .0
2
+ version : 16.1 .0
3
3
description : Lint rules for Dart and Flutter used internally at netglade.
4
4
repository : https://github.com/netglade/flutter_core/tree/main/packages/netglade_analysis
5
5
issue_tracker : https://github.com/netglade/flutter_core/issues
You can’t perform that action at this time.
0 commit comments