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
  • ⏭️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

Comments Categorization

PreviousPull RequestNextReview Cycles

Last updated 8 months ago

Was this helpful?

Explainer Video:

The "Comments Category" column in the Pull Requests tab is an AI-powered feature that automatically analyzes and categorizes comments into specific labels based on their content.

This feature helps you quickly understand the overall sentiment and focus of the comments within each pull request, making it easier to address issues and manage code reviews.

We categorize the Pull request in the below categories:

Type 1:

  • LGTM: PRs that are merged without significant issues or objections i.e. comments indicating approval, positive feedback on the implementation, or minor suggestions that are quickly addressed without major revisions.

    • For example, "Great job! This looks perfect and works as expected."

  • Refactor: PRs that need significant changes to improve code quality or structure before they can be merged i.e. comments suggesting extensive changes, restructuring, or optimization of the code.

    • For example, "The algorithm here can be optimized for better performance."

  • Buggy: PRs that introduce new bugs or issues into the codebase i.e. comments highlighting bugs, regressions, or issues that break existing functionality.

    • For example, "This change breaks the login functionality."

  • Controversial: PRs that generate significant debate or disagreement among reviewers i.e. comments that show differing opinions or disputes on the implementation, approach, or necessity of the changes.

    • For example, "I don't think this approach is the best solution."

Type 2:

  • Code Quality: Comments focused on the overall design, architecture, and cleanliness of the code i.e. feedback related to code organization, modularity, adherence to design patterns, and overall structural improvements.

    • For example, "This module should be broken down into smaller, more manageable components."

  • Readability: Comments aimed at improving the readability of the code and the adequacy of its documentation i.e. feedback about code clarity, naming conventions, comments within the code, and the presence and quality of documentation.

    • For example, "Variable names should be more descriptive."

  • Testing: Comments that address the sufficiency and quality of tests and error handling mechanisms. Suggestions or concerns regarding unit tests, integration tests, error handling, edge cases, and the robustness of the code against failures.

    • For example, "Error handling is not sufficient here; consider adding more checks."

  • Compliance: Comments that ensure the code adheres to industry standards, coding guidelines, and best practices i.e. feedback on adherence to coding standards, security practices, regulatory compliance, and the use of recommended libraries or frameworks.

    • For example, "This code doesn't comply with our security guidelines."

  • Maintainability: Comments that focus on the long-term maintenance and scalability of the code. Suggestions for making the code easier to maintain, extending its functionality, or improving performance to handle larger scale or more complex operations.

    • For example, "This code will be hard to maintain; consider refactoring."

Type 3: Special Cases for Categorization:

  • When a comment consists of a single word, it is categorized as a "One Word Comment".

  • If a pull request has no comments, it is categorized as "No Comment".

  • When a pull request cannot be categorized based on its comments due to various reasons, it is categorised as "No Value".

Wherever applicable, each PR will be categorized into either one or two of the above types. For example -

  • "Looks good to me. Well done on keeping the code clean and efficient!"

    • Categories: LGTM, Code Quality

  • β€œConsider refactoring this function to reduce its complexity and improve readability.”

    • Categories: Refactor, Readability

  • β€œThere's a bug in the validation logic. Please fix it before merging”

    • Categories: Buggy

  • "Looks good to me. Well done on keeping the code clean and efficient!" "Can you add more comments to this section for better understanding?"

    • Categories: LGTM, Readability

  • "There's a bug in the validation logic. Please fix it before merging." "Make sure to add unit tests to cover this scenario."

    • Categories: Buggy, Testing

Please note: For this feature to work, we process the metadata through AI.

If you cannot see this column in the Pull Request screen, please contact our support team at

πŸš€
🎯
support@hivel.ai
Examples