{'fraction_non_alphanumeric': 0.023529411764705882, 'fraction_numerical': 0.0, 'mean_word_length': 5.038709677419355, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A product-line approach to database reporting

Reporting for analysis is a common demand to database programmers. Unlike dynamic data analysis, reporting tend to be foreseeable. Despite this fact, staff waste their time programming similar reports time and again, where reports are often built from scratch with little if any reuse at all. Based on the predictability and similarity among reports, this work presents a product-line approach to database reporting. The feature model, core assets and production plan of the product line are sketched, and the architecture discussed. The work was conducted under a main requirement: data warehouse technology was not available. Either the cost or the lack of appropriate staff makes small-and-medium companies reluctant to use these sophisticated tools while simple reporting is all they need. In this scenario, the product-line approach can be a cost-effective solution to achieve reuse.