Page MenuHomePhabricator

As a developer, I can easily gather code quality metrics
Closed, InvalidPublic2 Estimated Story Points

Description

This will give us the following metrics: http://docs.oclint.org/en/dev/internals/metrics.html

Event Timeline

BGerstle-WMF raised the priority of this task from to Needs Triage.
BGerstle-WMF updated the task description. (Show Details)
BGerstle-WMF subscribed.
BGerstle-WMF renamed this task from Hook up OCLint to measure code complexity to As a developer, I can easily gather code quality metrics.Jul 24 2015, 1:39 PM
BGerstle-WMF updated the task description. (Show Details)
BGerstle-WMF set Security to None.

Ran into a number of problems while working on this:

  1. OCLint is not available as a Homebrew package, requiring "cask" to install it as a binary package (only a minor setback, but additional complexity for devs).
  2. This is the kicker: OCLint can't seem to compile files from our project, at least not with the following setup:
 shell
$ oclint -version
LLVM (http://llvm.org/):
  LLVM version 3.5.0svn
  Optimized build.
  Built Oct 19 2014 (09:55:19).
  Default target: x86_64-apple-darwin14.4.0
  Host CPU: core-avx2

OCLint (http://oclint.org/):
  OCLint version 0.8.1.
  Built Oct 19 2014 (10:24:44).
$ xctool -version
0.2.4

Maybe fixable by rolling back xctool and/or OCLint, but until we get more time to troubleshoot we'll have to go on w/o these metrics.