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

Description

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

  • Add OCLint as Homebrew package dependency in Makefile
  • Run OCLint as part of test lane in fastlane
BGerstle-WMF updated the task description. (Show Details)
BGerstle-WMF raised the priority of this task from to Needs Triage.
BGerstle-WMF added a subscriber: BGerstle-WMF.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 21 2015, 8:52 PM
BGerstle-WMF set Security to None.
BGerstle-WMF renamed this task from Hook up OCLint to measure code complexity to As a developer, I can easily gather code quality metrics.
MBinder_WMF edited a custom field.Jul 24 2015, 6:36 PM

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.

BGerstle-WMF triaged this task as Low priority.Sep 4 2015, 9:34 PM
MBinder_WMF closed this task as Invalid.Aug 8 2016, 7:28 PM