-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I was looking at the data collected by the Java Analyzer and some numbers looked off to me so I did some digging.
From what I can tell, only the numbers from error_summary.file_count, error_summary.total_analyzed_files, analysis.methodsIndentsMaxIndent, and analysis.methodsIndentsMinIndent are off/giving the wrong results.
For error_summary.file_count and error_summary.total_analyzed_files, the variables are never reset to 0 when it's a new repo being analyzed. Currently, it's returning the number of files and analyzed files for all repos the analyzer went through.
For analysis.methodsIndentsMaxIndent, and analysis.methodsIndentsMinIndent, it looks like sometimes the variables are not set when it's analyzing a file so the file reports the initial values of 2147483647 and -2147483648 resulting in high negative numbers (around -2147483496).
Java Repo Info Needed: (use python analyzer json for reference if needed)
Owner Name (owner.login)
Owner ID (owner.node_id)
Owner Type (owner.type)
Repo ID (node_id)
Repo Name (name)
Repo Privacy Setting (private)
Repo Language (language)
File ID (repo_analysis.<file_name>.node_id)
Next Steps: Remove the java data that's been collected and edit the Java analyzer code to fix these issues and add code to collect the missing java repo and file information.