thejoeejoee / IFJ-VUT-BIT-2017-2018

Repository for program interpret of custom language IFJ2017 written in C tested under Google tests.
GNU General Public License v3.0
2 stars 3 forks source link

Global extension #67

Closed thejoeejoee closed 6 years ago

thejoeejoee commented 6 years ago
thejoeejoee@selene:~/projects/VUT-FIT-IFJ-2017-tests$ python3 test.py ../IFJ-VUT-BIT-2017-2018/cmake-build-debug/ifj2017
Welcome to automatic test runner for IFJ17 compiler (https://github.com/thejoeejoee/VUT-FIT-IFJ-2017-tests).
Activated 7 extensions: BASE, BOOLOP, FUNEXP, GLOBAL, IFTHEN, SCOPE, UNARY - autoloaded from /home/thejoeejoee/projects/IFJ-VUT-BIT-2017-2018/rozsireni.
01_basic:
02_functions:
03_statements:
04_expressions:
05_conditions:
06_loops:
07_strings:
08_booleans:
09_scopes:
10_unary:
    03  (functions with funexp and unary):  × COMPILER EXIT CODE expected=0, returned=2
11_base:
12_global:
13_cycles:
    01  (basic continue):  skipping, required extension(s) CYCLES is not activated.
66_errors:
    030 (assignment or undefined variable in same variable declaration):  × COMPILER EXIT CODE expected=3, returned=0
99_benchmarks:
    01  (lots of nested control statements): ✓ × INTERPRETER TIMEOUT
    02  (fibonacci sequence): ✓ × INTERPRETER TIMEOUT
    05  (factorial by recursion): ✓✓ × STDOUT
    07  (reference program working with strings and builtin functions): ✓ × INTERPRETER TIMEOUT
    08  (factorial by iteration method): ✓✓ × STDOUT
    11  (big count of function parameters):  × COMPILER TIMEOUT
RESULTS: 96.10% (197/205)
    ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓×✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓-✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓×✓✓✓✓✓✓✓✓✓✓✓✓✓××✓✓×××✓✓×
codecov[bot] commented 6 years ago

Codecov Report

Merging #67 into develop will increase coverage by 0.05%. The diff coverage is 97.86%.

Impacted Files Coverage Δ
test/parser.cpp 100% <100%> (ø) :arrow_up:
src/parser.c 98.82% <100%> (+0.08%) :arrow_up:
src/symtable_variable.c 98.52% <100%> (+0.34%) :arrow_up:
src/code_instruction_operand.c 93.37% <100%> (-0.67%) :arrow_down:
src/code_constructor.c 100% <100%> (ø) :arrow_up:
src/parser_semantic.c 100% <100%> (ø) :arrow_up:
src/code_generator.c 93.44% <90%> (+0.4%) :arrow_up:
@@             Coverage Diff             @@
##           develop      #67      +/-   ##
===========================================
+ Coverage    96.75%   96.81%   +0.05%     
===========================================
  Files           48       48              
  Lines         4438     4581     +143     
===========================================
+ Hits          4294     4435     +141     
- Misses         144      146       +2