john-goldsmith/vscode-bigtime

View on GitHub

Showing 5 of 25 total issues

Function logTime has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function logTime(context) {
  /**
   * @return {Promise<undefined>}
   */
  return async () => {
Severity: Major
Found in commands/log-time.js - About 3 hrs to fix

    Function setDefaultProject has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function setDefaultProject(context) {
      /**
       * @return {Promise<undefined>}
       */
      return async () => {
    Severity: Minor
    Found in commands/set-default-project.js - About 1 hr to fix

      Function setDefaultCategory has 33 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function setDefaultCategory(context) {
        /**
         * @return {Promise<undefined>}
         */
        return async () => {
      Severity: Minor
      Found in commands/set-default-category.js - About 1 hr to fix

        Function login has 30 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function login(/*context*/) {
          /**
           * @return {Promise<undefined>}
           */
          return async () => {
        Severity: Minor
        Found in commands/login.js - About 1 hr to fix

          Function stats has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function stats(/*context*/) {
            /**
             * @return {Promise<undefined>}
             */
            return async () => {
          Severity: Minor
          Found in commands/stats.js - About 1 hr to fix
            Severity
            Category
            Status
            Source
            Language