changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > org > docs / demo/stats.org

changeset 48: 9f2e9e647333
parent: 517e7b6fb42d
child: 1661d499c262
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 07 Sep 2024 22:34:47 -0400
permissions: -rw-r--r--
description: core documentation and stats
1 #+title: stats
2 #+author: Richard Westhaver
3 #+property: header-args :dir /home/ellis/comp/demo/
4 #+setupfile: ../../clean.theme
5 #+OPTIONS: num:nil
6 #+INFOJS_OPT: toc:nil view:showall
7 #+property: header-args :dir /home/ellis/comp/core/ :eval no-export
8 * vc
9 :PROPERTIES:
10 :ID: a652fdcd-8c25-4f30-a23e-87354b906c90
11 :END:
12 #+begin_src shell :results pp :exports both
13  hg churn -f "%Y-%m" -s
14 #+end_src
15 
16 #+RESULTS:
17 #+begin_example
18 2023-10 36394 ************************************
19 2023-11 12777 ************
20 2023-12 61624 *************************************************************
21 2024-01 4923 ****
22 2024-02 5701 *****
23 2024-03 27292 ***************************
24 2024-04 23322 ***********************
25 2024-05 24141 ***********************
26 2024-06 17608 *****************
27 2024-07 9757 *********
28 2024-08 16177 ****************
29 2024-09 2430 **
30 #+end_example
31 
32 * files
33 :PROPERTIES:
34 :ID: 5c0b5839-1b93-4354-b4ce-8684bea5e5ac
35 :END:
36 #+begin_src shell :results pp :exports results
37  tokei
38 #+end_src
39 
40 #+RESULTS:
41 #+begin_example
42 ===============================================================================
43  Language Files Lines Code Comments Blanks
44 ===============================================================================
45  C 1 65 35 11 19
46  C Header 2 1194 318 721 155
47  Emacs Lisp 20 5181 3628 840 713
48  JavaScript 1 25 21 2 2
49  JSON 1 159 159 0 0
50  Lisp 513 75259 57999 7900 9360
51  Makefile 1 6 6 0 0
52  Org 2 470 391 4 75
53  Plain Text 6 202 0 177 25
54  TOML 32 576 519 23 34
55 -------------------------------------------------------------------------------
56  HTML 1 35 20 8 7
57  |- CSS 1 84 65 9 10
58  |- JavaScript 1 6 5 1 0
59  (Total) 125 90 18 17
60 -------------------------------------------------------------------------------
61  Rust 145 12142 10477 468 1197
62  |- Markdown 103 801 0 706 95
63  (Total) 12943 10477 1174 1292
64 ===============================================================================
65  Total 725 95314 73573 10154 11587
66 ===============================================================================
67 #+end_example