Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No calculation #20

Open
darioamorosodaragona-tuni opened this issue Sep 19, 2023 · 3 comments
Open

No calculation #20

darioamorosodaragona-tuni opened this issue Sep 19, 2023 · 3 comments

Comments

@darioamorosodaragona-tuni

I tried to use the tool to calculate the TF of this project but I got no results.

ncdaam@vkwmr6cjkv-mac truckfactor-tool % java -jar gittruckfactor-1.0.jar ../Truck-Factor   Truck-Factor        
0 [main] INFO aserg.gtf.task.extractor.GitLogExtractor  - Extracting logCommits...  ../Truck-Factor/
0 [main] INFO aserg.gtf.task.extractor.GitLogExtractor  - Extracting logCommits...  ../Truck-Factor/
16 [main] INFO aserg.gtf.task.extractor.GitLogExtractor  - Truck-Factor: Extracting logCommitFiles...
16 [main] INFO aserg.gtf.task.extractor.GitLogExtractor  - Truck-Factor: Extracting logCommitFiles...
19 [main] INFO aserg.gtf.task.extractor.FileInfoExtractor  - Truck-Factor: Extracting file information...
19 [main] INFO aserg.gtf.task.extractor.FileInfoExtractor  - Truck-Factor: Extracting file information...
20 [main] INFO aserg.gtf.task.DOACalculator  - Truck-Factor: Extracting and calculating authorship information...
20 [main] INFO aserg.gtf.task.DOACalculator  - Truck-Factor: Extracting and calculating authorship information...
TF = 0 (coverage = NaN%)
TF authors (Developer;Files;Percentage):

The necessary file have been generated by the previous scripts:

filelist.log
commitfileinfo.log
commitinfo.log

@astrojuanlu
Copy link

Affected by this and the other issues @darioamorosodaragona-tuni opened, namely #19, #18

@nathanhleung
Copy link

nathanhleung commented Nov 12, 2024

Affected by this and the other issues @darioamorosodaragona-tuni opened, namely #19, #18

@astrojuanlu I was getting the same TF = 0 output originally, then I deleted the linguistfiles.log script output from linguist_script.sh and started getting working output.

I followed @eldy's instructions in this issue exactly: #17

(ran commit_log_script.sh after cd into the scripts directory, etc.)

@astrojuanlu
Copy link

It worked:

cd gittruckfactor/scripts
./commit_log_script.sh ../../kedro
cd ..
java -Dlog4j.configuration=bin/META-INF/log4j.xml -jar target/gittruckfactor-1.0.jar ../kedro kedro-org/kedro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants