[webkit-dev] Static source code analysis

Ferenc, Rudolf ferenc at inf.u-szeged.hu
Thu May 29 06:21:35 PDT 2008


Dear Darin and all,

We are analyzing the source code with tools developed by our department, and the 
results include the following:
- Calculating source code metrics (e.g. highlighting the too complex functions)
- Checking for rule violations (e.g. the reported issues).
- Checking for design flaws (so called "bad code smells").
- Detecting code duplications (copy/paste programming).

Would you be interested in these results? Addressing these issues can 
significantly improve the quality of the source code regarding testability, 
complexity and maintainability.

Best regards,
   Rudolf


Darin Adler wrote:
> On May 28, 2008, at 2:38 AM, Ferenc, Rudolf wrote:
> 
>> My colleague Péter Siket and me are also members of the Open Source 
>> Laboratory at the Department of Software Engineering, University of 
>> Szeged, Hungary. We are performing R&D in static source code analysis 
>> and started to examine the source code of WebKit. In our preliminary 
>> checks we found four bugs (one missing initialization and three 
>> unchecked malloc-s), which are easy to fix. We reported these bugs in 
>> Bugzilla:
>>
>> https://bugs.webkit.org/show_bug.cgi?id=19286
>> https://bugs.webkit.org/show_bug.cgi?id=19287
> 
> Thanks. I appreciate your time, effort, and help. We'll discuss the 
> specific issues from the bugs further in the bug reports.
> 
>     -- Darin
> 


More information about the webkit-dev mailing list