Hi Jason,

Sorry, replying to your message has been on my TODO list for quite some time.

Thanks for sharing! Those numbers are certainly thought provoking. It would 
appear that we (being the collective community) have been putting in a few 
minutes here and there to write this FEM library :-D

The “bundled” folder includes third party libraries, so I think that it would 
be disingenuous for one to include those contributions in such an assessment of 
the size of the code base. But if you want to get the most representative 
figures for the library itself, then the having a line count for the “cmake”, 
“doc”, “include”, “examples” and “source” would give the most accurate 
representation of the size of the functional part of the library. We already 
know that there are on the order of 10000 unit tests, so having an individual 
assessment of the “tests” folder would be interesting. If you’re willing to 
re-run your analysis while taking my comments into consideration, then I’d 
certainly be interested to see the new results!

Best regards,
Jean-Paul

> On 06 Jun 2019, at 06:42, 'Jason Nicholson' via deal.II User Group 
> <[email protected]> wrote:
> 
> I did a quick look at how many lines are in the Deal.ii library using "cloc". 
> I thought I would share.
> 
> [jnicholson@jhnlt001 dealii-master]$ ls
> bundled  CMakeLists.txt  CONTRIBUTING.md    doc       include      LICENSE.md 
>  source  VERSION
> cmake    contrib         CTestConfig.cmake  examples  Jenkinsfile  README.md  
>  tests
> [jnicholson@jhnlt001 dealii-master]$ cloc .
>    10523 text files.
>    10118 unique files.                                          
>     1045 files ignored.
> 
> github.com/AlDanial/cloc v 1.74  T=27.75 s (341.6 files/s, 81345.2 lines/s)
> ---------------------------------------------------------------------------------------
> Language                             files          blank        comment      
>      code
> ---------------------------------------------------------------------------------------
> C/C++ Header                          8467         242546         397541      
>   1194279
> C++                                    633          54291          70135      
>    248811
> CMake                                  232           2491           7289      
>     10324
> HTML                                    28            888              5      
>      5984
> CUDA                                    14            673           1023      
>      3283
> C                                        6            366            444      
>      2010
> Python                                  16            441            976      
>      1812
> Assembly                                12            173            392      
>       939
> MATLAB                                  17            292            716      
>       927
> Fortran 77                               2            338           1309      
>       773
> Markdown                                10            209              0      
>       748
> Windows Module Definition                1              0              0      
>       718
> Perl                                    11            179            379      
>       689
> make                                     4             84             69      
>       612
> Bourne Shell                            10            132            355      
>       467
> XML                                      4              9              8      
>       437
> CSS                                      2             68             22      
>       340
> Bourne Again Shell                       8             74            233      
>       281
> TeX                                      2             34             18      
>        60
> DTD                                      1              0              6      
>        15
> JavaScript                               1              0              1      
>        14
> ---------------------------------------------------------------------------------------
> SUM:                                  9481         303288         480921      
>   1473523
> ---------------------------------------------------------------------------------------
> 
> -- 
> The deal.II project is located at http://www.dealii.org/ 
> <http://www.dealii.org/>
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en 
> <https://groups.google.com/d/forum/dealii?hl=en>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/e56fddfc-13ac-4588-bf25-e4e0041ee867%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dealii/e56fddfc-13ac-4588-bf25-e4e0041ee867%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/C8017F73-495B-4D77-AC09-6BB87EE9CC5D%40gmail.com.

Reply via email to