Cannot View Lines of Code Information in Fisheye
Symptoms
The LOC (Lines of Code) information in Fisheye cannot be seen, for example in charts or when viewing the statistics for a user.
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.
The SVN repository is indexing branches only:
- Fisheye can calculate LOC for a branch if it is "tricked" to see the branch as part of the trunk.
Last modified on Dec 13, 2018
Powered by Confluence and Scroll Viewport.