Skip to end of metadata
Go to start of metadata

Symptoms

The LOC (Lines of Code) information in FishEye cannot be seen, for example in charts or when viewing the statistics for a user.

(info) See About the Lines of Code Metric for more information about the usage of the LOC (Lines of Code) metric in FishEye.

Cause

There are four possible causes:

  • LOC data will not be shown for users if the Store diff info setting is disabled. If a page is being viewed in FishEye that relates to a particular user or committer, and the Store Diff Info setting is disabled, no LOC information for the user will be visible.
  • LOC data is currently not supported for Mercurial repositories.
  • LOC data is currently not supported for Git repositories.
  • The SVN repository is indexing branches only.

Resolution

Cannot view LOC information for specific users or committers:

  • Enable the Store Diff Info setting for the repository in Administration > Repository Settings > Repositories, click on the repository name, and then "SCM Details". A full re-index needs to be performed on the repository after enabling this setting for FishEye to collect the diff information for all revisions in the repository. Please note that the Store Diff Info setting is always enabled for CVS repositories.

Cannot view LOC information for Mercurial repositories:

Cannot view LOC information for Git repositories:

The SVN repository is indexing branches only:

  • No labels