Methodology for testing spreadsheet grids

Data processing: software development – installation – and managem – Software program development tool – Testing or debugging

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S123000, C717S128000

Reexamination Certificate

active

06766509

ABSTRACT:

BACKGROUND OF THE INVENTION
Testing is an important activity, used widely by professional and end-user programmers alike in locating errors in their programs. In recognition of its importance and widespread use, there has been extensive research into effective testing in traditional programming languages in the imperative paradigm. However, there are few reports in the literature on testing in other paradigms, and no known reports on testing in spreadsheet languages other than that presented in U.S. patent application Ser. No. 09/438,084, entitled “METHODOLOGY FOR TESTING SPREADSHEETS”, filed Nov. 10, 1999. The spreadsheet paradigm includes not only commercial spreadsheet languages, but also a number of research languages that extend the paradigm with explicitly visual features, such as support for gestural formula specification (Burnett98, Leopold97), graphical types (Burnett98, Wilde90), visual matrix manipulation (Wang96), high-quality visualizations of complex data (Chi98), and specifying GUIs (Myers91). In this specification, the term spreadsheet languages describes all such systems following the spreadsheet paradigm.
Despite the perceived simplicity of spreadsheet languages, and even though spreadsheet creators devote considerable effort to finding and correcting their errors (Nardi91), errors often remain. In fact, a recent survey of spreadsheet studies (Panko96) reports spreadsheet error rates ranging from 38% to 77% in controlled experiments, and from 10.7% to 90% in “production” spreadsheets—those actually in use for day-to-day decision making. A possible factor in this problem is the unwarranted confidence creators of spreadsheets seem to have in the reliability of their spreadsheets (Wilcox97).
To help solve this problem, applicant's Ser. No. 60/125,414 (Rothernel98) presents a testing methodology for spreadsheets at the cell level. The methodology provides feedback as to “testedness” of cells in simple spreadsheets in a manner that is incremental, responsive, and entirely visual. However, scalability issues were not addressed in that previous work. Accordingly, a need remains to scale up the approach to support large grids of cells with shared or copied formulas.
SUMMARY OF THE INVENTION
One aspect of the invention is two methods for testing a spreadsheet region. In one method, referred to as the Straightforward approach, test elements are collected for each spreadsheet cell in the region. Each cell's execution trace is tracked and, when a group of cells is validated, the subset of test elements that participated in the execution trace for each cell is marked as covered.
In the other method, referred to as the Region Representative approach, test elements are collected for a region representative, which represents all cells in the region. In the preferred embodiment, the test elements are du-associations. Each cell's execution trace is tracked and, when a cell is validated, the subset of test elements in the region representative that participated in the execution trace for that cell is marked as covered.
Another aspect of the invention is a method for providing a user with feedback of the testedness of the spreadsheet cells in the region. The set of test elements for the region is maintained, and the subset of the set of test elements that have been covered is identified. Using the sizes of the set of test elements and the subset of the set, a testedness measure is calculated for each cell in the region, which is provided to the user.


REFERENCES:
patent: 6496832 (2002-12-01), Chi et al.
M. Burnett and H. Gottfried, “Graphical Definitions: Expanding Spreadsheet Languages through Direct Manipulation and Gestures,”ACM Trans. Computer-Human Interaction5(1), 1-33, Mar. 1998.(Burnett98).
E. Chi, J. Riedl, P. Barry, and J. Konstan, “Principles for Information Visualization Spreadsheets,”IEEE Computer Graphics and Applications, Jul./Aug. 1998.(Chi98).
C. Cook, K. Rothermel, M. Burnett, T. Adams, G. Rothermel, A. Sheretov, F. Cort, J. Reichwein. Does immediate visual feedback about testing aid debugging in spreadsheet language? TR 99-60-07, Oregon State University, Mar. 1999. (Cook99).
R. Djang and M. Burnett, “Similarity Inheritance: A New Model of Inheritance for Spreadsheet VPLs,”1998 IEEE Symp. Visual Languages, Halifax, Canada, 134-141, Sep. 1-4, 1998. (Djang98).
P. Frankl and E. Weyuker, “An Applicable Family of Data Flow Criteria,”IEEE Trans. Software Engineering14(10), 1483-1498, Oct. 1988 (Frank188).
D. Hamlet, B. Gifford, and B. Nikolik, “Exploring Dataflow Testing of Arrays,”Int. Conf. Software Engineering, 118-129, May 1993. (Hamlet93).
J. Horgan and S. London, “Data Flow Coverages and the C Language,”Proc. Fourth Symp. Testing, Analysis, and Verficiation, 87-97, Oct. 1991. (Horgan91).
J. Leopold and A. Ambler, “Keyboardless Visual Programming Using Voice, Handwriting, and Gestures,”1997 IEEE Symp. Visual Languages, Capri, Italy, 28-35, Sep. 23-26, 1997. (Leopold97).
B. Myers, “Graphical Techniques in a Spreadsheet for Specifying User Interfaces,”ACM Conf. Human Factors in Computing Systems, New Orleans, LA, 243-249, Apr. 28-May 2, 1991. (Myers91).
B. Nardi and J. Miller, “Twinkling Lights and Nested Loops: Distributed Problems Solving and Spreadsheet Development,”Int. Journal of Man-Machine Studies34, 161-194, 1991. (Nardi91).
R. Panko and R. Halverson, “Spreadsheets on Trial: A Survey of Research on Spreadhseet Risks,”Hawaii Int. Conf. System Sciences, Maui, Hawaii, Jan. 2-5, 1996.(Panko96).
G. Rothermel, L. Li, C. DuPuis, and M. Burnett, “What You See Is What You Test: A Methodology for Testing Form-Based Visual Programs,”Int. Conf. Software Engineering, 198-207, Apr. 1998. (Rothermel98).
T. Smedley, P. Cox, and S. Byrne, “Expanding the Utility of Spreadsheets Through the Integration of Visual Programming and User Interface Objects,”ACM Proc. Workshop on Advanced Visual Interfaces, Gubbio, Italy, 148-155, May 27-29, 1996. (Smedley96).
G. Wang and A. Ambler, “Solving Display-Based Problems,”1996 IEEE Symp. Visual Languages, Boulder, Colorado, 122-129, Sep. 3-6, 1996. (Wang96).
E. Weyuker, “The Cost of Data Flow Testing: An Empirical Study,”IEEE Trans. Software Engineering16(2), Feb. 1990. (Weyuker90).
E. Wilcox, J. Atwood, M. Burnett, J. Cadiz, and C. Cook, “Does Continuous Visual Feedback Aid Debugging in Direct-Manipulation Programming Systems?”ACM Conf. Human Factors in Computing Systems, 258-265, Mar. 22-27, 1997. (Wilcox97).
N. Wilde and C. Lewis, “Spreadsheet-Based Interactive Graphics: From Prototype to Tool,”ACM Conf. Human Factors in Computing Systems, 153-159, Apr. 1990. (Wilde90).
K. Rothermel, M. Burnett, C. Cook, G. Rothermel, A. Sheretov, T. Adams, F. Cort, and J. Reichwein, “An Empirical Evaluation of a WYSIWYT Testing Methodology for Spreadsheets,”Oregon State University Dept. of Computer Science Technical Report, 1-13, Mar. 1999.
H. Agrawal and J. Horgan, “Dynamic Program Slicing,”ACM SIGPLAN '90 Conference on Programming Language Design and Implementation, 246-255, Jun. 20-22, 1990.
J.W. Atwood, Jr., M.M. Burnett, R.A. Walpole, E.M. Wilcox, and S. Yang, “Steering Programs Via Time Travel,”IEEE Symposium on Visual Languages, 4-11, Sep. 3-6, 1996.
T. Bell and S. Eick, “Visualization Program Slices,”IEEE, 288-295, 1994.
P. Brown and J. Gould, “An Experimental Study of People Creating Spreadsheets,”ACM Transactions on Office Information Systems, 258-272, vol. 5, No. 3, Jul. 1987.
M. Burnett, J. Atwood, Jr., and Z. Welch, “Implementing Level 4 Liveness in Declarative Visual Programming Languages,”Proceedings 1998 IEEE Symposium on Visual Languages, 126-133, Sep. 1-4, 1998.
M. Burnett and H. Gottfried, “Graphical Definitions: Expanding Spreadsheet Languages Through Direct Manipulation and Gestures,”ACM Transactions on Computer-Human Interaction, 1-33, vol. 5, No. 1, Mar. 1998.
M. Burnett, R. Hossli, T. Pulliam, B. VanVoorst, and X. Yang, “Toward Visual Programming Languages for Steering Scientific Computations,”IEEE Computational Science&Engineering, 44-62, 1994.
T.Y. Chen and Y.Y. Cheung, “On Program Dicing,”So

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Methodology for testing spreadsheet grids does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Methodology for testing spreadsheet grids, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Methodology for testing spreadsheet grids will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3239312

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.