~andyc/oil

d77b440650a8e05bffc3cc7b4df07228c1328e1d — Andy C 2 months ago 68850ef dev-andy-14
[release] Minor improvements to the quality page.

[metrics] Minor improvements to the line counts.
2 files changed, 9 insertions(+), 7 deletions(-)

M doc/release-quality.md
M metrics/source-code.sh
M doc/release-quality.md => doc/release-quality.md +2 -2
@@ 91,16 91,16 @@ This is a supplement to the [main release page](index.html).
  - [overview](pub/metrics.wwz/line-counts/overview.html).  The whole Oil repo organized by
    type of source file.
  - [for-translation](pub/metrics.wwz/line-counts/for-translation.html).
    An overview of the "compile engineer" project.
    An overview of the "compiler engineer" project.
  - [osh-cloc](pub/metrics.wwz/line-counts/osh-cloc.txt).  OSH and common
    libraries, as measured by the [cloc][] tool.
- `oil-native`.
  - [oil-cpp](pub/metrics.wwz/line-counts/oil-cpp.txt).  The C++ code in the
    `oil-native` tarball.
  - [preprocessed](pub/metrics.wwz/preprocessed/index.html).  How much code is
    passed to the compiler?
    - [cxx-dbg](pub/metrics.wwz/preprocessed/cxx-dbg.txt),
      [cxx-opt](pub/metrics.wwz/preprocessed/cxx-opt.txt)
- `oil-native`.
  - [overview](pub/metrics.wwz/oil-native/overview.txt) - Binary code size reported
    by [Bloaty][].


M metrics/source-code.sh => metrics/source-code.sh +7 -5
@@ 173,6 173,9 @@ cpp-counts() {
    'Unit tests in C++' \
    'The goal is to make the spec tests pass, but unit tests are helpful too.' \
    "$@"

  ls NINJA*.py */NINJA*.{py,sh} | $count \
    'Incremental C++ Build' '' "$@"
}

gen-cpp-counts() {


@@ 252,9 255,9 @@ _for-translation() {

  osh-counts $count "$@"

  gen-cpp-counts $count "$@"

  spec-gold-counts $count "$@"

  gen-cpp-counts $count "$@"
}

_overview() {


@@ 281,10 284,9 @@ _overview() {

  code-generator-counts $count "$@"

  # Leaving off cpp-counts since that requires a C++ build
  cpp-counts $count "$@"

  ls NINJA*.py */NINJA*.{py,sh} | $count \
    'Incremental C++ Build' '' "$@"
  # Leaving off gen-cpp-counts since that requires a C++ build

  ls build/*.{mk,sh,py} Makefile *.mk configure install | filter-py | $count \
    'Build Automation' '' "$@"