Hivel
Hivel
Hivel
  • 👋Welcome to Hivel
  • 🚀Using Hivel
    • ⭐Cockpit Pro
      • ⬇️How to download reports
      • 🤝Meetings Breakdown
    • 🏃‍♀️Activity
    • ⛑️Work Item Breakdown
    • ➕Hivel Quadrant
    • 💰Investment
      • Issue Age
      • How to set up Products & Allocation tabs in the Investment Screen?
      • How to add Custom fields for Product and Allocation Label in Jira
    • 💎Performance Appraisal
    • 🎯Pull Request
      • Comments Categorization
      • Review Cycles
      • How to exclude outlier commits and PRs?
    • 🐞Quality (SonarQube)
    • ♨️Coding Hotspots
    • ⚽Goals
    • 👩‍🏫Process
    • 🖥️Coding
      • Understanding Rework, New Work, and Maintenance
    • 👨‍🎓Dev360
    • 🔔Slack Alerts and Notifications
  • Copilot Adoption
  • 📊Metrics & Definitions
    • 🚅Speed
      • Deployment Frequency
      • Coding Time
      • Review Time
      • Merge Time
      • Cycle Time
      • Pickup time
    • 💯Quality
      • Change Failure Rate
      • Maintenance
      • Rework
      • Mean Time to Restore (MTTR)
      • PRs merged without review
      • PR Reviewed
      • Flashy Reviews
      • PRs > 400 LoC
    • 📈Throughput
      • New Work%
      • How are Active Days calculated
      • PRs Open, PRs Ready to Review or Merge
  • 🔗Integrations
    • List of all integrations
    • GitHub
      • How do I Signup using GitHub?
      • How to integrate GitHub with Classic Token?
      • How to create Github fine-grained token for Hivel Integration?
      • How to reauthorize Github with a service account?
      • GitHub-Alternate SignUp Method Instructions
      • How to re-initiate GitHub integration with Hivel
    • Gitlab
      • Gitlab Server
      • Gitlab Cloud
      • How to ensure Gitlab token has access to required groups/repositories
    • BitBucket
      • BitBucket Integration
      • Validation at a metric level for BitBucket
    • Jira
      • How to integrate Jira Cloud with Hivel
      • How to Re-authorize Jira in Hivel?
        • Page
      • How to Integrate Jira with OAuth 2.0
      • How to Re-authorize Jira with OAuth 2.0
      • How to integrate Jira Server with Hivel
    • Azure DevOps
    • Google Calendar
      • How to integrate Google Calendar in Hivel
    • Microsoft Outlook
    • Slack
    • SonarQube
    • Okta
    • Jenkins
    • Jenkins Freestyle Integration with Ansible and Hivel Webhook
  • On-Prem Setup
    • On-Prem Installation Guide
    • Jira On-Prem
    • Gitlab On-Prem
    • SonarQube On-Prem
    • Application Setup Guide: User Sign-up and Integration
    • Creating a Bitbucket App Password
    • On-Prem Outlook Integration
  • Github Copilot Integration
  • ⚒️Setup
    • Sign Up
      • How to sign up to Hivel?
    • Users
      • How to invite more users to use Hivel?
      • How to add or update an user's email id?
      • How to merge users?
      • How to update the name of a user?
      • Can I see the data of a user or repo that I don’t have access to on my SCM tool?
      • How to archive users?
    • Teams
      • How to create teams?
      • How to delete a team?
      • How to modify a team?
      • How to create sub-teams?
    • Role-Based Access Control (RBAC)
    • ⚙️Configurations Explained
      • 🌴Branch Configurations
      • 🐞Hotfix Configurations
        • Track hotfixes via patch version pattern
      • Other Configurations
      • Enabling Hivel's AI-Powered Features
  • Team Versioning
  • ⏭️Upcoming Features and Enhancements
  • Release Notes
    • Release Notes
      • Release Notes - October 2024
      • Release Notes - November 2024
      • Release Notes - December 2024
      • Release Notes - January 2025
      • Release Notes - February 2025
      • Release Notes - March 2025
      • Release Notes - April 2025
  • 🔐API Documentation
    • 🏁Tracking Releases and Incidents with Hivel
    • Deployment API
    • Create Incident API
  • 🌟Insights and Best Practices
    • Developer's Guide to Hivel
    • 🎖️Best Practices for Software Development Efficiency
    • 🧹Jira Best Practices
    • Tips and tricks to improve performance
      • How to improve Speed
        • What to do if my Cycle Time is high?
        • What to do if my Coding Time is high?
        • What to do if my Review Time is high?
        • What to do if my Merge Time is high?
      • How to improve Quality
        • What to do if my Rework is high?
        • What happens if there are too many Flashy Reviews and how to prevent them?
        • How to address and prevent unreviewed PRs
        • Strategies to Reduce Mean Time to Restore (MTTR)
        • Best Practices for Team Ownership in Code Review
        • How to identify root cases of high change failure rates?
        • Building a feedback loop for continuous code improvement
      • How to improve planning and throughput
        • Leveraging data for more effective sprint planning
        • What metrics can I use to prevent developer burnout?
      • How to track, manage, and reduce technical debt?
      • What are the impacts of context switching on developer productivity and how to reduce it?
      • How to build a data-driven culture of Engineering?
      • How to balance speed and quality?
  • FAQs
    • Why can't I remove a user from a team?
    • How to change a team owner?
    • How do we account for weekends in the metrics?
    • Are draft PRs considered for calculation of coding/cycle time?
    • Why do some metrics like PRs reviewed or merged have more than 100%?
    • How to mark leaves & absences?
    • Where can I see average PR sizes?
    • How do I link Pull Requests to Issues
    • Why is count of PRs reviewed or merged is different across screens?
    • Why is data of some members are not visible?
    • Why is there an abnormal spike in Cycle Time?
    • Why some of the repositories are not imported or synced?
    • How to get a report of monthwise developer activity metrics?
    • How can I see the progress against my goals?
    • How to see all the metrics by sprints or releases?
    • Why are commits done today are not reflecting immediately
    • Why Product and Allocation's previous data is not reflecting?
    • Why cannot I see cycle time against developers even though they have commits?
    • Why do some Jira issues show as spillover in Hivel even though they were completed in Jira?
    • Why is pickup time not included in cycle time?
    • How can I add a template in dashboards for my org to follow?
    • Can I get a detailed report of all the activity done by developer per day?
    • How do I exclude a PR from rework/maintenance/new work calculation?
    • Why don't I see delivery accuracy for Kanban boards?
    • Why do I see "NA" in the percentage change of a metric?
    • Why do I see "No existing user found" message while login
    • Why am I not able to select more than 6 months at a time?
    • Why does the filters change when I move to dashboards but in other screen it remains same?
    • How to validate the data on Hivel?
    • How to measure impact of Copilots using Hivel?
    • Easing into Kanban: How to set your team up for success
Powered by GitBook
On this page

Was this helpful?

  1. Using Hivel
  2. Pull Request

Review Cycles

PreviousComments CategorizationNextHow to exclude outlier commits and PRs?

Last updated 9 months ago

Was this helpful?

A review cycle is defined as the sequence of comments and commits within a PR. Each cycle is counted when a comment or request for change is followed by a commit or approved by someone. This cycle can repeat multiple times, indicating multiple review cycles within the same PR.

This field can be found in the PR screen as a column.

Understanding the review cycle count helps in assessing the thoroughness and efficiency of the review process. High review cycle counts might indicate thorough reviews or potential issues in the code requiring multiple revisions, whereas low counts might suggest either fewer issues or potentially less thorough reviews.

Below is the explanation on how it gets calculated:

1. Review Cycle = 0 - If a pull request has neither comments nor approval, the review cycle count is 0.

2. Review Cycle = 1 - If a pull request has been approved with or without comments, the review cycle count is 1. This accounts for the fact that some form of review has taken place (the approval), even if no comments were left.

Example A PR is created and a reviewer approves it without leaving any comments. Then review cycle count is 1 because the PR was reviewed (approved) even though no comments were made.

3. Review Cycle is more than 1 - For pull requests with both comments and commits, the review cycle count is calculated based on the number of comment-commit pairs. Each sequence where a comment is followed by a commit is counted as one review cycle. This means that for each set of comments followed by a commit, the review cycle count increases.

Example A PR is created, and a reviewer leaves comments. The developer makes changes and commits those changes. This sequence repeats. - Result: The review cycle count is incremented for each comment-commit pair. - 1st Cycle: Reviewer comments -> Developer commits changes (Cycle 1) - 2nd Cycle: Reviewer comments again -> Developer commits changes again (Cycle 2) - The review cycle count is the number of these comment-commit sequences.

If you encounter any issues or have further questions, feel free to contact us at .

🚀
🎯
support@hivel.ai