Example Questions

What Types of Questions Can be Asked?
You can try asking any question you may have in mind regarding your codebase. In most cases, Bito will give you an accurate answer. Remember to use our pre-defined keywords in your questions. The complete list of these keywords is given on our Available Keywords page.

Code Explanation

  • What a particular code file does
    • In my code what does code in sendgrid/ do?
  • What a particular function in my code does
    • In my repo explain what function message_tokens do

Code Translation

  • In my project rewrite the code of signup.php file in nodejs

Code Refactoring

  • In my workspace suggest code refactoring for and mention all other files that need to be updated accordingly

Fix Bugs

  • In my code find runtime error possibilities in script.js
  • Find logical errors in in my code

Detect Code Smells

  • In my code detect code smells in /app/cart.php and give solution

Generate Documentation

  • Generate documentation for search.ts in my workspace in markdown format

Generate Unit tests

  • In my code write unit tests for index.php
  • In my code generate test code for code coverage of cache.c

Summarize Recent Code Changes

  • summarize recent code changes in my code

Code Search using natural language

  • Any function to compute tokens in my project?
  • Any code or script to send emails in my workspace?
  • In my repo list all the line numbers where $alexa array is used in index.php.

Give details of making modifications

  • In my code list all the files and code changes needed to add column desc in table raw_data in dailyReport DB.
Bito Inc. (c) 2022