Skip to content

ALL-DUPL0004 · examples

These examples come directly from ALL-DUPL0004. Read their source.

Bad

One eighty-line reader pasted into three modules of a two-thousand-line repository repeats one
hundred and sixty lines, so it returns `8.0` and every fix to it has to be made three times.
Good

The same reader lives in one module the other three import. Nothing is repeated, so the group disappears and the share is 0.0. A group covering three lines also returns 0.0, because it sits under the default minimum_line_count.