Target oracle

Function name Project Language Reason Coverage link
njs_read_file njs c++ heuristic 1 coverage link
njs_parser_serialize_node njs c++ heuristic 1 coverage link
njs_parser_export njs c++ heuristic 1 coverage link
njs_parser_import njs c++ heuristic 1 coverage link
njs_parser_call_expression njs c++ heuristic 1 coverage link
test_parse_dwarf_types radare2 c++ heuristic 1 coverage link
test_r_buf_new_sparse radare2 c++ heuristic 1 coverage link
test_r_buf_sparse radare2 c++ heuristic 1 coverage link
test_r_buf_sparse2 radare2 c++ heuristic 1 coverage link
ar_parse_header radare2 c++ heuristic 1 coverage link
absl::safe_parse_sign_and_base abseil-cpp c++ heuristic 1 coverage link
absl::strings_internal::ParseFloat abseil-cpp c++ heuristic 1 coverage link
absl::ParseDuration abseil-cpp c++ heuristic 1 coverage link
BM_Duration_ParseDuration abseil-cpp c++ heuristic 1 coverage link
simplecpp::TokenList::readfile(simplecpp::TokenList::Stream&,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,std::__1::list<simplecpp::Output,std::__1::allocator<simplecpp::Output>>*) cppcheck c++ heuristic 1 coverage link
tinyxml2::XMLText::ParseDeep(char*,tinyxml2::StrPair*,int*) cppcheck c++ heuristic 1 coverage link
tinyxml2::XMLNode::ParseDeep(char*,tinyxml2::StrPair*,int*) cppcheck c++ heuristic 1 coverage link
tinyxml2::XMLElement::ParseDeep(char*,tinyxml2::StrPair*,int*) cppcheck c++ heuristic 1 coverage link
tinyxml2::XMLElement::ParseAttributes(char*,int*) cppcheck c++ heuristic 1 coverage link
parse_config_descriptors libusb c++ heuristic 1 coverage link
parse_iad_array libusb c++ heuristic 1 coverage link
parse_endpoint libusb c++ heuristic 1 coverage link
parse_interface libusb c++ heuristic 1 coverage link
parse_configuration libusb c++ heuristic 1 coverage link
ixmlParseBuffer pupnp c heuristic 1 coverage link
ixmlParseBufferEx pupnp c heuristic 1 coverage link
Parser_xmlNamespace pupnp c heuristic 1 coverage link
Parser_UTF8ToInt pupnp c heuristic 1 coverage link
Parser_getChar pupnp c heuristic 1 coverage link
H5F__cache_drvrinfo_deserialize hdf5 c heuristic 1 coverage link
H5F__cache_superblock_deserialize hdf5 c heuristic 1 coverage link
H5FD__onion_parse_config_str hdf5 c heuristic 1 coverage link
H5HL__fl_deserialize hdf5 c heuristic 1 coverage link
H5HL__hdr_deserialize hdf5 c heuristic 1 coverage link
yyparse gdbm c heuristic 1 coverage link
gdbm_file_read gdbm c heuristic 1 coverage link
numa_parse_cpustring_all numactl c heuristic 1 coverage link
__numa_parse_cpustring numactl c heuristic 1 coverage link
numa_parse_cpustring numactl c heuristic 1 coverage link
numa_parse_nodestring_all numactl c heuristic 1 coverage link
__numa_parse_nodestring numactl c heuristic 1 coverage link
zstd_wrap_decompress c-blosc2 c++ heuristic 1 coverage link
zlib_wrap_decompress c-blosc2 c++ heuristic 1 coverage link
lz4_wrap_decompress c-blosc2 c++ heuristic 1 coverage link
initialize_context_decompression c-blosc2 c++ heuristic 1 coverage link
lz4_wrap_compress c-blosc2 c++ heuristic 1 coverage link
voidfmt::v11::detail::parse_format_string<char,fmt::v11::detail::format_string_checker<char,3,0,false>>(fmt::v11::basic_string_view<char>,fmt::v11::detail::format_string_checker<char,3,0,false>&&) spdlog c++ heuristic 1 coverage link
voidfmt::v11::detail::parse_format_string<char,fmt::v11::detail::format_handler<char>>(fmt::v11::basic_string_view<char>,fmt::v11::detail::format_handler<char>&&) spdlog c++ heuristic 1 coverage link
charconst*fmt::v11::detail::parse_arg_id<char,fmt::v11::detail::parse_replacement_field<char,fmt::v11::detail::format_handler<char>&>(charconst*,charconst*,fmt::v11::detail::format_handler<char>&)::id_adapter&>(charconst*,charconst*,fmt::v11::detail::format_handler<char>&) spdlog c++ heuristic 1 coverage link
charconst*fmt::v11::detail::parse_format_specs<char>(charconst*,charconst*,fmt::v11::detail::dynamic_format_specs<char>&,fmt::v11::parse_context<char>&,fmt::v11::detail::type) spdlog c++ heuristic 1 coverage link
charconst*fmt::v11::detail::parse_width<char>(charconst*,charconst*,fmt::v11::format_specs&,fmt::v11::detail::arg_ref<char>&,fmt::v11::parse_context<char>&) spdlog c++ heuristic 1 coverage link
ot::Mac::Mac::PrepareBeaconRequest() openthread c++ heuristic 1 coverage link
ot::Mac::Mac::RequestDataPollTransmission() openthread c++ heuristic 1 coverage link
ot::Mac::Mac::RequestIndirectFrameTransmission() openthread c++ heuristic 1 coverage link
ot::Mac::Mac::RequestDirectFrameTransmission() openthread c++ heuristic 1 coverage link
ot::Mac::Frame::IsDataRequestCommand()const openthread c++ heuristic 1 coverage link
garrow_scalar_parse arrow c++ heuristic 1 coverage link
garrow_sparse_union_scalar_new arrow c++ heuristic 1 coverage link
garrow_sparse_union_array_new_internal arrow c++ heuristic 1 coverage link
garrow_sparse_union_array_new arrow c++ heuristic 1 coverage link
garrow_sparse_union_array_new_data_type arrow c++ heuristic 1 coverage link
config_request lwan c++ heuristic 1 coverage link
arr_parse lwan c++ heuristic 1 coverage link
obj_parse lwan c++ heuristic 1 coverage link
json_obj_parse lwan c++ heuristic 1 coverage link
forth_parse_string lwan c++ heuristic 1 coverage link
lws_parse libwebsockets c heuristic 1 coverage link
lws_parse_urldecode libwebsockets c heuristic 1 coverage link
lws_h2_parser libwebsockets c heuristic 1 coverage link
lws_h2_parse_end_of_frame libwebsockets c heuristic 1 coverage link
lws_h2_parse_frame_header libwebsockets c heuristic 1 coverage link
_GLOBAL__sub_I_LinkLayerParser.cpp opendnp3 c++ heuristic 1 coverage link
opendnp3::LinkLayerParser::ValidateFunctionCode() opendnp3 c++ heuristic 1 coverage link
opendnp3::LinkLayerParser::ValidateHeaderParameters() opendnp3 c++ heuristic 1 coverage link
opendnp3::LinkLayerParser::ValidateBody() opendnp3 c++ heuristic 1 coverage link
opendnp3::LinkLayerParser::ReadHeader() opendnp3 c++ heuristic 1 coverage link
sentencepiece::SentencePieceProcessor::ParseExtraOptions(std::__1::basic_string_view<char,std::__1::char_traits<char>>,std::__1::vector<sentencepiece::SentencePieceProcessor::ExtraOption,std::__1::allocator<sentencepiece::SentencePieceProcessor::ExtraOption>>*)const sentencepiece c++ heuristic 1 coverage link
absl::ParseCommandLine(int,char**) sentencepiece c++ heuristic 1 coverage link
boolgoogle::protobuf::MessageLite::ParseFrom<(google::protobuf::MessageLite::ParseFlags)0,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>>(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&) sentencepiece c++ heuristic 1 coverage link
boolgoogle::protobuf::internal::MergeFromImpl<false>(google::protobuf::StringPiece,google::protobuf::MessageLite*,google::protobuf::MessageLite::ParseFlags) sentencepiece c++ heuristic 1 coverage link
google::protobuf::(anonymousnamespace)::CheckFieldPresence(google::protobuf::internal::ParseContextconst&,google::protobuf::MessageLiteconst&,google::protobuf::MessageLite::ParseFlags) sentencepiece c++ heuristic 1 coverage link
voidsnappy::SnappyDecompressor::DecompressAllTags<snappy::SnappyScatteredWriter<snappy::SnappySinkAllocator>>(snappy::SnappyScatteredWriter<snappy::SnappySinkAllocator>*) snappy c++ heuristic 1 coverage link
snappy::SnappyDecompressor::RefillTag() snappy c++ heuristic 1 coverage link
std::__1::pair<unsignedcharconst*,long>snappy::DecompressBranchless<char*>(unsignedcharconst*,unsignedcharconst*,long,char*,long) snappy c++ heuristic 1 coverage link
voidsnappy::SnappyDecompressor::DecompressAllTags<snappy::SnappyArrayWriter>(snappy::SnappyArrayWriter*) snappy c++ heuristic 1 coverage link
std::__1::pair<unsignedcharconst*,long>snappy::DecompressBranchless<unsignedlong>(unsignedcharconst*,unsignedcharconst*,long,unsignedlong,long) snappy c++ heuristic 1 coverage link
nl::wpantund::SpinelNCPTaskGetNetworkTopology::parse_child_table(unsignedcharconst*,unsignedint,std::__1::list<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry,std::__1::allocator<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry>>&) wpantund c++ heuristic 1 coverage link
nl::wpantund::SpinelNCPTaskGetNetworkTopology::parse_child_addresses_table(unsignedcharconst*,unsignedint,std::__1::list<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry,std::__1::allocator<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry>>&) wpantund c++ heuristic 1 coverage link
nl::wpantund::SpinelNCPTaskGetNetworkTopology::parse_neighbor_table(unsignedcharconst*,unsignedint,std::__1::list<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry,std::__1::allocator<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry>>&) wpantund c++ heuristic 1 coverage link
nl::wpantund::SpinelNCPTaskGetNetworkTopology::parse_router_table(unsignedcharconst*,unsignedint,std::__1::list<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry,std::__1::allocator<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry>>&) wpantund c++ heuristic 1 coverage link
nl::wpantund::SpinelNCPTaskGetNetworkTopology::parse_table(nl::wpantund::SpinelNCPTaskGetNetworkTopology::Type,unsignedcharconst*,unsignedint,std::__1::list<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry,std::__1::allocator<nl::wpantund::SpinelNCPTaskGetNetworkTopology::TableEntry>>&) wpantund c++ heuristic 1 coverage link
BAG::getCompressionLevel(H5::H5Fileconst&,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&) opennavsurf-bag c++ heuristic 1 coverage link
google_protobuf_DescriptorProto_parse nginx c heuristic 1 coverage link
google_protobuf_DescriptorProto_parse_ex nginx c heuristic 1 coverage link
google_protobuf_MessageOptions_parse_ex nginx c heuristic 1 coverage link
google_protobuf_MessageOptions_parse nginx c heuristic 1 coverage link
google_protobuf_ExtensionRangeOptions_parse nginx c heuristic 1 coverage link
config_parse_sleep_mode systemd c++ heuristic 1 coverage link
parse_sleep_config systemd c++ heuristic 1 coverage link
parse_env_extension_hierarchies systemd c++ heuristic 1 coverage link
parse_package_metadata systemd c++ heuristic 1 coverage link
parse_core systemd c++ heuristic 1 coverage link
test_ostree_parse_delta_name ostree c heuristic 1 coverage link
test_parse_tristate ostree c heuristic 1 coverage link
helper_test_compress_decompress ostree c heuristic 1 coverage link
test_repo_finder_avahi_txt_records_parse ostree c heuristic 1 coverage link
test_ot_parse_boolean ostree c heuristic 1 coverage link
fast_float::parse_mantissa glaze c++ heuristic 1 coverage link
glz::detail::parse_int glaze c++ heuristic 1 coverage link
glz::detail::parse_value glaze c++ heuristic 1 coverage link
glz::detail::parse_and_invoke glaze c++ heuristic 1 coverage link
glz::detail::read_json_visitor glaze c++ heuristic 1 coverage link
crypt_keyfile_read cryptsetup c heuristic 1 coverage link
crypt_parse_name_and_mode cryptsetup c heuristic 1 coverage link
LOOPAES_parse_keyfile cryptsetup c heuristic 1 coverage link
parse_json_len cryptsetup c heuristic 1 coverage link
parse_and_validate_json cryptsetup c heuristic 1 coverage link
test_time_parse knot-dns c++ heuristic 1 coverage link
parser_test knot-dns c++ heuristic 1 coverage link
deserialize_rrset knot-dns c++ heuristic 1 coverage link
request_ensure_connected knot-dns c++ heuristic 1 coverage link
request_send knot-dns c++ heuristic 1 coverage link
dwarf_dealloc_uncompressed_block libdwarf c heuristic 1 coverage link
dwarf_uncompress_integer_block_a libdwarf c heuristic 1 coverage link
Lzma2Dec_Parse lzma c++ heuristic 1 coverage link
Xz_CompressBlock lzma c++ heuristic 1 coverage link
json_tokener_parse_ex json-c c++ heuristic 1 coverage link
json_tokener_parse_verbose json-c c++ heuristic 1 coverage link
json_tokener_parse json-c c++ heuristic 1 coverage link
wxAppConsoleBase::OnCmdLineError(wxCmdLineParser&) wxwidgets c++ heuristic 1 coverage link
wxAppConsoleBase::OnCmdLineHelp(wxCmdLineParser&) wxwidgets c++ heuristic 1 coverage link
wxAppConsoleBase::OnCmdLineParsed(wxCmdLineParser&) wxwidgets c++ heuristic 1 coverage link
wxAppConsoleBase::OnInitCmdLine(wxCmdLineParser&) wxwidgets c++ heuristic 1 coverage link
wxCmdLineParser::wxCmdLineParser(int,wxCmdLineArgsArrayconst&) wxwidgets c++ heuristic 1 coverage link
rawspeed::Camera::parseCameraChild librawspeed c++ heuristic 1 coverage link
rawspeed::LJpegDecompressor::LJpegDecompressor librawspeed c++ heuristic 1 coverage link
rawspeed::fuji_compressed_block::xtrans_decode_block librawspeed c++ heuristic 1 coverage link
rawspeed::fuji_compressed_block::fuji_decode_strip librawspeed c++ heuristic 1 coverage link
rawspeed::VC5Decompressor::VC5Decompressor librawspeed c++ heuristic 1 coverage link
parse_line cpuinfo c heuristic 1 coverage link
cpuinfo_x86_linux_parse_proc_cpuinfo cpuinfo c heuristic 1 coverage link
uint32_parser cpuinfo c heuristic 1 coverage link
cpuinfo_linux_parse_small_file cpuinfo c heuristic 1 coverage link
cpuinfo_linux_parse_cpulist cpuinfo c heuristic 1 coverage link
FLACParser::init() flac c++ heuristic 1 coverage link
FLACParser::decodeMetadata() flac c++ heuristic 1 coverage link
FLACParser::readBuffer(void*,unsignedlong) flac c++ heuristic 1 coverage link
FLACParser::~FLACParser() flac c++ heuristic 1 coverage link
FLACParser::metadata_callback(FLAC__StreamDecoderconst*,FLAC__StreamMetadataconst*,void*) flac c++ heuristic 1 coverage link
parse_user_name gss-ntlmssp c heuristic 1 coverage link
parse_markers jpegoptim c heuristic 1 coverage link
parse_arguments jpegoptim c heuristic 1 coverage link

Heuristics

Heuristic 1

This is the heuristic highlights functions that has all of the following attributes:

  • - Has "parse" in its function name.
  • - Has zero percentage code coverage.
  • - Has accumulated cyclomatic complexity larger than 200.
  • - Is in a project written in C or C++.

Heuristic 2

This is the heuristic highlights functions that has all of the following attributes:

  • - Has two arguments.
  • - First argument has type "char *".
  • - Second argument has type "int".
  • - Has accumulated cyclomatic complexity larger than 150