From 208a349f079a1a13090b63be8d8a96c65cf406e3 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Sat, 26 Mar 2022 14:44:19 +0100 Subject: [PATCH 01/13] New Exercise Word-Count --- config.json | 9 + .../practice/word-count/.docs/instructions.md | 31 +++ .../practice/word-count/.meta/config.json | 20 ++ .../practice/word-count/.meta/tests.toml | 0 .../word-count/.meta/zcl_word_count.clas.abap | 57 +++++ exercises/practice/word-count/results.json | 1 + .../word-count/zcl_word_count.clas.abap | 57 +++++ .../zcl_word_count.clas.testclass.abap | 238 ++++++++++++++++++ 8 files changed, 413 insertions(+) create mode 100644 exercises/practice/word-count/.docs/instructions.md create mode 100644 exercises/practice/word-count/.meta/config.json create mode 100644 exercises/practice/word-count/.meta/tests.toml create mode 100644 exercises/practice/word-count/.meta/zcl_word_count.clas.abap create mode 100644 exercises/practice/word-count/results.json create mode 100644 exercises/practice/word-count/zcl_word_count.clas.abap create mode 100644 exercises/practice/word-count/zcl_word_count.clas.testclass.abap diff --git a/config.json b/config.json index 1ec46762..ccb4a509 100644 --- a/config.json +++ b/config.json @@ -173,6 +173,15 @@ "prerequisites": [], "difficulty": 2 }, + { + "slug": "word-count", + "name": "Word Count", + "uuid": "a8f558ad-28df-46fa-9ac7-aac9afad5a67", + "practices": [], + "prerequisites": [], + "difficulty": 1, + "topics": ["loops", "lists", "regular_expressions", "strings"] + }, { "slug": "beer-song", "name": "Beer Song", diff --git a/exercises/practice/word-count/.docs/instructions.md b/exercises/practice/word-count/.docs/instructions.md new file mode 100644 index 00000000..ea8028e2 --- /dev/null +++ b/exercises/practice/word-count/.docs/instructions.md @@ -0,0 +1,31 @@ +# Instructions + +Given a phrase, count the occurrences of each _word_ in that phrase. + +For the purposes of this exercise you can expect that a _word_ will always be one of: + +1. A _number_ composed of one or more ASCII digits (ie "0" or "1234") OR +2. A _simple word_ composed of one or more ASCII letters (ie "a" or "they") OR +3. A _contraction_ of two _simple words_ joined by a single apostrophe (ie "it's" is "its" ) + +When counting words you can assume the following rules: + +1. The count is _case insensitive_ (ie "You", "you", and "YOU" are 3 uses of the same word) +2. The count is _unordered_; the tests will ignore how words and counts are ordered +3. Other than the apostrophe in a _contraction_ all forms of _punctuation_ are ignored +4. The words can be separated by _any_ form of whitespace (ie "\t", "\n", " ") + +For example, for the phrase `"That's the password: 'PASSWORD 123'!", cried the Special Agent.\nSo I fled.` the count would be: + +```text +thats: 1 +the: 2 +password: 2 +123: 1 +cried: 1 +special: 1 +agent: 1 +so: 1 +i: 1 +fled: 1 +``` diff --git a/exercises/practice/word-count/.meta/config.json b/exercises/practice/word-count/.meta/config.json new file mode 100644 index 00000000..e005e426 --- /dev/null +++ b/exercises/practice/word-count/.meta/config.json @@ -0,0 +1,20 @@ +{ + "authors": [ + "marianfoo" + ], + "contributors": [], + "files": { + "solution": [ + "zcl_word_count.clas.abap" + ], + "test": [ + "zcl_word_count.clas.testclass.abap" + ], + "example": [ + ".meta/zcl_word_count.clas.abap" + ] + }, + "blurb": "Given a phrase, count the occurrences of each word in that phrase.", + "source": "This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour.", + "source_url": "https://github.com/exercism/javascript/tree/main/exercises/practice/word-count" + } \ No newline at end of file diff --git a/exercises/practice/word-count/.meta/tests.toml b/exercises/practice/word-count/.meta/tests.toml new file mode 100644 index 00000000..e69de29b diff --git a/exercises/practice/word-count/.meta/zcl_word_count.clas.abap b/exercises/practice/word-count/.meta/zcl_word_count.clas.abap new file mode 100644 index 00000000..82be9cca --- /dev/null +++ b/exercises/practice/word-count/.meta/zcl_word_count.clas.abap @@ -0,0 +1,57 @@ +CLASS zcl_word_count DEFINITION + PUBLIC + FINAL + CREATE PUBLIC . + + PUBLIC SECTION. + TYPES: + BEGIN OF return_structure, + word TYPE string, + count TYPE i, + END OF return_structure, + return_table TYPE STANDARD TABLE OF return_structure WITH EMPTY KEY. + METHODS count_words + IMPORTING + !phrase TYPE string + RETURNING + VALUE(result) TYPE return_table . + PROTECTED SECTION. + PRIVATE SECTION. +ENDCLASS. + + +CLASS zcl_word_count IMPLEMENTATION. + + METHOD count_words. + DATA(lv_phrase) = phrase. + CONDENSE lv_phrase. + REPLACE ALL OCCURRENCES OF ',' IN lv_phrase WITH ` `. + REPLACE ALL OCCURRENCES OF '''' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '\n' IN lv_phrase WITH ` `. + REPLACE ALL OCCURRENCES OF '.' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '!' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF ':' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '"' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '&' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '@' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '$' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '%' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '^' IN lv_phrase WITH ''. + CONDENSE lv_phrase. + + SPLIT lv_phrase AT space INTO TABLE DATA(lt_phrases). + + LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL(). + = to_lower( ). + ENDLOOP. + LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL() + GROUP BY ( phrase = size = GROUP SIZE ) + ASSIGNING FIELD-SYMBOL(). + + DATA(return_structure) = VALUE return_structure( word = -phrase count = -size ). + APPEND return_structure TO result. + ENDLOOP. + + + ENDMETHOD. +ENDCLASS. \ No newline at end of file diff --git a/exercises/practice/word-count/results.json b/exercises/practice/word-count/results.json new file mode 100644 index 00000000..fa74a0ab --- /dev/null +++ b/exercises/practice/word-count/results.json @@ -0,0 +1 @@ +{"version":1,"status":"error","message":"./zcl_word_count.clas.abap[1, 1] - Expected ENDMETHOD (structure) [E]\n./zcl_word_count.clas.abap[52, 5] - Statement does not exist in ABAPopen-abap(or a parser error), \"LOOP\" (parser_error) [E]\n./zcl_word_count.clas.testclass.abap[5, 12] - Variable \"CUT\" contains unknown: REF, unable to resolve zcl_word_count (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[27, 7] - TYPE \"zcl_word_count\" not found (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[32, 12] - Variable \"TEMP2\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[33, 12] - Variable \"TEMP3\" contains unknown: Type error, not a table type temp2 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[34, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[35, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[36, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[37, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[38, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[42, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[52, 12] - Variable \"TEMP4\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[53, 12] - Variable \"TEMP5\" contains unknown: Type error, not a table type temp4 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[54, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[55, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[56, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[57, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[58, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[59, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[60, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[61, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[62, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[63, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[64, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[68, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[78, 12] - Variable \"TEMP6\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[79, 12] - Variable \"TEMP7\" contains unknown: Type error, not a table type temp6 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[80, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[81, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[82, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[83, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[84, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[85, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[86, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[87, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[88, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[89, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[90, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[91, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[92, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[93, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[94, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[95, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[96, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[100, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[110, 12] - Variable \"TEMP8\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[111, 12] - Variable \"TEMP9\" contains unknown: Type error, not a table type temp8 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[112, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[113, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[114, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[115, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[116, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[117, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[118, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[119, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[120, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[121, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[122, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[126, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[136, 12] - Variable \"TEMP10\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[137, 12] - Variable \"TEMP11\" contains unknown: Type error, not a table type temp10 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[138, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[139, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[140, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[141, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[142, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[143, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[144, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[145, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[146, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[147, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[148, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[152, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[162, 12] - Variable \"TEMP12\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[163, 12] - Variable \"TEMP13\" contains unknown: Type error, not a table type temp12 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[164, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[165, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[166, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[167, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[168, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[169, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[170, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[171, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[172, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[173, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[174, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[175, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[176, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[177, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[178, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[179, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[180, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[184, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[194, 12] - Variable \"TEMP14\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[195, 12] - Variable \"TEMP15\" contains unknown: Type error, not a table type temp14 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[196, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[197, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[198, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[199, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[200, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[201, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[202, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[203, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[204, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[205, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[206, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[210, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[220, 12] - Variable \"TEMP16\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[221, 12] - Variable \"TEMP17\" contains unknown: Type error, not a table type temp16 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[222, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[223, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[224, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[225, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[226, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[227, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[228, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[229, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[233, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[243, 12] - Variable \"TEMP18\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[244, 12] - Variable \"TEMP19\" contains unknown: Type error, not a table type temp18 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[245, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[246, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[247, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[248, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[249, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[250, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[251, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[252, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[253, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[254, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[255, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[256, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[257, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[258, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[259, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[260, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[261, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[265, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[275, 12] - Variable \"TEMP20\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[276, 12] - Variable \"TEMP21\" contains unknown: Type error, not a table type temp20 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[277, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[278, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[279, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[280, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[281, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[282, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[283, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[284, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[285, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[286, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[287, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[288, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[289, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[290, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[291, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[292, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[293, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[294, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[295, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[296, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[300, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[310, 12] - Variable \"TEMP22\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[311, 12] - Variable \"TEMP23\" contains unknown: Type error, not a table type temp22 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[312, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[313, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[314, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[315, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[316, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[317, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[318, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[319, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[320, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[321, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[322, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[323, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[324, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[325, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[326, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[327, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[328, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[329, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[330, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[331, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[332, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[333, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[334, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[335, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[336, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[337, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[341, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[351, 12] - Variable \"TEMP24\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[352, 12] - Variable \"TEMP25\" contains unknown: Type error, not a table type temp24 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[353, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[354, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[355, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[356, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[357, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[358, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[359, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[360, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[364, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[374, 12] - Variable \"TEMP26\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[375, 12] - Variable \"TEMP27\" contains unknown: Type error, not a table type temp26 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[376, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[377, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[378, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[379, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[380, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[381, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[382, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[383, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[384, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[385, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[386, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[390, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\nabaplint: 216 issue(s) found"} \ No newline at end of file diff --git a/exercises/practice/word-count/zcl_word_count.clas.abap b/exercises/practice/word-count/zcl_word_count.clas.abap new file mode 100644 index 00000000..82be9cca --- /dev/null +++ b/exercises/practice/word-count/zcl_word_count.clas.abap @@ -0,0 +1,57 @@ +CLASS zcl_word_count DEFINITION + PUBLIC + FINAL + CREATE PUBLIC . + + PUBLIC SECTION. + TYPES: + BEGIN OF return_structure, + word TYPE string, + count TYPE i, + END OF return_structure, + return_table TYPE STANDARD TABLE OF return_structure WITH EMPTY KEY. + METHODS count_words + IMPORTING + !phrase TYPE string + RETURNING + VALUE(result) TYPE return_table . + PROTECTED SECTION. + PRIVATE SECTION. +ENDCLASS. + + +CLASS zcl_word_count IMPLEMENTATION. + + METHOD count_words. + DATA(lv_phrase) = phrase. + CONDENSE lv_phrase. + REPLACE ALL OCCURRENCES OF ',' IN lv_phrase WITH ` `. + REPLACE ALL OCCURRENCES OF '''' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '\n' IN lv_phrase WITH ` `. + REPLACE ALL OCCURRENCES OF '.' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '!' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF ':' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '"' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '&' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '@' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '$' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '%' IN lv_phrase WITH ''. + REPLACE ALL OCCURRENCES OF '^' IN lv_phrase WITH ''. + CONDENSE lv_phrase. + + SPLIT lv_phrase AT space INTO TABLE DATA(lt_phrases). + + LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL(). + = to_lower( ). + ENDLOOP. + LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL() + GROUP BY ( phrase = size = GROUP SIZE ) + ASSIGNING FIELD-SYMBOL(). + + DATA(return_structure) = VALUE return_structure( word = -phrase count = -size ). + APPEND return_structure TO result. + ENDLOOP. + + + ENDMETHOD. +ENDCLASS. \ No newline at end of file diff --git a/exercises/practice/word-count/zcl_word_count.clas.testclass.abap b/exercises/practice/word-count/zcl_word_count.clas.testclass.abap new file mode 100644 index 00000000..e2b8b2d3 --- /dev/null +++ b/exercises/practice/word-count/zcl_word_count.clas.testclass.abap @@ -0,0 +1,238 @@ +CLASS ltcl_word_count DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT FINAL. + + PRIVATE SECTION. + + DATA cut TYPE REF TO zcl_word_count. + METHODS setup. + METHODS test_1 FOR TESTING RAISING cx_static_check. + METHODS test_2 FOR TESTING RAISING cx_static_check. + METHODS test_3 FOR TESTING RAISING cx_static_check. + METHODS test_4 FOR TESTING RAISING cx_static_check. + METHODS test_5 FOR TESTING RAISING cx_static_check. + METHODS test_6 FOR TESTING RAISING cx_static_check. + METHODS test_7 FOR TESTING RAISING cx_static_check. + METHODS test_8 FOR TESTING RAISING cx_static_check. + METHODS test_9 FOR TESTING RAISING cx_static_check. + METHODS test_10 FOR TESTING RAISING cx_static_check. + METHODS test_11 FOR TESTING RAISING cx_static_check. + METHODS test_12 FOR TESTING RAISING cx_static_check. + METHODS test_13 FOR TESTING RAISING cx_static_check. + + + ENDCLASS. + + CLASS ltcl_word_count IMPLEMENTATION. + + METHOD setup. + cut = NEW zcl_word_count( ). + ENDMETHOD. + + + METHOD test_1. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'word' count = 1 ) + ). + DATA(act) = cut->count_words( 'word' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_2. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'one' count = 1 ) + ( word = 'of' count = 1 ) + ( word = 'each' count = 1 ) + ). + DATA(act) = cut->count_words( 'one of each' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_3. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'one' count = 1 ) + ( word = 'fish' count = 4 ) + ( word = 'two' count = 1 ) + ( word = 'red' count = 1 ) + ( word = 'blue' count = 1 ) + ). + DATA(act) = cut->count_words( 'one fish two fish red fish blue fish' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_4. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'one' count = 1 ) + ( word = 'three' count = 1 ) + ( word = 'two' count = 1 ) + ). + DATA(act) = cut->count_words( 'one,two,three' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_5. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'one' count = 1 ) + ( word = 'three' count = 1 ) + ( word = 'two' count = 1 ) + ). + DATA(act) = cut->count_words( 'one,\ntwo,\nthree' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_6. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'car' count = 1 ) + ( word = 'carpet' count = 1 ) + ( word = 'as' count = 1 ) + ( word = 'java' count = 1 ) + ( word = 'javascript' count = 1 ) + ). + DATA(act) = cut->count_words( 'car: carpet as java: javascript!!&@$%^&' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_7. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'testing' count = 2 ) + ( word = '1' count = 1 ) + ( word = '2' count = 1 ) + ). + DATA(act) = cut->count_words( 'testing, 1, 2 testing' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_8. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'go' count = 3 ) + ( word = 'stop' count = 2 ) + ). + DATA(act) = cut->count_words( 'go Go GO Stop stop' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_9. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'first' count = 1 ) + ( word = 'dont' count = 2 ) + ( word = 'laugh' count = 1 ) + ( word = 'then' count = 1 ) + ( word = 'cry' count = 1 ) + ). + DATA(act) = cut->count_words( `First: don't laugh. Then: don't cry.` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_10. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'joe' count = 1 ) + ( word = 'cant' count = 1 ) + ( word = 'tell' count = 1 ) + ( word = 'between' count = 1 ) + ( word = 'large' count = 2 ) + ( word = 'and' count = 1 ) + ). + DATA(act) = cut->count_words( `Joe can't tell between 'large' and large.` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_11. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'joe' count = 1 ) + ( word = 'cant' count = 1 ) + ( word = 'tell' count = 1 ) + ( word = 'between' count = 1 ) + ( word = 'app' count = 1 ) + ( word = 'apple' count = 1 ) + ( word = 'and' count = 1 ) + ( word = 'a' count = 1 ) + ). + DATA(act) = cut->count_words( `Joe can't tell between app, apple and a.'` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_12. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'multiple' count = 1 ) + ( word = 'whitespaces' count = 1 ) + ). + DATA(act) = cut->count_words( ` multiple whitespaces` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + METHOD test_13. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'one' count = 1 ) + ( word = 'three' count = 1 ) + ( word = 'two' count = 1 ) + ). + DATA(act) = cut->count_words( `,\n,one,\n ,two \n 'three'` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( + act = act + exp = exp ). + ENDMETHOD. + + + + ENDCLASS. \ No newline at end of file From b3570b4c03c1fbb57f85d7d7bdac3f923ec97e86 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Sat, 26 Mar 2022 15:06:44 +0100 Subject: [PATCH 02/13] lint --- exercises/practice/word-count/results.json | 2 +- .../zcl_word_count.clas.testclass.abap | 334 +++++++++--------- 2 files changed, 161 insertions(+), 175 deletions(-) diff --git a/exercises/practice/word-count/results.json b/exercises/practice/word-count/results.json index fa74a0ab..c87a75ee 100644 --- a/exercises/practice/word-count/results.json +++ b/exercises/practice/word-count/results.json @@ -1 +1 @@ -{"version":1,"status":"error","message":"./zcl_word_count.clas.abap[1, 1] - Expected ENDMETHOD (structure) [E]\n./zcl_word_count.clas.abap[52, 5] - Statement does not exist in ABAPopen-abap(or a parser error), \"LOOP\" (parser_error) [E]\n./zcl_word_count.clas.testclass.abap[5, 12] - Variable \"CUT\" contains unknown: REF, unable to resolve zcl_word_count (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[27, 7] - TYPE \"zcl_word_count\" not found (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[32, 12] - Variable \"TEMP2\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[33, 12] - Variable \"TEMP3\" contains unknown: Type error, not a table type temp2 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[34, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[35, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[36, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[37, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[38, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[42, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[52, 12] - Variable \"TEMP4\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[53, 12] - Variable \"TEMP5\" contains unknown: Type error, not a table type temp4 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[54, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[55, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[56, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[57, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[58, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[59, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[60, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[61, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[62, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[63, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[64, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[68, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[78, 12] - Variable \"TEMP6\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[79, 12] - Variable \"TEMP7\" contains unknown: Type error, not a table type temp6 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[80, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[81, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[82, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[83, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[84, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[85, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[86, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[87, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[88, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[89, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[90, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[91, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[92, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[93, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[94, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[95, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[96, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[100, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[110, 12] - Variable \"TEMP8\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[111, 12] - Variable \"TEMP9\" contains unknown: Type error, not a table type temp8 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[112, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[113, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[114, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[115, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[116, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[117, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[118, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[119, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[120, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[121, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[122, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[126, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[136, 12] - Variable \"TEMP10\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[137, 12] - Variable \"TEMP11\" contains unknown: Type error, not a table type temp10 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[138, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[139, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[140, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[141, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[142, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[143, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[144, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[145, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[146, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[147, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[148, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[152, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[162, 12] - Variable \"TEMP12\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[163, 12] - Variable \"TEMP13\" contains unknown: Type error, not a table type temp12 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[164, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[165, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[166, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[167, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[168, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[169, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[170, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[171, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[172, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[173, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[174, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[175, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[176, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[177, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[178, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[179, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[180, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[184, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[194, 12] - Variable \"TEMP14\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[195, 12] - Variable \"TEMP15\" contains unknown: Type error, not a table type temp14 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[196, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[197, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[198, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[199, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[200, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[201, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[202, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[203, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[204, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[205, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[206, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[210, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[220, 12] - Variable \"TEMP16\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[221, 12] - Variable \"TEMP17\" contains unknown: Type error, not a table type temp16 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[222, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[223, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[224, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[225, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[226, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[227, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[228, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[229, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[233, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[243, 12] - Variable \"TEMP18\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[244, 12] - Variable \"TEMP19\" contains unknown: Type error, not a table type temp18 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[245, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[246, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[247, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[248, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[249, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[250, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[251, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[252, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[253, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[254, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[255, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[256, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[257, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[258, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[259, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[260, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[261, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[265, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[275, 12] - Variable \"TEMP20\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[276, 12] - Variable \"TEMP21\" contains unknown: Type error, not a table type temp20 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[277, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[278, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[279, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[280, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[281, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[282, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[283, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[284, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[285, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[286, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[287, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[288, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[289, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[290, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[291, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[292, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[293, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[294, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[295, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[296, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[300, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[310, 12] - Variable \"TEMP22\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[311, 12] - Variable \"TEMP23\" contains unknown: Type error, not a table type temp22 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[312, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[313, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[314, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[315, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[316, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[317, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[318, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[319, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[320, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[321, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[322, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[323, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[324, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[325, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[326, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[327, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[328, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[329, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[330, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[331, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[332, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[333, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[334, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[335, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[336, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[337, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[341, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[351, 12] - Variable \"TEMP24\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[352, 12] - Variable \"TEMP25\" contains unknown: Type error, not a table type temp24 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[353, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[354, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[355, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[356, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[357, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[358, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[359, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[360, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[364, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[374, 12] - Variable \"TEMP26\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[375, 12] - Variable \"TEMP27\" contains unknown: Type error, not a table type temp26 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[376, 12] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[377, 12] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[378, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[379, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[380, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[381, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[382, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[383, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[384, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[385, 7] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[386, 7] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[390, 7] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\nabaplint: 216 issue(s) found"} \ No newline at end of file +{"version":1,"status":"error","message":"./zcl_word_count.clas.abap[1, 1] - Expected ENDMETHOD (structure) [E]\n./zcl_word_count.clas.abap[52, 5] - Statement does not exist in ABAPopen-abap(or a parser error), \"LOOP\" (parser_error) [E]\n./zcl_word_count.clas.testclass.abap[5, 10] - Variable \"CUT\" contains unknown: REF, unable to resolve zcl_word_count (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[27, 5] - TYPE \"zcl_word_count\" not found (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[32, 10] - Variable \"TEMP2\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[33, 10] - Variable \"TEMP3\" contains unknown: Type error, not a table type temp2 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[34, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[35, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[36, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[37, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[38, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[42, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[52, 10] - Variable \"TEMP4\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[53, 10] - Variable \"TEMP5\" contains unknown: Type error, not a table type temp4 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[54, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[55, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[56, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[57, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[58, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[59, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[60, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[61, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[62, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[63, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[64, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[68, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[78, 10] - Variable \"TEMP6\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[79, 10] - Variable \"TEMP7\" contains unknown: Type error, not a table type temp6 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[80, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[81, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[82, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[83, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[84, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[85, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[86, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[87, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[88, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[89, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[90, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[91, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[92, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[93, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[94, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[95, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[96, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[100, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[110, 10] - Variable \"TEMP8\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[111, 10] - Variable \"TEMP9\" contains unknown: Type error, not a table type temp8 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[112, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[113, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[114, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[115, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[116, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[117, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[118, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[119, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[120, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[121, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[122, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[126, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[136, 10] - Variable \"TEMP10\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[137, 10] - Variable \"TEMP11\" contains unknown: Type error, not a table type temp10 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[138, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[139, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[140, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[141, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[142, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[143, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[144, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[145, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[146, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[147, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[148, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[152, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[162, 10] - Variable \"TEMP12\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[163, 10] - Variable \"TEMP13\" contains unknown: Type error, not a table type temp12 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[164, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[165, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[166, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[167, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[168, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[169, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[170, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[171, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[172, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[173, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[174, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[175, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[176, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[177, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[178, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[179, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[180, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[184, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[194, 10] - Variable \"TEMP14\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[195, 10] - Variable \"TEMP15\" contains unknown: Type error, not a table type temp14 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[196, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[197, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[198, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[199, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[200, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[201, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[202, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[203, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[204, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[205, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[206, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[210, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[220, 10] - Variable \"TEMP16\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[221, 10] - Variable \"TEMP17\" contains unknown: Type error, not a table type temp16 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[222, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[223, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[224, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[225, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[226, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[227, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[228, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[229, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[233, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[243, 10] - Variable \"TEMP18\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[244, 10] - Variable \"TEMP19\" contains unknown: Type error, not a table type temp18 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[245, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[246, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[247, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[248, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[249, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[250, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[251, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[252, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[253, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[254, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[255, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[256, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[257, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[258, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[259, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[260, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[261, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[265, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[275, 10] - Variable \"TEMP20\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[276, 10] - Variable \"TEMP21\" contains unknown: Type error, not a table type temp20 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[277, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[278, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[279, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[280, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[281, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[282, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[283, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[284, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[285, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[286, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[287, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[288, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[289, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[290, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[291, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[292, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[293, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[294, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[295, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[296, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[300, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[310, 10] - Variable \"TEMP22\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[311, 10] - Variable \"TEMP23\" contains unknown: Type error, not a table type temp22 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[312, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[313, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[314, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[315, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[316, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[317, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[318, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[319, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[320, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[321, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[322, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[323, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[324, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[325, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[326, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[327, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[328, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[329, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[330, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[331, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[332, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[333, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[334, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[335, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[336, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[337, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[341, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[351, 10] - Variable \"TEMP24\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[352, 10] - Variable \"TEMP25\" contains unknown: Type error, not a table type temp24 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[353, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[354, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[355, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[356, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[357, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[358, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[359, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[360, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[364, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[374, 10] - Variable \"TEMP26\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[375, 10] - Variable \"TEMP27\" contains unknown: Type error, not a table type temp26 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[376, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[377, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[378, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[379, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[380, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[381, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[382, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[383, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[384, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[385, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[386, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[390, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\nabaplint: 216 issue(s) found"} \ No newline at end of file diff --git a/exercises/practice/word-count/zcl_word_count.clas.testclass.abap b/exercises/practice/word-count/zcl_word_count.clas.testclass.abap index e2b8b2d3..c5796c71 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.testclass.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.testclass.abap @@ -1,191 +1,182 @@ CLASS ltcl_word_count DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT FINAL. - PRIVATE SECTION. - - DATA cut TYPE REF TO zcl_word_count. - METHODS setup. - METHODS test_1 FOR TESTING RAISING cx_static_check. - METHODS test_2 FOR TESTING RAISING cx_static_check. - METHODS test_3 FOR TESTING RAISING cx_static_check. - METHODS test_4 FOR TESTING RAISING cx_static_check. - METHODS test_5 FOR TESTING RAISING cx_static_check. - METHODS test_6 FOR TESTING RAISING cx_static_check. - METHODS test_7 FOR TESTING RAISING cx_static_check. - METHODS test_8 FOR TESTING RAISING cx_static_check. - METHODS test_9 FOR TESTING RAISING cx_static_check. - METHODS test_10 FOR TESTING RAISING cx_static_check. - METHODS test_11 FOR TESTING RAISING cx_static_check. - METHODS test_12 FOR TESTING RAISING cx_static_check. - METHODS test_13 FOR TESTING RAISING cx_static_check. - - - ENDCLASS. - - CLASS ltcl_word_count IMPLEMENTATION. - - METHOD setup. - cut = NEW zcl_word_count( ). - ENDMETHOD. - - - METHOD test_1. - DATA(exp) = VALUE zcl_word_count=>return_table( - ( word = 'word' count = 1 ) - ). - DATA(act) = cut->count_words( 'word' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + PRIVATE SECTION. + + DATA cut TYPE REF TO zcl_word_count. + METHODS setup. + METHODS test_1 FOR TESTING RAISING cx_static_check. + METHODS test_2 FOR TESTING RAISING cx_static_check. + METHODS test_3 FOR TESTING RAISING cx_static_check. + METHODS test_4 FOR TESTING RAISING cx_static_check. + METHODS test_5 FOR TESTING RAISING cx_static_check. + METHODS test_6 FOR TESTING RAISING cx_static_check. + METHODS test_7 FOR TESTING RAISING cx_static_check. + METHODS test_8 FOR TESTING RAISING cx_static_check. + METHODS test_9 FOR TESTING RAISING cx_static_check. + METHODS test_10 FOR TESTING RAISING cx_static_check. + METHODS test_11 FOR TESTING RAISING cx_static_check. + METHODS test_12 FOR TESTING RAISING cx_static_check. + METHODS test_13 FOR TESTING RAISING cx_static_check. + + +ENDCLASS. + +CLASS ltcl_word_count IMPLEMENTATION. + + METHOD setup. + cut = NEW zcl_word_count( ). + ENDMETHOD. + + + METHOD test_1. + DATA(exp) = VALUE zcl_word_count=>return_table( + ( word = 'word' + count = 1 ) ). + DATA(act) = cut->count_words( 'word' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_2. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_2. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'of' count = 1 ) - ( word = 'each' count = 1 ) - ). - DATA(act) = cut->count_words( 'one of each' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'each' count = 1 ) ). + DATA(act) = cut->count_words( 'one of each' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_3. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_3. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'fish' count = 4 ) ( word = 'two' count = 1 ) ( word = 'red' count = 1 ) - ( word = 'blue' count = 1 ) - ). - DATA(act) = cut->count_words( 'one fish two fish red fish blue fish' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'blue' count = 1 ) ). + DATA(act) = cut->count_words( 'one fish two fish red fish blue fish' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_4. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_4. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'three' count = 1 ) - ( word = 'two' count = 1 ) - ). - DATA(act) = cut->count_words( 'one,two,three' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'two' count = 1 ) ). + DATA(act) = cut->count_words( 'one,two,three' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_5. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_5. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'three' count = 1 ) - ( word = 'two' count = 1 ) - ). - DATA(act) = cut->count_words( 'one,\ntwo,\nthree' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'two' count = 1 ) ). + DATA(act) = cut->count_words( 'one,\ntwo,\nthree' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_6. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_6. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'car' count = 1 ) ( word = 'carpet' count = 1 ) ( word = 'as' count = 1 ) ( word = 'java' count = 1 ) - ( word = 'javascript' count = 1 ) - ). - DATA(act) = cut->count_words( 'car: carpet as java: javascript!!&@$%^&' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'javascript' count = 1 ) ). + DATA(act) = cut->count_words( 'car: carpet as java: javascript!!&@$%^&' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_7. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_7. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'testing' count = 2 ) ( word = '1' count = 1 ) - ( word = '2' count = 1 ) - ). - DATA(act) = cut->count_words( 'testing, 1, 2 testing' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = '2' count = 1 ) ). + DATA(act) = cut->count_words( 'testing, 1, 2 testing' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_8. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_8. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'go' count = 3 ) - ( word = 'stop' count = 2 ) - ). - DATA(act) = cut->count_words( 'go Go GO Stop stop' ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'stop' count = 2 ) ). + DATA(act) = cut->count_words( 'go Go GO Stop stop' ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_9. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_9. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'first' count = 1 ) ( word = 'dont' count = 2 ) ( word = 'laugh' count = 1 ) ( word = 'then' count = 1 ) - ( word = 'cry' count = 1 ) - ). - DATA(act) = cut->count_words( `First: don't laugh. Then: don't cry.` ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'cry' count = 1 ) ). + DATA(act) = cut->count_words( `First: don't laugh. Then: don't cry.` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_10. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_10. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'joe' count = 1 ) ( word = 'cant' count = 1 ) ( word = 'tell' count = 1 ) ( word = 'between' count = 1 ) ( word = 'large' count = 2 ) - ( word = 'and' count = 1 ) - ). - DATA(act) = cut->count_words( `Joe can't tell between 'large' and large.` ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'and' count = 1 ) ). + DATA(act) = cut->count_words( `Joe can't tell between 'large' and large.` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_11. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_11. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'joe' count = 1 ) ( word = 'cant' count = 1 ) ( word = 'tell' count = 1 ) @@ -193,46 +184,41 @@ CLASS ltcl_word_count DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT ( word = 'app' count = 1 ) ( word = 'apple' count = 1 ) ( word = 'and' count = 1 ) - ( word = 'a' count = 1 ) - ). - DATA(act) = cut->count_words( `Joe can't tell between app, apple and a.'` ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'a' count = 1 ) ). + DATA(act) = cut->count_words( `Joe can't tell between app, apple and a.'` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_12. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_12. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'multiple' count = 1 ) - ( word = 'whitespaces' count = 1 ) - ). - DATA(act) = cut->count_words( ` multiple whitespaces` ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'whitespaces' count = 1 ) ). + DATA(act) = cut->count_words( ` multiple whitespaces` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - METHOD test_13. - DATA(exp) = VALUE zcl_word_count=>return_table( + ENDMETHOD. + + METHOD test_13. + DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'three' count = 1 ) - ( word = 'two' count = 1 ) - ). - DATA(act) = cut->count_words( `,\n,one,\n ,two \n 'three'` ). - - SORT exp BY word. - SORT act BY word. - cl_abap_unit_assert=>assert_equals( + ( word = 'two' count = 1 ) ). + DATA(act) = cut->count_words( `,\n,one,\n ,two \n 'three'` ). + + SORT exp BY word. + SORT act BY word. + cl_abap_unit_assert=>assert_equals( act = act exp = exp ). - ENDMETHOD. - - - - ENDCLASS. \ No newline at end of file + ENDMETHOD. + +ENDCLASS. \ No newline at end of file From 199ad7b40f79ea15826c9b87ce9c3a219ea8d0a7 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Sat, 26 Mar 2022 17:41:08 +0100 Subject: [PATCH 03/13] rename test methods --- .../word-count/zcl_word_count.clas.abap | 31 +--------- .../zcl_word_count.clas.testclass.abap | 56 +++++++++---------- 2 files changed, 29 insertions(+), 58 deletions(-) diff --git a/exercises/practice/word-count/zcl_word_count.clas.abap b/exercises/practice/word-count/zcl_word_count.clas.abap index 82be9cca..11a87a62 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.abap @@ -23,35 +23,6 @@ ENDCLASS. CLASS zcl_word_count IMPLEMENTATION. METHOD count_words. - DATA(lv_phrase) = phrase. - CONDENSE lv_phrase. - REPLACE ALL OCCURRENCES OF ',' IN lv_phrase WITH ` `. - REPLACE ALL OCCURRENCES OF '''' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '\n' IN lv_phrase WITH ` `. - REPLACE ALL OCCURRENCES OF '.' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '!' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF ':' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '"' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '&' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '@' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '$' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '%' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '^' IN lv_phrase WITH ''. - CONDENSE lv_phrase. - - SPLIT lv_phrase AT space INTO TABLE DATA(lt_phrases). - - LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL(). - = to_lower( ). - ENDLOOP. - LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL() - GROUP BY ( phrase = size = GROUP SIZE ) - ASSIGNING FIELD-SYMBOL(). - - DATA(return_structure) = VALUE return_structure( word = -phrase count = -size ). - APPEND return_structure TO result. - ENDLOOP. - - +" add your code here ENDMETHOD. ENDCLASS. \ No newline at end of file diff --git a/exercises/practice/word-count/zcl_word_count.clas.testclass.abap b/exercises/practice/word-count/zcl_word_count.clas.testclass.abap index c5796c71..0f8dcb7c 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.testclass.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.testclass.abap @@ -4,19 +4,19 @@ CLASS ltcl_word_count DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT DATA cut TYPE REF TO zcl_word_count. METHODS setup. - METHODS test_1 FOR TESTING RAISING cx_static_check. - METHODS test_2 FOR TESTING RAISING cx_static_check. - METHODS test_3 FOR TESTING RAISING cx_static_check. - METHODS test_4 FOR TESTING RAISING cx_static_check. - METHODS test_5 FOR TESTING RAISING cx_static_check. - METHODS test_6 FOR TESTING RAISING cx_static_check. - METHODS test_7 FOR TESTING RAISING cx_static_check. - METHODS test_8 FOR TESTING RAISING cx_static_check. - METHODS test_9 FOR TESTING RAISING cx_static_check. - METHODS test_10 FOR TESTING RAISING cx_static_check. - METHODS test_11 FOR TESTING RAISING cx_static_check. - METHODS test_12 FOR TESTING RAISING cx_static_check. - METHODS test_13 FOR TESTING RAISING cx_static_check. + METHODS test_one_word FOR TESTING RAISING cx_static_check. + METHODS test_three_words FOR TESTING RAISING cx_static_check. + METHODS test_five_words_multiple FOR TESTING RAISING cx_static_check. + METHODS test_three_words_comma FOR TESTING RAISING cx_static_check. + METHODS test_three_words_linebreak FOR TESTING RAISING cx_static_check. + METHODS test_special_character FOR TESTING RAISING cx_static_check. + METHODS test_words_number_comma FOR TESTING RAISING cx_static_check. + METHODS test_case_insensitive FOR TESTING RAISING cx_static_check. + METHODS test_colon_apostrophe FOR TESTING RAISING cx_static_check. + METHODS test_apostrophe FOR TESTING RAISING cx_static_check. + METHODS test_comma_apostroph FOR TESTING RAISING cx_static_check. + METHODS test_whitespaces FOR TESTING RAISING cx_static_check. + METHODS test_comma_linebreaks FOR TESTING RAISING cx_static_check. ENDCLASS. @@ -28,10 +28,9 @@ CLASS ltcl_word_count IMPLEMENTATION. ENDMETHOD. - METHOD test_1. + METHOD test_one_word. DATA(exp) = VALUE zcl_word_count=>return_table( - ( word = 'word' - count = 1 ) ). + ( word = 'word' count = 1 ) ). DATA(act) = cut->count_words( 'word' ). SORT exp BY word. @@ -41,7 +40,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_2. + METHOD test_three_words. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'of' count = 1 ) @@ -55,7 +54,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_3. + METHOD test_five_words_multiple. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'fish' count = 4 ) @@ -71,7 +70,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_4. + METHOD test_three_words_comma. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'three' count = 1 ) @@ -85,7 +84,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_5. + METHOD test_three_words_linebreak. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'three' count = 1 ) @@ -99,7 +98,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_6. + METHOD test_special_character. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'car' count = 1 ) ( word = 'carpet' count = 1 ) @@ -115,7 +114,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_7. + METHOD test_words_number_comma. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'testing' count = 2 ) ( word = '1' count = 1 ) @@ -129,7 +128,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_8. + METHOD test_case_insensitive. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'go' count = 3 ) ( word = 'stop' count = 2 ) ). @@ -142,7 +141,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_9. + METHOD test_colon_apostrophe. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'first' count = 1 ) ( word = 'dont' count = 2 ) @@ -158,7 +157,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_10. + METHOD test_apostrophe. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'joe' count = 1 ) ( word = 'cant' count = 1 ) @@ -175,7 +174,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_11. + METHOD test_comma_apostroph. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'joe' count = 1 ) ( word = 'cant' count = 1 ) @@ -194,7 +193,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_12. + METHOD test_whitespaces. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'multiple' count = 1 ) ( word = 'whitespaces' count = 1 ) ). @@ -207,7 +206,7 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. - METHOD test_13. + METHOD test_comma_linebreaks. DATA(exp) = VALUE zcl_word_count=>return_table( ( word = 'one' count = 1 ) ( word = 'three' count = 1 ) @@ -221,4 +220,5 @@ CLASS ltcl_word_count IMPLEMENTATION. exp = exp ). ENDMETHOD. + ENDCLASS. \ No newline at end of file From 81b41eebbc77b4916470bb28e69a0ddb4c20b286 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Sat, 26 Mar 2022 17:45:59 +0100 Subject: [PATCH 04/13] set status to WIP --- config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index ccb4a509..46801b55 100644 --- a/config.json +++ b/config.json @@ -180,7 +180,8 @@ "practices": [], "prerequisites": [], "difficulty": 1, - "topics": ["loops", "lists", "regular_expressions", "strings"] + "topics": ["loops", "lists", "regular_expressions", "strings"], + "status": "wip" }, { "slug": "beer-song", From d8118e499ac76d8a862894f7e33841d348ebd2af Mon Sep 17 00:00:00 2001 From: Marian Zeis <13335743+marianfoo@users.noreply.github.com> Date: Tue, 29 Mar 2022 14:14:56 +0200 Subject: [PATCH 05/13] fix: rename testclass --- ...t.clas.testclass.abap => zcl_word_count.clas.testclasses.abap} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename exercises/practice/word-count/{zcl_word_count.clas.testclass.abap => zcl_word_count.clas.testclasses.abap} (100%) diff --git a/exercises/practice/word-count/zcl_word_count.clas.testclass.abap b/exercises/practice/word-count/zcl_word_count.clas.testclasses.abap similarity index 100% rename from exercises/practice/word-count/zcl_word_count.clas.testclass.abap rename to exercises/practice/word-count/zcl_word_count.clas.testclasses.abap From 362edd56051138dac9afd7a07e1d92788aebd113 Mon Sep 17 00:00:00 2001 From: Marian Zeis <13335743+marianfoo@users.noreply.github.com> Date: Tue, 29 Mar 2022 14:18:44 +0200 Subject: [PATCH 06/13] fix: rename testclass in config --- exercises/practice/word-count/.meta/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/word-count/.meta/config.json b/exercises/practice/word-count/.meta/config.json index e005e426..f0b2fb29 100644 --- a/exercises/practice/word-count/.meta/config.json +++ b/exercises/practice/word-count/.meta/config.json @@ -8,7 +8,7 @@ "zcl_word_count.clas.abap" ], "test": [ - "zcl_word_count.clas.testclass.abap" + "zcl_word_count.clas.testclasses.abap" ], "example": [ ".meta/zcl_word_count.clas.abap" From d1a13b137b7fd2481fd153ee63dec1b3d6d0a52c Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Wed, 8 Jun 2022 07:08:56 +0000 Subject: [PATCH 07/13] add abapGit Config --- exercises/practice/word-count/package.devc.xml | 10 ++++++++++ .../word-count/zcl_word_count.clas.abap | 2 +- .../zcl_word_count.clas.testclasses.abap | 2 +- .../practice/word-count/zcl_word_count.clas.xml | 17 +++++++++++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 exercises/practice/word-count/package.devc.xml create mode 100644 exercises/practice/word-count/zcl_word_count.clas.xml diff --git a/exercises/practice/word-count/package.devc.xml b/exercises/practice/word-count/package.devc.xml new file mode 100644 index 00000000..0bd2ccda --- /dev/null +++ b/exercises/practice/word-count/package.devc.xml @@ -0,0 +1,10 @@ + + + + + + Exercism: Word Count + + + + diff --git a/exercises/practice/word-count/zcl_word_count.clas.abap b/exercises/practice/word-count/zcl_word_count.clas.abap index 11a87a62..ed9d6c28 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.abap @@ -25,4 +25,4 @@ CLASS zcl_word_count IMPLEMENTATION. METHOD count_words. " add your code here ENDMETHOD. -ENDCLASS. \ No newline at end of file +ENDCLASS. diff --git a/exercises/practice/word-count/zcl_word_count.clas.testclasses.abap b/exercises/practice/word-count/zcl_word_count.clas.testclasses.abap index 0f8dcb7c..20435478 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.testclasses.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.testclasses.abap @@ -221,4 +221,4 @@ CLASS ltcl_word_count IMPLEMENTATION. ENDMETHOD. -ENDCLASS. \ No newline at end of file +ENDCLASS. diff --git a/exercises/practice/word-count/zcl_word_count.clas.xml b/exercises/practice/word-count/zcl_word_count.clas.xml new file mode 100644 index 00000000..5819a9af --- /dev/null +++ b/exercises/practice/word-count/zcl_word_count.clas.xml @@ -0,0 +1,17 @@ + + + + + + ZCL_WORD_COUNT + E + Exercism: Word Count + 1 + X + X + X + X + + + + From 2b3efd528df5219375613e5678f1e89790f07abb Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Wed, 8 Jun 2022 09:12:38 +0200 Subject: [PATCH 08/13] fix solution --- .../word-count/.meta/zcl_word_count.clas.abap | 53 ++++++++----------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/exercises/practice/word-count/.meta/zcl_word_count.clas.abap b/exercises/practice/word-count/.meta/zcl_word_count.clas.abap index 82be9cca..fe5b43e9 100644 --- a/exercises/practice/word-count/.meta/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/.meta/zcl_word_count.clas.abap @@ -9,7 +9,7 @@ CLASS zcl_word_count DEFINITION word TYPE string, count TYPE i, END OF return_structure, - return_table TYPE STANDARD TABLE OF return_structure WITH EMPTY KEY. + return_table TYPE STANDARD TABLE OF return_structure WITH KEY word. METHODS count_words IMPORTING !phrase TYPE string @@ -23,35 +23,28 @@ ENDCLASS. CLASS zcl_word_count IMPLEMENTATION. METHOD count_words. - DATA(lv_phrase) = phrase. - CONDENSE lv_phrase. - REPLACE ALL OCCURRENCES OF ',' IN lv_phrase WITH ` `. - REPLACE ALL OCCURRENCES OF '''' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '\n' IN lv_phrase WITH ` `. - REPLACE ALL OCCURRENCES OF '.' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '!' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF ':' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '"' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '&' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '@' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '$' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '%' IN lv_phrase WITH ''. - REPLACE ALL OCCURRENCES OF '^' IN lv_phrase WITH ''. - CONDENSE lv_phrase. - - SPLIT lv_phrase AT space INTO TABLE DATA(lt_phrases). - - LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL(). - = to_lower( ). - ENDLOOP. - LOOP AT lt_phrases ASSIGNING FIELD-SYMBOL() - GROUP BY ( phrase = size = GROUP SIZE ) - ASSIGNING FIELD-SYMBOL(). - - DATA(return_structure) = VALUE return_structure( word = -phrase count = -size ). - APPEND return_structure TO result. + DATA(clean) = replace( val = to_lower( phrase ) + sub = `'` + with = `` + occ = 0 ). + clean = replace( val = clean + sub = `\n` + with = ` ` + occ = 0 ). + clean = replace( val = clean + sub = `\t` + with = ` ` + occ = 0 ). + clean = replace( val = clean + regex = `[^a-z0-9]` + with = ` ` + occ = 0 ). + + SPLIT condense( clean ) AT ` ` INTO TABLE DATA(words). + + LOOP AT words INTO DATA(word). + DATA(one_result) = VALUE return_structure( word = word count = 1 ). + COLLECT one_result INTO result. ENDLOOP. - - ENDMETHOD. ENDCLASS. \ No newline at end of file From 751495f59592b4030e97418f22dc786d63d24c49 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Wed, 8 Jun 2022 08:26:24 +0000 Subject: [PATCH 09/13] replace collect --- .../word-count/zcl_word_count.clas.abap | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/exercises/practice/word-count/zcl_word_count.clas.abap b/exercises/practice/word-count/zcl_word_count.clas.abap index ed9d6c28..06cb5f8c 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.abap @@ -9,7 +9,7 @@ CLASS zcl_word_count DEFINITION word TYPE string, count TYPE i, END OF return_structure, - return_table TYPE STANDARD TABLE OF return_structure WITH EMPTY KEY. + return_table TYPE STANDARD TABLE OF return_structure WITH KEY word. METHODS count_words IMPORTING !phrase TYPE string @@ -23,6 +23,34 @@ ENDCLASS. CLASS zcl_word_count IMPLEMENTATION. METHOD count_words. -" add your code here + DATA(clean) = replace( val = to_lower( phrase ) + sub = `'` + with = `` + occ = 0 ). + clean = replace( val = clean + sub = `\n` + with = ` ` + occ = 0 ). + clean = replace( val = clean + sub = `\t` + with = ` ` + occ = 0 ). + clean = replace( val = clean + regex = `[^a-z0-9]` + with = ` ` + occ = 0 ). + + SPLIT condense( clean ) AT ` ` INTO TABLE DATA(words). + + LOOP AT words INTO DATA(word). + DATA(one_result) = VALUE return_structure( word = word count = 1 ). + " COLLECT one_result INTO result. + READ TABLE result ASSIGNING FIELD-SYMBOL() WITH TABLE KEY word = one_result-word. + IF sy-subrc = 0. + -count = -count + one_result-count. + ELSE. + INSERT one_result INTO TABLE result. + ENDIF. + ENDLOOP. ENDMETHOD. ENDCLASS. From eee5e993d4fa09c7ee931e5aaa03600ee17f18a8 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Wed, 8 Jun 2022 08:27:25 +0000 Subject: [PATCH 10/13] remove comment --- exercises/practice/word-count/zcl_word_count.clas.abap | 1 - 1 file changed, 1 deletion(-) diff --git a/exercises/practice/word-count/zcl_word_count.clas.abap b/exercises/practice/word-count/zcl_word_count.clas.abap index 06cb5f8c..54c29ab3 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.abap @@ -44,7 +44,6 @@ CLASS zcl_word_count IMPLEMENTATION. LOOP AT words INTO DATA(word). DATA(one_result) = VALUE return_structure( word = word count = 1 ). - " COLLECT one_result INTO result. READ TABLE result ASSIGNING FIELD-SYMBOL() WITH TABLE KEY word = one_result-word. IF sy-subrc = 0. -count = -count + one_result-count. From e81fcffda10840540c3228a324fbbf7d5ac2b719 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Wed, 8 Jun 2022 08:30:17 +0000 Subject: [PATCH 11/13] replace with field-symbol --- exercises/practice/word-count/zcl_word_count.clas.abap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/word-count/zcl_word_count.clas.abap b/exercises/practice/word-count/zcl_word_count.clas.abap index 54c29ab3..f434ff75 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.abap @@ -42,8 +42,8 @@ CLASS zcl_word_count IMPLEMENTATION. SPLIT condense( clean ) AT ` ` INTO TABLE DATA(words). - LOOP AT words INTO DATA(word). - DATA(one_result) = VALUE return_structure( word = word count = 1 ). + LOOP AT words ASSIGNING FIELD-SYMBOL(). + DATA(one_result) = VALUE return_structure( word = count = 1 ). READ TABLE result ASSIGNING FIELD-SYMBOL() WITH TABLE KEY word = one_result-word. IF sy-subrc = 0. -count = -count + one_result-count. From db4b2a8dce3482d0b1b129f1462a14f39b0d3c7d Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Wed, 8 Jun 2022 10:35:53 +0200 Subject: [PATCH 12/13] fix solution --- .../word-count/.meta/zcl_word_count.clas.abap | 11 +++++-- .../word-count/zcl_word_count.clas.abap | 29 +------------------ 2 files changed, 9 insertions(+), 31 deletions(-) diff --git a/exercises/practice/word-count/.meta/zcl_word_count.clas.abap b/exercises/practice/word-count/.meta/zcl_word_count.clas.abap index fe5b43e9..3e29fc27 100644 --- a/exercises/practice/word-count/.meta/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/.meta/zcl_word_count.clas.abap @@ -42,9 +42,14 @@ CLASS zcl_word_count IMPLEMENTATION. SPLIT condense( clean ) AT ` ` INTO TABLE DATA(words). - LOOP AT words INTO DATA(word). - DATA(one_result) = VALUE return_structure( word = word count = 1 ). - COLLECT one_result INTO result. + LOOP AT words ASSIGNING FIELD-SYMBOL(). + DATA(one_result) = VALUE return_structure( word = count = 1 ). + READ TABLE result ASSIGNING FIELD-SYMBOL() WITH TABLE KEY word = one_result-word. + IF sy-subrc = 0. + -count = -count + one_result-count. + ELSE. + INSERT one_result INTO TABLE result. + ENDIF. ENDLOOP. ENDMETHOD. ENDCLASS. \ No newline at end of file diff --git a/exercises/practice/word-count/zcl_word_count.clas.abap b/exercises/practice/word-count/zcl_word_count.clas.abap index f434ff75..0e1a31d2 100644 --- a/exercises/practice/word-count/zcl_word_count.clas.abap +++ b/exercises/practice/word-count/zcl_word_count.clas.abap @@ -23,33 +23,6 @@ ENDCLASS. CLASS zcl_word_count IMPLEMENTATION. METHOD count_words. - DATA(clean) = replace( val = to_lower( phrase ) - sub = `'` - with = `` - occ = 0 ). - clean = replace( val = clean - sub = `\n` - with = ` ` - occ = 0 ). - clean = replace( val = clean - sub = `\t` - with = ` ` - occ = 0 ). - clean = replace( val = clean - regex = `[^a-z0-9]` - with = ` ` - occ = 0 ). - - SPLIT condense( clean ) AT ` ` INTO TABLE DATA(words). - - LOOP AT words ASSIGNING FIELD-SYMBOL(). - DATA(one_result) = VALUE return_structure( word = count = 1 ). - READ TABLE result ASSIGNING FIELD-SYMBOL() WITH TABLE KEY word = one_result-word. - IF sy-subrc = 0. - -count = -count + one_result-count. - ELSE. - INSERT one_result INTO TABLE result. - ENDIF. - ENDLOOP. + "Add solution here ENDMETHOD. ENDCLASS. From 6a4e9ac0556e39a12d37aae4a56e16f3f65c4e7c Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Wed, 8 Jun 2022 11:16:39 +0200 Subject: [PATCH 13/13] remove results.json and test.toml --- exercises/practice/word-count/.meta/tests.toml | 0 exercises/practice/word-count/results.json | 1 - 2 files changed, 1 deletion(-) delete mode 100644 exercises/practice/word-count/.meta/tests.toml delete mode 100644 exercises/practice/word-count/results.json diff --git a/exercises/practice/word-count/.meta/tests.toml b/exercises/practice/word-count/.meta/tests.toml deleted file mode 100644 index e69de29b..00000000 diff --git a/exercises/practice/word-count/results.json b/exercises/practice/word-count/results.json deleted file mode 100644 index c87a75ee..00000000 --- a/exercises/practice/word-count/results.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"status":"error","message":"./zcl_word_count.clas.abap[1, 1] - Expected ENDMETHOD (structure) [E]\n./zcl_word_count.clas.abap[52, 5] - Statement does not exist in ABAPopen-abap(or a parser error), \"LOOP\" (parser_error) [E]\n./zcl_word_count.clas.testclass.abap[5, 10] - Variable \"CUT\" contains unknown: REF, unable to resolve zcl_word_count (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[27, 5] - TYPE \"zcl_word_count\" not found (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[32, 10] - Variable \"TEMP2\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[33, 10] - Variable \"TEMP3\" contains unknown: Type error, not a table type temp2 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[34, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[35, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[36, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[37, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[38, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[42, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[52, 10] - Variable \"TEMP4\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[53, 10] - Variable \"TEMP5\" contains unknown: Type error, not a table type temp4 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[54, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[55, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[56, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[57, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[58, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[59, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[60, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[61, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[62, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[63, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[64, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[68, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[78, 10] - Variable \"TEMP6\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[79, 10] - Variable \"TEMP7\" contains unknown: Type error, not a table type temp6 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[80, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[81, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[82, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[83, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[84, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[85, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[86, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[87, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[88, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[89, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[90, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[91, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[92, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[93, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[94, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[95, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[96, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[100, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[110, 10] - Variable \"TEMP8\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[111, 10] - Variable \"TEMP9\" contains unknown: Type error, not a table type temp8 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[112, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[113, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[114, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[115, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[116, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[117, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[118, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[119, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[120, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[121, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[122, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[126, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[136, 10] - Variable \"TEMP10\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[137, 10] - Variable \"TEMP11\" contains unknown: Type error, not a table type temp10 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[138, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[139, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[140, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[141, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[142, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[143, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[144, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[145, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[146, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[147, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[148, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[152, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[162, 10] - Variable \"TEMP12\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[163, 10] - Variable \"TEMP13\" contains unknown: Type error, not a table type temp12 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[164, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[165, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[166, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[167, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[168, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[169, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[170, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[171, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[172, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[173, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[174, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[175, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[176, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[177, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[178, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[179, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[180, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[184, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[194, 10] - Variable \"TEMP14\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[195, 10] - Variable \"TEMP15\" contains unknown: Type error, not a table type temp14 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[196, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[197, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[198, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[199, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[200, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[201, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[202, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[203, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[204, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[205, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[206, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[210, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[220, 10] - Variable \"TEMP16\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[221, 10] - Variable \"TEMP17\" contains unknown: Type error, not a table type temp16 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[222, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[223, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[224, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[225, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[226, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[227, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[228, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[229, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[233, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[243, 10] - Variable \"TEMP18\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[244, 10] - Variable \"TEMP19\" contains unknown: Type error, not a table type temp18 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[245, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[246, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[247, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[248, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[249, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[250, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[251, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[252, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[253, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[254, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[255, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[256, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[257, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[258, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[259, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[260, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[261, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[265, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[275, 10] - Variable \"TEMP20\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[276, 10] - Variable \"TEMP21\" contains unknown: Type error, not a table type temp20 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[277, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[278, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[279, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[280, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[281, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[282, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[283, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[284, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[285, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[286, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[287, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[288, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[289, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[290, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[291, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[292, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[293, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[294, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[295, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[296, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[300, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[310, 10] - Variable \"TEMP22\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[311, 10] - Variable \"TEMP23\" contains unknown: Type error, not a table type temp22 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[312, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[313, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[314, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[315, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[316, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[317, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[318, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[319, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[320, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[321, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[322, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[323, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[324, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[325, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[326, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[327, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[328, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[329, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[330, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[331, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[332, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[333, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[334, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[335, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[336, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[337, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[341, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[351, 10] - Variable \"TEMP24\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[352, 10] - Variable \"TEMP25\" contains unknown: Type error, not a table type temp24 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[353, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[354, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[355, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[356, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[357, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[358, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[359, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[360, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[364, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[374, 10] - Variable \"TEMP26\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[375, 10] - Variable \"TEMP27\" contains unknown: Type error, not a table type temp26 (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[376, 10] - Variable \"ACT\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[377, 10] - Variable \"EXP\" contains unknown: Could not resolve top ZCL_WORD_COUNT, resolveTypeChain (unknown_types) [E]\n./zcl_word_count.clas.testclass.abap[378, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[379, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[380, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[381, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[382, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[383, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[384, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[385, 5] - Not a structure, type unknown, target (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[386, 5] - Append, target not a table type (check_syntax) [E]\n./zcl_word_count.clas.testclass.abap[390, 5] - Method \"count_words\" not found, methodCallChain (check_syntax) [E]\nabaplint: 216 issue(s) found"} \ No newline at end of file