• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inventree / inventree-app / 15837688195

23 Jun 2025 11:55PM UTC coverage: 1.586% (+0.02%) from 1.566%
15837688195

push

github

web-flow
Format Code and Add Format Checks to CI (#643)

* Remove unused lib/generated/i18n.dart

* Use `fvm dart format .`

* Add contributing guidelines

* Enforce dart format

* Add `dart format off` directive to generated files

133 of 2648 new or added lines in 82 files covered. (5.02%)

430 existing lines in 78 files now uncovered.

771 of 48628 relevant lines covered (1.59%)

0.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/inventree/project_code.dart
1
import "package:inventree/inventree/model.dart";
2

3
/*
4
 * Class representing the ProjectCode database model
5
 */
6
class InvenTreeProjectCode extends InvenTreeModel {
UNCOV
7
  InvenTreeProjectCode() : super();
×
8

NEW
9
  InvenTreeProjectCode.fromJson(Map<String, dynamic> json)
×
NEW
10
    : super.fromJson(json);
×
11

12
  @override
×
13
  InvenTreeModel createFromJson(Map<String, dynamic> json) =>
NEW
14
      InvenTreeProjectCode.fromJson(json);
×
15

16
  @override
×
17
  String get URL => "project-code/";
18

19
  static const String MODEL_TYPE = "projectcode";
20

21
  @override
×
22
  Map<String, Map<String, dynamic>> formFields() {
NEW
23
    return {"code": {}, "description": {}};
×
24
  }
25

26
  String get code => getString("code");
×
27
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc