Skip to content
Andreas Trefzer edited this page Dec 12, 2020 · 3 revisions

Customizing the tool

Override thresholds

The used thesholds can be overwritten in the .NET user.config file.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <userSettings>
        <Insight.Properties.Settings>

... Example ...     
	    <setting name="MinCouplingForChangeCoupling" serializeAs="String">
                <value>10</value>
            </setting>
... Example ...

        </Insight.Properties.Settings>
    </userSettings>
</configuration>

Following thresholds are supported for hotspot visualization

  • MinLinesOfCodeForHotspot
    Default is 1.

  • MinCommitsForHotspots
    Default is 3.

  • MaxWorkItemsPerCommitForSummary 200

Following thresholds are supported for change coupling

  • MinDegreeForChangeCoupling
    Minimum degree for change coupling in percent. Default is 40.
    This means that the probability that file A changes when file B is changed is 0.4.
  • MinCouplingForChangeCoupling
    Minmum number of couplings. Default is 5.
  • MaxItemsInChangesetForChangeCoupling
    Maximum items in a change set. Default is 300. Allows to ignore larger merge commits.
Clone this wiki locally