Program: 184980
Project: 184980
Buggy source:
@Override public void onPageFinished(WebView view,String url){
  resetTitleAndIcon(view);
  if (!mDidStopLoad) {
    updateScreenshot(view);
  }
  updateLockIconToLatest();
  if (false) {
    long[] sysCpu=new long[7];
    if (Process.readProcFile("String_Node_Str",SYSTEM_CPU_FORMAT,null,sysCpu,null)) {
      String uiInfo="String_Node_Str" + (SystemClock.currentThreadTimeMillis() - mUiStart) + "String_Node_Str";
      if (LOGD_ENABLED) {
        Log.d(LOGTAG,uiInfo);
      }
      String performanceString="String_Node_Str" + (SystemClock.uptimeMillis() - mStart) + "String_Node_Str"+ "String_Node_Str"+ (Process.getElapsedCpuTime() - mProcessStart)+ "String_Node_Str"+ (sysCpu[0] + sysCpu[1] - mUserStart) * 10 + "String_Node_Str" + (sysCpu[2] - mSystemStart) * 10 + "String_Node_Str" + (sysCpu[3] - mIdleStart) * 10 + "String_Node_Str" + (sysCpu[4] + sysCpu[5] + sysCpu[6] - mIrqStart) * 10 + "String_Node_Str" + uiInfo;
      if (LOGD_ENABLED) {
        Log.d(LOGTAG,performanceString + "String_Node_Str" + url);
      }
      if (url != null) {
        String newUrl=new String(url);
        if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(11);
        }
 else         if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(7);
        }
 else         if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(12);
        }
 else         if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(8);
        }
        if (LOGD_ENABLED) {
          Log.d(LOGTAG,newUrl + "String_Node_Str");
        }
      }
    }
  }
  if (mInTrace) {
    mInTrace=false;
    Debug.stopMethodTracing();
  }
  if (mPageStarted) {
    mPageStarted=false;
    if (pauseWebViewTimers()) {
      if (mWakeLock.isHeld()) {
        mHandler.removeMessages(RELEASE_WAKELOCK);
        mWakeLock.release();
      }
    }
  }
}

Fixed version (ground truth):
@Override public void onPageFinished(WebView view,String url){
  resetTitleAndIcon(view);
  if (!mDidStopLoad) {
    Message updateScreenshot=Message.obtain(mHandler,UPDATE_BOOKMARK_THUMBNAIL,view);
    mHandler.sendMessageDelayed(updateScreenshot,500);
  }
  updateLockIconToLatest();
  if (false) {
    long[] sysCpu=new long[7];
    if (Process.readProcFile("String_Node_Str",SYSTEM_CPU_FORMAT,null,sysCpu,null)) {
      String uiInfo="String_Node_Str" + (SystemClock.currentThreadTimeMillis() - mUiStart) + "String_Node_Str";
      if (LOGD_ENABLED) {
        Log.d(LOGTAG,uiInfo);
      }
      String performanceString="String_Node_Str" + (SystemClock.uptimeMillis() - mStart) + "String_Node_Str"+ "String_Node_Str"+ (Process.getElapsedCpuTime() - mProcessStart)+ "String_Node_Str"+ (sysCpu[0] + sysCpu[1] - mUserStart) * 10 + "String_Node_Str" + (sysCpu[2] - mSystemStart) * 10 + "String_Node_Str" + (sysCpu[3] - mIdleStart) * 10 + "String_Node_Str" + (sysCpu[4] + sysCpu[5] + sysCpu[6] - mIrqStart) * 10 + "String_Node_Str" + uiInfo;
      if (LOGD_ENABLED) {
        Log.d(LOGTAG,performanceString + "String_Node_Str" + url);
      }
      if (url != null) {
        String newUrl=new String(url);
        if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(11);
        }
 else         if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(7);
        }
 else         if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(12);
        }
 else         if (newUrl.startsWith("String_Node_Str")) {
          newUrl=newUrl.substring(8);
        }
        if (LOGD_ENABLED) {
          Log.d(LOGTAG,newUrl + "String_Node_Str");
        }
      }
    }
  }
  if (mInTrace) {
    mInTrace=false;
    Debug.stopMethodTracing();
  }
  if (mPageStarted) {
    mPageStarted=false;
    if (pauseWebViewTimers()) {
      if (mWakeLock.isHeld()) {
        mHandler.removeMessages(RELEASE_WAKELOCK);
        mWakeLock.release();
      }
    }
  }
}