Drupal code standard suggests:
485 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_access" but expected "bat_unit_bat_type_access"
492 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_access_filter" but expected "bat_unit_bat_type_access_filter"
511 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bundle_access" but expected "bat_unit_bat_type_bundle_access"
518 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bat_entity_access_view_condition_bat_type_alter" but expected
| | "bat_unit_bat_type_bat_entity_access_view_condition_bat_type_alter"
566 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
571 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bundles_ids" but expected "bat_unit_bat_type_bundles_ids"
592 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bundle_load" but expected "bat_unit_bat_type_bundle_load"
613 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_load" but expected "bat_unit_bat_type_load"
636 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_load_multiple" but expected "bat_unit_bat_type_load_multiple"
636 | ERROR | [ ] Type hint "array" missing for $type_ids
636 | ERROR | [ ] Type hint "array" missing for $conditions
662 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_delete" but expected "bat_unit_bat_type_delete"
672 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_delete_multiple" but expected "bat_unit_bat_type_delete_multiple"
686 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_create" but expected "bat_unit_bat_type_create"
686 | ERROR | [ ] Type hint "array" missing for $values
696 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_save" but expected "bat_unit_bat_type_save"
706 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bundle_create" but expected "bat_unit_bat_type_bundle_create"
706 | ERROR | [ ] Type hint "array" missing for $values
716 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bundle_save" but expected "bat_unit_bat_type_bundle_save"
723 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bundle_delete" but expected "bat_unit_bat_type_bundle_delete"
730 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_uri" but expected "bat_unit_bat_type_uri"
739 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_ids" but expected "bat_unit_bat_type_ids"
763 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "bat_type_bundle_ids" but expected "bat_unit_bat_type_bundle_ids"
Currently renaming for next release...
Fixed
1.0
Code