Thứ Hai, 18 tháng 7, 2011

Lines of code in LibreOffice

Tính đến thời điểm này, LibreOffice có 5.4 triệu dòng code, phần lớn là C++, cụ thể như sau:

cpp,        4657231 ,86.43%)
java,        393364 ,7.30%)
ansic,       113417 ,2.10%)
pascal,      102596 ,1.90%)
perl,         66205 ,1.23%)
sh,           16848 ,0.31%)
python,       16289 ,0.30%)
yacc,          7970 ,0.15%)
cs,            6644 ,0.12%)
asm,           2941 ,0.05%)
objc,          2113 ,0.04%)
lex,           1582 ,0.03%)
awk,            845 ,0.02%)
php,            254 ,0.00%)
csh,            253 ,0.00%)
lisp,           115 ,0.00%)
sed,              9 ,0.00%)

1 nhận xét:

  1. Total Physical Source Lines of Code (SLOC) = 5,388,676
    Development Effort Estimate, Person-Years (Person-Months) = 1,656.10 (19,873.18)
    (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
    Schedule Estimate, Years (Months) = 8.96 (107.47)
    (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
    Estimated Average Number of Developers (Effort/Schedule) = 184.92
    Total Estimated Cost to Develop = $ 223,716,388
    (average salary = $56,286/year, overhead = 2.40).
    SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
    SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
    SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
    redistribute it under certain conditions as specified by the GNU GPL license;
    see the documentation for details.
    Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."
    [vuhung@MHST11-08 bootstrap]$

    Trả lờiXóa