-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
churn.yml
59 lines (49 loc) · 1.73 KB
/
churn.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# The maximum number of files to display in the results table.
# Default: 10
filesToShow: 10
# The minimum score a file need to display in the results table.
# Disabled if null.
# Default: 0.1
minScoreToShow: 0
# The command returns an 1 exit code if the highest score is greater than the threshold.
# Disabled if null.
# Default: null
maxScoreThreshold: 0.9
# The number of parallel jobs to use when processing files.
# Default: 10
parallelJobs: 10
# How far back in the VCS history to count the number of commits to a file
# Can be a human readable date like 'One week ago' or a date like '2017-07-12'
# Default: '10 Years ago'
commitsSince: One year ago
# Files to ignore when processing. The full path to the file relative to the root of your project is required.
# Also supports regular expressions.
# Default: All PHP files in the path provided to churn-php are processed.
#filesToIgnore:
# - src/Commands/ChurnCommand.php
# - src/Results/ResultsParser.php
# - src/Foo/Ba*
# File extensions to use when processing.
# Default: php
fileExtensions:
- php
# This list is used only if there is no argument when running churn.
# Default: <empty>
directoriesToScan:
- src/
# List of user-defined hooks.
# They can be referenced by their full qualified class name if churn has access to the autoloader.
# Otherwise the file path can be used as well.
# See below the section about hooks for more details.
# Default: <empty>
#hooks:
# - Namespace\MyHook
# - path/to/my-hook.php
# The version control system used for your project.
# Accepted values: fossil, git, mercurial, subversion, none
# Default: git
vcs: git
# The path of the cache file. It doesn't need to exist before running churn.
# Disabled if null.
# Default: null
cachePath: build/cache/churn/churn.cache