• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ArkScript-lang / Ark / 15545227815

09 Jun 2025 09:40PM UTC coverage: 86.622% (-0.1%) from 86.738%
15545227815

Pull #549

github

web-flow
Merge 0cd5e8dbd into aa74c8fcd
Pull Request #549: refactor: move Value::ProcType to std::function

23 of 39 new or added lines in 6 files covered. (58.97%)

11 existing lines in 2 files now uncovered.

7278 of 8402 relevant lines covered (86.62%)

120030.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

48.15
/src/arkreactor/VM/Value/Procedure.cpp
1
#include <Ark/VM/Value.hpp>
2
#include <Ark/VM/Value/Procedure.hpp>
3

4
#include <utility>
5

6
namespace Ark
7
{
8
    Value Procedure::operator()(std::vector<Value>& args, VM* vm) const
11,827✔
9
    {
11,827✔
10
        return m_procedure(args, vm);
11,827✔
11
    }
12

13
    Procedure::Procedure(PointerType c_pointer)
49✔
14
    {
49✔
15
        m_procedure = c_pointer;
49✔
16
    }
49✔
17

18
    Procedure::Procedure(Procedure&& other) :
116✔
19
        m_procedure(std::exchange(other.m_procedure, nullptr)) {}
116✔
20

21
    Procedure::Procedure(const Procedure& other) :
65✔
22
        m_procedure(other.m_procedure)
65✔
23
    {
65✔
24
    }
65✔
25

NEW
26
    Procedure& Procedure::operator=(Procedure&& other)
×
NEW
27
    {
×
NEW
28
        m_procedure = std::move(other.m_procedure);
×
NEW
29
        return *this;
×
30
    }
31

NEW
32
    Procedure& Procedure::operator=(const Procedure& other)
×
NEW
33
    {
×
NEW
34
        m_procedure = other.m_procedure;
×
NEW
35
        return *this;
×
36
    }
37

NEW
38
    bool Procedure::operator<(const Procedure&) const noexcept
×
NEW
39
    {
×
NEW
40
        return false;
×
41
    }
42

NEW
43
    bool Procedure::operator==(const Procedure&) const noexcept
×
NEW
44
    {
×
NEW
45
        return false;
×
46
    }
47
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc