smell_detek 0.0.2
smell_detek: ^0.0.2 copied to clipboard
A static analysis tool for detecting Object Oriented code smells in Dart/Flutter projects.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add smell_detekWith Flutter:
$ flutter pub add smell_detekThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
smell_detek: ^0.0.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smell_detek/main.dart';
import 'package:smell_detek/metrics/atfd.dart';
import 'package:smell_detek/metrics/cyclo.dart';
import 'package:smell_detek/metrics/tcc.dart';
import 'package:smell_detek/metrics/wmc.dart';
import 'package:smell_detek/smells/god_class.dart';