Presentation is loading. Please wait.

Presentation is loading. Please wait.

9/28/2016 2006-07-17 1 Automated Source Code Quality Checking Adriaan de Groot Desktop Developers Conference, Ottawa 2006 K Desktop Environment.

Similar presentations


Presentation on theme: "9/28/2016 2006-07-17 1 Automated Source Code Quality Checking Adriaan de Groot Desktop Developers Conference, Ottawa 2006 K Desktop Environment."— Presentation transcript:

1 9/28/2016 2006-07-17 1 Automated Source Code Quality Checking Adriaan de Groot Desktop Developers Conference, Ottawa 2006 K Desktop Environment

2 Adriaan de Groot KDE Quality Team ● 6 years as a KDE contributor ● APIDOX Advocate ● University researcher 2006-07-17 2 Who is this guy? ● Someone who jumps off a dock with his glasses on

3 What is code quality? ● Defect density ● Readability? Maintainability? Documentation quality, style guides... ● Correctness? Functionality? Specifications, user documentation... 2006-07-17 3 Source Code Quality

4 What do we want to measure? ● Defect density in... ● Code ● Code documentation ● User documentation ● Functionality and correctness... ● Human Interface Guidelines ● Code guidelines ● Test suites 2006-07-17 4 Pragmatic Code Quality

5 Design goals for a measuring system ● Get the numbers ● Display the numbers with... ● Defect overview ● Visual feedback on fixes ● Navigation and selection ● Defect details and suggestions ● Motivate developers 2006-07-17 5 Code Quality System

6 Architecture 2006-07-17 6 Code Quality System SVN Checkout APIDOX Krazy Sanitizer Logfile Log Counter DB View

7 Uptake within KDE ● Implemented as EnglishBreakfastNetwork.org (EBN) ● APIDOX ● User documentation ● UI testing ● Code style ● Popular with a subset of developers ● Code oriented defect reports lead to fixes 2006-07-17 7 Code Quality System

8 Code Style Checker (Krazy) 2006-07-17 8 Code Quality System

9 Code Style Checker (Krazy) ● Copyright & License ● Performance ● C-isms ● Typos & Cleanliness 2006-07-17 9 Code Quality System

10 Future work ● Extend “naive” code style checkers ● Screen-scrape Coverity ● Apply real code analysis ● Quantify more of the HIG ● Suggest fixes for APIDOX ● Compile farm and testing 2006-07-17 10 Code Quality System


Download ppt "9/28/2016 2006-07-17 1 Automated Source Code Quality Checking Adriaan de Groot Desktop Developers Conference, Ottawa 2006 K Desktop Environment."

Similar presentations


Ads by Google