xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Source/Statistics


Ignore:
Timestamp:
05/20/17 08:37:52 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Source/Statistics

    v1 v1  
     1{{{#!div class="box"
     2[[Image(http://xpra.org/icons/statistics.png)]]
     3= Source Code Statistics =
     4
     5Each revision usually brings a number of structural changes that can easily be captured with simple statistics:
     6||=Tag=||=Modules=||||||=Python Code=||||||=Cython Code=||||||=C Code=||
     7||= =||= =||= Files =||= Lines =||= Unique =||= Files =||= Lines =||= Unique =||= Files =||= Lines =||= Unique =||
     8||[/browser/xpra/tags/v0.0.7.x v0.0.7.x]|| 8|| 63|| 13536|| 9990|| 2|| 2147|| 1679|| 0|| 0|| 0||
     9||[/browser/xpra/tags/v0.1.x v0.1.x]|| 8|| 68|| 13640|| 9974|| 2|| 2134|| 1670|| 0|| 0|| 0||
     10||[/browser/xpra/tags/v0.2.x v0.2.x]|| 10|| 73|| 14602|| 10581|| 2|| 2386|| 1770|| 3|| 472|| 281||
     11||[/browser/xpra/tags/v0.3.x v0.3.x]|| 10|| 74|| 15987|| 11684|| 2|| 2387|| 1771|| 2|| 483|| 288||
     12||[/browser/xpra/tags/v0.4.x v0.4.x]|| 10|| 58|| 15052|| 11028|| 2|| 2513|| 1831|| 2|| 506|| 286||
     13||[/browser/xpra/tags/v0.5.x v0.5.x]|| 10|| 64|| 15811|| 11642|| 6|| 3111|| 2203|| 2|| 711|| 427||
     14||[/browser/xpra/tags/v0.6.x v0.6.x]|| 12|| 66|| 16279|| 11943|| 6|| 3086|| 2193|| 2|| 742|| 427||
     15||[/browser/xpra/tags/v0.7.x v0.7.x]|| 13|| 72|| 18687|| 13577|| 6|| 3239|| 2342|| 2|| 752|| 431||
     16||[/browser/xpra/tags/v0.8.x v0.8.x]|| 17|| 96|| 23168|| 16713|| 8|| 3740|| 2701|| 2|| 925|| 555||
     17||[/browser/xpra/tags/v0.9.x v0.9.x]|| 17|| 109|| 26309|| 18773|| 8|| 3704|| 2707|| 2|| 915|| 566||
     18||[/browser/xpra/tags/v0.10.x v0.10.x]|| 34|| 202|| 32640|| 22428|| 22|| 6551|| 4015|| 4|| 676|| 412||
     19||[/browser/xpra/tags/v0.11.x v0.11.x]|| 40|| 231|| 40125|| 27247|| 25|| 9919|| 6350|| 4|| 97|| 55||
     20||[/browser/xpra/tags/v0.12.x v0.12.x]|| 43|| 242|| 44592|| 30288|| 27|| 11013|| 7137|| 6|| 105|| 67||
     21||[/browser/xpra/tags/v0.13.x v0.13.x]|| 44|| 244|| 46246|| 31751|| 30|| 11782|| 7721|| 6|| 165|| 103||
     22||[/browser/xpra/tags/v0.14.x v0.14.x]|| 41|| 244|| 50014|| 34727|| 29|| 9874|| 6236|| 4|| 136|| 82||
     23||[/browser/xpra/tags/v0.15.x v0.15.x]|| 43|| 251|| 55389|| 38520|| 33|| 16346|| 8650|| 4|| 144|| 85||
     24||[/browser/xpra/tags/v0.16.x v0.16.x]|| 52|| 285|| 64184|| 44328|| 35|| 15613|| 9198|| 4|| 144|| 85||
     25||[/browser/xpra/tags/v0.17.x v0.17.x]|| 59|| 311|| 71418|| 48789|| 40|| 19962|| 10298|| 4|| 144|| 85||
     26||[/browser/xpra/tags/v1.0.x v1.0.x]|| 59|| 320|| 79609|| 54399|| 41|| 17204|| 11623|| 4|| 144|| 85||
     27You can find an older but much more pretty version of these figures as a graph here: [http://xpra.org/stats/source/ source stats]
     28
     29
     30{{{#!comment
     31Command lines used:
     32* Cleanup:
     33find . -name "*pycache*" -exec rm -fr {} \;
     34for x in `ls -d v*`;
     35 do echo $x; pushd $x/src
     36 sudo python ./setup.py clean
     37 popd
     38done
     39
     40* Modules:
     41for x in `ls -d v*`; do echo $x; find $x/src/xpra -type d -exec ls {}/__init__.py \; | wc -l; done
     42* Python Files:
     43for x in `ls -d v*`; do echo $x; find $x/src/xpra -type f -name "*py" -print | wc -l; done
     44* Python Lines:
     45for x in `ls -d v*`; do echo $x; find $x/src/xpra -type f -name "*.py" -exec cat {} \; | wc -l; done
     46* Python Unique Lines:
     47for x in `ls -d v*`; do echo $x; find $x/src/xpra -type f -name "*.py" -exec cat {} \; | sort -u | wc -l; done
     48* Cython files: do the sum of:
     49for x in `ls -d v*`; do echo $x; find $x/src/xpra -type f -name "*.pyx"  | wc -l; done
     50for x in `ls -d v*`; do echo $x; find $x/src/xpra -type f -name "*.pxd"  | wc -l; done
     51* Cython lines: do the sum of:
     52for x in `ls -d v*`; do echo $x; find $x/src/xpra -type f -name "*.pyx" -exec cat {} \; | wc -l; done
     53for x in `ls -d v*`; do echo $x; find $x/src/xpra -type f -name "*.pxd" -exec cat {} \; | wc -l; done
     54etc..
     55}}}
     56}}}