Application program testing device, application program testing program, and application program testing method

The application program inspection device addresses compatibility issues in Flutter apps by monitoring and displaying error statuses, ensuring accurate assessment of application usability on computer devices.

JP2026011341AActive Publication Date: 2026-01-23TOSHIBA INFORMATION SYSTEMS (JAPAN) CORPORATION
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024111848
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2026-01-23
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

Existing application programs developed using Flutter packages face compatibility issues due to device differences and updates, leading to errors during execution on resource-constrained devices, making it difficult to determine their usability until actual device testing.

Method used

An application program inspection device and method that includes error occurrence status detection and display control to monitor and display the execution status of application programs composed of multiple packages, determining their usability on computer devices.

Benefits of technology

Enables accurate determination of a developed application's usability by identifying and displaying error occurrences for each package and method, facilitating informed decision-making on device compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026011341000001_ABST
    Figure 2026011341000001_ABST
Patent Text Reader

Abstract

To discriminate whether or not an application program constituted of a plurality of developed packages can be used by computer equipment.SOLUTION: The apparatus includes a storage unit 33 that stores the developed application program, an error occurrence state detection unit 31 that monitors an execution state when the application program is executed in the computer device and detects an error occurrence state, and a display control unit 32 that converts information on the error occurrence state detected by the error occurrence state detection unit into display information on whether the application program is usable by the computer device and causes a display unit to display the display information.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an application program inspection device, an application program inspection program, and an application program inspection method. [Background technology]

[0002] This invention is a multi-platform library used for developing application programs (hereinafter also referred to as apps), and it checks whether an application program developed using Flutter, for example, which is composed of multiple packages, can be used.

[0003] In the case of the developed program mentioned above, although the package is available in the documentation, there are cases where an error occurs when the app is executed. This occurs because the package is not compatible with the differences between devices and updates.

[0004] Therefore, it was not possible to know whether the developed application could actually be used until it was tested on the computer equipment (actual device).

[0005] Patent document 1 states that because executing these program modules on resource-constrained devices can result in erroneous results, there is a need in the prior art for a language subset validation method and apparatus that facilitates correct execution of applications on resource-constrained devices.

[0006] Patent Document 1 discloses a language subset validation method as follows: That is, the language subset validation method includes a step of validating a number of program modules constituting a program. Each program module includes a number of bytecodes defined in a first computer language, the first computer language being a hardware-dependent subset of a second computer language. The validation step includes indicating an error state for each item in the number of program modules that is not defined in the first computer language, indicating an error state for each item in the number of program modules that is not supported by an execution environment for the first computer language, and indicating an error state for each item in a plurality of program modules that is defined in the first computer language but is used in a manner inconsistent with the first computer language. The language subset validation device includes at least one memory having program instructions and at least one processor configured to validate the number of program modules that together form the program using the program instructions.

[0007] The processor is further configured to use the program instructions to indicate an error condition for each item in the multiple program modules that is not defined as the first computer language, to indicate an error condition for each item in the multiple program modules that is not supported by an execution environment for the first computer language, and to indicate an error condition for each item in the multiple program modules that is defined as the first computer language but is used in a manner inconsistent with the first computer language.

[0008] Patent Document 2 generally discloses technology relating to an automatic testing system for a computer system. The invention of Patent Document 2 provides an improved system for performing automatic testing of computer software, including regression testing. According to the present invention, the automatic testing system for computer software includes an interface device for communicating with a computer system under test, a memory device for storing inputs to be supplied to the computer system under test via the interface device and for storing expected outputs to be received from the system under test via the interface device in response to these inputs, and a comparison device for indicating the difference between the expected output and the actual output, and the interface device has a device for sampling the contents of a frame buffer of the system under test.

[0009] Furthermore, the invention of Patent Document 2 provides an automatic testing system for computer software, which includes an interface device that communicates with a computer system to be tested, a memory device that stores inputs to be supplied to the system to be tested via the interface device and stores expected inputs to be received from the system to be tested via the interface device in response to these inputs, and a comparison device that indicates the difference between these expected outputs and actual outputs. [Prior art documents] [Patent documents]

[0010] [Patent Document 1] Special Publication No. 2003-515857 [Patent Document 2] Japanese Patent Application Publication No. 06-139101 Summary of the Invention [Problem to be solved by the invention]

[0011] An object of the embodiment of the present invention is to make it possible to determine whether a developed application program composed of multiple packages can be used by a computer device. [Means for solving the problem]

[0012] An application program inspection device according to an embodiment of the present invention is an application program inspection device that inspects whether a developed application program consisting of a plurality of packages can be used by a computer device, and is characterized by comprising: a storage means in which the developed application program is stored; an error occurrence status detection means that monitors the execution status when the application program is executed on the computer device and detects an error occurrence status; and a display control means that converts information on the error occurrence status detected by the error occurrence status detection means into display information regarding whether the developed application program can be used by the computer device, and displays the information on a display means.

[0013] The application program inspection program according to an embodiment of the present invention is characterized in that it functions as an error occurrence status detection means that monitors the execution status of the developed application program stored in a storage means provided in the application program inspection device when the developed application program is executed on the computer equipment, and detects an error occurrence status, and as a display control means that converts the information on the error occurrence status detected by the error occurrence status detection means into display information regarding whether the developed application program can be used by the computer equipment, and displays the information on the display means, based on the information on the error occurrence status.

[0014] An application program inspection method according to an embodiment of the present invention is an application program inspection method for inspecting whether a developed application program consisting of a plurality of packages can be used by a computer device, and is characterized by comprising an error occurrence status detection step for monitoring the execution status of the developed application program stored in a storage means provided in the application program inspection device when the developed application program is executed on the computer device and detecting an error occurrence status, and a display control step for converting the information on the error occurrence status detected by the error occurrence status detection step into display information regarding whether the developed application program can be used by the computer device and displaying the information on the display means. [Brief explanation of the drawings]

[0015] [Figure 1] FIG. 1 is a block diagram of an application program inspection device according to an embodiment of the present invention, which is configured using a computer. [Figure 2] FIG. 1 is a functional block diagram of an application program inspection device according to an embodiment of the present invention. [Figure 3] FIG. 2 is a diagram showing a start screen of an application program inspection device according to an embodiment of the present invention. [Figure 4] 4 is a flowchart showing the operation of the application program inspection device according to the embodiment of the present invention. [Figure 5] FIG. 10 is a diagram showing an example of a screen displaying inspection results for a package by the inspection device for an application program according to the embodiment of the present invention. [Figure 6] FIG. 10 is a diagram showing an example of a screen displaying inspection results for methods that constitute a package, by an inspection device for an application program according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0016] An application program inspection device, an application program inspection program, and an application program inspection method according to an embodiment of the present invention will be described below with reference to the accompanying drawings. In each drawing, the same components are designated by the same reference numerals, and duplicated explanations will be omitted.

[0017] An application program inspection device according to an embodiment of the present invention can be configured using a computer, such as a mobile phone, smartphone, or personal digital assistant, as shown in Fig. 1. That is, a CPU 10 configures an electronic device evaluation system using programs and data in a main memory 11. An external storage interface 13, an input interface 14, a display interface 15, a network interface 16, and an input / output interface 17 are connected to the CPU 10 via a bus 12.

[0018] An external storage device 23 is connected to the external storage interface 13. The external storage device 23 stores programs and data for the operation of this system, which the CPU 10 can read and use as needed into the main memory 11. For this reason, the external storage device 23 stores programs for implementing the error occurrence status detection means 31 and display control means 32 shown in FIG. 2. An input device 24, such as a keyboard or touch panel, is connected to the input interface 14. A display device 25, which is a display means having a screen such as an LCD, is connected to the display interface 15. A network 26 is connected to the network interface 16, and signals obtained from the network 26 are input by the network interface 16 to the required components, such as the CPU 10 and the display interface 15. The CPU 10 can also send information and data to required parties on the network 26 via the network interface 16. A camera 27 is connected to the input / output interface 17, and the CPU 10 can send required control commands, such as on / off commands, to the camera 27 via the input / output interface 17. In addition, image data obtained by the camera 27 can be stored in the external storage device 23 via the external storage interface 13 under the control of the CPU 10, and can be sent to the desired party on the network 26 via the network interface 16.

[0019] The external storage device 23 is provided with a storage means 33 in which the developed application program is stored. The error occurrence status detection means 31 and display control means 32 provided in the external storage device 23 are realized by installing and starting an application program inspection program according to the embodiment of the present invention.

[0020] In the application program inspection device of this embodiment, error occurrence status detection means 31 monitors the execution status when a developed application program consisting of multiple packages is executed on a computer device, and detects an error occurrence status. In this case, based on the information on the error occurrence status detected by this error occurrence status detection means, display control means 32 converts the information into display information regarding whether the application program can be used by the computer device, and displays it on display device 25, which is display means.

[0021] The developed application program stored in the storage means 33 of the external storage device 23 is composed of multiple packages, and in this case, it consists of eight types: "camera", "image_picker", "speech_to_text", "network_info_plus", "geolocator", "device_info_plus", "local_auth", and "flutter_local_notification".

[0022] The functions of the eight packages are: "camera" for camera, "image_picker" for photos, "speech_to_text" for microphone, "network_info_plus" for network (Wi-Fi) information, "geolocator" for location information, "device_info_plus" for device information, "local_auth" for biometric information, and "flutter_local_notification" for notifications. These are summarized in Table 1 below. [Table 1]

[0023] As the developed application program is composed of a plurality of packages as described above, the error occurrence status detection means 31 monitors the execution status when the application program is executed for each of the plurality of packages on the computer equipment, and detects the error occurrence status for each package. Correspondingly, the display control means 32 converts the information on the error occurrence status for each package detected by the error occurrence status detection means 31 into display information for each package regarding whether or not the application program can be used by the computer equipment, and displays the information on the display device 25, which is the display means.

[0024] Furthermore, a package is usually made up of multiple methods. The methods that make up the package "camera" mentioned above include "availableCameras," "addLitener," "buildPreview," "debugCheckisDisposed," "dispose," "getExposureOffsetStepSize," "getMaxExposureOffset," and "getMaxZoomLevel." The packages shown as examples in Table 1, as well as packages not shown here, are all made up of multiple methods.

[0025] As described above, since a package is composed of a plurality of methods, the error occurrence status detection means 31 monitors the execution status when the application program is executed for each of the plurality of methods on the computer device, and detects an error occurrence status for each method. Correspondingly, the display control means 32 converts the information on the error occurrence status for each method detected by the error occurrence status detection means 31 into display information for each method regarding whether the application program can be used by the computer device, and displays the information on the display device 25, which is the display means.

[0026] The computer serving as the application program inspection device according to the embodiment of the present invention shown in Fig. 1 is a computer device that is intended to inspect whether a developed application is usable. Therefore, the developed application is installed in the storage means 33 of the external storage device 23. The process starts when the installed application is launched and an instruction input is given to inspect whether the developed application is usable.

[0027] This start screen is shown in Figure 3. On the start screen, a "check" button 40 for starting processing is displayed at the top of the screen, and the packages that make up the developed app are also displayed. Note that in Figure 3, of the eight packages that make up the developed app, six are displayed: "camera," "image_picker," "speech_to_text," "network_info_plus," "geolocator," and "device_info_plus," while "local_auth" and "flutter_local_notification" are not displayed. Note that the remaining two packages that are not displayed may also be configured to be displayed by operating, for example, a scroll key.

[0028] In the application program inspection device according to the embodiment of the present invention, the process corresponding to the flowchart shown in FIG. 4 is executed by operating the on-screen button 40 labeled "check" for starting the process, which is displayed on the start screen. This will now be explained.

[0029] In this flowchart, the processes from step S11 to step S22 are repeated for the number of packages constituting the application to be inspected. Furthermore, the processes from step S12 to step S17 are repeated for the number of methods constituting the package to be inspected. Following step S12, the function of the method of the step is executed (S13), and it is detected whether an error has occurred (S14). For example, it is detected whether an error has occurred based on an error code generated by the method or an exit code generated when the method is terminated (S14). If the process ends without an error, the process proceeds to step S15, where information indicating that the method to be inspected is unavailable is set (S15). On the other hand, if an error is detected in step S14 and the process ends, the process proceeds to step S16, where information indicating that the method to be inspected is available is set (S16). When step S15 or step S16 is completed, if the inspection has not been completed up to the number of methods constituting the package being inspected, the process returns to step S13 and continues the detection process of whether the next method is available or unavailable; when step S15 or step S16 is completed, if the inspection has been completed up to the number of methods constituting the package being inspected, the process proceeds to step S18.

[0030] In step S18, the availability result for each method constituting the package is checked to see whether "all methods are available," "some methods are available," or "all methods are unavailable" (S18). If the check result shows that "all methods are available," the package availability icon F is displayed in green (S19), if "some methods are available," the package availability icon F is displayed in yellow (S20), and if "all methods are unavailable," the package availability icon F is displayed in red (S21).

[0031] Steps S19, S20, and S21 are processes for one package, and when the process for one package is complete, the process returns from step S22 to step S11, and steps S11 to S22 are repeated so that all packages are displayed with a package availability icon F in a color corresponding to the inspection result. When this repetition is complete, the process ends.

[0032] In Figure 5, for six of the eight packages that make up the developed app, namely "camera," "image_picker," "speech_to_text," "network_info_plus," "geolocator," and "device_info_plus," a package availability icon F is displayed in a color that corresponds to the inspection result for the package.

[0033] For the "camera" package, the package availability icon F is displayed in yellow to indicate that "the package is partially available," for the "image_picker" and "speech_to_text" packages, the package availability icon F is displayed in green to indicate that "the package is available," and for the "network_info_plus," "geolocator," and "device_info_plus" packages, the package availability icon F is displayed in red to indicate that "the package is not available."

[0034] In this embodiment, for a package in which "the package is partially usable," the display control means 32 can be configured to display the usable / unusable status of each method on the display device 25, which is the display means, based on the rate of error occurrence status for each method detected by the error occurrence status detection means 31.

[0035] For example, when processing corresponding to the flowchart shown in FIG. 4 is performed, or when a display such as that shown in FIG. 5 is displayed and a command is entered to request the available / unavailable status of each method, the "available icon" PF may be displayed in green to indicate that the method is available, or the "available icon" PF may be displayed in red to indicate that the method is unavailable.

[0036] In Figure 6, for the methods that make up the package "camera," the "available icons" PF for the methods "availableCameras," "addLitener," "buildPreview," "dispose," and "getMaxZoomLevel" are displayed in green to indicate that they are available, while the "available icons" PF for the methods "debugCheckisDisposed," "getExposureOffsetStepSize," and "getMaxExposureOffset" are displayed in red to indicate that they are unavailable.

[0037] In the example in Figure 6, the available / unavailable status of each method is displayed for a package when "the package is partially available," but it is also possible to display the package when "the package is available" or when "the package is unavailable." In this case, the available / unavailable status of all methods is displayed, but this is useful if you want to check the names of available / unavailable methods, etc.

[0038] Thus, according to the embodiment of the present invention, it is possible to determine whether or not a developed application program made up of a plurality of packages can be used by the computer device. [Explanation of symbols]

[0039] 10 CPU 11 Main Memory 12 Bus 13 External memory interface 14 Input Interface 15 Display Interface 16 Network Interfaces 17 Input / Output Interface 23 External storage device 24 Input Devices 25 Display device 26 Network 27 Camera 31 Error occurrence detection means 32 Display control means 33 Preservation means 40 buttons F Package available icon PF "Available Icons"

Claims

1. An application program inspection device that inspects whether a developed application program composed of a plurality of packages can be used by a computer device, comprising: a storage means in which the developed application program is stored; an error occurrence status detection means for monitoring an execution status when the application program is executed on the computer device and detecting an error occurrence status; a display control means for converting information on the error occurrence state detected by the error occurrence state detection means into display information on whether the developed application program can be used by the computer device, and displaying the information on the display means; 1. An application program inspection device comprising:

2. 2. The application program inspection device according to claim 1, wherein the error occurrence status detection means monitors the execution status when the application program is executed for each of the plurality of packages on the computer device, and detects the error occurrence status for each package.

3. The application program inspection device according to claim 2, characterized in that the display control means converts the information on the error occurrence status for each package detected by the error occurrence status detection means into display information for each package regarding whether or not the application program can be used by the computer equipment, and displays the information on the display means.

4. 3. The application program inspection device according to claim 2, wherein the package is composed of a plurality of methods, and the error occurrence status detection means monitors the execution status when the application program is executed on the computer device for each of the plurality of methods, and detects the error occurrence status for each method.

5. 5. The application program inspection device according to claim 4, wherein the display control means converts the information on the error occurrence status for each method detected by the error occurrence status detection means into display information for each method regarding whether or not the application program can be used by the computer device, and displays the information on the display means.

6. 5. The application program inspection device according to claim 4, wherein the display control means causes the display means to display whether or not the application program can be used by the computer device based on the rate of error occurrences for each method detected by the error occurrence detection means.

7. a computer constituting an application program inspection device that inspects whether a developed application program composed of a plurality of packages can be used by a computer device; an error occurrence status detection means for monitoring an execution status of the developed application program stored in a storage means provided in the application program inspection device when the developed application program is executed on the computer equipment, and detecting an error occurrence status; a display control means for converting information on the error occurrence status detected by the error occurrence status detection means into display information on whether the developed application program can be used by the computer device, and displaying the information on the display means; A program for inspecting an application program, characterized in that the program functions as a

8. The computer is used as the error occurrence status detection means. The program for inspecting an application program according to claim 7, characterized in that it functions to monitor the execution status when the application program is executed for each of the plurality of packages on the computer equipment, and to detect the occurrence of an error for each package.

9. The computer is used as the display control means. The program for inspecting an application program as described in claim 8, characterized in that, based on the information on the error occurrence status for each package detected by the computer which is the error occurrence status detection means, the program converts the information into display information for each package regarding whether or not the application program can be used by the computer equipment, and displays the information on the display means.

10. The package is made up of a plurality of methods, The computer is used as the error occurrence status detection means. The program for inspecting an application program according to claim 7, characterized in that it functions to monitor the execution status when the application program is executed for each of the plurality of methods on the computer device, and to detect the occurrence of an error for each method.

11. The computer is used as the display control means. The program for inspecting an application program according to claim 10, characterized in that, based on the information on the error occurrence status for each method detected by the computer which is the error occurrence status detection means, the program converts the information into display information for each method regarding whether or not the application program can be used by the computer equipment, and displays the information on the display means.

12. The computer is used as the display control means.

11. A program for inspecting an application program as described in claim 10, characterized in that the program is caused to function so as to display on the display means whether or not the application program can be used by the computer equipment based on the rate of error occurrence status for each method detected by the computer which is the error occurrence status detection means.

13. 1. A method for testing an application program in an application program testing device to check whether a developed application program consisting of a plurality of packages can be used by a computer device, comprising: an error occurrence status detection step of monitoring an execution status when the developed application program stored in a storage means provided in the application program inspection device is executed on the computer equipment, and detecting an error occurrence status; a display control step of converting the information on the error occurrence state detected in the error occurrence state detection step into display information on whether the developed application program can be used by the computer device, and displaying the information on the display means; 1. A method for inspecting an application program, comprising:

14. The application program inspection method according to claim 13, characterized in that in the error occurrence status detection step, the execution status is monitored when the application program is executed for each of the plurality of packages on the computer device, and an error occurrence status for each package is detected.

15. The application program inspection method described in claim 14, characterized in that in the display control step, based on the information on the error occurrence status for each package detected in the error occurrence status detection step, the information is converted into display information for each package regarding whether or not the application program can be used by the computer equipment, and the display information is displayed on the display means.

16. The method for inspecting an application program according to claim 13, wherein the package is composed of a plurality of methods, and the error occurrence status detection step monitors the execution status when the application program is executed on the computer device for each of the plurality of methods, and detects the error occurrence status for each method.

17. 17. The application program inspection method according to claim 16, wherein in the display control step, based on the information on the error occurrence status for each method detected in the error occurrence status detection step, the information is converted into display information for each method regarding whether or not the application program can be used by the computer device, and the display information is displayed on the display means.

18. 17. The application program inspection method according to claim 16, wherein the display control step causes the display means to display whether or not the application program can be used by the computer device based on the rate of error occurrence status for each method detected in the error occurrence status detection step.

Citation Information

Patent Citations

  • Device for supporting software development, method of supporting software development, and program for supporting software development

    JP2009134535A

  • Automatic check system and method for computer software

    JP1994139101A

  • Language Subset Validation

    JP2003515857A