Skip to content

refactor

This check has been archived and is scheduled for deletion. Learn more about checks retention
codefactor.io / CodeFactor failed Jul 13, 2023 in 4s

25 issues found.

Annotations

Check notice on line 279 in flex/engines/hqps/engine/context.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/engines/hqps/engine/context.h#L279

Redundant blank line at the start of a code block should be deleted. (whitespace/blank_line)

Check notice on line 1095 in flex/engines/hqps/engine/base_engine.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/engines/hqps/engine/base_engine.h#L1019-L1095

Complex Method

Check notice on line 644 in flex/engines/hqps/database/grape_graph_interface.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/engines/hqps/database/grape_graph_interface.h#L583-L644

Complex Method

Check notice on line 520 in flex/codegen/src/hqps_generator.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/hqps_generator.h#L281-L520

Complex Method

Check notice on line 329 in flex/codegen/src/pegasus/pegasus_expr_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus/pegasus_expr_builder.h#L181-L329

Complex Method

Check notice on line 577 in flex/codegen/src/pegasus/pegasus_expr_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus/pegasus_expr_builder.h#L494-L577

Complex Method

Check notice on line 474 in flex/tests/hqps/context_test.cc

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/tests/hqps/context_test.cc#L83-L474

Complex Method

Check notice on line 319 in flex/codegen/src/pegasus/pegasus_get_v_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus/pegasus_get_v_builder.h#L110-L319

Complex Method

Check notice on line 225 in flex/codegen/src/hqps/hqps_edge_expand_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/hqps/hqps_edge_expand_builder.h#L66-L225

Complex Method

Check notice on line 302 in flex/codegen/src/pegasus/pegasus_group_by_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus/pegasus_group_by_builder.h#L200-L302

Complex Method

Check notice on line 370 in flex/codegen/src/pegasus_generator.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus_generator.h#L168-L370

Complex Method

Check notice on line 250 in flex/codegen/src/pegasus/pegasus_edge_expand_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus/pegasus_edge_expand_builder.h#L116-L250

Complex Method

Check notice on line 232 in flex/codegen/src/pegasus/pegasus_path_expand_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus/pegasus_path_expand_builder.h#L118-L232

Complex Method

Check notice on line 292 in flex/codegen/src/hqps/hqps_project_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/hqps/hqps_project_builder.h#L187-L292

Complex Method

Check notice on line 128 in flex/codegen/src/pegasus/pegasus_project_builder.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pegasus/pegasus_project_builder.h#L34-L128

Complex Method

Check warning on line 121 in flex/bin/load_plan_and_gen.sh

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/bin/load_plan_and_gen.sh#L121

Quotes/backslashes in this variable will not be respected. (SC2090)

Check warning on line 334 in flex/bin/load_plan_and_gen.sh

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/bin/load_plan_and_gen.sh#L334

The surrounding quotes actually unquote this. Remove or escape them. (SC2027)

Check notice on line 241 in flex/bin/load_plan_and_gen.sh

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/bin/load_plan_and_gen.sh#L241

Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (SC2181)

Check notice on line 129 in flex/codegen/src/pb_parser/query_params_parser.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/codegen/src/pb_parser/query_params_parser.h#L79-L129

Complex Method

Check notice on line 40 in flex/bin/sync_server.cc

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/bin/sync_server.cc#L40

Use of strtrns (CWE-120, CWE-785) (flawfinder7-realpath)

Check notice on line 236 in flex/bin/sync_server.cc

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/bin/sync_server.cc#L82-L236

Complex Method

Check warning on line 83 in flex/engines/http_server/codegen_proxy.h

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/engines/http_server/codegen_proxy.h#L83

Possible OS Command Injection (CWE-78) (flawfinder7-execl)

Check warning on line 75 in .github/workflows/flex.yml

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

.github/workflows/flex.yml#L75

Trailing spaces (trailing-spaces)

Check notice on line 368 in flex/bin/load_plan_and_gen.sh

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/bin/load_plan_and_gen.sh#L368

Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (SC2181)

Check warning on line 125 in flex/bin/load_plan_and_gen.sh

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

flex/bin/load_plan_and_gen.sh#L125

Quotes/backslashes will be treated literally. Use an array. (SC2089)