Last active
July 22, 2025 17:32
-
-
Save clovisdasilvaneto/ac84d065f2236fd3d3ee2009f7d808c7 to your computer and use it in GitHub Desktop.
teste
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "repositories": [ | |
| "NevinhaJS/code-whisper-analyzer-api", | |
| "NevinhaJS/hk-motos" | |
| ], | |
| "totalFiles": 53, | |
| "dependencyRules": [ | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "import { fetchFromApi } from '../lib/api';", | |
| "problemaIdentificado": "Importação da biblioteca 'fetchFromApi' que deveria ser alterada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from \"../lib/api\";'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| }, | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 55, | |
| "codigoEncontrado": "const data = fetchFromApi(endpoint, params);", | |
| "problemaIdentificado": "Uso da função 'fetchFromApi'. Deve ser alterado conforme a nova biblioteca 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Substitua o uso para 'const data = fetchFromNevinha(endpoint, params);'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| } | |
| ], | |
| "filePath": "src/services/aiAnalysis.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "import { fetchFromApi } from '../lib/api';", | |
| "problemaIdentificado": "Importação da biblioteca 'fetchFromApi' que deveria ser alterada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from \"../lib/api\";'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| }, | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 55, | |
| "codigoEncontrado": "const data = fetchFromApi(endpoint, params);", | |
| "problemaIdentificado": "Uso da função 'fetchFromApi'. Deve ser alterado conforme a nova biblioteca 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Substitua o uso para 'const data = fetchFromNevinha(endpoint, params);'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| } | |
| ] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 4, | |
| "codigoEncontrado": "import { fetchFromApi } from 'apiHelper';", | |
| "problemaIdentificado": "A biblioteca 'fetchFromApi' está sendo importada, mas precisa ser substituída.", | |
| "sugestaoMelhoria": "Altere a importação de 'fetchFromApi' para 'fetchFromNevinha' a partir da nova biblioteca especificada.", | |
| "severidade": "medium", | |
| "isNameChange": true, | |
| "categoria": "modulo import" | |
| }, | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "const data = fetchFromApi(url);", | |
| "problemaIdentificado": "Função 'fetchFromApi' está sendo utilizada no código.", | |
| "sugestaoMelhoria": "Substitua a chamada para 'fetchFromApi' por 'fetchFromNevinha'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "funcao chamada" | |
| } | |
| ], | |
| "filePath": "src/components/Select/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 4, | |
| "codigoEncontrado": "import { fetchFromApi } from 'apiHelper';", | |
| "problemaIdentificado": "A biblioteca 'fetchFromApi' está sendo importada, mas precisa ser substituída.", | |
| "sugestaoMelhoria": "Altere a importação de 'fetchFromApi' para 'fetchFromNevinha' a partir da nova biblioteca especificada.", | |
| "severidade": "medium", | |
| "isNameChange": true, | |
| "categoria": "modulo import" | |
| }, | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "const data = fetchFromApi(url);", | |
| "problemaIdentificado": "Função 'fetchFromApi' está sendo utilizada no código.", | |
| "sugestaoMelhoria": "Substitua a chamada para 'fetchFromApi' por 'fetchFromNevinha'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "funcao chamada" | |
| } | |
| ] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 1, | |
| "codigoEncontrado": "import { fetchFromApi } from '@services/fetch/fetch';", | |
| "problemaIdentificado": "Importação da biblioteca fetchFromApi que precisa ser substituída por fetchFromNevinha.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from '@services/fetch/fetchNevinha';'. Certifique-se de que a nova biblioteca e caminho estejam corretos.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "biblioteca" | |
| } | |
| ], | |
| "filePath": "src/services/Clients/ClientsService.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 1, | |
| "codigoEncontrado": "import { fetchFromApi } from '@services/fetch/fetch';", | |
| "problemaIdentificado": "Importação da biblioteca fetchFromApi que precisa ser substituída por fetchFromNevinha.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from '@services/fetch/fetchNevinha';'. Certifique-se de que a nova biblioteca e caminho estejam corretos.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "biblioteca" | |
| } | |
| ] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 2, | |
| "codigoEncontrado": "export const fetchFromApi = async <T>(endpoint: string): Promise<T> => {", | |
| "problemaIdentificado": "A função 'fetchFromApi' precisa ser renomeada de acordo com a regra de negócio especificada.", | |
| "sugestaoMelhoria": "Renomear a função de 'fetchFromApi' para 'fetchFromNevinha' para refletir a nova biblioteca utilizada.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "naming" | |
| } | |
| ], | |
| "filePath": "src/services/fetch/fetch.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 2, | |
| "codigoEncontrado": "export const fetchFromApi = async <T>(endpoint: string): Promise<T> => {", | |
| "problemaIdentificado": "A função 'fetchFromApi' precisa ser renomeada de acordo com a regra de negócio especificada.", | |
| "sugestaoMelhoria": "Renomear a função de 'fetchFromApi' para 'fetchFromNevinha' para refletir a nova biblioteca utilizada.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "naming" | |
| } | |
| ] | |
| } | |
| ], | |
| "results": [ | |
| { | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "analysis": [ | |
| { | |
| "resultados": [], | |
| "filePath": "examples/test-ai-analysis.js", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "examples/test-api.js", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/config/environment.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/config/swagger.config.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/controllers/auth/auth.controller.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/controllers/auth/types.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/controllers/info/info.controller.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/controllers/info/types.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/controllers/repository/repository.controller.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/controllers/repository/types.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/middleware/validation.middleware.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/routes/auth.routes.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/routes/info.routes.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/routes/repository.routes.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/schemas/auth.schemas.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/server.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "import { fetchFromApi } from '../lib/api';", | |
| "problemaIdentificado": "Importação da biblioteca 'fetchFromApi' que deveria ser alterada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from \"../lib/api\";'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| }, | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 55, | |
| "codigoEncontrado": "const data = fetchFromApi(endpoint, params);", | |
| "problemaIdentificado": "Uso da função 'fetchFromApi'. Deve ser alterado conforme a nova biblioteca 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Substitua o uso para 'const data = fetchFromNevinha(endpoint, params);'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| } | |
| ], | |
| "filePath": "src/services/aiAnalysis.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "import { fetchFromApi } from '../lib/api';", | |
| "problemaIdentificado": "Importação da biblioteca 'fetchFromApi' que deveria ser alterada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from \"../lib/api\";'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| }, | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 55, | |
| "codigoEncontrado": "const data = fetchFromApi(endpoint, params);", | |
| "problemaIdentificado": "Uso da função 'fetchFromApi'. Deve ser alterado conforme a nova biblioteca 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Substitua o uso para 'const data = fetchFromNevinha(endpoint, params);'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| } | |
| ] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/services/githubAuth.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/services/githubFileContent.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/reportGenerator.ts", | |
| "linha": 1, | |
| "codigoEncontrado": "import PDFDocument from \"pdfkit\";", | |
| "problemaIdentificado": "Nenhuma importação ou uso da biblioteca fetchFromApi foi encontrada.", | |
| "sugestaoMelhoria": "Nenhuma mudança é necessária baseada na regra fornecida.", | |
| "severidade": "low", | |
| "isNameChange": false, | |
| "categoria": "importações/referências a bibliotecas" | |
| } | |
| ], | |
| "filePath": "src/services/reportGenerator.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/services/reportStorage.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/services/repositoryAnalysis.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/services/stateManager.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/types/index.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/utils/errorHandler.ts", | |
| "repoUrl": "NevinhaJS/code-whisper-analyzer-api", | |
| "namingChangingRules": [] | |
| } | |
| ], | |
| "affectedFiles": [ | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "examples/test-ai-analysis.js", | |
| "linha": 5, | |
| "codigoEncontrado": "const axios = require(\"axios\");", | |
| "problemaIdentificado": "Importação de 'axios', é possível que esta dependência esteja envolvida em uma renomeação.", | |
| "sugestaoMelhoria": "Verificar se 'axios' está sujeito a uma renomeação na análise externa e aplicar mudanças conforme necessário.", | |
| "severidade": "medium", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/code-whisper-analyzer-api", | |
| "sourceFile": "src/services/aiAnalysis.ts", | |
| "targetRepo": "NevinhaJS/code-whisper-analyzer-api", | |
| "targetFile": "examples/test-ai-analysis.js", | |
| "isCrossRepository": false | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/aiAnalysis.ts", | |
| "linha": 1, | |
| "codigoEncontrado": "import { ChatOpenAI } from \"@langchain/openai\";", | |
| "problemaIdentificado": "O arquivo utiliza uma importação que pode ser análogo ao uso do elemento que foi renomeado em outro arquivo, mas especificamente não encontramos referência direta a 'fetchFromApi'.", | |
| "sugestaoMelhoria": "Não é necessário fazer alterações neste contexto.", | |
| "severidade": "low", | |
| "isNameChange": false, | |
| "categoria": "importação" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/hk-motos", | |
| "sourceFile": "src/services/Clients/ClientsService.ts", | |
| "targetRepo": "NevinhaJS/code-whisper-analyzer-api", | |
| "targetFile": "src/services/aiAnalysis.ts", | |
| "isCrossRepository": true | |
| } | |
| ] | |
| }, | |
| { | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "analysis": [ | |
| { | |
| "resultados": [], | |
| "filePath": "bin/index.js", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/api/api.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/ClientForm/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/Container/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/Footer/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/Input/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/Layout/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/MotoForm/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/Navbar/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/SearchInput/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 4, | |
| "codigoEncontrado": "import { fetchFromApi } from 'apiHelper';", | |
| "problemaIdentificado": "A biblioteca 'fetchFromApi' está sendo importada, mas precisa ser substituída.", | |
| "sugestaoMelhoria": "Altere a importação de 'fetchFromApi' para 'fetchFromNevinha' a partir da nova biblioteca especificada.", | |
| "severidade": "medium", | |
| "isNameChange": true, | |
| "categoria": "modulo import" | |
| }, | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "const data = fetchFromApi(url);", | |
| "problemaIdentificado": "Função 'fetchFromApi' está sendo utilizada no código.", | |
| "sugestaoMelhoria": "Substitua a chamada para 'fetchFromApi' por 'fetchFromNevinha'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "funcao chamada" | |
| } | |
| ], | |
| "filePath": "src/components/Select/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 4, | |
| "codigoEncontrado": "import { fetchFromApi } from 'apiHelper';", | |
| "problemaIdentificado": "A biblioteca 'fetchFromApi' está sendo importada, mas precisa ser substituída.", | |
| "sugestaoMelhoria": "Altere a importação de 'fetchFromApi' para 'fetchFromNevinha' a partir da nova biblioteca especificada.", | |
| "severidade": "medium", | |
| "isNameChange": true, | |
| "categoria": "modulo import" | |
| }, | |
| { | |
| "arquivo": "src/components/Select/styled.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "const data = fetchFromApi(url);", | |
| "problemaIdentificado": "Função 'fetchFromApi' está sendo utilizada no código.", | |
| "sugestaoMelhoria": "Substitua a chamada para 'fetchFromApi' por 'fetchFromNevinha'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "funcao chamada" | |
| } | |
| ] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/Sidebar/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/Switch/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/components/TextArea/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/config/validations.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/add-client/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/clients/components/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/clients/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/edit-client/Components/HistoryClient/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/edit-moto/Components/HistoryMoto/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/login/styled.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/moto/components/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/pages/moto/style.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 1, | |
| "codigoEncontrado": "import { fetchFromApi } from '@services/fetch/fetch';", | |
| "problemaIdentificado": "Importação da biblioteca fetchFromApi que precisa ser substituída por fetchFromNevinha.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from '@services/fetch/fetchNevinha';'. Certifique-se de que a nova biblioteca e caminho estejam corretos.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "biblioteca" | |
| } | |
| ], | |
| "filePath": "src/services/Clients/ClientsService.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 1, | |
| "codigoEncontrado": "import { fetchFromApi } from '@services/fetch/fetch';", | |
| "problemaIdentificado": "Importação da biblioteca fetchFromApi que precisa ser substituída por fetchFromNevinha.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from '@services/fetch/fetchNevinha';'. Certifique-se de que a nova biblioteca e caminho estejam corretos.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "biblioteca" | |
| } | |
| ] | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 2, | |
| "codigoEncontrado": "export const fetchFromApi = async <T>(endpoint: string): Promise<T> => {", | |
| "problemaIdentificado": "A função 'fetchFromApi' precisa ser renomeada de acordo com a regra de negócio especificada.", | |
| "sugestaoMelhoria": "Renomear a função de 'fetchFromApi' para 'fetchFromNevinha' para refletir a nova biblioteca utilizada.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "naming" | |
| } | |
| ], | |
| "filePath": "src/services/fetch/fetch.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [ | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 2, | |
| "codigoEncontrado": "export const fetchFromApi = async <T>(endpoint: string): Promise<T> => {", | |
| "problemaIdentificado": "A função 'fetchFromApi' precisa ser renomeada de acordo com a regra de negócio especificada.", | |
| "sugestaoMelhoria": "Renomear a função de 'fetchFromApi' para 'fetchFromNevinha' para refletir a nova biblioteca utilizada.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "naming" | |
| } | |
| ] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/svg.d.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "src/theme/index.ts", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| }, | |
| { | |
| "resultados": [], | |
| "filePath": "vite.config.js", | |
| "repoUrl": "NevinhaJS/hk-motos", | |
| "namingChangingRules": [] | |
| } | |
| ], | |
| "affectedFiles": [ | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 3, | |
| "codigoEncontrado": "import { fetchFromApi } from '@services/fetch/fetch';", | |
| "problemaIdentificado": "Importação da função 'fetchFromApi' que será renomeada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Altere a importação para 'import { fetchFromNevinha } from \"@services/fetch/fetch\";'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| }, | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 10, | |
| "codigoEncontrado": "const clients = await fetchFromApi<ClientData[]>('/clients');", | |
| "problemaIdentificado": "Uso da função 'fetchFromApi' que será renomeada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Altere a chamada para 'const clients = await fetchFromNevinha<ClientData[]>('/clients');'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/code-whisper-analyzer-api", | |
| "sourceFile": "src/services/aiAnalysis.ts", | |
| "targetRepo": "NevinhaJS/hk-motos", | |
| "targetFile": "src/services/Clients/ClientsService.ts", | |
| "isCrossRepository": true | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 1, | |
| "codigoEncontrado": "import { fetchFromApi } from '@services/fetch/fetch';", | |
| "problemaIdentificado": "A biblioteca 'fetchFromApi' está sendo importada, precisa ser substituída conforme a sugestão.", | |
| "sugestaoMelhoria": "Altere a importação de 'fetchFromApi' para 'fetchFromNevinha'.", | |
| "severidade": "medium", | |
| "isNameChange": true, | |
| "categoria": "modulo import" | |
| }, | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 7, | |
| "codigoEncontrado": "const clients = await fetchFromApi<ClientData[]>('/clients');", | |
| "problemaIdentificado": "Função 'fetchFromApi' está sendo utilizada no código.", | |
| "sugestaoMelhoria": "Substitua a chamada para 'fetchFromApi' por 'fetchFromNevinha'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "funcao chamada" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/hk-motos", | |
| "sourceFile": "src/components/Select/styled.ts", | |
| "targetRepo": "NevinhaJS/hk-motos", | |
| "targetFile": "src/services/Clients/ClientsService.ts", | |
| "isCrossRepository": false | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 8, | |
| "codigoEncontrado": "import { fetchFromApi } from '@services/fetch/fetch';", | |
| "problemaIdentificado": "A função 'fetchFromApi' está sendo importada e será renomeada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Renomear 'fetchFromApi' para 'fetchFromNevinha' na importação para alinhar-se à nova nomenclatura definida.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "naming" | |
| }, | |
| { | |
| "arquivo": "src/services/Clients/ClientsService.ts", | |
| "linha": 13, | |
| "codigoEncontrado": "const clients = await fetchFromApi<ClientData[]>('/clients');", | |
| "problemaIdentificado": "A função 'fetchFromApi' está sendo chamada e será renomeada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Renomear 'fetchFromApi' para 'fetchFromNevinha' na chamada da função para refletir a mudança de nome.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "naming" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/hk-motos", | |
| "sourceFile": "src/services/fetch/fetch.ts", | |
| "targetRepo": "NevinhaJS/hk-motos", | |
| "targetFile": "src/services/Clients/ClientsService.ts", | |
| "isCrossRepository": false | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 3, | |
| "codigoEncontrado": "export const fetchFromApi = async <T>(endpoint: string): Promise<T> => {", | |
| "problemaIdentificado": "Função 'fetchFromApi' está sendo exportada com este nome.", | |
| "sugestaoMelhoria": "Renomeie a exportação para 'fetchFromNevinha'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| }, | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 5, | |
| "codigoEncontrado": "const response = await api.get(endpoint);", | |
| "problemaIdentificado": "Uso da função 'fetchFromApi' a ser renomeada para 'fetchFromNevinha'.", | |
| "sugestaoMelhoria": "Garanta que todos os usos, como 'fetchFromApi', sejam atualizados para 'fetchFromNevinha'.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "dependency" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/code-whisper-analyzer-api", | |
| "sourceFile": "src/services/aiAnalysis.ts", | |
| "targetRepo": "NevinhaJS/hk-motos", | |
| "targetFile": "src/services/fetch/fetch.ts", | |
| "isCrossRepository": true | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 5, | |
| "codigoEncontrado": "export const fetchFromApi = async <T>(endpoint: string): Promise<T> => {", | |
| "problemaIdentificado": "Este é o local onde a função fetchFromApi foi definida originalmente.", | |
| "sugestaoMelhoria": "Renomeie a função 'fetchFromApi' para 'fetchFromNevinha' e atualize todas as referências adequadas em outros arquivos.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "modulo import" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/hk-motos", | |
| "sourceFile": "src/components/Select/styled.ts", | |
| "targetRepo": "NevinhaJS/hk-motos", | |
| "targetFile": "src/services/fetch/fetch.ts", | |
| "isCrossRepository": false | |
| }, | |
| { | |
| "resultados": [ | |
| { | |
| "arquivo": "src/services/fetch/fetch.ts", | |
| "linha": 2, | |
| "codigoEncontrado": "export const fetchFromApi = async <T>(endpoint: string): Promise<T> => {", | |
| "problemaIdentificado": "Função 'fetchFromApi' está sendo renomeada em outros arquivos.", | |
| "sugestaoMelhoria": "Renomeie a função 'fetchFromApi' para 'fetchFromNevinha' se fizer parte da mesma refatoração.", | |
| "severidade": "high", | |
| "isNameChange": true, | |
| "categoria": "biblioteca" | |
| } | |
| ], | |
| "sourceRepo": "NevinhaJS/hk-motos", | |
| "sourceFile": "src/services/Clients/ClientsService.ts", | |
| "targetRepo": "NevinhaJS/hk-motos", | |
| "targetFile": "src/services/fetch/fetch.ts", | |
| "isCrossRepository": false | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment