2 research outputs found

    DroidbotX: Test Case Generation Tool for Android Applications Using Q-Learning

    No full text
    Android applications provide benefits to mobile phone users by offering operative functionalities and interactive user interfaces. However, application crashes give users an unsatisfactory experience, and negatively impact the application’s overall rating. Android application crashes can be avoided through intensive and extensive testing. In the related literature, the graphical user interface (GUI) test generation tools focus on generating tests and exploring application functions using different approaches. Such tools must choose not only which user interface element to interact with, but also which type of action to be performed, in order to increase the percentage of code coverage and to detect faults with a limited time budget. However, a common limitation in the tools is the low code coverage because of their inability to find the right combination of actions that can drive the application into new and important states. A Q-Learning-based test coverage approach developed in DroidbotX was proposed to generate GUI test cases for Android applications to maximize instruction coverage, method coverage, and activity coverage. The overall performance of the proposed solution was compared to five state-of-the-art test generation tools on 30 Android applications. The DroidbotX test coverage approach achieved 51.5% accuracy for instruction coverage, 57% for method coverage, and 86.5% for activity coverage. It triggered 18 crashes within the time limit and shortest event sequence length compared to the other tools. The results demonstrated that the adaptation of Q-Learning with upper confidence bound (UCB) exploration outperforms other existing state-of-the-art solutions

    Timing of Cholecystectomy After Moderate and Severe Acute Biliary Pancreatitis

    No full text
    IMPORTANCE Considering the lack of equipoise regarding the timing of cholecystectomy in patients with moderately severe and severe acute biliary pancreatitis (ABP), it is critical to assess this issue.OBJECTIVE To assess the outcomes of early cholecystectomy (EC) in patients with moderately severe and severe ABP.DESIGN, SETTINGS, AND PARTICIPANTS This cohort study retrospectively analyzed real-life data from the MANCTRA-1 (Compliance With Evidence-Based Clinical Guidelines in the Management of Acute Biliary Pancreatitis) data set, assessing 5304 consecutive patients hospitalized between January 1, 2019, and December 31, 2020, for ABP from 42 countries. A total of 3696 patients who were hospitalized for ABP and underwent cholecystectomy were included in the analysis; of these, 1202 underwent EC, defined as a cholecystectomy performed within 14 days of admission. Univariable and multivariable logistic regression models were used to identify prognostic factors of mortality and morbidity. Data analysis was performed from January to February 2023.MAIN OUTCOMES Mortality and morbidity after EC.RESULTS Of the 3696 patients (mean [SD] age, 58.5 [17.8] years; 1907 [51.5%] female) included in the analysis, 1202 (32.5%) underwent EC and 2494 (67.5%) underwent delayed cholecystectomy (DC). Overall, EC presented an increased risk of postoperative mortality (1.4% vs 0.1%, P <.001) and morbidity (7.7% vs 3.7%, P < .001) compared with DC. On the multivariable analysis, moderately severe and severe ABP were associated with increased mortality (odds ratio [OR], 361.46; 95% CI, 2.28-57 212.31; P = .02) and morbidity (OR, 2.64; 95% CI, 1.35-5.19; P = .005). In patients with moderately severe and severe ABP (n = 108), EC was associated with an increased risk of mortality (16 [15.6%] vs 0 [0%], P < .001), morbidity (30 [30.3%] vs 57 [5.5%], P < .001), bile leakage (2 [2.4%] vs 4 [0.4%], P = .02), and infections (12 [14.6%] vs 4 [0.4%], P < .001) compared with patients with mild ABP who underwent EC. In patients with moderately severe and severe ABP (n = 108), EC was associated with higher mortality (16 [15.6%] vs 2 [1.2%], P < .001), morbidity (30 [30.3%] vs 17 [10.3%], P < .001), and infections (12 [14.6%] vs 2 [1.3%], P < .001) compared with patients with moderately severe and severe ABP who underwent DC. On the multivariable analysis, the patient's age (OR, 1.12; 95% CI, 1.02-1.36; P = .03) and American Society of Anesthesiologists score (OR, 5.91; 95% CI, 1.06-32.78; P = .04) were associated with mortality; severe complications of ABP were associated with increased mortality (OR, 50.04; 95% CI, 2.37-1058.01; P = .01) and morbidity (OR, 33.64; 95% CI, 3.19-354.73; P = .003).CONCLUSIONS AND RELEVANCE This cohort study's findings suggest that EC should be considered carefully in patients with moderately severe and severe ABP, as it was associated with increased postoperative mortality and morbidity. However, older and more fragile patients manifesting severe complications related to ABP should most likely not be considered for EC
    corecore