Skip to content

Commit

Permalink
Add lines and file count information
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Vrachev <[email protected]>
  • Loading branch information
MVrachev committed Mar 29, 2021
1 parent b9e838a commit 743b4da
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/adr/0007-validation-guideliness.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,22 @@ Here is how all of our options compare against our requirements:
| 1 | Validate function args everywhere | Limited || Limited |||
| 2 | Custom deeper validation ||||||
| 3 | Performance overhead | Minimal | [Fastest](https://pydantic-docs.helpmanual.io/benchmarks/) | [Slower](https://pydantic-docs.helpmanual.io/benchmarks/) | No information | No information |
| 4 | Number of new depedencies | 0 | 2 | 1 | 1 | 1 |
| 4 | New [depedencies ; files ; lines of code;] | [0; no info; no info] | [2; 25; 7681] | [1; 13; 2652] | [1; 906; 3] | [1; 906; 3] |
| 5 | Support for all python versions ||||||
| 6 | Code reuse for validation ||||||
| 7 | Way to invoke all validators ||||||

For requirement number 4, the calculations were made with [sloccount](https://linux.die.net/man/1/sloccount)
on March 29-th 2021. All repositories were cloned on that day and calculated
by the same tool by invoking
```console
$ sloccount <project_name>
$ sloccount --filecount <project_name>
```
Only source files were used when calculating the lines of code and number of
files (meaning all test files, doc folders, and other meta or configuration
files were excluded).

Bellow, in the following sections, there are additional pros, cons, and
considerations for each of the options.

Expand Down

0 comments on commit 743b4da

Please sign in to comment.