Fix wildly inaccurate bloat stats from vendor folder

This commit is contained in:
kayos@tcp.direct 2022-03-09 00:16:40 -08:00
parent 844e74366a
commit acb2cf0f42
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

View File

@ -1,46 +1,47 @@
# ircd daemon
# ircd.chat
fuck ergo all my homies hate ergo
Oragono's grumpy little brother.
### Changes:
- [x] History gutted
- [x] MySQL erradicated
- [x] Whitelabeled
- [ ] Always-on gutted (do we want to do this?)
- [ ] Add new shit
- [x] Diverge from lots of "override" logic
- [x] Handle errors that were previously ignored
- [ ] Accurately document all of the changes
## Bloat Comparison
### Ergo
```
Ohloh Line Count Summary
Examining 379 file(s)
Ohloh Line Count Summary
Language Files Code Comment Comment % Blank Total
---------------- ----- --------- --------- --------- --------- ---------
golang 705 303888 35560 10.5% 25761 365209
assembler 32 2357 325 12.1% 878 3560
shell 10 1280 158 11.0% 164 1602
golang 132 27850 2936 9.5% 4305 35091
python 4 679 92 11.9% 88 859
shell 3 66 13 16.5% 18 97
xml 1 48 0 0.0% 0 48
c 2 44 30 40.5% 14 88
ampl 1 39 0 0.0% 6 45
make 1 38 0 0.0% 11 49
ampl 1 38 0 0.0% 5 43
---------------- ----- --------- --------- --------- --------- ---------
Total 756 308372 36165 10.5% 26921 371458
Total 142 28720 3041 9.6% 4428 36189
```
### ircd.chat
```
Ohloh Line Count Summary
Examining 162 file(s)
Ohloh Line Count Summary
Language Files Code Comment Comment % Blank Total
---------------- ----- --------- --------- --------- --------- ---------
golang 122 24894 2715 9.8% 3894 31503
golang 122 24886 2718 9.8% 3895 31499
python 1 209 18 7.9% 16 243
shell 3 66 13 16.5% 18 97
ampl 1 38 0 0.0% 6 44
make 1 36 0 0.0% 11 47
---------------- ----- --------- --------- --------- --------- ---------
Total 128 25243 2746 9.8% 3945 31934
Total 128 25235 2749 9.8% 3946 31930
```
### As of writing, **3,485 lines of code have been removed from ergo**.