Knowledge Base: Common Issues

  • Resolve reduced feature mode

     Occasionally you may see a notification that the repository is running in Reduced Feature Mode:

     This is because there is no webhook between external provider and CodeFactor for the repository in question, meaning that:

    • repository is analyzed on-demand only;
    • there is no status for GitHub or Bitbucket pull requests;
    • repository changes (e.g. new branches, renaming branches, etc.) are not synchronized.

    Only GitHub or Bitbucket Admin can create a webhook to CodeFactor. If you are the Admin, you can create the webhook by clicking on "FIX IT".

    For best experience, we highly recommend to have your repositories running in full feature

  • As a public repository admin on GitHub I'm unable to Fix reduced feature mode

    Prerequisites:

    Must be an a GitHub Admin for organization that owns Public repository. 

    Explanation:

    By default GitHub restricts third-party applications to access Company Owned applications - see https://help.github.com/articles/about-third-party-application-restrictions.

    Resolution:

    Verify if your organization has granted access to 3rd party applications to access your repositories:

    1. Go to https://github.com/settings/connections/applications/4194d7d196308e89f706
    2. Click 'Grant Access' under Organization access (if button is not visible then org admin must do this step)

    You will now able be able to create Webhooks between CodeFactor and GitHub via FIX IT button in CodeFactor.io. 

  • As organization admin on GitHub I don't see org repository in Add Repository page

    Prerequisites:

    Must be an a GitHub Admin for organization that owns Private or Public repository. 

    Explanation:

    By default GitHub restricts third-party applications to access Company Owned applications - see https://help.github.com/articles/about-third-party-application-restrictions.

    Resolution:

    Verify if your organization has granted access to 3rd party applications to access your repositories:

    1. Go to https://github.com/settings/connections/applications/4194d7d196308e89f706
    2. Click 'Grant Access' under Organization access (if button is not visible then org admin must do this step)

    You will now be able to see organization repos on Add Repository page.

  • My GitHub repository is not being reviewed anymore

    1. Make sure you have Admin permissions for your GitHub repository. CodeFactor requires this in order to create or update webhook to receive notifications from GitHub. Here is how.
    2. Go to repository Settings page and click Refresh button.
    3. Next time you push commit to Pull Request or Branch you should see it being reviewed by CodeFactor.

    Please send us an email if the steps above did not resolve the issue.

    Further reading

    Resolve reduced feature mode

    GitHub - Managing team access to an organization repository

    GitHub - Repository permission levels for an organization

    GitHub - About Webhooks

  • My Bitbucket repository is not being reviewed anymore

    1. Make sure you have Admin permissions for your Bitbucket repository. CodeFactor requires this in order to create or update webhook to receive notifications from Bitbucket.
    2. Go to repository Settings page and click Refresh button.
    3. Next time you push commit to Pull Request or Branch you should see it being reviewed by CodeFactor.

    Please send us an email if the steps above did not resolve the issue.

    Further reading

    Resolve reduced feature mode

    Bitbucket Cloud - Creating webhooks

  • Removed user still visible on repository Members page

    1. Make sure you have Admin permissions for your GitHub or Bitbucket repository. CodeFactor requires this in order to receive full member list for a repository.
    2. Go to repository Members page and click 'Refresh' button
    3. Alternatively go to repository Settings page and click 'Reset access' button

    Further details:

    GitHub: If repository is fully integrated, it should receive all collaborator and added team events. Any other team changes are not received (not available) via webhook.

    Bitbucket: repository member changes are not available via webhook.

  • Some of my repository files are not being reviewed

    There are few major problems with repositories having large number of files:

    • it may take hours to review
    • review may generate very high number of issues making it counter-productive to resolve

    To provide consistent feedback loop we are actively limiting reviewed file count to 5K. Files are selected based on update date, number of changes (churn) and line count - this is to make sure that important files are included.

    Also, these files do not count towards limit:

    • with unrecognized language
    • ignored by user
    • ignored by CodeFactor (auto-generated, library, etc.)
  • Responsible Disclosure of Security Vulnerabilities

    We want to keep CodeFactor safe for everyone. If you've discovered a security vulnerability, we appreciate your help in disclosing it to us in a responsible manner.

    Please email us at security@codefactor.io. We'll work with you to make sure we understand the issue and address it. We consider security correspondence and vulnerabilities our highest priorities and will work to address any issues that arise ASAP.

    Please act in good faith towards our users' privacy and data during this process. White hat researchers are always appreciated and we won't take legal action against you if act accordingly.

  • I do not see any code coverage results

    CodeFactor.io aims to provide super fast code reviews and actionable feedback via Static Code Analysis. We do not support Code Coverage at this time and do not currently have plans to do so. But we hear that some of the Users that use CodeFactor for code analysis, use https://coveralls.io or https://about.codecov.io or similar services for test coverage.