Program: 13629
Project: 13629
Buggy source:
private void refreshViews(){
  if (mWPOrgPlugin != null) {
    mTitleTextView.setText(mWPOrgPlugin.getName());
    mImageBanner.setImageUrl(mWPOrgPlugin.getBanner(),PHOTO);
    mImageIcon.setImageUrl(mWPOrgPlugin.getIcon(),PLUGIN_ICON);
    setCollapsibleHtmlText(mDescriptionTextView,mWPOrgPlugin.getDescriptionAsHtml());
    setCollapsibleHtmlText(mInstallationTextView,mWPOrgPlugin.getInstallationInstructionsAsHtml());
    setCollapsibleHtmlText(mWhatsNewTextView,mWPOrgPlugin.getWhatsNewAsHtml());
    setCollapsibleHtmlText(mFaqTextView,mWPOrgPlugin.getFaqAsHtml());
    mByLineTextView.setMovementMethod(WPLinkMovementMethod.getInstance());
    mByLineTextView.setText(Html.fromHtml(mWPOrgPlugin.getAuthorAsHtml()));
  }
 else {
    mTitleTextView.setText(mSitePlugin.getDisplayName());
    if (TextUtils.isEmpty(mSitePlugin.getAuthorUrl())) {
      mByLineTextView.setText(String.format(getString(R.string.plugin_byline),mSitePlugin.getAuthorName()));
    }
 else {
      String authorLink="String_Node_Str" + mSitePlugin.getAuthorUrl() + "String_Node_Str"+ mSitePlugin.getAuthorName()+ "String_Node_Str";
      String byline=String.format(getString(R.string.plugin_byline),authorLink);
      mByLineTextView.setMovementMethod(WPLinkMovementMethod.getInstance());
      mByLineTextView.setText(Html.fromHtml(byline));
    }
  }
  if (!canPluginBeDisabledOrRemoved()) {
    findViewById(R.id.plugin_state_active_container).setVisibility(View.GONE);
  }
 else   if (mSitePlugin != null) {
    mSwitchActive.setChecked(mIsActive);
    mSwitchAutoupdates.setChecked(mIsAutoUpdateEnabled);
  }
  findViewById(R.id.plugin_card_site).setVisibility(mSitePlugin != null ? View.VISIBLE : View.GONE);
  refreshPluginVersionViews();
  refreshRatingsViews();
}

Fixed version (ground truth):
private void refreshViews(){
  if (mWPOrgPlugin != null) {
    mTitleTextView.setText(mWPOrgPlugin.getName());
    mImageBanner.setImageUrl(mWPOrgPlugin.getBanner(),PHOTO);
    mImageIcon.setImageUrl(mWPOrgPlugin.getIcon(),PLUGIN_ICON);
    setCollapsibleHtmlText(mDescriptionTextView,mWPOrgPlugin.getDescriptionAsHtml());
    setCollapsibleHtmlText(mInstallationTextView,mWPOrgPlugin.getInstallationInstructionsAsHtml());
    setCollapsibleHtmlText(mWhatsNewTextView,mWPOrgPlugin.getWhatsNewAsHtml());
    setCollapsibleHtmlText(mFaqTextView,mWPOrgPlugin.getFaqAsHtml());
    mByLineTextView.setMovementMethod(WPLinkMovementMethod.getInstance());
    mByLineTextView.setText(Html.fromHtml(mWPOrgPlugin.getAuthorAsHtml()));
  }
 else {
    mTitleTextView.setText(mSitePlugin.getDisplayName());
    if (TextUtils.isEmpty(mSitePlugin.getAuthorUrl())) {
      mByLineTextView.setText(String.format(getString(R.string.plugin_byline),mSitePlugin.getAuthorName()));
    }
 else {
      String authorLink="String_Node_Str" + mSitePlugin.getAuthorUrl() + "String_Node_Str"+ mSitePlugin.getAuthorName()+ "String_Node_Str";
      String byline=String.format(getString(R.string.plugin_byline),authorLink);
      mByLineTextView.setMovementMethod(WPLinkMovementMethod.getInstance());
      mByLineTextView.setText(Html.fromHtml(byline));
    }
  }
  if (!canPluginBeDisabledOrRemoved()) {
    findViewById(R.id.plugin_state_active_container).setVisibility(View.GONE);
  }
 else   if (mSitePlugin != null) {
    mSwitchActive.setChecked(mIsActive);
  }
  mSwitchAutoupdates.setChecked(mIsAutoUpdateEnabled);
  findViewById(R.id.plugin_card_site).setVisibility(mSitePlugin != null ? View.VISIBLE : View.GONE);
  refreshPluginVersionViews();
  refreshRatingsViews();
}