veracode repository report
Generates a report of all developers who have contributed to a repository in the last 90 days. This command uses the repository inventory Excel files generated by the command veracode repository add.
Usage
./veracode repository report [flags]
Flags
| Flag | Description |
|---|---|
-h, --help | Show help for this command. |
Examples
To generate a report of contributing developers:
-
Ensure the configuration Excel files that you generated with the command
veracode repository addare in the current directory. -
At a command prompt, run:
./veracode repository reportThe
veracode repository reportcommand uses the configuration files to access all repositories with aYin the Is Included column and calculates the number of contributing developers for each repository. The report of contributing developers for each repository appears in the CLI. -
To save the report as an Excel file in the current directory, at the prompt for saving a copy of the report, select Yes, then select Enter. The Excel file contains the following information.
- The Summary tab shows the report creation date and time, the total number of unique contributors to each source control management (SCM) system and the total number of unique contributors, minus any duplicate contributors, across all SCMs. It also shows the number of selected, or included, repositories compared to the total number of repositories available in the SCM. In the configuration files, the included repositories show a
Yin the Is Included column. To stop including a repository in a report, in the Is Included column of each configuration file, changeYtoN. - The tabs for each SCM list the repository namespace, name, and the number of contributing developers.
- The Summary tab shows the report creation date and time, the total number of unique contributors to each source control management (SCM) system and the total number of unique contributors, minus any duplicate contributors, across all SCMs. It also shows the number of selected, or included, repositories compared to the total number of repositories available in the SCM. In the configuration files, the included repositories show a
About contributing developers
Contributing developers are members of SCM projects that have contributed to a repository within the last 90 days. The veracode repository report command identifies unique contributing developers by their email address. If a developer uses the same email address across multiple SCMs, the veracode repository report command only counts that address once.
In the following table for a single SCM, repository A has two contributing developers and repository B has two contributing developers. But, the total unique contributing developers across this SCM is three: Mark, Karen, and Diana.
| Developer | Repository | Last commit |
|---|---|---|
| Mark | A | 95 days |
| Karen | A | 85 days |
| Diana | A | 2 days |
| Mark | B | 65 days |
| Karen | B | 5 days |