The default branch is considered the "base" branch in your repository, against which all pull requests and code commits are made.
CodeFactor will try to identify default branch when importing new repository. If you have admin rights over a repository, you can set new default branch:
- Go to repository Settings
- Change the default branch using the dropdown.