A Tool to Automatically Detect Defects in C++ Programs
In this work a tool is developed to generate test cases automatically for C++ programs. This approach analyses the prototypes. When data type differs, the compiler raises a warning and implicitly converts and performs the operation. This may affect further computations in number crunching applicatio...
Saved in:
Published in | Intelligent Information Technology pp. 302 - 314 |
---|---|
Main Authors | , |
Format | Book Chapter Conference Proceeding |
Language | English |
Published |
Berlin, Heidelberg
Springer Berlin Heidelberg
01.01.2004
Springer |
Series | Lecture Notes in Computer Science |
Subjects | |
Online Access | Get full text |
ISBN | 9783540241263 3540241264 |
ISSN | 0302-9743 1611-3349 |
DOI | 10.1007/978-3-540-30561-3_32 |
Cover
Loading…
Abstract | In this work a tool is developed to generate test cases automatically for C++ programs. This approach analyses the prototypes. When data type differs, the compiler raises a warning and implicitly converts and performs the operation. This may affect further computations in number crunching applications. So, the tool checks the data type of the actual parameters and formal parameters for a exact match. If a match doesn’t occur, the tool reports this situation. This implementation is mainly focused to detect defects in the program. A defect results due to omission or mismanipulation. This work checks the correctness of the program when operator [] is overloaded. In the context of inheritance when virtual function is used, it has been observed that expected results are not achieved under certain circumstances. A test case has been developed to handle this situation and prepared to ascertain the working of template functions in the context of character input, to tackle dangling reference problem and to ascertain the working of the program, in the context of exception handling. |
---|---|
AbstractList | In this work a tool is developed to generate test cases automatically for C++ programs. This approach analyses the prototypes. When data type differs, the compiler raises a warning and implicitly converts and performs the operation. This may affect further computations in number crunching applications. So, the tool checks the data type of the actual parameters and formal parameters for a exact match. If a match doesn’t occur, the tool reports this situation. This implementation is mainly focused to detect defects in the program. A defect results due to omission or mismanipulation. This work checks the correctness of the program when operator [] is overloaded. In the context of inheritance when virtual function is used, it has been observed that expected results are not achieved under certain circumstances. A test case has been developed to handle this situation and prepared to ascertain the working of template functions in the context of character input, to tackle dangling reference problem and to ascertain the working of the program, in the context of exception handling. |
Author | Valli, S. Sarala, S. |
Author_xml | – sequence: 1 givenname: S. surname: Sarala fullname: Sarala, S. email: saralas@cs.annauniv.edu organization: Department of Computer Science and Engineering, College of Engineering, Anna University, Chennai, India – sequence: 2 givenname: S. surname: Valli fullname: Valli, S. email: valli@annauniv.edu organization: Department of Computer Science and Engineering, College of Engineering, Anna University, Chennai, India |
BackLink | http://pascal-francis.inist.fr/vibad/index.php?action=getRecordDetail&idt=16398744$$DView record in Pascal Francis |
BookMark | eNotkE9PAjEUxKtiIiDfwMNePJFq29du2yNZ_yYkesBzU9iWrC5bsl0PfHsf4LtMMjN5mfwmZNSlLhByx9kDZ0w_Wm0oUCUZBaZKTsGBuCATQOdksEsy5iXHAKS9IjPsHzMhuShhRMbYEtRqCTdklvM3w-OGlcDGpFwUq5TaYkjF4ndIOz80G9-2h-IpDGEzoESUXDRdUc3nxWeftr3f5VtyHX2bw-xfp-Tr5XlVvdHlx-t7tVjSvRBmoFF7FcF7W3slTAi1jUrHWkZmo5cCN0eD40IdDFgF68A9qLUuA5pSRAVTcn_-u_cZd8Xed5smu33f7Hx_cLwEa7SU2BPnXsao24berVP6yY4zdyTokIgDh0zcCZg7EoQ_QBBeZA |
ContentType | Book Chapter Conference Proceeding |
Copyright | Springer-Verlag Berlin Heidelberg 2004 2005 INIST-CNRS |
Copyright_xml | – notice: Springer-Verlag Berlin Heidelberg 2004 – notice: 2005 INIST-CNRS |
DBID | IQODW |
DOI | 10.1007/978-3-540-30561-3_32 |
DatabaseName | Pascal-Francis |
DatabaseTitleList | |
DeliveryMethod | fulltext_linktorsrc |
Discipline | Engineering Computer Science Applied Sciences |
EISBN | 3540305610 9783540305613 |
EISSN | 1611-3349 |
Editor | Das, Gautam Gulati, Ved Prakash |
Editor_xml | – sequence: 1 givenname: Gautam surname: Das fullname: Das, Gautam email: gdas@cse.uta.edu – sequence: 2 givenname: Ved Prakash surname: Gulati fullname: Gulati, Ved Prakash email: vp.gulati@tcs.com |
EndPage | 314 |
ExternalDocumentID | 16398744 |
GroupedDBID | -DT -GH -~X 1SB 29L 2HA 2HV 5QI 875 AASHB ABMNI ACGFS ADCXD AEFIE ALMA_UNASSIGNED_HOLDINGS EJD F5P FEDTE HVGLF LAS LDH P2P RIG RNI RSU SVGTG VI1 ~02 IQODW |
ID | FETCH-LOGICAL-p228t-f7a5f3aa9da528eed9f57fd4f09fa42161f8030ede83953be1a35b76e03042f53 |
ISBN | 9783540241263 3540241264 |
ISSN | 0302-9743 |
IngestDate | Mon Sep 16 09:38:56 EDT 2024 Tue Jul 29 20:05:33 EDT 2025 |
IsPeerReviewed | true |
IsScholarly | true |
Keywords | Compiler Data type Exception handling Overload Inheritance Program correctness Defect Artificial intelligence |
Language | English |
License | CC BY 4.0 |
LinkModel | OpenURL |
MeetingName | Intelligent information technology (Hyderabad, 20-23 December 2004) |
MergedId | FETCHMERGED-LOGICAL-p228t-f7a5f3aa9da528eed9f57fd4f09fa42161f8030ede83953be1a35b76e03042f53 |
PageCount | 13 |
ParticipantIDs | pascalfrancis_primary_16398744 springer_books_10_1007_978_3_540_30561_3_32 |
PublicationCentury | 2000 |
PublicationDate | 2004-01-01 |
PublicationDateYYYYMMDD | 2004-01-01 |
PublicationDate_xml | – month: 01 year: 2004 text: 2004-01-01 day: 01 |
PublicationDecade | 2000 |
PublicationPlace | Berlin, Heidelberg |
PublicationPlace_xml | – name: Berlin, Heidelberg – name: Berlin |
PublicationSeriesTitle | Lecture Notes in Computer Science |
PublicationSubtitle | 7th International Conference on Information Technology, CIT 2004, Hyderabad, India, December 20-23, 2004. Proceedings |
PublicationTitle | Intelligent Information Technology |
PublicationYear | 2004 |
Publisher | Springer Berlin Heidelberg Springer |
Publisher_xml | – name: Springer Berlin Heidelberg – name: Springer |
RelatedPersons | Kleinberg, Jon M. Mattern, Friedemann Nierstrasz, Oscar Tygar, Dough Steffen, Bernhard Kittler, Josef Vardi, Moshe Y. Weikum, Gerhard Sudan, Madhu Naor, Moni Mitchell, John C. Terzopoulos, Demetri Pandu Rangan, C. Kanade, Takeo Hutchison, David |
RelatedPersons_xml | – sequence: 1 givenname: David surname: Hutchison fullname: Hutchison, David organization: Lancaster University, UK – sequence: 2 givenname: Takeo surname: Kanade fullname: Kanade, Takeo organization: Carnegie Mellon University, Pittsburgh, USA – sequence: 3 givenname: Josef surname: Kittler fullname: Kittler, Josef organization: University of Surrey, Guildford, UK – sequence: 4 givenname: Jon M. surname: Kleinberg fullname: Kleinberg, Jon M. organization: Cornell University, Ithaca, USA – sequence: 5 givenname: Friedemann surname: Mattern fullname: Mattern, Friedemann organization: ETH Zurich, Switzerland – sequence: 6 givenname: John C. surname: Mitchell fullname: Mitchell, John C. organization: Stanford University, CA, USA – sequence: 7 givenname: Moni surname: Naor fullname: Naor, Moni organization: Weizmann Institute of Science, Rehovot, Israel – sequence: 8 givenname: Oscar surname: Nierstrasz fullname: Nierstrasz, Oscar organization: University of Bern, Switzerland – sequence: 9 givenname: C. surname: Pandu Rangan fullname: Pandu Rangan, C. organization: Indian Institute of Technology, Madras, India – sequence: 10 givenname: Bernhard surname: Steffen fullname: Steffen, Bernhard organization: University of Dortmund, Germany – sequence: 11 givenname: Madhu surname: Sudan fullname: Sudan, Madhu organization: Massachusetts Institute of Technology, MA, USA – sequence: 12 givenname: Demetri surname: Terzopoulos fullname: Terzopoulos, Demetri organization: New York University, NY, USA – sequence: 13 givenname: Dough surname: Tygar fullname: Tygar, Dough organization: University of California, Berkeley, USA – sequence: 14 givenname: Moshe Y. surname: Vardi fullname: Vardi, Moshe Y. organization: Rice University, Houston, USA – sequence: 15 givenname: Gerhard surname: Weikum fullname: Weikum, Gerhard organization: Max-Planck Institute of Computer Science, Saarbruecken, Germany |
SSID | ssj0000180630 ssj0002792 |
Score | 1.7351673 |
Snippet | In this work a tool is developed to generate test cases automatically for C++ programs. This approach analyses the prototypes. When data type differs, the... |
SourceID | pascalfrancis springer |
SourceType | Index Database Publisher |
StartPage | 302 |
SubjectTerms | Applied sciences Artificial intelligence Automatic Generation Computer science; control theory; systems Dangling Reference Exact sciences and technology Friend Function Function overloading Hybrid Inheritance Learning and adaptive systems Template Function Test case Virtual Function |
Title | A Tool to Automatically Detect Defects in C++ Programs |
URI | http://link.springer.com/10.1007/978-3-540-30561-3_32 |
hasFullText | 1 |
inHoldings | 1 |
isFullTextHit | |
isPrint | |
link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV3PT9swFLZYd2E7bAMmGBvyYZyioNaO8-PAoUMghIDLCuJmOcSWJqEW0XBgf_2-ZzulP9AkkKq0sqwmeV_y_N6zv8-M_awroeStNWnfqgYJSinTyqhBWmbC5MVAYIimgv7FZX56lZ3dqJvn3UY9u6StD27_vsgreQuqaAOuxJJ9BbKzP0UDfgNfHIEwjkvB72KZdbZcMIhptkkkFXksV4vlVPW980Hi74Ou7drcBWJ01xTXLCcjEuVEQDp8bCdezhUdn-CWaLIBX2H1B1EF98UvfIhpQAu8QmhOd22nh-dxYuJy0trQOe4d0bmShVpDtlRr6GqNyX-kuGIpCYGBiJ4rsrPgeZG7hCYbnG1OEooySJZGByr7Ym4sloFguuLml1d2-DwolVpiMH5XlKrH3g-Pz86vZ9U2kinzQmhxjCbZxDC_FK4qsn78VQe5yLm7mGNcvnRKWk5rpkDDha1QVubUfagy-sw-En2FE68EBv_C1ux4g33qAOARgA32YU6JcpPlQ07A83bCF4DnAXgeged_xvwoSXgH-ha7OjkeHZ2mcUuN9F6Isk1dYZSTxlSNUaJEfFQ5Vbgmc_3KmUwAEVfCKLaxCJyVrO3ASFUXuaUZdOGU_Mp648nYbjOOXLiUyHYVMoysbiTeeoSDxmZVv6lt4XbY3oJZ9H2QT9HIACradGGHJZ2dNL1FU91JaMPKWmpYWXsra7Lyt1f13mXrz8_vd9ZrHx7tD0SPbb0XH41_jRpgCw |
linkProvider | Library Specific Holdings |
openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.title=Intelligent+Information+Technology&rft.au=Sarala%2C+S.&rft.au=Valli%2C+S.&rft.atitle=A+Tool+to+Automatically+Detect+Defects+in+C%2B%2B+Programs&rft.series=Lecture+Notes+in+Computer+Science&rft.date=2004-01-01&rft.pub=Springer+Berlin+Heidelberg&rft.isbn=9783540241263&rft.issn=0302-9743&rft.eissn=1611-3349&rft.spage=302&rft.epage=314&rft_id=info:doi/10.1007%2F978-3-540-30561-3_32 |
thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=0302-9743&client=summon |
thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=0302-9743&client=summon |
thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=0302-9743&client=summon |