ttp2542 / anti-copy-paster

A plugin for IntelliJ IDEA for extracting code duplicates into a new method as soon as they are introduced.
Apache License 2.0
0 stars 1 forks source link

Build Prototype for Gathering Metrics from Existing Repo #33

Open tap5136 opened 1 year ago

tap5136 commented 1 year ago

Description:

This is a follow up story to #29, depending on the results of that story there may be more or less work to do, but the gist of it is take what was found in that spike and write some code that can gather metrics from the existing files in the repo to use for metrics thresholds

Update Information: The first story is unable to have a POC that is functional. The reason for this is that the libraries appear to only work when being used inside of a plugin. There is a small amount of code that was written but unfortunately, the Project object couldn't even be gotten due to it being in a static main method.

The documentation from the previous story is found here.

The general plan for this story is to make a prototype that writes the gathered metrics to a file just to check that everything is working. After that, make an arraylist of the FeaturesVectors for all the methods in the repository

Related Epic:

Backend

Number Of Story Points: [number]

Acceptance Criteria:

Comments

ttp2542 commented 1 year ago

We've punted the testing into another story due to the testing being more intensive then we thought it would be, ie it's hard to test an IntellIiJ Plugin