This deliverable is part of WP3: Source Code Quality and Activity Analysis. It provides descriptions and prototypes of the tools that are needed for source code quality analysis in open source software projects. It builds upon the results of: • Deliverable 3.1 where infra-structure and a domain analysis have been investigated for Source Code Quality Analysis and initial language-dependent and language-agnostic metrics have been prototyped. • Deliverable 3.2 where source code activity metrics have been investigated. • Collaboration with WP2 and WP5, where an integrated quality model is developed which brings together metrics into concise and comparable descriptions (“factoids”) of project quality aspects. In this deliverable we report solely on source code and source code activity metrics which work on any (programming) language. For language specific quality analysis we refer to Deliverable 3.4. The work on Tasks 3.3 and 3.4 has been done in parallel. On the one hand, in order to prevent unnecessary duplication the final report on the satisfaction of the requirements that were identified in Deliverable 1.1 are presented not here, but in Deliverable 3.4 instead. On the other hand, for the sake of cohesion and readability, some general design considerations concerning the metrics and their aggregation is copied between the two deliverable documents in the introduction sections of both documents 1). The current deliverable does include an update to the Source Code Activity Analysis metrics which were reported on earlier in Deliverable 3.2. The reason is that these metrics are also language independent. The update is necessary to link the results of Deliverable 3.2 into the overall quality model of OSSMETER (see Deliverable 2.4). In this deliverable we present: • A brief summary of motivation and challenges for Task 3.3; • A list of all language-independent source code quality metrics including their motivation in GQM terminology. • An updated list of all source code activity metrics including their motivation in GQM terminol- ogy. • An overview of the use of the above metrics in the OSSMETER quality model through factoids.
CWI
Software Analysis and Transformation

Vinju, J., Shahi, A., & Basten, B. (2014). OSSMETER D3.3 – Language Agnostic Source Code Quality Analysis. CWI.