]> pere.pagekite.me Git - homepage.git/blob - blog/Two_projects_that_have_improved_the_quality_of_free_software_a_lot.html
Generated.
[homepage.git] / blog / Two_projects_that_have_improved_the_quality_of_free_software_a_lot.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen: Two projects that have improved the quality of free software a lot</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="style.css">
7 </head>
8 <body>
9
10 <div class="title">
11 <h1>
12 <a href="">Petter Reinholdtsen</a>
13
14 </h1>
15
16 </div>
17
18
19 <div class="entry">
20 <div class="title">Two projects that have improved the quality of free software a lot</div>
21 <div class="date">2009-05-02 15:00</div>
22 <div class="body">
23 <p>There are two software projects that have had huge influence on the
24 quality of free software, and I wanted to mention both in case someone
25 do not yet know them.</p>
26
27 <p>The first one is <a href="http://valgrind.org/">valgrind</a>, a
28 tool to detect and expose errors in the memory handling of programs.
29 It is easy to use, all one need to do is to run 'valgrind program',
30 and it will report any problems on stdout. It is even better if the
31 program include debug information. With debug information, it is able
32 to report the source file name and line number where the problem
33 occurs. It can report things like 'reading past memory block in file
34 X line N, the memory block was allocated in file Y, line M', and
35 'using uninitialised value in control logic'. This tool has made it
36 trivial to investigate reproducible crash bugs in programs, and have
37 reduced the number of this kind of bugs in free software a lot.
38
39 <p>The second one is
40 <a href="http://en.wikipedia.org/wiki/Coverity">Coverity</a> which is
41 a source code checker. It is able to process the source of a program
42 and find problems in the logic without running the program. It
43 started out as the Stanford Checker and became well known when it was
44 used to find bugs in the Linux kernel. It is now a commercial tool
45 and the company behind it is running
46 <a href="http://www.scan.coverity.com/">a community service</a> for the
47 free software community, where a lot of free software projects get
48 their source checked for free. Several thousand defects have been
49 found and fixed so far. It can find errors like 'lock L taken in file
50 X line N is never released if exiting in line M', or 'the code in file
51 Y lines O to P can never be executed'. The projects included in the
52 community service project have managed to get rid of a lot of
53 reliability problems thanks to Coverity.</p>
54
55 <p>I believe tools like this, that are able to automatically find
56 errors in the source, are vital to improve the quality of software and
57 make sure we can get rid of the crashing and failing software we are
58 surrounded by today.</p>
59 </div>
60
61 <div class="tags">Tags: <a href="tags/debian">debian</a>, <a href="tags/english">english</a>.</div>
62
63 </div>
64
65
66
67
68
69
70 <div id="sidebar">
71
72 <h2>Archive</h2>
73 <ul>
74
75 <li>2009
76 <ul>
77
78 <li><a href="archive/2009/01/">January (8)</a></li>
79
80 <li><a href="archive/2009/02/">February (8)</a></li>
81
82 <li><a href="archive/2009/03/">March (12)</a></li>
83
84 <li><a href="archive/2009/04/">April (10)</a></li>
85
86 <li><a href="archive/2009/05/">May (9)</a></li>
87
88 <li><a href="archive/2009/06/">June (3)</a></li>
89
90 <li><a href="archive/2009/07/">July (4)</a></li>
91
92 </ul></li>
93
94 <li>2008
95 <ul>
96
97 <li><a href="archive/2008/11/">November (5)</a></li>
98
99 <li><a href="archive/2008/12/">December (7)</a></li>
100
101 </ul></li>
102
103 </ul>
104
105
106
107 <h2>Tags</h2>
108 <ul>
109
110 <li><a href="tags/3d-printer">3d-printer (11)</a></li>
111
112 <li><a href="tags/amiga">amiga (1)</a></li>
113
114 <li><a href="tags/aros">aros (1)</a></li>
115
116 <li><a href="tags/debian">debian (14)</a></li>
117
118 <li><a href="tags/debian edu">debian edu (7)</a></li>
119
120 <li><a href="tags/english">english (15)</a></li>
121
122 <li><a href="tags/fiksgatami">fiksgatami (1)</a></li>
123
124 <li><a href="tags/fildeling">fildeling (3)</a></li>
125
126 <li><a href="tags/lenker">lenker (1)</a></li>
127
128 <li><a href="tags/ltsp">ltsp (1)</a></li>
129
130 <li><a href="tags/multimedia">multimedia (5)</a></li>
131
132 <li><a href="tags/norsk">norsk (51)</a></li>
133
134 <li><a href="tags/nuug">nuug (51)</a></li>
135
136 <li><a href="tags/opphavsrett">opphavsrett (5)</a></li>
137
138 <li><a href="tags/personvern">personvern (8)</a></li>
139
140 <li><a href="tags/reprap">reprap (10)</a></li>
141
142 <li><a href="tags/rss">rss (1)</a></li>
143
144 <li><a href="tags/sikkerhet">sikkerhet (2)</a></li>
145
146 <li><a href="tags/standard">standard (7)</a></li>
147
148 <li><a href="tags/stavekontroll">stavekontroll (1)</a></li>
149
150 <li><a href="tags/video">video (9)</a></li>
151
152 <li><a href="tags/vitenskap">vitenskap (1)</a></li>
153
154 <li><a href="tags/web">web (4)</a></li>
155
156 </ul>
157
158 </div>
159 </body>
160 </html>