Final answer:
Metrics can be computed on databases, variables, and functions, as they have characteristics that can change and be measured. Constants, while they can technically have metrics like usage counts, are the least likely to have meaningful or variable metrics because they are unchanging values.
Step-by-step explanation:
Metrics and checks are methods used to evaluate the characteristics of various elements within programming and software development. When it comes to determining where metrics cannot be computed, we need to understand the nature of the elements in question.
- Databases often have metrics that can be computed, such as query performance, index usage, and storage efficiency.
- Variables can be measured in terms of usage, scope, and other dynamics.
- Constants, while unchanging values, can technically have metrics related to their occurrences or usage in a codebase.
- Functions often have numerous metrics, including complexity, number of arguments, and performance benchmarks.
Based on this information, it's not entirely accurate to claim that metrics cannot be computed on any of these objects. However, if we're to choose the object least likely to have meaningful or variable metrics, it would be constants, since their unchanging nature implies a limited set of measurements other than mere existence or usage counts.