Veröffentlicht in Donny Winston

Have you ever set an objective function for code refactoring, where, for every proposed total change (e.g. reviewable pull request), you seek to maximize the change in this function? An example: 1 \ \log_2(pct_{LOC\ tested}) * pct {importables\ documented} * pct {LOC\ nostate} \over n {LOC} \ Good (numerator stuff): Percent Lines of Code (LOC) covered by a test.