Skip to content

Commit c41a1ae

Browse files
committed
Remove dead code such as earlier prototypes
1 parent d9c9405 commit c41a1ae

2 files changed

Lines changed: 1 addition & 61 deletions

File tree

src/code_maat/analysis/authors.clj

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@
2626
[ds]
2727
(distinct (ds/-select-by :author ds)))
2828

29-
(defn entity-with-author-count
30-
"Calculates the number of different authors for the given module, m.
31-
Returns a tuple of [entity-name number-of-distinct-authors]."
32-
[m ds]
33-
[m (ds/-nrows (of-module m ds))])
34-
3529
(defn- authors-of-entity
3630
[entity-group]
3731
(->>
@@ -59,16 +53,9 @@
5953
Returns a dataset with the columns :entity :n-authors."
6054
([ds options]
6155
(by-count ds options :desc))
62-
([ds options order-fn]
56+
([ds _options order-fn]
6357
(->> ds
6458
(ds/-group-by :entity)
6559
(map make-entity-with-author-count)
6660
(ds/-dataset [:entity :n-authors :n-revs])
6761
(ds/-order-by [:n-authors :n-revs] order-fn))))
68-
69-
(defn all-authors
70-
[ds]
71-
(->> ds
72-
all
73-
(ds/-dataset [:author])
74-
(ds/-order-by [:author] :asc)))

src/code_maat/parsers/limitters.clj

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)