Sample output

mrijk edited this page May 5, 2011 · 2 revisions
Clone this wiki locally

Output generated on 5 May 2011 with clj-metrics itself as input. Some explanation:

  • cdefns: number of functions with a documentation string
  • defns : number of functions
  • loc : lines of code (including blank lines) in a file
  • path : complete path
[
  {
    "cdefns":0,
    "defns":0,
    "loc":10,
    "path":"./project.clj"
  },
  {
    "cdefns":7,
    "defns":16,
    "loc":89,
    "path":"./src/clj_metrics/core.clj"
  },
  {
    "cdefns":4,
    "defns":4,
    "loc":24,
    "path":"./src/clj_metrics/defn.clj"
  },
  {
    "cdefns":1,
    "defns":2,
    "loc":16,
    "path":"./src/clj_metrics/util.clj"
  },
  {
    "cdefns":0,
    "defns":0,
    "loc":18,
    "path":"./test/clj_metrics/test/defn.clj"
  },
  {
    "cdefns":0,
    "defns":0,
    "loc":7,
    "path":"./test/clj_metrics/test/util.clj"
  }
]