In this study, we discuss tradeoffs for the software architecture of object-based systems such as Ada83. External and internal complexities are specified for Ada packages and these complexities are related to the numbers of defects uncovered during testing using non-linear ordinal response models. The non-linear relationships among the software measures are exploited to identify optimal relationships between context coupling and the number of visible declarations in Ada packages.