anchor.diff:              unknown;
           [{_Process, _Key, RRD}] ->
               RRDVals = rrd:get_all_values(asc, RRD),
  -            % max number of consecutive non-undefined values at the end of RRDVals
  +            %% max number of consecutive non-undefined values at the end of RRDVals
               NumDefined = lists:foldl(fun(undefined, _Acc) -> 0;
                                           (_, Acc)          -> Acc + 1
                                        end, 0, RRDVals),
  
positive.code: -spec trigger_routine() -> ok.
  trigger_routine() ->
      trigger(),
      CPU = erlang:round(cpu_sup:util()),
      [{system_total_memory, _Total},
       {free_swap, _FreeSwap},
       {total_swap, _TotalSwap},
       {cached_memory, _CachedMemory},
       {buffered_memory, _BufferedMemory},
       {free_memory, FreeMemory},
       {total_memory, TotalMemory}] = memsup:get_system_memory_data(),
      MEM = FreeMemory / TotalMemory * 100,
      {NewReductions, NewTimestamp} = get_reductions(),
      {OldReductions, OldTimestamp} = get_last_reductions(),
  
negative.code:         true ->
              _ = application:start(sasl),   %% required by os_mon.
              _ = application:start(os_mon), %% for monitoring cpu and memory usage.
              %% cpu_sup not available on all OSs
              catch cpu_sup:util(), %% throw away first util value
              {InitialReductions, Timestamp} = get_reductions(),
              set_last_reductions(InitialReductions, Timestamp),
              ResolutionSecs = config:read(lb_active_monitor_resolution) div 1000,
  