Closed ThomasTNO closed 3 weeks ago
✅ You wrote maintainable code and achieved your Sigrid objective of 3.5 stars
Sigrid compared your code against the baseline of 2024-10-14.
You fixed or improved 0 refactoring candidates.
Unfortunately, 140 refactoring candidates were introduced or got worse.
0 refactoring candidates didn't get better or worse, but are still present in the code you touched.
View this system in Sigrid
We would like to know your thoughts to make Sigrid better. Your username will remain confidential throughout the process.
Sigrid maintainability feedback
✅ You wrote maintainable code and achieved your Sigrid objective of 3.5 stars
Sigrid compared your code against the baseline of 2024-10-14.
👍 What went well?
You fixed or improved 0 refactoring candidates.
👎 What could be better?
Unfortunately, 140 refactoring candidates were introduced or got worse.
(Introduced)
WuppieFuzz/Dockerfile (lines 14-25)
(Introduced)
src/openapi/examples.rs (lines 1-935)
(Introduced)
src/configuration.rs (lines 1-773)
(Introduced)
src/input/mod.rs (lines 53-713)
(Introduced)
src/fuzzer.rs (lines 1-575)
(Introduced)
src/coverage_clients/jacoco.rs (lines 4-456)
(Introduced)
src/initial_corpus/dependency_graph/mod.rs (lines 1-435)
(Introduced)
src/coverage_clients/endpoint.rs (lines 12-419)
(Introduced)
src/coverage_clients/lcov_client.rs (lines 4-404)
(Introduced)
src/openapi_mutator/mod.rs (lines 8-365)
(Introduced)
src/state.rs (lines 1-400)
(Introduced)
src/openapi/validate_response.rs (lines 1-410)
(Introduced)
src/input/parameter.rs (lines 1-314)
(Introduced)
src/initial_corpus/dependency_graph/normalize.rs (lines 12-266)
(Introduced)
src/initial_corpus/mod.rs (lines 3-198)
(Introduced)
src/reporting/sqlite.rs (lines 1-176)
(Introduced)
src/monitors.rs (lines 4-187)
(Introduced)
src/authentication/mod.rs (lines 1-166)
(Introduced)
src/input/method.rs (lines 1-162)
(Introduced)
src/coverage_clients/coverband.rs (lines 4-133)
(Introduced)
src/main.rs (lines 19-129)
(Introduced)
src/authentication/verify_auth.rs (lines 1-122)
(Introduced)
src/parameter_feedback.rs (lines 1-123)
(Introduced)
src/openapi/mod.rs (lines 1-116)
(Introduced)
src/openapi_mutator/add_request.rs (lines 4-113)
(Introduced)
src/reproducer.rs (lines 1-108)
(Introduced)
src/openapi_mutator/different_method.rs (lines 4-111)
(Introduced)
src/reporting/mod.rs (lines 1-96)
(Introduced)
src/initial_corpus/dependency_graph/toposort.rs (lines 4-115)
(Introduced)
src/openapi_mutator/establish_link.rs (lines 4-98)
(Introduced)
src/coverage_clients/mod.rs (lines 6-98)
(Introduced)
src/coverage_clients/read_utilities.rs (lines 3-84)
(Introduced)
src/openapi/build_request.rs (lines 1-70)
(Introduced)
build.rs (lines 1-64)
(Introduced)
src/openapi_mutator/different_path.rs (lines 4-75)
(Introduced)
src/openapi_mutator/swap_requests.rs (lines 3-69)
(Introduced)
src/openapi_mutator/duplicate_request.rs (lines 3-64)
(Introduced)
src/input/serde_helpers.rs (lines 7-60)
(Introduced)
src/openapi/curl_request.rs (lines 1-53)
(Introduced)
src/openapi_mutator/remove_request.rs (lines 4-65)
(Introduced)
src/wuppie_version.rs (lines 1-46)
(Introduced)
src/openapi_mutator/break_link.rs (lines 5-58)
(Introduced)
src/authentication/custom.rs (lines 1-55)
(Introduced)
src/header.rs (lines 5-50)
(Introduced)
src/authentication/bearer.rs (lines 1-39)
(Introduced)
src/openapi_mutator/string_interesting.rs (lines 4-48)
(Introduced)
src/coverage_clients/dummy.rs (lines 3-49)
(Introduced)
WuppieFuzz/src/coverage_clients/lcov_client.rs (lines 171-193)
src/coverage_clients/lcov_client.rs (lines 171-193)
(Introduced)
src/authentication/oauth.rs (lines 1-27)
(Introduced)
src/debug_writer.rs (lines 5-35)
(Introduced)
WuppieFuzz/src/coverage_clients/lcov_client.rs (lines 63-91)
src/coverage_clients/lcov_client.rs (lines 63-91)
(Introduced)
WuppieFuzz/src/coverage_clients/lcov_client.rs (lines 26-46)
src/coverage_clients/lcov_client.rs (lines 26-46)
(Introduced)
WuppieFuzz/src/coverage_clients/lcov_client.rs (lines 130-142)
src/coverage_clients/lcov_client.rs (lines 130-142)
(Introduced)
WuppieFuzz/src/openapi_mutator/remove_request.rs (lines 4-14)
WuppieFuzz/src/openapi_mutator/swap_requests.rs (lines 3-13)
src/openapi_mutator/duplicate_request.rs (lines 3-13)
src/openapi_mutator/remove_request.rs (lines 4-14)
src/openapi_mutator/swap_requests.rs (lines 3-13)
(Introduced)
WuppieFuzz/src/coverage_clients/lcov_client.rs (lines 107-115)
src/coverage_clients/lcov_client.rs (lines 107-115)
(Introduced)
src/authentication/basic.rs (lines 1-14)
(Introduced)
WuppieFuzz/src/openapi_mutator/duplicate_request.rs (lines 3-10)
WuppieFuzz/src/openapi_mutator/remove_request.rs (lines 4-11)
WuppieFuzz/src/openapi_mutator/swap_requests.rs (lines 3-10)
src/openapi_mutator/break_link.rs (lines 5-12)
src/openapi_mutator/duplicate_request.rs (lines 3-10)
src/openapi_mutator/remove_request.rs (lines 4-11)
src/openapi_mutator/swap_requests.rs (lines 3-10)
(Introduced)
WuppieFuzz/src/openapi_mutator/different_method.rs (lines 11-17)
WuppieFuzz/src/openapi_mutator/different_path.rs (lines 5-11)
src/openapi_mutator/different_method.rs (lines 11-17)
src/openapi_mutator/different_path.rs (lines 5-11)
(Introduced)
WuppieFuzz/src/reporting/mod.rs (lines 59-64)
WuppieFuzz/src/reporting/sqlite.rs (lines 157-162)
src/reporting/sqlite.rs (lines 157-162)
(Introduced)
WuppieFuzz/src/coverage_clients/lcov_client.rs (lines 153-160)
src/coverage_clients/lcov_client.rs (lines 153-160)
(Introduced)
interesting_params_from_type(OpenAPI,Type)
(Introduced)
all_interesting_parameters(Operation,OpenAPI,&,any)
(Introduced)
interesting_params_from_schema(OpenAPI,RefOr,&,any)
(Introduced)
validate_object_against_type(OpenAPI,Type,Value)
(Introduced)
reproduce(Path)
(Introduced)
fuzz()
(Introduced)
verify_auth(OpenAPI)
(Introduced)
all_interesting_inputs_for_qualified_operation(OpenAPI,QualifiedOperation,&,any)
(Introduced)
all_discriminator_variants(OpenAPI,Schema,&,any)
(Introduced)
example_body_contents(OpenAPI,Operation)
(Introduced)
example_from_type(OpenAPI,Type)
(Introduced)
generate_coverage_report(Path)
(Introduced)
LcovCoverageClient.read_block()
(Introduced)
fix_broken_references(R)
(Introduced)
mutate_parameter_contents(ParameterContents,S,dyn,any)
(Introduced)
mutate_number(S,serde_json,Number)
(Introduced)
main()
(Introduced)
interesting_params_from_type(OpenAPI,Type)
(Introduced)
examples.rs
(Introduced)
fuzzer.rs
(Introduced)
EndpointCoverageClient.cover(Method,String,reqwest,any,String,String)
(Introduced)
example_parameter_value(OpenAPI,ParameterData)
(Introduced)
example_from_schema(OpenAPI,Schema)
(Introduced)
example_parameters(OpenAPI,Operation)
(Introduced)
get_default_headers()
(Introduced)
ValidationError.nested(str)
(Introduced)
fetch_coverage(bool)
(Introduced)
Reporting.report_request(OpenApiRequest,CurlRequest,usize)
(Introduced)
Reporting.report_response(Response,i64)
(Introduced)
LcovCoverageClient.set_cov_bit(Path,u32,u8)
(Introduced)
LcovCoverageClient.fetch_coverage_internal(bool)
(Introduced)
LcovCoverageClient.new(SocketAddr,Option)
(Introduced)
get_current_test_case_file_name()
(Introduced)
fix_input_parameters(S,usize,OpenApiRequest)
(Introduced)
Body.build(OpenAPI,Operation,Option)
(Introduced)
Input.generate_name(Option)
(Introduced)
add_references_to_openapi_input(DiGraph,NodeIndex,OpenApiInput)
(Introduced)
initial_corpus_from_api(OpenAPI)
(Introduced)
main()
(Introduced)
EndpointCoverageClient.cover(Method,String,reqwest,any,String,String)
(Introduced)
EndpointCoverageClient.new(OpenAPI)
(Introduced)
fill_corpus_from_file(InMemoryOnDiskCorpus,Path)
(Introduced)
CoverbandCoverageClient.process_coverage_bytes(Vec)
(Introduced)
get_wuppie_version()
(Introduced)
all_discriminator_variants(OpenAPI,Schema,&,any)
(Introduced)
all_interesting_parameters(Operation,OpenAPI,&,any)
(Introduced)
interesting_params_from_schema(OpenAPI,RefOr,&,any)
(Introduced)
get_default_headers()
(Introduced)
validate_object_against_type(OpenAPI,Type,Value)
(Introduced)
fetch_coverage(bool)
(Introduced)
reproduce(Path)
(Introduced)
build_request.rs
(Introduced)
verify_auth(OpenAPI)
(Introduced)
mod.rs
(Introduced)
toposort.rs
(Introduced)
example_from_media_type(OpenAPI,openapiv3,any)
(Introduced)
interesting_params_from_media_type(OpenAPI,openapiv3,any)
(Introduced)
all_interesting_inputs_for_qualified_operation(OpenAPI,QualifiedOperation,&,any)
(Introduced)
all_discriminator_variants(OpenAPI,Schema,&,any)
(Introduced)
enforce_length_bounds(str,Option,Option)
(Introduced)
all_interesting_parameters(Operation,OpenAPI,&,any)
(Introduced)
interesting_params_from_schema(OpenAPI,RefOr,&,any)
(Introduced)
validate_object_against_ref_or_schema(OpenAPI,ReferenceOr,Value)
(Introduced)
validate_object_against_type(OpenAPI,Type,Value)
(Introduced)
QualifiedOperation.new(a,any,a,any)
(Introduced)
Reporting.report_coverage(u64,u64,u64,u64)
(Introduced)
Reporting.report_request(OpenApiRequest,CurlRequest,usize)
(Introduced)
LcovCoverageClient.set_cov_bit(Path,u32,u8)
(Introduced)
Reporting.report_coverage(u64,u64,u64,u64)
(Introduced)
Reporting.report_request(OpenApiRequest,CurlRequest,usize)
(Introduced)
fix_input_parameters(S,usize,OpenApiRequest)
(Introduced)
Body.build(OpenAPI,Operation,Option)
(Introduced)
add_references_to_openapi_input(DiGraph,NodeIndex,OpenApiInput)
(Introduced)
mutate_parameter_contents(ParameterContents,S,dyn,any)
(Introduced)
mutate_string(S,dyn,any,String)
(Introduced)
mutate_number(S,serde_json,Number)
(Introduced)
mutate_leaf_value(S,dyn,any,SimpleValue)
(Introduced)
generate_corpus_to_files(OpenAPI,Path,Option)
(Introduced)
initialize_corpus(OpenAPI,Option,Option)
(Introduced)
fill_corpus_from_api(InMemoryOnDiskCorpus,OpenAPI,Option)
📚 Remaining technical debt
0 refactoring candidates didn't get better or worse, but are still present in the code you touched.
Sigrid ratings
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.