Skip to content

Commit 894edf9

Browse files
committed
Merge branch 'main' of github.com:InnerSourceCommons/managing-innersource-projects
2 parents b8c7cfd + d2261b2 commit 894edf9

File tree

3 files changed

+56
-3
lines changed

3 files changed

+56
-3
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[⬑ back to the overall graph](../use_gqm.md)
2+
3+
# **Metric:** Number of InnerSource repositories
4+
5+
As projects adopt InnerSource, there are signs of such adoption on the corresponding source code repositories.
6+
Examples are the presences of a `CONTRIBUTING.md` file, a "How to Contribute" section on the `README.md` file or repository topics in GitHub such as `innersource`.
7+
8+
One challenge with this metric, is defining an InnerSource repository, as there is no clear cut definition.
9+
Some companies may have strict requirements that define an InnerSource repository, while others may adopt a _self-declaration_.
10+
11+
Another challenge is that companies that use (entirely or partially) the concept of a monorepo may need to find a different unit of measure to observe, as a single repository may be used for many projects or software packages.
12+
13+
**Synopsis**: Number of source code repositories that adopt InnerSource
14+
15+
**Unit of Measurement**: Number of repositories
16+
17+
**Interpretation**: Comparing an absolute number to a range does not make sense in this context. Comparing percentages does make sense, but there's no strong base for comparison.
18+
19+
e.g. 10% of repositories are InnerSource
20+
21+
It's more interesting to observe this metric's trend over time.
22+
23+
**Measuring**
24+
25+
Examples:
26+
- Measure the number of GitHub repositories tagged with the `innersource` topic.
27+
- Measure the number of repositories that are above a given threshold using an automated maturity score calculation
28+
29+
## Related InnerSource Patterns
30+
- [InnerSource Portal](https://patterns.innersourcecommons.org/p/innersource-portal) - typically shows the number of InnerSource projects
31+
- [Repository Activity Score](https://patterns.innersourcecommons.org/p/repository-activity-score) - defines a score for ranking active projects, usable as a criteria to identify InnerSource repositories
32+
- [Standard Base Documentation](https://patterns.innersourcecommons.org/p/base-documentation) - describe common files used to document different aspects of InnerSource projects
33+
- [Maturity Model](https://patterns.innersourcecommons.org/p/maturity-model) - defines levels of maturity for InnerSource projects and can help classify a repository as InnerSource.

measuring/questions/adoption-trend.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[⬑ back to the overall graph](../use_gqm.md)
2+
3+
# **Question:** What is the InnerSource adoption trend?
4+
5+
This question is something an InnerSource program asks while fostering the adoption of InnerSource.
6+
Lack of adoption, or stagnant adoption may reveal that it is necessary to rethink the program strategy or investigate impediments.
7+
8+
## Related Metrics
9+
10+
| **Metric** | **How it answers the question** | **Gotchas** |
11+
| --- | --- | --- |
12+
| [Number of InnerSource repositories](../metrics/number-of-innersource-repositories.md) | The number of (source code) repositories that are directly related to the adoption of the practice. | Depending on how you define _InnerSource repositories_, it can report incorrect results |

measuring/use_gqm.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,34 @@ graph LR;
3636
%% begin nodes
3737
find-projects.md[Find InnerSource Projects]
3838
reduce-duplication.md[Reduce duplication]
39+
adoption-trend.md[What is the InnerSource adoption trend?]
3940
who-contributes.md[Who contributes to the InnerSource project?]
4041
who-uses.md[Who uses the InnerSource project?]
4142
code-contributions.md[Code contributions]
43+
contribution-distance.md[Contribution Distance]
44+
number-of-innersource-repositories.md[Number of InnerSource repositories]
4245
usage-count.md[Usage count]
4346
%% end nodes
4447
4548
%% begin edges
4649
find-projects.md-->who-uses.md
4750
find-projects.md-->who-contributes.md
4851
reduce-duplication.md-->who-uses.md
52+
adoption-trend.md-->number-of-innersource-repositories.md
4953
who-contributes.md-->code-contributions.md
54+
who-contributes.md-->contribution-distance.md
5055
who-uses.md-->usage-count.md
5156
%% end edges
5257
5358
%% begin clicks
54-
click find-projects.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/goals/find-projects.md" "Find InnerSource Projects" _blank
59+
click find-projects.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/goals/find-projects.md" "Find InnerSource Projects"
5560
click reduce-duplication.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/goals/reduce-duplication.md" "Reduce duplication"
61+
click adoption-trend.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/questions/adoption-trend.md" "What is the InnerSource adoption trend?"
5662
click who-contributes.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/questions/who-contributes.md" "Who contributes to the InnerSource project?"
5763
click who-uses.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/questions/who-uses.md" "Who uses the InnerSource project?"
5864
click code-contributions.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/metrics/code-contributions.md" "Code contributions"
65+
click contribution-distance.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/metrics/contribution-distance.md" "Contribution Distance"
66+
click number-of-innersource-repositories.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/metrics/number-of-innersource-repositories.md" "Number of InnerSource repositories"
5967
click usage-count.md "https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/measuring/metrics/usage-count.md" "Usage count"
6068
%% end clicks
6169
@@ -71,10 +79,10 @@ graph LR;
7179
class goal,find-projects.md,reduce-duplication.md goals
7280
7381
classDef questions stroke:orange,stroke-width:2px;
74-
class question,who-contributes.md,who-uses.md questions
82+
class question,adoption-trend.md,who-contributes.md,who-uses.md questions
7583
7684
classDef metrics stroke:purple,stroke-width:2px;
77-
class metric,code-contributions.md,usage-count.md metrics
85+
class metric,code-contributions.md,contribution-distance.md,number-of-innersource-repositories.md,usage-count.md metrics
7886
end
7987
8088
```

0 commit comments

Comments
 (0)