Skip to content

Commit

Permalink
Move Declarations with Kotlin QA test project: filling dashboard data.
Browse files Browse the repository at this point in the history
  • Loading branch information
sashache committed Oct 10, 2024
1 parent 9d3b163 commit 5fd86a0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,10 @@
"intellij_commit/moveFile_OptimizedImportsBuilder.kt_to_caches",
"intellij_commit/moveFile_ORMReferencesUtil.java_to_util",
"intellij_commit/moveFile_UAnnotationUtils.kt_to_analysis"
],
"qa-materials" : ["refactor-move/moveDeclarations_from_Referred.kt_to_Target.kt"]
]
},
"moveDeclarations": {
"qaRefactorMove" : ["refactor-move/moveDeclarations_from_Referred.kt_to_Target.kt"]
},
"refactoringRename": {
"intelliJ": [
Expand Down
11 changes: 11 additions & 0 deletions dashboard/new-dashboard/src/components/kotlin/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ const MEASURES = {
{ name: "moveFiles#mean_value", label: "Move files" },
{ name: "moveFiles_back#mean_value", label: "Move files back" },
],
moveDeclarationsMeasure: [
{ name: "moveDeclarations#mean_value", label: "Move declarations" },
{ name: "moveDeclarations_back#mean_value", label: "Move declarations back" },
],
optimizeImportsMeasures: [{ name: "execute_editor_optimizeimports", label: "Optimize imports" }],
insertCodeMeasures: [{ name: "execute_editor_paste", label: "Insert code" }],
findUsagesMeasures: [{ name: "findUsages#mean_value", label: "findUsages mean value" }],
Expand Down Expand Up @@ -120,6 +124,8 @@ export const PROJECT_CATEGORIES: Record<string, ProjectCategory> = {
petClinic: buildCategory("Pet Clinic", "kotlin_petclinic/"),
arrow: buildCategory("Arrow", "arrow/"),
kotlinEmptyScript: buildCategory("Empty Script (.kts)", "kotlin_empty_kts/"),

qaRefactorMove: buildCategory("QA Refactor / Move", "refactor-move/"),
}

export const KOTLIN_PROJECTS = kotlinProjects
Expand Down Expand Up @@ -215,6 +221,11 @@ export const refactoringCharts = projectsToDefinition([
measures: MEASURES.moveFilesMeasure,
machines: [MACHINES.linux],
},
{
projects: KOTLIN_PROJECTS.linux.moveDeclarations,
measures: MEASURES.moveDeclarationsMeasure,
machines: [MACHINES.linux],
},
])

export const findUsagesProjects = { ...KOTLIN_PROJECTS.linux.findUsages, ...KOTLIN_PROJECTS.mac.findUsages }
Expand Down

0 comments on commit 5fd86a0

Please sign in to comment.