TNO-S3 / WuppieFuzz

A coverage-guided REST API fuzzer developed on top of LibAFL
Apache License 2.0
91 stars 4 forks source link

Release prep v1.1.1 #44

Closed ThomasTNO closed 2 days ago

github-actions[bot] commented 2 days ago

Sigrid maintainability feedback

⏸️️ Your rating did not change and is still below your objective of 3.5 stars

Sigrid compared your code against the baseline of 2024-11-06.

πŸ‘ What went well?

You fixed or improved 0 refactoring candidates.

πŸ‘Ž What could be better?

Unfortunately, 2 refactoring candidates were introduced or got worse.

Risk System property Location
πŸ”΄ Duplication
(Introduced)
WuppieFuzz/src/openapi/examples.rs (lines 556-564)
WuppieFuzz/src/openapi/examples.rs (lines 625-633)
πŸ”΄ Duplication
(Introduced)
WuppieFuzz/src/openapi/examples.rs (lines 691-697)
WuppieFuzz/src/openapi/examples.rs (lines 747-753)

πŸ“š Remaining technical debt

22 refactoring candidates didn't get better or worse, but are still present in the code you touched.

Risk System property Location
πŸ”΄ Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_interesting_parameters(Operation,OpenAPI,&,any)
πŸ”΄ Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
interesting_params_from_type(OpenAPI,Type)
πŸ”΄ Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
interesting_params_from_schema(OpenAPI,RefOr,&,any)
🟠 Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_discriminator_variants(OpenAPI,Schema,&,any)
🟠 Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
example_from_type(OpenAPI,Type)
🟠 Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
example_body_contents(OpenAPI,Operation)
🟠 Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_interesting_inputs_for_qualified_operation(OpenAPI,QualifiedOperation,&,any)
🟠 Unit Complexity
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
examples.rs
🟠 Unit Complexity
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
interesting_params_from_type(OpenAPI,Type)
🟑 Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
example_parameter_value(OpenAPI,ParameterData)
🟑 Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
example_parameters(OpenAPI,Operation)
🟑 Unit Size
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
example_from_schema(OpenAPI,Schema)
🟑 Unit Complexity
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_interesting_parameters(Operation,OpenAPI,&,any)
🟑 Unit Complexity
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_discriminator_variants(OpenAPI,Schema,&,any)
🟑 Unit Complexity
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
interesting_params_from_schema(OpenAPI,RefOr,&,any)
🟑 Unit Interfacing
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_interesting_parameters(Operation,OpenAPI,&,any)
🟑 Unit Interfacing
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_discriminator_variants(OpenAPI,Schema,&,any)
🟑 Unit Interfacing
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
enforce_length_bounds(str,Option,Option)
🟑 Unit Interfacing
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
example_from_media_type(OpenAPI,openapiv3,any)
🟑 Unit Interfacing
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
all_interesting_inputs_for_qualified_operation(OpenAPI,QualifiedOperation,&,any)
🟑 Unit Interfacing
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
interesting_params_from_schema(OpenAPI,RefOr,&,any)
🟑 Unit Interfacing
(Unchanged)
WuppieFuzz/src/openapi/examples.rs
interesting_params_from_media_type(OpenAPI,openapiv3,any)

Sigrid ratings

System property System on 2024-11-06 Before changes New/changed code
Volume 5.4 N/A N/A
Duplication 3.9 4.3 4.4
Unit Size 2.1 1.0 1.0
Unit Complexity 2.9 1.7 1.7
Unit Interfacing 2.0 1.3 1.3
Module Coupling 3.3 N/A N/A
Component Independence 5.4 N/A N/A
Component Entanglement N/A N/A N/A
Maintainability 3.6 2.1 2.1

View this system in Sigrid


Did you find this feedback helpful?

We would like to know your thoughts to make Sigrid better. Your username will remain confidential throughout the process.