CodebaseAnalyzer constructor
CodebaseAnalyzer({
- int? maxFiles,
Creates a CodebaseAnalyzer.
maxFiles caps the number of files analyzed. If omitted, the value is
read from the MAX_FILES_TO_ANALYZE environment variable, falling back
to _kDefaultMaxFiles.
Implementation
CodebaseAnalyzer({int? maxFiles})
: _maxFiles = maxFiles ??
int.tryParse(
Platform.environment['MAX_FILES_TO_ANALYZE'] ?? '') ??
_kDefaultMaxFiles;