Skip to content

Аггрегация значений в выходной таблице #33

Description

@thehighestmath

При запуске скрипта на большом наборе данных количество строк в выходной таблице велико, а количество уникальных ошибок не особо

Предлагаю сделать группировку. Чтобы вместо результирующей таблицы (по флагу) можно было получить её аггрегированную версию

origin:

rule text
missing break in switch statement  
only main function all logic inside single function
only main function all logic inside single function
short variable name Length of variable name a is 1, which is shorter than the threshold of 3
short variable name Length of variable name b is 1, which is shorter than the threshold of 3
short variable name Length of variable name f is 1, which is shorter than the threshold of 3
short variable name Length of variable name s is 1, which is shorter than the threshold of 3
short variable name Length of variable name i is 1, which is shorter than the threshold of 3
short variable name Length of variable name c is 1, which is shorter than the threshold of 3
useless parentheses  

aggregated:

rule text count
missing break in switch statement    
only main function all logic inside single function 2
short variable name Length of variable name a is 1, which is shorter than the threshold of 3 6
useless parentheses   1

Ref: https://drive.google.com/file/d/1xcRs4AdzohOuQ9fumlCSx8JICF3sPnnD/view?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions