From 42bfd8feac62f4eba533762c133b983aad61cef1 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 09:53:19 +0000 Subject: [PATCH 01/17] improved spelling and removed grammatical errors --- .github/CODE_OF_CONDUCT.md | 20 ++++++++--------- .github/CONTRIBUTING.md | 2 +- ChangeLog.md | 18 +++++++-------- README.md | 14 ++++++------ TSF/docs/introduction/index.rst | 6 ++--- TSF/docs/list_of_test_environments.md | 8 +++---- TSF/trustable/assumptions-of-use/AOU-07.md | 2 +- TSF/trustable/assumptions-of-use/AOU-11.md | 2 +- TSF/trustable/assumptions-of-use/AOU-14.md | 2 +- TSF/trustable/assumptions-of-use/AOU-19.md | 2 +- TSF/trustable/assumptions-of-use/AOU-23.md | 2 +- TSF/trustable/assumptions-of-use/AOU-24.md | 2 +- TSF/trustable/assumptions-of-use/AOU-28.md | 2 +- TSF/trustable/no-json-faults/NJF-05.2.md | 2 +- TSF/trustable/no-json-faults/NJF-05.3.md | 2 +- TSF/trustable/no-json-faults/NJF-05.7.md | 2 +- TSF/trustable/no-json-faults/NJF-06.3.md | 2 +- TSF/trustable/no-json-faults/NJF-06.4.1.md | 2 +- TSF/trustable/no-json-faults/NJF-06.5.1.md | 2 +- TSF/trustable/no-json-faults/NJF-06.5.2.md | 2 +- TSF/trustable/no-json-faults/NJF-06.6.md | 2 +- TSF/trustable/no-json-faults/NJF-06.7.1.md | 2 +- TSF/trustable/no-json-faults/NJF-06.7.md | 2 +- TSF/trustable/no-json-faults/NJF-07.1.md | 2 +- TSF/trustable/no-json-faults/NJF-07.4.md | 2 +- TSF/trustable/no-json-faults/NJF-07.6.md | 2 +- TSF/trustable/no-json-faults/NJF-07.8.md | 2 +- TSF/trustable/no-json-faults/NJF-08.1.md | 2 +- TSF/trustable/no-json-faults/NJF-08.2.md | 2 +- TSF/trustable/no-json-faults/NJF-08.4.md | 2 +- TSF/trustable/no-json-faults/NJF-08.5.md | 2 +- TSF/trustable/no-json-faults/NJF-08.7.md | 2 +- TSF/trustable/no-json-faults/NJF-12.3.md | 2 +- TSF/trustable/no-json-faults/NJF-12.5.md | 2 +- TSF/trustable/no-parsing-faults/NPF-01.4.md | 2 +- TSF/trustable/no-parsing-faults/NPF-03.3.md | 2 +- TSF/trustable/no-parsing-faults/NPF-03.4.md | 2 +- TSF/trustable/no-parsing-faults/NPF-03.5.md | 2 +- TSF/trustable/no-parsing-faults/NPF-07.md | 2 +- TSF/trustable/parse-json-data/PJD-01.md | 2 +- TSF/trustable/parse-json-data/PJD-02.md | 2 +- TSF/trustable/statements/JLS-07.md | 2 +- TSF/trustable/statements/JLS-11.md | 2 +- TSF/trustable/statements/JLS-17.md | 2 +- TSF/trustable/statements/JLS-20.md | 2 +- TSF/trustable/statements/JLS-22.md | 2 +- TSF/trustable/statements/JLS-23.md | 2 +- TSF/trustable/statements/JLS-24.md | 2 +- TSF/trustable/statements/JLS-26.md | 2 +- TSF/trustable/statements/JLS-29.md | 2 +- TSF/trustable/statements/JLS-30.md | 2 +- TSF/trustable/well-formed-json/WFJ-04.md | 2 +- TSF/trustable/well-formed-json/WFJ-06.md | 2 +- cmake/gcc_flags.cmake | 2 +- docs/mkdocs/docs/api/basic_json/back.md | 2 +- docs/mkdocs/docs/api/basic_json/basic_json.md | 2 +- .../docs/api/basic_json/cbor_tag_handler_t.md | 2 +- docs/mkdocs/docs/api/basic_json/crend.md | 2 +- .../docs/api/basic_json/error_handler_t.md | 2 +- docs/mkdocs/docs/api/basic_json/front.md | 2 +- docs/mkdocs/docs/api/basic_json/get.md | 2 +- docs/mkdocs/docs/api/basic_json/get_ptr.md | 4 ++-- docs/mkdocs/docs/api/basic_json/get_ref.md | 2 +- docs/mkdocs/docs/api/basic_json/index.md | 2 +- .../docs/api/basic_json/number_float_t.md | 2 +- .../docs/api/basic_json/number_integer_t.md | 2 +- .../docs/api/basic_json/number_unsigned_t.md | 2 +- docs/mkdocs/docs/api/basic_json/object_t.md | 8 +++---- docs/mkdocs/docs/api/basic_json/operator[].md | 6 ++--- .../docs/api/basic_json/operator_ValueType.md | 2 +- docs/mkdocs/docs/api/basic_json/rend.md | 2 +- docs/mkdocs/docs/api/basic_json/value_t.md | 2 +- .../docs/api/json_pointer/json_pointer.md | 2 +- docs/mkdocs/docs/api/macros/index.md | 4 ++-- docs/mkdocs/docs/api/macros/json_assert.md | 6 ++--- .../docs/api/macros/json_diagnostics.md | 4 ++-- .../macros/json_disable_enum_serialization.md | 2 +- .../mkdocs/docs/api/macros/json_throw_user.md | 2 +- .../docs/api/macros/json_use_global_udls.md | 6 ++--- .../macros/json_use_implicit_conversions.md | 2 +- ...n_use_legacy_discarded_value_comparison.md | 14 ++++++------ .../macros/nlohmann_json_serialize_enum.md | 2 +- docs/mkdocs/docs/api/ordered_map.md | 2 +- .../docs/community/quality_assurance.md | 6 ++--- docs/mkdocs/docs/examples/back.cpp | 4 ++-- docs/mkdocs/docs/examples/front.cpp | 4 ++-- docs/mkdocs/docs/features/arbitrary_types.md | 2 +- docs/mkdocs/docs/features/assertions.md | 22 +++++++++---------- .../docs/features/binary_formats/bjdata.md | 2 +- .../docs/features/binary_formats/cbor.md | 2 +- .../docs/features/binary_formats/ubjson.md | 2 +- .../element_access/unchecked_access.md | 10 ++++----- docs/mkdocs/docs/features/enum_conversion.md | 2 +- docs/mkdocs/docs/features/namespace.md | 4 ++-- docs/mkdocs/docs/features/object_order.md | 4 ++-- docs/mkdocs/docs/features/types/index.md | 8 +++---- .../docs/features/types/number_handling.md | 6 ++--- docs/mkdocs/docs/home/design_goals.md | 2 +- docs/mkdocs/docs/home/exceptions.md | 4 ++-- docs/mkdocs/docs/home/faq.md | 2 +- docs/mkdocs/docs/home/releases.md | 18 +++++++-------- docs/mkdocs/docs/integration/cmake.md | 2 +- .../docs/integration/migration_guide.md | 2 +- .../detail/json_custom_base_class.hpp | 2 +- include/nlohmann/detail/value_t.hpp | 2 +- include/nlohmann/json.hpp | 4 ++-- single_include/nlohmann/json.hpp | 8 +++---- tests/abi/include/nlohmann/json_v3_10_5.hpp | 4 ++-- tests/src/unit-iterators1.cpp | 2 +- tests/src/unit-regression1.cpp | 6 ++--- tests/thirdparty/doctest/doctest.h | 4 ++-- 111 files changed, 199 insertions(+), 199 deletions(-) diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 30eb5784ce..d65e3bff07 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -14,7 +14,7 @@ diverse, inclusive, and healthy community. ## Our Standards -Examples of behavior that contributes to a positive environment for our +Examples of behaviour that contributes to a positive environment for our community include: * Demonstrating empathy and kindness toward other people @@ -25,7 +25,7 @@ community include: * Focusing on what is best not just for us as individuals, but for the overall community -Examples of unacceptable behavior include: +Examples of unacceptable behaviour include: * The use of sexualized language or imagery, and sexual attention or advances of any kind @@ -39,8 +39,8 @@ Examples of unacceptable behavior include: ## Enforcement Responsibilities Community leaders are responsible for clarifying and enforcing our standards of -acceptable behavior and will take appropriate and fair corrective action in -response to any behavior that they deem inappropriate, threatening, offensive, +acceptable behaviour and will take appropriate and fair corrective action in +response to any behaviour that they deem inappropriate, threatening, offensive, or harmful. Community leaders have the right and responsibility to remove, edit, or reject @@ -58,7 +58,7 @@ representative at an online or offline event. ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be +Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported to the community leaders responsible for enforcement at [mail@nlohmann.me](mailto:mail@nlohmann.me). All complaints will be reviewed and investigated promptly and fairly. @@ -73,19 +73,19 @@ the consequences for any action they deem in violation of this Code of Conduct: ### 1. Correction -**Community Impact**: Use of inappropriate language or other behavior deemed +**Community Impact**: Use of inappropriate language or other behaviour deemed unprofessional or unwelcome in the community. **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the -behavior was inappropriate. A public apology may be requested. +behaviour was inappropriate. A public apology may be requested. ### 2. Warning **Community Impact**: A violation through a single incident or series of actions. -**Consequence**: A warning with consequences for continued behavior. No +**Consequence**: A warning with consequences for continued behaviour. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels @@ -95,7 +95,7 @@ ban. ### 3. Temporary Ban **Community Impact**: A serious violation of community standards, including -sustained inappropriate behavior. +sustained inappropriate behaviour. **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an +standards, including sustained inappropriate behaviour, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within the diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index ad9820fcb9..a45d4d773e 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -185,7 +185,7 @@ Although these guidelines may seem restrictive, they are essential for maintaini Breaking changes may be introduced when they are guarded with a feature macro such as [`JSON_USE_IMPLICIT_CONVERSIONS`](https://json.nlohmann.me/api/macros/json_use_implicit_conversions/) which allows to -selectively change the behavior of the library. In next steps, the current behavior can then be deprecated. Using +selectively change the behaviour of the library. In next steps, the current behaviour can then be deprecated. Using feature macros then allows users to test their code against the library in the next major release. ### Break C++11 language conformance diff --git a/ChangeLog.md b/ChangeLog.md index 2274fb455f..a3722fb2b9 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -728,7 +728,7 @@ All notable changes to this project will be documented in this file. This projec - string literals possibly being parsed as another type due to the presence of only digits and full-stops [\#2852](https://github.com/nlohmann/json/issues/2852) - json::parse\(\) works only with absolute paths [\#2851](https://github.com/nlohmann/json/issues/2851) - Compiler Warnings on Raspberry Pi OS [\#2850](https://github.com/nlohmann/json/issues/2850) -- Braced initialization and aggregate initialization behavior is different for `json::array()` function call. [\#2848](https://github.com/nlohmann/json/issues/2848) +- Braced initialization and aggregate initialization behaviour is different for `json::array()` function call. [\#2848](https://github.com/nlohmann/json/issues/2848) - 3.9.1: test suite is failing [\#2845](https://github.com/nlohmann/json/issues/2845) - Documentation for macro JSON\_NO\_IO is missing [\#2842](https://github.com/nlohmann/json/issues/2842) - Assertion failure when inserting into arrays with JSON\_DIAGNOSTICS set [\#2838](https://github.com/nlohmann/json/issues/2838) @@ -843,7 +843,7 @@ All notable changes to this project will be documented in this file. This projec - ADL issue in input\_adapter [\#2248](https://github.com/nlohmann/json/issues/2248) - Output adapters should be templated. [\#2172](https://github.com/nlohmann/json/issues/2172) - error when using nlohmann::json, std::function and std::bind [\#2147](https://github.com/nlohmann/json/issues/2147) -- Remove undefined behavior for const operator\[\] [\#2111](https://github.com/nlohmann/json/issues/2111) +- Remove undefined behaviour for const operator\[\] [\#2111](https://github.com/nlohmann/json/issues/2111) - json\({}\) gives null instead of empty object with GCC and -std=c++17 [\#2046](https://github.com/nlohmann/json/issues/2046) - GDB pretty printing support [\#1952](https://github.com/nlohmann/json/issues/1952) - Always compile tests with all warnings enabled and error out on warnings [\#1798](https://github.com/nlohmann/json/issues/1798) @@ -1192,7 +1192,7 @@ All notable changes to this project will be documented in this file. This projec - Build error when modify value [\#1998](https://github.com/nlohmann/json/issues/1998) - How do i include a vector of pointers in my json? [\#1997](https://github.com/nlohmann/json/issues/1997) - Compiler error wrt incomplete types changed in gcc8.3.0-26 [\#1996](https://github.com/nlohmann/json/issues/1996) -- NaN-like comparison behavior of discarded is inconvenient [\#1988](https://github.com/nlohmann/json/issues/1988) +- NaN-like comparison behaviour of discarded is inconvenient [\#1988](https://github.com/nlohmann/json/issues/1988) - Maintaining JSON package in my CMake [\#1987](https://github.com/nlohmann/json/issues/1987) - reading int number and string number [\#1986](https://github.com/nlohmann/json/issues/1986) - Build error: keyword is hidden by macro definition! [\#1985](https://github.com/nlohmann/json/issues/1985) @@ -1287,7 +1287,7 @@ All notable changes to this project will be documented in this file. This projec - How to serialize nested classes to semi-flat JSON object? [\#1859](https://github.com/nlohmann/json/issues/1859) - Memory Requirement for large json file [\#1858](https://github.com/nlohmann/json/issues/1858) - Query a binary format \(BSON, CBOR, MessagePack, UBJSON\) [\#1856](https://github.com/nlohmann/json/issues/1856) -- Documentation on operator\[\] behavior with missing keys [\#1855](https://github.com/nlohmann/json/issues/1855) +- Documentation on operator\[\] behaviour with missing keys [\#1855](https://github.com/nlohmann/json/issues/1855) - Problem in converting string into JSON; Can't parse successfully. [\#1854](https://github.com/nlohmann/json/issues/1854) - json.at\_or\_default\(key, defaultval\) [\#1852](https://github.com/nlohmann/json/issues/1852) - please improve the enum conversion documentation \(my example gist provided\) [\#1851](https://github.com/nlohmann/json/issues/1851) @@ -1315,7 +1315,7 @@ All notable changes to this project will be documented in this file. This projec - Add support for parse stack limiting [\#1788](https://github.com/nlohmann/json/issues/1788) - GCC -Wuseless-cast warnings [\#1777](https://github.com/nlohmann/json/issues/1777) - compilation issue with NVCC 9.0 [\#1773](https://github.com/nlohmann/json/issues/1773) -- Unexpected behavior with fifo\_map json when copy and append [\#1763](https://github.com/nlohmann/json/issues/1763) +- Unexpected behaviour with fifo\_map json when copy and append [\#1763](https://github.com/nlohmann/json/issues/1763) - Parse error [\#1761](https://github.com/nlohmann/json/issues/1761) - Assignment \(using value\(\)\) to nonexistent element behaves differently on Xcode 8 vs Xcode 10 [\#1758](https://github.com/nlohmann/json/issues/1758) - Readme out of date [\#1756](https://github.com/nlohmann/json/issues/1756) @@ -1839,7 +1839,7 @@ All notable changes to this project will be documented in this file. This projec - Get value without explicit typecasting [\#1395](https://github.com/nlohmann/json/issues/1395) - Big file parsing [\#1393](https://github.com/nlohmann/json/issues/1393) - Adding Structured Binding Support [\#1388](https://github.com/nlohmann/json/issues/1388) -- map\ exhibits unexpected behavior [\#1387](https://github.com/nlohmann/json/issues/1387) +- map\ exhibits unexpected behaviour [\#1387](https://github.com/nlohmann/json/issues/1387) - Error Code Return [\#1386](https://github.com/nlohmann/json/issues/1386) - using unordered\_map as object type [\#1385](https://github.com/nlohmann/json/issues/1385) - float precision [\#1384](https://github.com/nlohmann/json/issues/1384) @@ -2673,7 +2673,7 @@ All notable changes to this project will be documented in this file. This projec - Reuse memory in to\_cbor and to\_msgpack functions [\#476](https://github.com/nlohmann/json/issues/476) - Error Using JSON Library with arrays C++ [\#475](https://github.com/nlohmann/json/issues/475) - Moving forward to version 3.0.0 [\#474](https://github.com/nlohmann/json/issues/474) -- Inconsistent behavior in conversion to array type [\#473](https://github.com/nlohmann/json/issues/473) +- Inconsistent behaviour in conversion to array type [\#473](https://github.com/nlohmann/json/issues/473) - Create a \[key:member\_pointer\] map to ease parsing custom types [\#471](https://github.com/nlohmann/json/issues/471) - MSVC 2015 update 2 [\#469](https://github.com/nlohmann/json/issues/469) - VS2017 implicit to std::string conversion fix. [\#464](https://github.com/nlohmann/json/issues/464) @@ -2684,7 +2684,7 @@ All notable changes to this project will be documented in this file. This projec - Is it possible to turn this into a shared library? [\#420](https://github.com/nlohmann/json/issues/420) - Further thoughts on performance improvements [\#418](https://github.com/nlohmann/json/issues/418) - nan number stored as null [\#388](https://github.com/nlohmann/json/issues/388) -- Behavior of operator\>\> should more closely resemble that of built-in overloads. [\#367](https://github.com/nlohmann/json/issues/367) +- behaviour of operator\>\> should more closely resemble that of built-in overloads. [\#367](https://github.com/nlohmann/json/issues/367) - Request: range-based-for over a json-object to expose .first/.second [\#350](https://github.com/nlohmann/json/issues/350) - feature wish: JSONPath [\#343](https://github.com/nlohmann/json/issues/343) - UTF-8/Unicode escape and dump [\#330](https://github.com/nlohmann/json/issues/330) @@ -2986,7 +2986,7 @@ All notable changes to this project will be documented in this file. This projec - Equality operator results in array when assigned object [\#292](https://github.com/nlohmann/json/issues/292) - Support for integers not from the range \[-\(2\*\*53\)+1, \(2\*\*53\)-1\] in parser [\#291](https://github.com/nlohmann/json/issues/291) - Support for iterator-range parsing [\#290](https://github.com/nlohmann/json/issues/290) -- Horribly inconsistent behavior between const/non-const reference in operator \[\] \(\) [\#289](https://github.com/nlohmann/json/issues/289) +- Horribly inconsistent behaviour between const/non-const reference in operator \[\] \(\) [\#289](https://github.com/nlohmann/json/issues/289) - Silently get numbers into smaller types [\#288](https://github.com/nlohmann/json/issues/288) - Incorrect parsing of large int64\_t numbers [\#287](https://github.com/nlohmann/json/issues/287) - \[question\]: macro to disable floating point support [\#284](https://github.com/nlohmann/json/issues/284) diff --git a/README.md b/README.md index 6cb935375f..5aa7a88c27 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ There are myriads of [JSON](https://json.org) libraries out there, and each may - **Trivial integration**. Our whole code consists of a single header file [`json.hpp`](https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp). That's it. No library, no subproject, no dependencies, no complex build system. The class is written in vanilla C++11. All in all, everything should require no adjustment of your compiler flags or project settings. The library is also included in all popular [package managers](https://json.nlohmann.me/integration/package_managers/). -- **Serious testing**. Our code is heavily [unit-tested](https://github.com/nlohmann/json/tree/develop/tests/src) and covers [100%](https://coveralls.io/r/nlohmann/json) of the code, including all exceptional behavior. Furthermore, we checked with [Valgrind](https://valgrind.org) and the [Clang Sanitizers](https://clang.llvm.org/docs/index.html) that there are no memory leaks. [Google OSS-Fuzz](https://github.com/google/oss-fuzz/tree/master/projects/json) additionally runs fuzz tests against all parsers 24/7, effectively executing billions of tests so far. To maintain high quality, the project is following the [Core Infrastructure Initiative (CII) best practices](https://bestpractices.coreinfrastructure.org/projects/289). See the [quality assurance](https://json.nlohmann.me/community/quality_assurance) overview documentation. +- **Serious testing**. Our code is heavily [unit-tested](https://github.com/nlohmann/json/tree/develop/tests/src) and covers [100%](https://coveralls.io/r/nlohmann/json) of the code, including all exceptional behaviour. Furthermore, we checked with [Valgrind](https://valgrind.org) and the [Clang Sanitizers](https://clang.llvm.org/docs/index.html) that there are no memory leaks. [Google OSS-Fuzz](https://github.com/google/oss-fuzz/tree/master/projects/json) additionally runs fuzz tests against all parsers 24/7, effectively executing billions of tests so far. To maintain high quality, the project is following the [Core Infrastructure Initiative (CII) best practices](https://bestpractices.coreinfrastructure.org/projects/289). See the [quality assurance](https://json.nlohmann.me/community/quality_assurance) overview documentation. Other aspects were not so important to us: @@ -834,7 +834,7 @@ Some important things: - Those methods **MUST** be in your type's namespace (which can be the global namespace), or the library will not be able to locate them (in this example, they are in namespace `ns`, where `person` is defined). - Those methods **MUST** be available (e.g., proper headers must be included) everywhere you use these conversions. Look at [issue 1108](https://github.com/nlohmann/json/issues/1108) for errors that may occur otherwise. - When using `template get()`, `your_type` **MUST** be [DefaultConstructible](https://en.cppreference.com/w/cpp/named_req/DefaultConstructible). (There is a way to bypass this requirement described later.) -- In function `from_json`, use function [`at()`](https://json.nlohmann.me/api/basic_json/at/) to access the object values rather than `operator[]`. In case a key does not exist, `at` throws an exception that you can handle, whereas `operator[]` exhibits undefined behavior. +- In function `from_json`, use function [`at()`](https://json.nlohmann.me/api/basic_json/at/) to access the object values rather than `operator[]`. In case a key does not exist, `at` throws an exception that you can handle, whereas `operator[]` exhibits undefined behaviour. - You do not need to add serializers or deserializers for STL types like `std::vector`: the library already implements these. #### Simplify your life with macros @@ -1012,7 +1012,7 @@ struct bad_serializer ### Specializing enum conversion -By default, enum values are serialized to JSON as integers. In some cases this could result in undesired behavior. If an enum is modified or re-ordered after data has been serialized to JSON, the later de-serialized JSON data may be undefined or a different enum value than was originally intended. +By default, enum values are serialized to JSON as integers. In some cases this could result in undesired behaviour. If an enum is modified or re-ordered after data has been serialized to JSON, the later de-serialized JSON data may be undefined or a different enum value than was originally intended. It is possible to more precisely specify how a given enum is mapped to and from JSON as shown below: @@ -1391,7 +1391,7 @@ I deeply appreciate the help of the following people. 29. [Annihil](https://github.com/Annihil) fixed an example in the README file. 30. [Themercee](https://github.com/Themercee) noted a wrong URL in the README file. 31. [Lv Zheng](https://github.com/lv-zheng) fixed a namespace issue with `int64_t` and `uint64_t`. -32. [abc100m](https://github.com/abc100m) analyzed the issues with GCC 4.8 and proposed a [partial solution](https://github.com/nlohmann/json/pull/212). +32. [abc100m](https://github.com/abc100m) analysed the issues with GCC 4.8 and proposed a [partial solution](https://github.com/nlohmann/json/pull/212). 33. [zewt](https://github.com/zewt) added useful notes to the README file about Android. 34. [Róbert Márki](https://github.com/robertmrk) added a fix to use move iterators and improved the integration via CMake. 35. [Chris Kitching](https://github.com/ChrisKitching) cleaned up the CMake files. @@ -1459,7 +1459,7 @@ I deeply appreciate the help of the following people. 97. [abolz](https://github.com/abolz) integrated the Grisu2 algorithm for proper floating-point formatting, allowing more roundtrip checks to succeed. 98. [Vadim Evard](https://github.com/Pipeliner) fixed a Markdown issue in the README. 99. [zerodefect](https://github.com/zerodefect) fixed a compiler warning. -100. [Kert](https://github.com/kaidokert) allowed to template the string type in the serialization and added the possibility to override the exceptional behavior. +100. [Kert](https://github.com/kaidokert) allowed to template the string type in the serialization and added the possibility to override the exceptional behaviour. 101. [mark-99](https://github.com/mark-99) helped fixing an ICC error. 102. [Patrik Huber](https://github.com/patrikhuber) fixed links in the README file. 103. [johnfb](https://github.com/johnfb) found a bug in the implementation of CBOR's indefinite length strings. @@ -1822,10 +1822,10 @@ Here is a related issue [#1924](https://github.com/nlohmann/json/issues/1924). ### Further notes -- The code contains numerous debug **assertions** which can be switched off by defining the preprocessor macro `NDEBUG`, see the [documentation of `assert`](https://en.cppreference.com/w/cpp/error/assert). In particular, note [`operator[]`](https://json.nlohmann.me/api/basic_json/operator%5B%5D/) implements **unchecked access** for const objects: If the given key is not present, the behavior is undefined (think of a dereferenced null pointer) and yields an [assertion failure](https://github.com/nlohmann/json/issues/289) if assertions are switched on. If you are not sure whether an element in an object exists, use checked access with the [`at()` function](https://json.nlohmann.me/api/basic_json/at/). Furthermore, you can define `JSON_ASSERT(x)` to replace calls to `assert(x)`. See the [**documentation on runtime assertions**](https://json.nlohmann.me/features/assertions/) for more information. +- The code contains numerous debug **assertions** which can be switched off by defining the preprocessor macro `NDEBUG`, see the [documentation of `assert`](https://en.cppreference.com/w/cpp/error/assert). In particular, note [`operator[]`](https://json.nlohmann.me/api/basic_json/operator%5B%5D/) implements **unchecked access** for const objects: If the given key is not present, the behaviour is undefined (think of a dereferenced null pointer) and yields an [assertion failure](https://github.com/nlohmann/json/issues/289) if assertions are switched on. If you are not sure whether an element in an object exists, use checked access with the [`at()` function](https://json.nlohmann.me/api/basic_json/at/). Furthermore, you can define `JSON_ASSERT(x)` to replace calls to `assert(x)`. See the [**documentation on runtime assertions**](https://json.nlohmann.me/features/assertions/) for more information. - As the exact number type is not defined in the [JSON specification](https://tools.ietf.org/html/rfc8259.html), this library tries to choose the best fitting C++ number type automatically. As a result, the type `double` may be used to store numbers which may yield [**floating-point exceptions**](https://github.com/nlohmann/json/issues/181) in certain rare situations if floating-point exceptions have been unmasked in the calling code. These exceptions are not caused by the library and need to be fixed in the calling code, such as by re-masking the exceptions prior to calling library functions. - The code can be compiled without C++ **runtime type identification** features; that is, you can use the `-fno-rtti` compiler flag. -- **Exceptions** are used widely within the library. They can, however, be switched off with either using the compiler flag `-fno-exceptions` or by defining the symbol `JSON_NOEXCEPTION`. In this case, exceptions are replaced by `abort()` calls. You can further control this behavior by defining `JSON_THROW_USER` (overriding `throw`), `JSON_TRY_USER` (overriding `try`), and `JSON_CATCH_USER` (overriding `catch`). Note that `JSON_THROW_USER` should leave the current scope (e.g., by throwing or aborting), as continuing after it may yield undefined behavior. Note the explanatory [`what()`](https://en.cppreference.com/w/cpp/error/exception/what) string of exceptions is not available for MSVC if exceptions are disabled, see [#2824](https://github.com/nlohmann/json/discussions/2824). See the [**documentation of exceptions**](https://json.nlohmann.me/home/exceptions/) for more information. +- **Exceptions** are used widely within the library. They can, however, be switched off with either using the compiler flag `-fno-exceptions` or by defining the symbol `JSON_NOEXCEPTION`. In this case, exceptions are replaced by `abort()` calls. You can further control this behaviour by defining `JSON_THROW_USER` (overriding `throw`), `JSON_TRY_USER` (overriding `try`), and `JSON_CATCH_USER` (overriding `catch`). Note that `JSON_THROW_USER` should leave the current scope (e.g., by throwing or aborting), as continuing after it may yield undefined behaviour. Note the explanatory [`what()`](https://en.cppreference.com/w/cpp/error/exception/what) string of exceptions is not available for MSVC if exceptions are disabled, see [#2824](https://github.com/nlohmann/json/discussions/2824). See the [**documentation of exceptions**](https://json.nlohmann.me/home/exceptions/) for more information. ## Execute unit tests diff --git a/TSF/docs/introduction/index.rst b/TSF/docs/introduction/index.rst index c2418a1297..150a85deed 100644 --- a/TSF/docs/introduction/index.rst +++ b/TSF/docs/introduction/index.rst @@ -28,7 +28,7 @@ The JSON library by Niels Lohmann was developed with several design goals in min - **Trivial Integration**: Comprising a single header file `json.hpp`, this library demands no complex build systems or dependencies, facilitating easy integration into any project using vanilla C++11. -- **Serious Testing**: Extensive unit tests ensure 100% coverage of the code, including exceptional behavior. Tools like Valgrind and Clang Sanitizers verify memory safety, while Google OSS-Fuzz performs continuous fuzz testing. +- **Serious Testing**: Extensive unit tests ensure 100% coverage of the code, including exceptional behaviour. Tools like Valgrind and Clang Sanitizers verify memory safety, while Google OSS-Fuzz performs continuous fuzz testing. Notably, memory efficiency and speed were not primary focuses, allowing for slight trade-offs in these areas to prioritize ease of integration and reliability. @@ -47,8 +47,8 @@ Component Classification Strategy - MISRA compliance is selectively applied, and necessary adaptations are considered at the upstream level where applicable. - **Strategic Directions**: - - Evidence requirements are mapped and analyzed for gaps, leading to possible code amendments or forks. - - Questions concerning the library's behavior are systematically answered, providing coverage details and tracing requirements to standards like ISO. + - Evidence requirements are mapped and analysed for gaps, leading to possible code amendments or forks. + - Questions concerning the library's behaviour are systematically answered, providing coverage details and tracing requirements to standards like ISO. Find more descriptions on the ongoing process and requirements at `Eclipse Process Description `_. diff --git a/TSF/docs/list_of_test_environments.md b/TSF/docs/list_of_test_environments.md index ab5e120c50..04422d3841 100644 --- a/TSF/docs/list_of_test_environments.md +++ b/TSF/docs/list_of_test_environments.md @@ -4008,7 +4008,7 @@ All tests in this file were run in the following configurations: ### List of tests in file unit-iterators1.cpp * iterators 1 - * basic behavior + * basic behaviour * uninitialized * boolean * json + begin/end @@ -5944,7 +5944,7 @@ All tests in this file were run in the following configurations: * issue #360 - Loss of precision when serializing * issue #366 - json::parse on failed stream gets stuck * issue #367 - calling stream at EOF - * issue #367 - behavior of operator>> should more closely resemble that of built-in overloads + * issue #367 - behaviour of operator>> should more closely resemble that of built-in overloads * (empty) * (whitespace) * one value @@ -5967,7 +5967,7 @@ All tests in this file were run in the following configurations: * issue #454 - doubles are printed as integers * issue #464 - VS2017 implicit to std::string conversion fix * issue #465 - roundtrip error while parsing 1000000000000000010E5 - * issue #473 - inconsistent behavior in conversion to array type + * issue #473 - inconsistent behaviour in conversion to array type * std::vector * std::list * std::forward_list @@ -5983,7 +5983,7 @@ All tests in this file were run in the following configurations: * issue #702 - conversion from valarray to json fails to build * original example * full example - * issue #367 - Behavior of operator>> should more closely resemble that of built-in overloads. + * issue #367 - behaviour of operator>> should more closely resemble that of built-in overloads. * example 1 * issue #714 - throw std::ios_base::failure exception when failbit set to true * issue #805 - copy constructor is used with std::initializer_list constructor. diff --git a/TSF/trustable/assumptions-of-use/AOU-07.md b/TSF/trustable/assumptions-of-use/AOU-07.md index 4b0a38917c..9f2695d7de 100644 --- a/TSF/trustable/assumptions-of-use/AOU-07.md +++ b/TSF/trustable/assumptions-of-use/AOU-07.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The integrator shall ensure in eclipse-score/inc_nlohmann_json that exceptions, which are expected during parsing with default parameters, are properly handled whenever the input is no valid JSON. \ No newline at end of file +The integrator shall ensure in eclipse-score/inc_nlohmann_json that exceptions, which are expected during parsing with default parameters, are properly handled whenever the input is not valid JSON. \ No newline at end of file diff --git a/TSF/trustable/assumptions-of-use/AOU-11.md b/TSF/trustable/assumptions-of-use/AOU-11.md index 51946413ac..a7212d0601 100644 --- a/TSF/trustable/assumptions-of-use/AOU-11.md +++ b/TSF/trustable/assumptions-of-use/AOU-11.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The integrator shall, whenever possible, replace outdated and/or provide additional references and validators that would further improve the trustability of a statement. +The integrator shall, whenever possible, replace outdated references and/or provide additional references and validators that would further improve the trustability of a statement. diff --git a/TSF/trustable/assumptions-of-use/AOU-14.md b/TSF/trustable/assumptions-of-use/AOU-14.md index 943c8dddef..208c6f524f 100644 --- a/TSF/trustable/assumptions-of-use/AOU-14.md +++ b/TSF/trustable/assumptions-of-use/AOU-14.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The integrator shall ensure that the eclipse-score/inc_nlohmann_json is built with tools from the provided matrix specification, whenever nlohmann/json is used within eclipse-score/inc_nlohmann_json. (not yet provided) \ No newline at end of file +The integrator shall ensure that eclipse-score/inc_nlohmann_json is built with tools from the provided matrix specification, whenever nlohmann/json is used within eclipse-score/inc_nlohmann_json. (not yet provided) \ No newline at end of file diff --git a/TSF/trustable/assumptions-of-use/AOU-19.md b/TSF/trustable/assumptions-of-use/AOU-19.md index ad3b960223..d3a18cf2e7 100644 --- a/TSF/trustable/assumptions-of-use/AOU-19.md +++ b/TSF/trustable/assumptions-of-use/AOU-19.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The integrator shall analyze monitoring data systematically to detect trends and identify issues, as long as the nlohmann/json library is actively used within eclipse-score/inc_nlohmann_json. +The integrator shall analyze monitoring data systematically to detect trends and identify issues, as long as the nlohmann/json library is actively used within eclipse-score/inc_nlohmann_json. diff --git a/TSF/trustable/assumptions-of-use/AOU-23.md b/TSF/trustable/assumptions-of-use/AOU-23.md index 63f6aa1d64..16f72cbe60 100644 --- a/TSF/trustable/assumptions-of-use/AOU-23.md +++ b/TSF/trustable/assumptions-of-use/AOU-23.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The integrator shall ensure that data are complete and error-free, whenever they are transmitted to eclipse-score/inc_nlohmann_json. \ No newline at end of file +The integrator shall ensure that data is complete and error-free, whenever it is transmitted to eclipse-score/inc_nlohmann_json. \ No newline at end of file diff --git a/TSF/trustable/assumptions-of-use/AOU-24.md b/TSF/trustable/assumptions-of-use/AOU-24.md index 94935b2586..f5cd1378c9 100644 --- a/TSF/trustable/assumptions-of-use/AOU-24.md +++ b/TSF/trustable/assumptions-of-use/AOU-24.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The integrator shall ensure that the data do not change during reading, whenever transmitted to eclipse-score/inc_nlohmann_json. \ No newline at end of file +The integrator shall ensure that the data does not change during reading, whenever transmitted to eclipse-score/inc_nlohmann_json. \ No newline at end of file diff --git a/TSF/trustable/assumptions-of-use/AOU-28.md b/TSF/trustable/assumptions-of-use/AOU-28.md index 702cddfb56..ff3fe443d2 100644 --- a/TSF/trustable/assumptions-of-use/AOU-28.md +++ b/TSF/trustable/assumptions-of-use/AOU-28.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The integrator shall ensure that the known open bugs of the nlohmann/json repository are regularly reviewed on their impact on the use of the documented version of nlohmann/json, as long as the nlohmann/json library is actively used within eclipse-score/inc_nlohmann_json. +The integrator shall ensure that the known open bugs of the nlohmann/json repository are regularly reviewed for their impact on the use of the documented version of nlohmann/json, as long as the nlohmann/json library is actively used within eclipse-score/inc_nlohmann_json. diff --git a/TSF/trustable/no-json-faults/NJF-05.2.md b/TSF/trustable/no-json-faults/NJF-05.2.md index 0368ee973d..e7dd3fb61b 100644 --- a/TSF/trustable/no-json-faults/NJF-05.2.md +++ b/TSF/trustable/no-json-faults/NJF-05.2.md @@ -41,4 +41,4 @@ score: Erikhu1: 0.85 --- -The service provided by the nlohmann/json library accepts the non-empty arrays. \ No newline at end of file +The service provided by the nlohmann/json library accepts non-empty arrays. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-05.3.md b/TSF/trustable/no-json-faults/NJF-05.3.md index 098d52b09d..17791cdc0f 100644 --- a/TSF/trustable/no-json-faults/NJF-05.3.md +++ b/TSF/trustable/no-json-faults/NJF-05.3.md @@ -37,4 +37,4 @@ score: Erikhu1: 1.0 --- -If every value candidate of a properly bounded array is accepted as singleton, then the service provided by the nlohmann/json library accepts the array. \ No newline at end of file +If every value candidate of a properly bounded array is accepted as a singleton, then the service provided by the nlohmann/json library accepts the array. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-05.7.md b/TSF/trustable/no-json-faults/NJF-05.7.md index 29a0de1747..69db6247a2 100644 --- a/TSF/trustable/no-json-faults/NJF-05.7.md +++ b/TSF/trustable/no-json-faults/NJF-05.7.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The service provided by the nlohmann/json library does only accept comma as value separator. \ No newline at end of file +The service provided by the nlohmann/json library accepts only the comma as value separator. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.3.md b/TSF/trustable/no-json-faults/NJF-06.3.md index 9975cd8f39..a383725642 100644 --- a/TSF/trustable/no-json-faults/NJF-06.3.md +++ b/TSF/trustable/no-json-faults/NJF-06.3.md @@ -22,4 +22,4 @@ score: Erikhu1: 0.95 --- -The service provided by the nlohmann/json library accepts the non-empty objects. \ No newline at end of file +The service provided by the nlohmann/json library accepts non-empty objects. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.4.1.md b/TSF/trustable/no-json-faults/NJF-06.4.1.md index 1c6b532fc3..7625ab1694 100644 --- a/TSF/trustable/no-json-faults/NJF-06.4.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.4.1.md @@ -49,4 +49,4 @@ score: Erikhu1: 1.0 --- -If the service provided by the nlohmann/json library recognises the name candidate as string, then it accepts the name candidate. \ No newline at end of file +If the service provided by the nlohmann/json library recognises the name-candidate as string, then it accepts the name-candidate. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.5.1.md b/TSF/trustable/no-json-faults/NJF-06.5.1.md index 616a75d245..3ea221f092 100644 --- a/TSF/trustable/no-json-faults/NJF-06.5.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.5.1.md @@ -38,4 +38,4 @@ score: Erikhu1: 1.0 --- -If the service provided by the nlohmann/json library does not accept any name candidate as singleton, then the service does not accept the object candidate. \ No newline at end of file +If the service provided by the nlohmann/json library does not accept any name-candidate as singleton, then the service does not accept the object-candidate. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.5.2.md b/TSF/trustable/no-json-faults/NJF-06.5.2.md index a36d71d3a1..9c5df54597 100644 --- a/TSF/trustable/no-json-faults/NJF-06.5.2.md +++ b/TSF/trustable/no-json-faults/NJF-06.5.2.md @@ -26,4 +26,4 @@ score: Erikhu1: 1.0 --- -If the service provided by the nlohmann/json library does not accept any value candidate as singleton, then the service does not accept the object candidate. \ No newline at end of file +If the service provided by the nlohmann/json library does not accept any value-candidate as singleton, then the service does not accept the object-candidate. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.6.md b/TSF/trustable/no-json-faults/NJF-06.6.md index bfa1ccca7c..e413665874 100644 --- a/TSF/trustable/no-json-faults/NJF-06.6.md +++ b/TSF/trustable/no-json-faults/NJF-06.6.md @@ -29,4 +29,4 @@ score: Erikhu1: 0.95 --- -The service provided by the nlohmann/json library accepts the nested objects. \ No newline at end of file +The service provided by the nlohmann/json library accepts nested objects. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.7.1.md b/TSF/trustable/no-json-faults/NJF-06.7.1.md index 7cededd718..100221eabd 100644 --- a/TSF/trustable/no-json-faults/NJF-06.7.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.7.1.md @@ -34,4 +34,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library accepts comma as member separator. \ No newline at end of file +The service provided by the nlohmann/json library accepts the comma as member separator. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.7.md b/TSF/trustable/no-json-faults/NJF-06.7.md index 9151b12206..f2043078d2 100644 --- a/TSF/trustable/no-json-faults/NJF-06.7.md +++ b/TSF/trustable/no-json-faults/NJF-06.7.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The service provided by the nlohmann/json library does only accept comma as member separator. \ No newline at end of file +The service provided by the nlohmann/json library accepts only the comma as member separator. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-07.1.md b/TSF/trustable/no-json-faults/NJF-07.1.md index dda4d06d71..04cfb84f69 100644 --- a/TSF/trustable/no-json-faults/NJF-07.1.md +++ b/TSF/trustable/no-json-faults/NJF-07.1.md @@ -25,4 +25,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does accept empty strings. \ No newline at end of file +The service provided by the nlohmann/json library accepts empty strings. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-07.4.md b/TSF/trustable/no-json-faults/NJF-07.4.md index 4479235a45..fb74748cb9 100644 --- a/TSF/trustable/no-json-faults/NJF-07.4.md +++ b/TSF/trustable/no-json-faults/NJF-07.4.md @@ -45,4 +45,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does accept escaped control characters. \ No newline at end of file +The service provided by the nlohmann/json library accepts escaped control characters. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-07.6.md b/TSF/trustable/no-json-faults/NJF-07.6.md index 8eea00395e..30a803668c 100644 --- a/TSF/trustable/no-json-faults/NJF-07.6.md +++ b/TSF/trustable/no-json-faults/NJF-07.6.md @@ -65,4 +65,4 @@ score: Erikhu1: 0.95 --- -The service provided by the nlohmann/json library does accept non-empty strings. \ No newline at end of file +The service provided by the nlohmann/json library accepts non-empty strings. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-07.8.md b/TSF/trustable/no-json-faults/NJF-07.8.md index 397960c661..a810c30a64 100644 --- a/TSF/trustable/no-json-faults/NJF-07.8.md +++ b/TSF/trustable/no-json-faults/NJF-07.8.md @@ -19,4 +19,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does not accept single unpaired utf-16 surrogates. \ No newline at end of file +The service provided by the nlohmann/json library does not accept single unpaired UTF-16 surrogates. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-08.1.md b/TSF/trustable/no-json-faults/NJF-08.1.md index 72853b3850..2d553da3bc 100644 --- a/TSF/trustable/no-json-faults/NJF-08.1.md +++ b/TSF/trustable/no-json-faults/NJF-08.1.md @@ -20,4 +20,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does accept integers within the limits of 64-bit double. \ No newline at end of file +The service provided by the nlohmann/json library accepts integers within the limits of 64-bit double. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-08.2.md b/TSF/trustable/no-json-faults/NJF-08.2.md index e8374b783d..232d3e4c77 100644 --- a/TSF/trustable/no-json-faults/NJF-08.2.md +++ b/TSF/trustable/no-json-faults/NJF-08.2.md @@ -20,4 +20,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does accept integers according to IEEE 754 binary64. \ No newline at end of file +The service provided by the nlohmann/json library accepts integers according to IEEE 754 binary64. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-08.4.md b/TSF/trustable/no-json-faults/NJF-08.4.md index 6709d02b39..8de4385e0c 100644 --- a/TSF/trustable/no-json-faults/NJF-08.4.md +++ b/TSF/trustable/no-json-faults/NJF-08.4.md @@ -33,4 +33,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does accept e or E for numbers with exponent within the bounds of double. +The service provided by the nlohmann/json library accepts e or E for numbers with exponent within the bounds of double. diff --git a/TSF/trustable/no-json-faults/NJF-08.5.md b/TSF/trustable/no-json-faults/NJF-08.5.md index 088aca6f05..ebf9068ecf 100644 --- a/TSF/trustable/no-json-faults/NJF-08.5.md +++ b/TSF/trustable/no-json-faults/NJF-08.5.md @@ -22,4 +22,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does not accept u0415 and u0436 (cyrillic e and E) as exponent signs in numbers with exponent. \ No newline at end of file +The service provided by the nlohmann/json library does not accept u0415 and u0436 (Cyrillic e and E) as exponent signs in numbers with exponent. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-08.7.md b/TSF/trustable/no-json-faults/NJF-08.7.md index b541b3cc33..d80a6bad55 100644 --- a/TSF/trustable/no-json-faults/NJF-08.7.md +++ b/TSF/trustable/no-json-faults/NJF-08.7.md @@ -20,4 +20,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does accept decimal points in numbers within the bounds of double. \ No newline at end of file +The service provided by the nlohmann/json library accepts decimal points in numbers within the bounds of double. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-12.3.md b/TSF/trustable/no-json-faults/NJF-12.3.md index eb9e45f453..6c570d225f 100644 --- a/TSF/trustable/no-json-faults/NJF-12.3.md +++ b/TSF/trustable/no-json-faults/NJF-12.3.md @@ -26,4 +26,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library rejects single escaped and unescaped, and paired unescaped utf-16 surrogates. \ No newline at end of file +The service provided by the nlohmann/json library rejects single escaped and unescaped, and paired unescaped UTF-16 surrogates. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-12.5.md b/TSF/trustable/no-json-faults/NJF-12.5.md index 0cb63a7b3e..1198495949 100644 --- a/TSF/trustable/no-json-faults/NJF-12.5.md +++ b/TSF/trustable/no-json-faults/NJF-12.5.md @@ -22,4 +22,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library accepts Non-Characters. \ No newline at end of file +The service provided by the nlohmann/json library accepts non-characters. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-01.4.md b/TSF/trustable/no-parsing-faults/NPF-01.4.md index e5da74cb01..8601a6250e 100644 --- a/TSF/trustable/no-parsing-faults/NPF-01.4.md +++ b/TSF/trustable/no-parsing-faults/NPF-01.4.md @@ -18,4 +18,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library does not parse UTF-16 and UTF-32 byte order mark instead of an UTF-8 byte order mark, and throws an exception. \ No newline at end of file +The service provided by the nlohmann/json library does not parse UTF-16 and UTF-32 byte order mark instead of a UTF-8 byte order mark, and throws an exception. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-03.3.md b/TSF/trustable/no-parsing-faults/NPF-03.3.md index 059ed1cb07..06680d6a56 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.3.md @@ -19,4 +19,4 @@ score: Erikhu1: 0.95 --- -The service provided by the nlohmann/json library ignores capitalisation in escaped hexadecimal unicode. \ No newline at end of file +The service provided by the nlohmann/json library ignores capitalisation in escaped hexadecimal Unicode. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-03.4.md b/TSF/trustable/no-parsing-faults/NPF-03.4.md index ad44c62301..d7ed5acfe1 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.4.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.4.md @@ -30,4 +30,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library parses all unescaped utf-8 characters except quotation marks, reverse solidus and the control characters. \ No newline at end of file +The service provided by the nlohmann/json library parses all unescaped UTF-8 characters except quotation marks, reverse solidus and the control characters. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-03.5.md b/TSF/trustable/no-parsing-faults/NPF-03.5.md index 93bf004a55..37c14400bc 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.5.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.5.md @@ -23,4 +23,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library parses \\, \\/, \\b,\\f, \\n, \\r, \\t and escaped quotation marks. \ No newline at end of file +The service provided by the nlohmann/json library parses \\, \\/, \\b, \\f, \\n, \\r, \\t and escaped quotation marks. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-07.md b/TSF/trustable/no-parsing-faults/NPF-07.md index b83c184bd7..b1f73a8f56 100644 --- a/TSF/trustable/no-parsing-faults/NPF-07.md +++ b/TSF/trustable/no-parsing-faults/NPF-07.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The service provided by the nlohmann/json library parses well-formed UTF-8 encoded data only. \ No newline at end of file +The service provided by the nlohmann/json library parses only well-formed UTF-8 encoded data. \ No newline at end of file diff --git a/TSF/trustable/parse-json-data/PJD-01.md b/TSF/trustable/parse-json-data/PJD-01.md index 1815268d66..4a31abe245 100644 --- a/TSF/trustable/parse-json-data/PJD-01.md +++ b/TSF/trustable/parse-json-data/PJD-01.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The service provided by the nlohmann/json library provides implementations that parses JSON texts, which ignores the presence of a byte order mark rather than treating it as an error. \ No newline at end of file +The service provided by the nlohmann/json library provides an implementation that parses JSON texts, which ignores the presence of a byte order mark rather than treating it as an error. \ No newline at end of file diff --git a/TSF/trustable/parse-json-data/PJD-02.md b/TSF/trustable/parse-json-data/PJD-02.md index be09fb721c..020513bc23 100644 --- a/TSF/trustable/parse-json-data/PJD-02.md +++ b/TSF/trustable/parse-json-data/PJD-02.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The service provided by the nlohmann/json library transforms a JSON text into a C++ representation using C++ containers (for arrays and objects) and primitive datatypes (for strings, numbers, boolean, null). +The service provided by the nlohmann/json library transforms a JSON text into a C++ representation using C++ containers (for arrays and objects) and primitive datatypes (for strings, numbers, boolean, and null). diff --git a/TSF/trustable/statements/JLS-07.md b/TSF/trustable/statements/JLS-07.md index 870cfb9665..6e33cea780 100644 --- a/TSF/trustable/statements/JLS-07.md +++ b/TSF/trustable/statements/JLS-07.md @@ -16,4 +16,4 @@ score: Erikhu1: 1.0 --- -The develop branch of nlohmann/json is protected, i.e. no direct commits are possible. +The develop branch of nlohmann/json is protected, i.e., no direct commits are possible. diff --git a/TSF/trustable/statements/JLS-11.md b/TSF/trustable/statements/JLS-11.md index 58d5348e91..4bea9090f3 100644 --- a/TSF/trustable/statements/JLS-11.md +++ b/TSF/trustable/statements/JLS-11.md @@ -14,4 +14,4 @@ score: Erikhu1: 1.0 --- -Outstanding bugs or misbehaviours are analyzed within eclipse-score/inc_nlohmann_json to determine whether they are relevant for S-CORE's use cases of the nlohmann/json library. +Outstanding bugs or misbehaviours are analysed within eclipse-score/inc_nlohmann_json to determine whether they are relevant for S-CORE's use cases of the nlohmann/json library. diff --git a/TSF/trustable/statements/JLS-17.md b/TSF/trustable/statements/JLS-17.md index 9b9667d8ed..617cc0e64d 100644 --- a/TSF/trustable/statements/JLS-17.md +++ b/TSF/trustable/statements/JLS-17.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -A github workflow calculates the fraction of expectations covered by tests in eclipse-score/inc_nlohmann_json (TODO). \ No newline at end of file +A Github workflow calculates the fraction of expectations covered by tests in eclipse-score/inc_nlohmann_json (TODO). \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-20.md b/TSF/trustable/statements/JLS-20.md index 260608a70a..e90e7d4459 100644 --- a/TSF/trustable/statements/JLS-20.md +++ b/TSF/trustable/statements/JLS-20.md @@ -21,4 +21,4 @@ score: Jonas-Kirchhoff: 1.0 --- -A github workflow of eclipse-score/inc_nlohmann_json saves the history of scores in the trustable graph to derive trends. \ No newline at end of file +A Github workflow of eclipse-score/inc_nlohmann_json saves the history of scores in the trustable graph to derive trends. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-22.md b/TSF/trustable/statements/JLS-22.md index af6a89706a..55fcc055c4 100644 --- a/TSF/trustable/statements/JLS-22.md +++ b/TSF/trustable/statements/JLS-22.md @@ -24,4 +24,4 @@ score: Jonas-Kirchhoff: 1.0 --- -A github workflow of eclipse-score/inc_nlohmann_json executes the unit tests daily and saves the results as time-series data. \ No newline at end of file +A Github workflow of eclipse-score/inc_nlohmann_json executes the unit tests daily and saves the results as time-series data. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-23.md b/TSF/trustable/statements/JLS-23.md index 06388da9b0..7aea22fd32 100644 --- a/TSF/trustable/statements/JLS-23.md +++ b/TSF/trustable/statements/JLS-23.md @@ -19,4 +19,4 @@ score: mishu-dev: 1.0 --- -The Eclipse S-CORE organization mirrors the nlohmann/json project in a github fork. \ No newline at end of file +The Eclipse S-CORE organization mirrors the nlohmann/json project in a Github fork. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-24.md b/TSF/trustable/statements/JLS-24.md index 8559289037..c8730a1de2 100644 --- a/TSF/trustable/statements/JLS-24.md +++ b/TSF/trustable/statements/JLS-24.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The nlohmann/json library recognizes malformed JSON and returns an exception. \ No newline at end of file +The nlohmann/json library recognizes malformed JSON and throws an exception. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-26.md b/TSF/trustable/statements/JLS-26.md index 11a3d32134..799001104a 100644 --- a/TSF/trustable/statements/JLS-26.md +++ b/TSF/trustable/statements/JLS-26.md @@ -11,4 +11,4 @@ score: Erikhu1: 1.0 --- -Any failed CI pipeline executions in the master branch of the nlohmann/json repository are analyzed and fixed. \ No newline at end of file +Any failed CI pipeline executions in the master branch of the nlohmann/json repository are analysed and fixed. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-29.md b/TSF/trustable/statements/JLS-29.md index 21e98def7b..bd13a4be4e 100644 --- a/TSF/trustable/statements/JLS-29.md +++ b/TSF/trustable/statements/JLS-29.md @@ -12,4 +12,4 @@ score: Erikhu1: 0.7 --- -Known bugs, misbehaviours and CVEs are analyzed and either fixed or mitigated in the nlohmann/json repository. \ No newline at end of file +Known bugs, misbehaviours and CVEs are analysed and either fixed or mitigated in the nlohmann/json repository. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-30.md b/TSF/trustable/statements/JLS-30.md index 817a3a49ec..4584afd7b1 100644 --- a/TSF/trustable/statements/JLS-30.md +++ b/TSF/trustable/statements/JLS-30.md @@ -13,4 +13,4 @@ score: Erikhu1: 0.5 --- -Outstanding CVEs are analyzed within eclipse-score/inc_nlohmann_json to determine whether they can be dismissed, and/or are relevant for S-CORE's use cases of the nlohmann/json library. \ No newline at end of file +Outstanding CVEs are analysed within eclipse-score/inc_nlohmann_json to determine whether they can be dismissed, and/or are relevant for S-CORE's use cases of the nlohmann/json library. \ No newline at end of file diff --git a/TSF/trustable/well-formed-json/WFJ-04.md b/TSF/trustable/well-formed-json/WFJ-04.md index 7b908ecfb9..f12cfcae48 100644 --- a/TSF/trustable/well-formed-json/WFJ-04.md +++ b/TSF/trustable/well-formed-json/WFJ-04.md @@ -3,4 +3,4 @@ level: 1.1 normative: true --- -The service provided by the nlohmann/json library checks the well-formedness of array. \ No newline at end of file +The service provided by the nlohmann/json library checks the well-formedness of arrays. \ No newline at end of file diff --git a/TSF/trustable/well-formed-json/WFJ-06.md b/TSF/trustable/well-formed-json/WFJ-06.md index 4c782a467c..54cbaa34b2 100644 --- a/TSF/trustable/well-formed-json/WFJ-06.md +++ b/TSF/trustable/well-formed-json/WFJ-06.md @@ -38,4 +38,4 @@ score: Erikhu1: 1.0 --- -The service provided by the nlohmann/json library checks that a JSON value must be an object, array, number, or string, or one of the lowercase literal names false, null, or true \ No newline at end of file +The service provided by the nlohmann/json library checks that a JSON value is an object, array, number, or string, or one of the lowercase literal names false, null, or true. \ No newline at end of file diff --git a/cmake/gcc_flags.cmake b/cmake/gcc_flags.cmake index 848630f332..0f90774f7e 100644 --- a/cmake/gcc_flags.cmake +++ b/cmake/gcc_flags.cmake @@ -65,7 +65,7 @@ set(GCC_CXXFLAGS -Wanalyzer-tainted-offset -Wanalyzer-tainted-size -Wanalyzer-too-complex - -Wanalyzer-undefined-behavior-strtok + -Wanalyzer-undefined-behaviour-strtok -Wanalyzer-unsafe-call-within-signal-handler -Wanalyzer-use-after-free -Wanalyzer-use-of-pointer-in-stale-stack-frame diff --git a/docs/mkdocs/docs/api/basic_json/back.md b/docs/mkdocs/docs/api/basic_json/back.md index b717e16e08..3dd4faafe5 100644 --- a/docs/mkdocs/docs/api/basic_json/back.md +++ b/docs/mkdocs/docs/api/basic_json/back.md @@ -37,7 +37,7 @@ Constant. !!! info "Precondition" - The array or object must not be empty. Calling `back` on an empty array or object yields undefined behavior. + The array or object must not be empty. Calling `back` on an empty array or object yields undefined behaviour. ## Examples diff --git a/docs/mkdocs/docs/api/basic_json/basic_json.md b/docs/mkdocs/docs/api/basic_json/basic_json.md index 71def92a5c..3ce37ce45d 100644 --- a/docs/mkdocs/docs/api/basic_json/basic_json.md +++ b/docs/mkdocs/docs/api/basic_json/basic_json.md @@ -254,7 +254,7 @@ basic_json(basic_json&& other) noexcept; [runtime assertion](../../features/assertions.md). - Range `[first, last)` is valid. Usually, this precondition cannot be checked efficiently. Only certain edge cases are detected; see the description of the exceptions above. A violation of this precondition yields - undefined behavior. + undefined behaviour. !!! danger "Runtime assertion" diff --git a/docs/mkdocs/docs/api/basic_json/cbor_tag_handler_t.md b/docs/mkdocs/docs/api/basic_json/cbor_tag_handler_t.md index e19c3edd91..b82f194983 100644 --- a/docs/mkdocs/docs/api/basic_json/cbor_tag_handler_t.md +++ b/docs/mkdocs/docs/api/basic_json/cbor_tag_handler_t.md @@ -24,7 +24,7 @@ store ??? example - The example below shows how the different values of the `cbor_tag_handler_t` influence the behavior of + The example below shows how the different values of the `cbor_tag_handler_t` influence the behaviour of [`from_cbor`](from_cbor.md) when reading a tagged byte string. ```cpp diff --git a/docs/mkdocs/docs/api/basic_json/crend.md b/docs/mkdocs/docs/api/basic_json/crend.md index 0e6bc84740..fa9e31f561 100644 --- a/docs/mkdocs/docs/api/basic_json/crend.md +++ b/docs/mkdocs/docs/api/basic_json/crend.md @@ -5,7 +5,7 @@ const_reverse_iterator crend() const noexcept; ``` Returns an iterator to the reverse-end; that is, one before the first element. This element acts as a placeholder, -attempting to access it results in undefined behavior. +attempting to access it results in undefined behaviour. ![Illustration from cppreference.com](../../images/range-rbegin-rend.svg) diff --git a/docs/mkdocs/docs/api/basic_json/error_handler_t.md b/docs/mkdocs/docs/api/basic_json/error_handler_t.md index dc32ced9b9..3051a59e50 100644 --- a/docs/mkdocs/docs/api/basic_json/error_handler_t.md +++ b/docs/mkdocs/docs/api/basic_json/error_handler_t.md @@ -24,7 +24,7 @@ ignore ??? example - The example below shows how the different values of the `error_handler_t` influence the behavior of + The example below shows how the different values of the `error_handler_t` influence the behaviour of [`dump`](dump.md) when reading serializing an invalid UTF-8 sequence. ```cpp diff --git a/docs/mkdocs/docs/api/basic_json/front.md b/docs/mkdocs/docs/api/basic_json/front.md index b5fea11352..5e79aa0c15 100644 --- a/docs/mkdocs/docs/api/basic_json/front.md +++ b/docs/mkdocs/docs/api/basic_json/front.md @@ -30,7 +30,7 @@ Constant. !!! info "Precondition" - The array or object must not be empty. Calling `front` on an empty array or object yields undefined behavior. + The array or object must not be empty. Calling `front` on an empty array or object yields undefined behaviour. ## Examples diff --git a/docs/mkdocs/docs/api/basic_json/get.md b/docs/mkdocs/docs/api/basic_json/get.md index 96fc221daa..592ca57757 100644 --- a/docs/mkdocs/docs/api/basic_json/get.md +++ b/docs/mkdocs/docs/api/basic_json/get.md @@ -90,7 +90,7 @@ Depends on what `json_serializer` `from_json()` method throws ## Notes -!!! danger "Undefined behavior" +!!! danger "Undefined behaviour" Writing data to the pointee (overload 3) of the result yields an undefined state. diff --git a/docs/mkdocs/docs/api/basic_json/get_ptr.md b/docs/mkdocs/docs/api/basic_json/get_ptr.md index 7c000f1ac6..f072ef44fc 100644 --- a/docs/mkdocs/docs/api/basic_json/get_ptr.md +++ b/docs/mkdocs/docs/api/basic_json/get_ptr.md @@ -33,12 +33,12 @@ Constant. ## Notes -!!! danger "Undefined behavior" +!!! danger "Undefined behaviour" The pointer becomes invalid if the underlying JSON object changes. Consider the following example code where the pointer `ptr` changes after the array is resized. As a result, - reading or writing to `ptr` after the array change would be undefined behavior. The address of the first array + reading or writing to `ptr` after the array change would be undefined behaviour. The address of the first array element changes, because the underlying `std::vector` is resized after adding a fifth element. ```cpp diff --git a/docs/mkdocs/docs/api/basic_json/get_ref.md b/docs/mkdocs/docs/api/basic_json/get_ref.md index 73b20b0e08..ab2348d15e 100644 --- a/docs/mkdocs/docs/api/basic_json/get_ref.md +++ b/docs/mkdocs/docs/api/basic_json/get_ref.md @@ -38,7 +38,7 @@ Constant. ## Notes -!!! danger "Undefined behavior" +!!! danger "Undefined behaviour" The reference becomes invalid if the underlying JSON object changes. diff --git a/docs/mkdocs/docs/api/basic_json/index.md b/docs/mkdocs/docs/api/basic_json/index.md index 2c942d4db3..0d30e50c24 100644 --- a/docs/mkdocs/docs/api/basic_json/index.md +++ b/docs/mkdocs/docs/api/basic_json/index.md @@ -100,7 +100,7 @@ The class satisfies the following concept requirements: - [**value_t**](value_t.md) - the JSON type enumeration - [**json_pointer**](../json_pointer/index.md) - JSON Pointer implementation - [**json_serializer**](json_serializer.md) - type of the serializer to for conversions from/to JSON -- [**error_handler_t**](error_handler_t.md) - type to choose behavior on decoding errors +- [**error_handler_t**](error_handler_t.md) - type to choose behaviour on decoding errors - [**cbor_tag_handler_t**](cbor_tag_handler_t.md) - type to choose how to handle CBOR tags - **initializer_list_t** - type for initializer lists of `basic_json` values - [**input_format_t**](input_format_t.md) - type to choose the format to parse diff --git a/docs/mkdocs/docs/api/basic_json/number_float_t.md b/docs/mkdocs/docs/api/basic_json/number_float_t.md index 3e8933da6b..d083768f75 100644 --- a/docs/mkdocs/docs/api/basic_json/number_float_t.md +++ b/docs/mkdocs/docs/api/basic_json/number_float_t.md @@ -26,7 +26,7 @@ type to use. With the default values for `NumberFloatType` (`double`), the default value for `number_float_t` is `#!cpp double`. -#### Default behavior +#### Default behaviour - The restrictions about leading zeros are not enforced in C++. Instead, leading zeros in floating-point literals will be ignored. Internally, the value will be stored as a decimal number. For instance, the C++ floating-point literal diff --git a/docs/mkdocs/docs/api/basic_json/number_integer_t.md b/docs/mkdocs/docs/api/basic_json/number_integer_t.md index cef3f20010..10e73579e9 100644 --- a/docs/mkdocs/docs/api/basic_json/number_integer_t.md +++ b/docs/mkdocs/docs/api/basic_json/number_integer_t.md @@ -27,7 +27,7 @@ to use. With the default values for `NumberIntegerType` (`std::int64_t`), the default value for `number_integer_t` is `#!cpp std::int64_t`. -#### Default behavior +#### Default behaviour - The restrictions about leading zeros are not enforced in C++. Instead, leading zeros in integer literals lead to an interpretation as an octal number. Internally, the value will be stored as a decimal number. For instance, the C++ diff --git a/docs/mkdocs/docs/api/basic_json/number_unsigned_t.md b/docs/mkdocs/docs/api/basic_json/number_unsigned_t.md index 79b1c486c0..0e7400ba50 100644 --- a/docs/mkdocs/docs/api/basic_json/number_unsigned_t.md +++ b/docs/mkdocs/docs/api/basic_json/number_unsigned_t.md @@ -27,7 +27,7 @@ the type to use. With the default values for `NumberUnsignedType` (`std::uint64_t`), the default value for `number_unsigned_t` is `#!cpp std::uint64_t`. -#### Default behavior +#### Default behaviour - The restrictions about leading zeros are not enforced in C++. Instead, leading zeros in integer literals lead to an interpretation as an octal number. Internally, the value will be stored as a decimal number. For instance, the C++ diff --git a/docs/mkdocs/docs/api/basic_json/object_t.md b/docs/mkdocs/docs/api/basic_json/object_t.md index 7dda42d2bf..9fd782cea2 100644 --- a/docs/mkdocs/docs/api/basic_json/object_t.md +++ b/docs/mkdocs/docs/api/basic_json/object_t.md @@ -54,10 +54,10 @@ std::map< See [`default_object_comparator_t`](default_object_comparator_t.md) for more information. -#### Behavior +#### behaviour -The choice of `object_t` influences the behavior of the JSON class. With the default type, objects have the following -behavior: +The choice of `object_t` influences the behaviour of the JSON class. With the default type, objects have the following +behaviour: - When all names are unique, objects will be interoperable in the sense that all software implementations receiving that object will agree on the name-value mappings. @@ -89,7 +89,7 @@ Objects are stored as pointers in a `basic_json` type. That is, for any access t The order name/value pairs are added to the object are *not* preserved by the library. Therefore, iterating an object may return name/value pairs in a different order than they were originally stored. In fact, keys will be traversed in -alphabetical order as `std::map` with `std::less` is used by default. Please note this behavior conforms to +alphabetical order as `std::map` with `std::less` is used by default. Please note this behaviour conforms to [RFC 8259](https://tools.ietf.org/html/rfc8259), because any order implements the specified "unordered" nature of JSON objects. diff --git a/docs/mkdocs/docs/api/basic_json/operator[].md b/docs/mkdocs/docs/api/basic_json/operator[].md index 3eebd562a7..e4ae267655 100644 --- a/docs/mkdocs/docs/api/basic_json/operator[].md +++ b/docs/mkdocs/docs/api/basic_json/operator[].md @@ -93,10 +93,10 @@ Strong exception safety: if an exception occurs, the original value stays intact ## Notes -!!! danger "Undefined behavior and runtime assertions" +!!! danger "Undefined behaviour and runtime assertions" - 1. If the element with key `idx` does not exist, the behavior is undefined. - 2. If the element with key `key` does not exist, the behavior is undefined and is **guarded by a + 1. If the element with key `idx` does not exist, the behaviour is undefined. + 2. If the element with key `key` does not exist, the behaviour is undefined and is **guarded by a [runtime assertion](../../features/assertions.md)**! 1. The non-const version may add values: If `idx` is beyond the range of the array (i.e., `idx >= size()`), then the diff --git a/docs/mkdocs/docs/api/basic_json/operator_ValueType.md b/docs/mkdocs/docs/api/basic_json/operator_ValueType.md index bf38a3d21a..7b55ff57b8 100644 --- a/docs/mkdocs/docs/api/basic_json/operator_ValueType.md +++ b/docs/mkdocs/docs/api/basic_json/operator_ValueType.md @@ -47,7 +47,7 @@ Linear in the size of the JSON value. That is, implicit conversions can be switched off by defining [`JSON_USE_IMPLICIT_CONVERSIONS`](../macros/json_use_implicit_conversions.md) to `0`. -!!! info "Future behavior change" +!!! info "Future behaviour change" Implicit conversions will be switched off by default in the next major release of the library. That is, `JSON_EXPLICIT` will be set to `#!cpp explicit` by default. diff --git a/docs/mkdocs/docs/api/basic_json/rend.md b/docs/mkdocs/docs/api/basic_json/rend.md index 96da7a5f50..0f510967d5 100644 --- a/docs/mkdocs/docs/api/basic_json/rend.md +++ b/docs/mkdocs/docs/api/basic_json/rend.md @@ -6,7 +6,7 @@ const_reverse_iterator rend() const noexcept; ``` Returns an iterator to the reverse-end; that is, one before the first element. This element acts as a placeholder, -attempting to access it results in undefined behavior. +attempting to access it results in undefined behaviour. ![Illustration from cppreference.com](../../images/range-rbegin-rend.svg) diff --git a/docs/mkdocs/docs/api/basic_json/value_t.md b/docs/mkdocs/docs/api/basic_json/value_t.md index 1505e02d08..62dfef3257 100644 --- a/docs/mkdocs/docs/api/basic_json/value_t.md +++ b/docs/mkdocs/docs/api/basic_json/value_t.md @@ -53,7 +53,7 @@ functions [`is_null`](is_null.md), [`is_object`](is_object.md), [`is_array`](is_ `operator<` and `operator<=>` (since C++20) are overloaded and compare according to the ordering described above. Until C++20 all other relational and equality operators yield results according to the integer value of each enumerator. Since C++20 some compilers consider the _rewritten candidates_ generated from `operator<=>` during - overload resolution, while others do not. For predictable and portable behavior use: + overload resolution, while others do not. For predictable and portable behaviour use: - `operator<` or `operator<=>` when wanting to compare according to the order described above - `operator==` or `operator!=` when wanting to compare according to each enumerators integer value diff --git a/docs/mkdocs/docs/api/json_pointer/json_pointer.md b/docs/mkdocs/docs/api/json_pointer/json_pointer.md index 5e7057fc9d..25de986401 100644 --- a/docs/mkdocs/docs/api/json_pointer/json_pointer.md +++ b/docs/mkdocs/docs/api/json_pointer/json_pointer.md @@ -23,7 +23,7 @@ Create a JSON pointer according to the syntax described in ??? example - The example shows the construction several valid JSON pointers as well as the exceptional behavior. + The example shows the construction several valid JSON pointers as well as the exceptional behaviour. ```cpp --8<-- "examples/json_pointer.cpp" diff --git a/docs/mkdocs/docs/api/macros/index.md b/docs/mkdocs/docs/api/macros/index.md index 59e4b3d280..cdd005b51b 100644 --- a/docs/mkdocs/docs/api/macros/index.md +++ b/docs/mkdocs/docs/api/macros/index.md @@ -5,7 +5,7 @@ header. See also the [macro overview page](../../features/macros.md). ## Runtime assertions -- [**JSON_ASSERT(x)**](json_assert.md) - control behavior of runtime assertions +- [**JSON_ASSERT(x)**](json_assert.md) - control behaviour of runtime assertions ## Exceptions @@ -43,7 +43,7 @@ header. See also the [macro overview page](../../features/macros.md). - [**JSON_DISABLE_ENUM_SERIALIZATION**](json_disable_enum_serialization.md) - switch off default serialization/deserialization functions for enums - [**JSON_USE_IMPLICIT_CONVERSIONS**](json_use_implicit_conversions.md) - control implicit conversions -## Comparison behavior +## Comparison behaviour - [**JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON**](json_use_legacy_discarded_value_comparison.md) - control comparison of discarded values diff --git a/docs/mkdocs/docs/api/macros/json_assert.md b/docs/mkdocs/docs/api/macros/json_assert.md index 2d7b0c78a1..454b5572b8 100644 --- a/docs/mkdocs/docs/api/macros/json_assert.md +++ b/docs/mkdocs/docs/api/macros/json_assert.md @@ -23,7 +23,7 @@ Therefore, assertions can be switched off by defining `NDEBUG`. ## Notes -- The library uses numerous assertions to guarantee invariants and to abort in case of otherwise undefined behavior +- The library uses numerous assertions to guarantee invariants and to abort in case of otherwise undefined behaviour (e.g., when calling [operator[]](../basic_json/operator%5B%5D.md) with a missing object key on a `const` object). See page [runtime assertions](../../features/assertions.md) for more information. - Defining the macro to code that does not call `std::abort` may leave the library in an undefined state. @@ -31,7 +31,7 @@ Therefore, assertions can be switched off by defining `NDEBUG`. ## Examples -??? example "Example 1: default behavior" +??? example "Example 1: default behaviour" The following code will trigger an assertion at runtime: @@ -53,7 +53,7 @@ Therefore, assertions can be switched off by defining `NDEBUG`. Assertion failed: (m_value.object->find(key) != m_value.object->end()), function operator[], file json.hpp, line 2144. ``` -??? example "Example 2: user-defined behavior" +??? example "Example 2: user-defined behaviour" The assertion reporting can be changed by defining `JSON_ASSERT(x)` differently. diff --git a/docs/mkdocs/docs/api/macros/json_diagnostics.md b/docs/mkdocs/docs/api/macros/json_diagnostics.md index 91bdc1b39e..65b48cf49f 100644 --- a/docs/mkdocs/docs/api/macros/json_diagnostics.md +++ b/docs/mkdocs/docs/api/macros/json_diagnostics.md @@ -30,7 +30,7 @@ When the macro is not defined, the library will define it to its default value. symbol names. This allows different parts of a codebase to use different versions or configurations of this library without - causing improper behavior. + causing improper behaviour. Where possible, it is still recommended that all code define this the same way for maximum interoperability. @@ -42,7 +42,7 @@ When the macro is not defined, the library will define it to its default value. ## Examples -??? example "Example 1: default behavior" +??? example "Example 1: default behaviour" ```cpp --8<-- "examples/diagnostics_standard.cpp" diff --git a/docs/mkdocs/docs/api/macros/json_disable_enum_serialization.md b/docs/mkdocs/docs/api/macros/json_disable_enum_serialization.md index 6acfdc2a1c..f91ab7f108 100644 --- a/docs/mkdocs/docs/api/macros/json_disable_enum_serialization.md +++ b/docs/mkdocs/docs/api/macros/json_disable_enum_serialization.md @@ -30,7 +30,7 @@ The default value is `0`. ## Examples -??? example "Example 1: Disabled behavior" +??? example "Example 1: Disabled behaviour" The code below forces the library **not** to create default serialization/deserialization functions `from_json` and `to_json`, meaning the code below **does not** compile. diff --git a/docs/mkdocs/docs/api/macros/json_throw_user.md b/docs/mkdocs/docs/api/macros/json_throw_user.md index b02918cf8d..585899eb9c 100644 --- a/docs/mkdocs/docs/api/macros/json_throw_user.md +++ b/docs/mkdocs/docs/api/macros/json_throw_user.md @@ -17,7 +17,7 @@ Controls how exceptions are handled by the library. The macro is always followed by a scope. 2. This macro overrides `#!cpp throw` calls inside the library. The argument is the exception to be thrown. Note that `JSON_THROW_USER` should leave the current scope (e.g., by throwing or aborting), as continuing after it may yield - undefined behavior. + undefined behaviour. 3. This macro overrides `#!cpp try` calls inside the library. It has no arguments and is always followed by a scope. ## Parameters diff --git a/docs/mkdocs/docs/api/macros/json_use_global_udls.md b/docs/mkdocs/docs/api/macros/json_use_global_udls.md index 3110d4662d..b6fb0e14d7 100644 --- a/docs/mkdocs/docs/api/macros/json_use_global_udls.md +++ b/docs/mkdocs/docs/api/macros/json_use_global_udls.md @@ -19,7 +19,7 @@ When the macro is not defined, the library will define it to its default value. ## Notes -!!! info "Future behavior change" +!!! info "Future behaviour change" The user-defined string literals will be removed from the global namespace in the next major release of the library. @@ -34,9 +34,9 @@ When the macro is not defined, the library will define it to its default value. ## Examples -??? example "Example 1: Default behavior" +??? example "Example 1: Default behaviour" - The code below shows the default behavior using the `_json` UDL. + The code below shows the default behaviour using the `_json` UDL. ```cpp #include diff --git a/docs/mkdocs/docs/api/macros/json_use_implicit_conversions.md b/docs/mkdocs/docs/api/macros/json_use_implicit_conversions.md index 0a5ad4df46..d936257bd5 100644 --- a/docs/mkdocs/docs/api/macros/json_use_implicit_conversions.md +++ b/docs/mkdocs/docs/api/macros/json_use_implicit_conversions.md @@ -17,7 +17,7 @@ By default, implicit conversions are enabled. ## Notes -!!! info "Future behavior change" +!!! info "Future behaviour change" Implicit conversions will be switched off by default in the next major release of the library. diff --git a/docs/mkdocs/docs/api/macros/json_use_legacy_discarded_value_comparison.md b/docs/mkdocs/docs/api/macros/json_use_legacy_discarded_value_comparison.md index b14266304a..a12907f859 100644 --- a/docs/mkdocs/docs/api/macros/json_use_legacy_discarded_value_comparison.md +++ b/docs/mkdocs/docs/api/macros/json_use_legacy_discarded_value_comparison.md @@ -4,7 +4,7 @@ #define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON /* value */ ``` -This macro enables the (incorrect) legacy comparison behavior of discarded JSON values. Possible values are `1` to +This macro enables the (incorrect) legacy comparison behaviour of discarded JSON values. Possible values are `1` to enable or `0` to disable (default). When enabled, comparisons involving at least one discarded JSON value yield results as follows: @@ -32,24 +32,24 @@ When the macro is not defined, the library will define it to its default value. ## Notes -!!! warning "Inconsistent behavior in C++20 and beyond" +!!! warning "Inconsistent behaviour in C++20 and beyond" - When targeting C++20 or above, enabling the legacy comparison behavior is _strongly_ + When targeting C++20 or above, enabling the legacy comparison behaviour is _strongly_ discouraged. - The 3-way comparison operator (`<=>`) will always give the correct result (`#!cpp std::partial_ordering::unordered`) regardless of the value of `JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON`. - - Overloads for the equality and relational operators emulate the legacy behavior. + - Overloads for the equality and relational operators emulate the legacy behaviour. Code outside your control may use either 3-way comparison or the equality and relational operators, resulting in - inconsistent and unpredictable behavior. + inconsistent and unpredictable behaviour. See [`operator<=>`](../basic_json/operator_spaceship.md) for more information on 3-way comparison. !!! warning "Deprecation" - The legacy comparison behavior is deprecated and may be removed in a future major version release. + The legacy comparison behaviour is deprecated and may be removed in a future major version release. New code should not depend on it and existing code should try to remove or rewrite expressions relying on it. @@ -63,7 +63,7 @@ When the macro is not defined, the library will define it to its default value. ??? example - The code below switches on the legacy discarded value comparison behavior in the library. + The code below switches on the legacy discarded value comparison behaviour in the library. ```cpp #define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON 1 diff --git a/docs/mkdocs/docs/api/macros/nlohmann_json_serialize_enum.md b/docs/mkdocs/docs/api/macros/nlohmann_json_serialize_enum.md index c54f9195ff..ed64549ef1 100644 --- a/docs/mkdocs/docs/api/macros/nlohmann_json_serialize_enum.md +++ b/docs/mkdocs/docs/api/macros/nlohmann_json_serialize_enum.md @@ -4,7 +4,7 @@ #define NLOHMANN_JSON_SERIALIZE_ENUM(type, conversion...) ``` -By default, enum values are serialized to JSON as integers. In some cases this could result in undesired behavior. If an +By default, enum values are serialized to JSON as integers. In some cases this could result in undesired behaviour. If an enum is modified or re-ordered after data has been serialized to JSON, the later deserialized JSON data may be undefined or a different enum value than was originally intended. diff --git a/docs/mkdocs/docs/api/ordered_map.md b/docs/mkdocs/docs/api/ordered_map.md index ca4934161c..5aedf14232 100644 --- a/docs/mkdocs/docs/api/ordered_map.md +++ b/docs/mkdocs/docs/api/ordered_map.md @@ -60,7 +60,7 @@ std::equal_to<> // since C++14 ??? example - The example shows the different behavior of `std::map` and `nlohmann::ordered_map`. + The example shows the different behaviour of `std::map` and `nlohmann::ordered_map`. ```cpp --8<-- "examples/ordered_map.cpp" diff --git a/docs/mkdocs/docs/community/quality_assurance.md b/docs/mkdocs/docs/community/quality_assurance.md index 134926ca11..873e67ec72 100644 --- a/docs/mkdocs/docs/community/quality_assurance.md +++ b/docs/mkdocs/docs/community/quality_assurance.md @@ -169,13 +169,13 @@ violations will result in a failed build. !!! success "Requirement: Correctness" - The library is checked for memory correctness and absence of undefined behavior. + The library is checked for memory correctness and absence of undefined behaviour. - [x] The test suite is executed with enabled [runtime assertions](https://json.nlohmann.me/features/assertions/) to - check invariants and preconditions of functions to detect undefined behavior. + check invariants and preconditions of functions to detect undefined behaviour. - [x] The test suite is executed with [Valgrind](https://valgrind.org) (Memcheck) to detect memory leaks. - [x] The test suite is executed with [Sanitizers](https://github.com/google/sanitizers) (address sanitizer, undefined - behavior sanitizer, integer overflow detection, nullability violations). + behaviour sanitizer, integer overflow detection, nullability violations). ## Style check diff --git a/docs/mkdocs/docs/examples/back.cpp b/docs/mkdocs/docs/examples/back.cpp index 45342db139..edb2e5c5a0 100644 --- a/docs/mkdocs/docs/examples/back.cpp +++ b/docs/mkdocs/docs/examples/back.cpp @@ -20,9 +20,9 @@ int main() std::cout << j_number_integer.back() << '\n'; std::cout << j_number_float.back() << '\n'; std::cout << j_object.back() << '\n'; - //std::cout << j_object_empty.back() << '\n'; // undefined behavior + //std::cout << j_object_empty.back() << '\n'; // undefined behaviour std::cout << j_array.back() << '\n'; - //std::cout << j_array_empty.back() << '\n'; // undefined behavior + //std::cout << j_array_empty.back() << '\n'; // undefined behaviour std::cout << j_string.back() << '\n'; // back() called on a null value diff --git a/docs/mkdocs/docs/examples/front.cpp b/docs/mkdocs/docs/examples/front.cpp index a0f6306897..07449338b7 100644 --- a/docs/mkdocs/docs/examples/front.cpp +++ b/docs/mkdocs/docs/examples/front.cpp @@ -22,8 +22,8 @@ int main() std::cout << j_number_integer.front() << '\n'; std::cout << j_number_float.front() << '\n'; std::cout << j_object.front() << '\n'; - //std::cout << j_object_empty.front() << '\n'; // undefined behavior + //std::cout << j_object_empty.front() << '\n'; // undefined behaviour std::cout << j_array.front() << '\n'; - //std::cout << j_array_empty.front() << '\n'; // undefined behavior + //std::cout << j_array_empty.front() << '\n'; // undefined behaviour std::cout << j_string.front() << '\n'; } diff --git a/docs/mkdocs/docs/features/arbitrary_types.md b/docs/mkdocs/docs/features/arbitrary_types.md index c0fa4515c4..5ecf04e494 100644 --- a/docs/mkdocs/docs/features/arbitrary_types.md +++ b/docs/mkdocs/docs/features/arbitrary_types.md @@ -77,7 +77,7 @@ Some important things: * Those methods **MUST** be in your type's namespace (which can be the global namespace), or the library will not be able to locate them (in this example, they are in namespace `ns`, where `person` is defined). * Those methods **MUST** be available (e.g., proper headers must be included) everywhere you use these conversions. Look at [#1108](https://github.com/nlohmann/json/issues/1108) for errors that may occur otherwise. * When using `template get()`, `your_type` **MUST** be [DefaultConstructible](https://en.cppreference.com/w/cpp/named_req/DefaultConstructible). (There is a way to bypass this requirement described later.) -* In function `from_json`, use function [`at()`](../api/basic_json/at.md) to access the object values rather than `operator[]`. In case a key does not exist, `at` throws an exception that you can handle, whereas `operator[]` exhibits undefined behavior. +* In function `from_json`, use function [`at()`](../api/basic_json/at.md) to access the object values rather than `operator[]`. In case a key does not exist, `at` throws an exception that you can handle, whereas `operator[]` exhibits undefined behaviour. * You do not need to add serializers or deserializers for STL types like `std::vector`: the library already implements these. diff --git a/docs/mkdocs/docs/features/assertions.md b/docs/mkdocs/docs/features/assertions.md index 4d75d5a8ab..0167e50659 100644 --- a/docs/mkdocs/docs/features/assertions.md +++ b/docs/mkdocs/docs/features/assertions.md @@ -1,7 +1,7 @@ # Runtime Assertions -The code contains numerous debug assertions to ensure class invariants are valid or to detect undefined behavior. -Whereas the former class invariants are nothing to be concerned with, the latter checks for undefined behavior are to +The code contains numerous debug assertions to ensure class invariants are valid or to detect undefined behaviour. +Whereas the former class invariants are nothing to be concerned with, the latter checks for undefined behaviour are to detect bugs in client code. ## Switch off runtime assertions @@ -9,9 +9,9 @@ detect bugs in client code. Runtime assertions can be switched off by defining the preprocessor macro `NDEBUG` (see the [documentation of assert](https://en.cppreference.com/w/cpp/error/assert)) which is the default for release builds. -## Change assertion behavior +## Change assertion behaviour -The behavior of runtime assertions can be changes by defining macro [`JSON_ASSERT(x)`](../api/macros/json_assert.md) +The behaviour of runtime assertions can be changes by defining macro [`JSON_ASSERT(x)`](../api/macros/json_assert.md) before including the `json.hpp` header. ## Function with runtime assertions @@ -19,7 +19,7 @@ before including the `json.hpp` header. ### Unchecked object access to a const value Function [`operator[]`](../api/basic_json/operator%5B%5D.md) implements unchecked access for objects. Whereas a missing -key is added in the case of non-const objects, accessing a const object with a missing key is undefined behavior (think +key is added in the case of non-const objects, accessing a const object with a missing key is undefined behaviour (think of a dereferenced null pointer) and yields a runtime assertion. If you are not sure whether an element in an object exists, use checked access with the @@ -52,7 +52,7 @@ See also the documentation on [element access](element_access/index.md). ### Constructing from an uninitialized iterator range Constructing a JSON value from an iterator range (see [constructor](../api/basic_json/basic_json.md)) with an -uninitialized iterator is undefined behavior and yields a runtime assertion. +uninitialized iterator is undefined behaviour and yields a runtime assertion. ??? example "Example 2: Uninitialized iterator range" @@ -79,7 +79,7 @@ uninitialized iterator is undefined behavior and yields a runtime assertion. ### Operations on uninitialized iterators Any operation on uninitialized iterators (i.e., iterators that are not associated with any JSON value) is undefined -behavior and yields a runtime assertion. +behaviour and yields a runtime assertion. ??? example "Example 3: Uninitialized iterator" @@ -107,10 +107,10 @@ behavior and yields a runtime assertion. ### Reading from a null `FILE` or `char` pointer -Reading from a null `#!cpp FILE` or `#!cpp char` pointer in C++ is undefined behavior. Until version 3.12.0, this +Reading from a null `#!cpp FILE` or `#!cpp char` pointer in C++ is undefined behaviour. Until version 3.12.0, this library asserted that the pointer was not `nullptr` using a runtime assertion. If assertions were disabled, this would -result in undefined behavior. Since version 3.12.0, this library checks for `nullptr` and throws a -[`parse_error.101`](../home/exceptions.md#jsonexceptionparse_error101) to prevent the undefined behavior. +result in undefined behaviour. Since version 3.12.0, this library checks for `nullptr` and throws a +[`parse_error.101`](../home/exceptions.md#jsonexceptionparse_error101) to prevent the undefined behaviour. ??? example "Example 4: Reading from null pointer" @@ -141,4 +141,4 @@ result in undefined behavior. Since version 3.12.0, this library checks for `nul ## See also -- [JSON_ASSERT](../api/macros/json_assert.md) - control behavior of runtime assertions +- [JSON_ASSERT](../api/macros/json_assert.md) - control behaviour of runtime assertions diff --git a/docs/mkdocs/docs/features/binary_formats/bjdata.md b/docs/mkdocs/docs/features/binary_formats/bjdata.md index acfdfb7701..d46188bef7 100644 --- a/docs/mkdocs/docs/features/binary_formats/bjdata.md +++ b/docs/mkdocs/docs/features/binary_formats/bjdata.md @@ -72,7 +72,7 @@ The library uses the following mapping from JSON values types to BJData types ac !!! info "NaN/infinity handling" - If NaN or Infinity are stored inside a JSON number, they are serialized properly. This behavior differs from the + If NaN or Infinity are stored inside a JSON number, they are serialized properly. This behaviour differs from the `dump()` function which serializes NaN or Infinity to `#!json null`. !!! info "Endianness" diff --git a/docs/mkdocs/docs/features/binary_formats/cbor.md b/docs/mkdocs/docs/features/binary_formats/cbor.md index 2d0a1dae10..418284a7aa 100644 --- a/docs/mkdocs/docs/features/binary_formats/cbor.md +++ b/docs/mkdocs/docs/features/binary_formats/cbor.md @@ -66,7 +66,7 @@ see "binary" cells in the table above. !!! info "NaN/infinity handling" - If NaN or Infinity are stored inside a JSON number, they are serialized properly. This behavior differs from the normal JSON serialization which serializes NaN or Infinity to `null`. + If NaN or Infinity are stored inside a JSON number, they are serialized properly. This behaviour differs from the normal JSON serialization which serializes NaN or Infinity to `null`. !!! info "Unused CBOR types" diff --git a/docs/mkdocs/docs/features/binary_formats/ubjson.md b/docs/mkdocs/docs/features/binary_formats/ubjson.md index 76956d60a7..cd108a0d5d 100644 --- a/docs/mkdocs/docs/features/binary_formats/ubjson.md +++ b/docs/mkdocs/docs/features/binary_formats/ubjson.md @@ -56,7 +56,7 @@ The library uses the following mapping from JSON values types to UBJSON types ac !!! info "NaN/infinity handling" - If NaN or Infinity are stored inside a JSON number, they are serialized properly. This behavior differs from the + If NaN or Infinity are stored inside a JSON number, they are serialized properly. This behaviour differs from the `dump()` function which serializes NaN or Infinity to `null`. !!! info "Optimized formats" diff --git a/docs/mkdocs/docs/features/element_access/unchecked_access.md b/docs/mkdocs/docs/features/element_access/unchecked_access.md index f2de067d36..0dbf61a7a4 100644 --- a/docs/mkdocs/docs/features/element_access/unchecked_access.md +++ b/docs/mkdocs/docs/features/element_access/unchecked_access.md @@ -82,7 +82,7 @@ that the passed index is the new maximal index. Intermediate values are filled w The type `#!cpp json` wraps all JSON value types. It would be impossible to remove [`operator[]`](../../api/basic_json/operator%5B%5D.md) for const objects. At the same time, inserting elements for non-const objects is really convenient as it avoids awkward `insert` calls. To this end, we decided to have an - inserting non-const behavior for both arrays and objects. + inserting non-const behaviour for both arrays and objects. !!! info @@ -91,8 +91,8 @@ that the passed index is the new maximal index. Intermediate values are filled w !!! danger - - It is **undefined behavior** to access a const object with a non-existing key. - - It is **undefined behavior** to access a const array with an invalid index. + - It is **undefined behaviour** to access a const object with a non-existing key. + - It is **undefined behaviour** to access a const array with an invalid index. - In debug mode, an **assertion** will fire in both cases. You can disable assertions by defining the preprocessor symbol `#!cpp NDEBUG` or redefine the macro [`JSON_ASSERT(x)`](../macros.md#json_assertx). See the documentation on [runtime assertions](../assertions.md) for more information. @@ -108,5 +108,5 @@ that the passed index is the new maximal index. Intermediate values are filled w |-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------| | access to existing object key | reference to existing value is returned | const reference to existing value is returned | | access to valid array index | reference to existing value is returned | const reference to existing value is returned | -| access to non-existing object key | reference to newly inserted `#!json null` value is returned | **undefined behavior**; [runtime assertion](../assertions.md) in debug mode | -| access to invalid array index | reference to newly inserted `#!json null` value is returned; any index between previous maximal index and passed index are filled with `#!json null` | **undefined behavior**; [runtime assertion](../assertions.md) in debug mode | +| access to non-existing object key | reference to newly inserted `#!json null` value is returned | **undefined behaviour**; [runtime assertion](../assertions.md) in debug mode | +| access to invalid array index | reference to newly inserted `#!json null` value is returned; any index between previous maximal index and passed index are filled with `#!json null` | **undefined behaviour**; [runtime assertion](../assertions.md) in debug mode | diff --git a/docs/mkdocs/docs/features/enum_conversion.md b/docs/mkdocs/docs/features/enum_conversion.md index 6bb3edbd3c..35379dc110 100644 --- a/docs/mkdocs/docs/features/enum_conversion.md +++ b/docs/mkdocs/docs/features/enum_conversion.md @@ -1,6 +1,6 @@ # Specializing enum conversion -By default, enum values are serialized to JSON as integers. In some cases this could result in undesired behavior. If an +By default, enum values are serialized to JSON as integers. In some cases this could result in undesired behaviour. If an enum is modified or re-ordered after data has been serialized to JSON, the later deserialized JSON data may be undefined or a different enum value than was originally intended. diff --git a/docs/mkdocs/docs/features/namespace.md b/docs/mkdocs/docs/features/namespace.md index 460cb3be5c..661a451618 100644 --- a/docs/mkdocs/docs/features/namespace.md +++ b/docs/mkdocs/docs/features/namespace.md @@ -70,7 +70,7 @@ section to emulate the effect of the `NLOHMANN_JSON_NAMESPACE_NO_VERSION` macro. !!! danger "Use at your own risk" Disabling the namespace version component and mixing ABI-incompatible versions will result in crashes or incorrect - behavior. You have been warned! + behaviour. You have been warned! ## Disabling the inline namespace completely When interoperability with code using a pre-3.11.0 version of the library is required, users can, **at their own risk** @@ -85,7 +85,7 @@ follows: !!! danger "Use at your own risk" - Overriding the namespace and mixing ABI-incompatible versions will result in crashes or incorrect behavior. You + Overriding the namespace and mixing ABI-incompatible versions will result in crashes or incorrect behaviour. You have been warned! ## Version history diff --git a/docs/mkdocs/docs/features/object_order.md b/docs/mkdocs/docs/features/object_order.md index 3ee16a90e4..7e3e280acd 100644 --- a/docs/mkdocs/docs/features/object_order.md +++ b/docs/mkdocs/docs/features/object_order.md @@ -2,7 +2,7 @@ The [JSON standard](https://tools.ietf.org/html/rfc8259.html) defines objects as "an unordered collection of zero or more name/value pairs". As such, an implementation does not need to preserve any specific order of object keys. -## Default behavior: sort keys +## Default behaviour: sort keys The default type `nlohmann::json` uses a `std::map` to store JSON objects, and thus stores object keys **sorted alphabetically**. @@ -35,7 +35,7 @@ The default type `nlohmann::json` uses a `std::map` to store JSON objects, and t } ``` -## Alternative behavior: preserve insertion order +## Alternative behaviour: preserve insertion order If you do want to preserve the **insertion order**, you can try the type [`nlohmann::ordered_json`](https://github.com/nlohmann/json/issues/2179). diff --git a/docs/mkdocs/docs/features/types/index.md b/docs/mkdocs/docs/features/types/index.md index 56fb7ebe9e..d4a740ba2b 100644 --- a/docs/mkdocs/docs/features/types/index.md +++ b/docs/mkdocs/docs/features/types/index.md @@ -126,9 +126,9 @@ std::map< > ``` -### Behavior +### behaviour -The choice of `object_t` influences the behavior of the JSON class. With the default type, objects have the following behavior: +The choice of `object_t` influences the behaviour of the JSON class. With the default type, objects have the following behaviour: - When all names are unique, objects will be interoperable in the sense that all software implementations receiving that object will agree on the name-value mappings. - When the names within an object are not unique, it is unspecified which one of the values for a given key will be chosen. For instance, `#!json {"key": 2, "key": 1}` could be equal to either `#!json {"key": 1}` or `#!json {"key": 2}`. @@ -137,7 +137,7 @@ The choice of `object_t` influences the behavior of the JSON class. With the def ### Key order -The order name/value pairs are added to the object are *not* preserved by the library. Therefore, iterating an object may return name/value pairs in a different order than they were originally stored. In fact, keys will be traversed in alphabetical order as `std::map` with `std::less` is used by default. Please note this behavior conforms to [RFC 8259](https://tools.ietf.org/html/rfc8259), because any order implements the specified "unordered" nature of JSON objects. +The order name/value pairs are added to the object are *not* preserved by the library. Therefore, iterating an object may return name/value pairs in a different order than they were originally stored. In fact, keys will be traversed in alphabetical order as `std::map` with `std::less` is used by default. Please note this behaviour conforms to [RFC 8259](https://tools.ietf.org/html/rfc8259), because any order implements the specified "unordered" nature of JSON objects. ### Limits @@ -239,7 +239,7 @@ With the default values for *NumberIntegerType* (`std::int64_t`), the default va With the default values for *NumberUnsignedType* (`std::uint64_t`), the default value for `number_unsigned_t` is `std::uint64_t`. With the default values for *NumberFloatType* (`#!cpp double`), the default value for `number_float_t` is `#!cpp double`. -### Default behavior +### Default behaviour - The restrictions about leading zeros are not enforced in C++. Instead, leading zeros in integer literals lead to an interpretation as an octal number. Internally, the value will be stored as a decimal number. For instance, the C++ integer literal `#!c 010` will be serialized to `#!c 8`. During deserialization, leading zeros yield an error. - Not-a-number (NaN) values will be serialized to `#!json null`. diff --git a/docs/mkdocs/docs/features/types/number_handling.md b/docs/mkdocs/docs/features/types/number_handling.md index 87680ba068..843c2a7de4 100644 --- a/docs/mkdocs/docs/features/types/number_handling.md +++ b/docs/mkdocs/docs/features/types/number_handling.md @@ -87,7 +87,7 @@ number without loss of precision. If this is impossible (e.g., if the number is [`json.exception.out_of_range.406`](../../home/exceptions.md#jsonexceptionout_of_range406) during parsing. - Floating-point numbers are rounded to the next number representable as `double`. For instance `#!c 3.141592653589793238462643383279` is stored as [`0x400921fb54442d18`](https://float.exposed/0x400921fb54442d18). -This is the same behavior as the code `#!c double x = 3.141592653589793238462643383279;`. +This is the same behaviour as the code `#!c double x = 3.141592653589793238462643383279;`. !!! success "Interoperability" @@ -153,7 +153,7 @@ NaN (not-a-number) cannot be expressed with the number syntax described above an That is, there is no way to *parse* a NaN value. However, assignments can store NaN values in a JSON value. -This library serializes NaN values as `#!js null`. This corresponds to the behavior of JavaScript's +This library serializes NaN values as `#!js null`. This corresponds to the behaviour of JavaScript's [`JSON.stringify`](https://www.w3schools.com/js/js_json_stringify.asp) function. !!! example @@ -230,7 +230,7 @@ Floating-point inside JSON values numbers are compared with `#!c json::number_fl ### Number conversion Just like the C++ language itself, the `get` family of functions allows conversions between unsigned and signed -integers, and between integers and floating-point values to integers. This behavior may be surprising. +integers, and between integers and floating-point values to integers. This behaviour may be surprising. !!! warning "Unconditional number conversions" diff --git a/docs/mkdocs/docs/home/design_goals.md b/docs/mkdocs/docs/home/design_goals.md index 0a0f77029f..f2471716c2 100644 --- a/docs/mkdocs/docs/home/design_goals.md +++ b/docs/mkdocs/docs/home/design_goals.md @@ -6,7 +6,7 @@ There are myriads of [JSON](https://json.org) libraries out there, and each may - **Trivial integration**. Our whole code consists of a single header file [`json.hpp`](https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp). That's it. No library, no subproject, no dependencies, no complex build system. The class is written in vanilla C++11. All in all, everything should require no adjustment of your compiler flags or project settings. -- **Serious testing**. Our class is heavily [unit-tested](https://github.com/nlohmann/json/tree/develop/tests/src) and covers [100%](https://coveralls.io/r/nlohmann/json) of the code, including all exceptional behavior. Furthermore, we checked with [Valgrind](http://valgrind.org) and the [Clang Sanitizers](https://clang.llvm.org/docs/index.html) that there are no memory leaks. [Google OSS-Fuzz](https://github.com/google/oss-fuzz/tree/master/projects/json) additionally runs fuzz tests against all parsers 24/7, effectively executing billions of tests so far. To maintain high quality, the project is following the [Core Infrastructure Initiative (CII) best practices](https://bestpractices.coreinfrastructure.org/projects/289). +- **Serious testing**. Our class is heavily [unit-tested](https://github.com/nlohmann/json/tree/develop/tests/src) and covers [100%](https://coveralls.io/r/nlohmann/json) of the code, including all exceptional behaviour. Furthermore, we checked with [Valgrind](http://valgrind.org) and the [Clang Sanitizers](https://clang.llvm.org/docs/index.html) that there are no memory leaks. [Google OSS-Fuzz](https://github.com/google/oss-fuzz/tree/master/projects/json) additionally runs fuzz tests against all parsers 24/7, effectively executing billions of tests so far. To maintain high quality, the project is following the [Core Infrastructure Initiative (CII) best practices](https://bestpractices.coreinfrastructure.org/projects/289). Other aspects were not so important to us: diff --git a/docs/mkdocs/docs/home/exceptions.md b/docs/mkdocs/docs/home/exceptions.md index ea43e5975c..c6fc29adc4 100644 --- a/docs/mkdocs/docs/home/exceptions.md +++ b/docs/mkdocs/docs/home/exceptions.md @@ -37,9 +37,9 @@ classDiagram ### Switch off exceptions -Exceptions are used widely within the library. They can, however, be switched off with either using the compiler flag `-fno-exceptions` or by defining the symbol [`JSON_NOEXCEPTION`](../api/macros/json_noexception.md). In this case, exceptions are replaced by `abort()` calls. You can further control this behavior by defining `JSON_THROW_USER` (overriding `#!cpp throw`), `JSON_TRY_USER` (overriding `#!cpp try`), and `JSON_CATCH_USER` (overriding `#!cpp catch`). +Exceptions are used widely within the library. They can, however, be switched off with either using the compiler flag `-fno-exceptions` or by defining the symbol [`JSON_NOEXCEPTION`](../api/macros/json_noexception.md). In this case, exceptions are replaced by `abort()` calls. You can further control this behaviour by defining `JSON_THROW_USER` (overriding `#!cpp throw`), `JSON_TRY_USER` (overriding `#!cpp try`), and `JSON_CATCH_USER` (overriding `#!cpp catch`). -Note that [`JSON_THROW_USER`](../api/macros/json_throw_user.md) should leave the current scope (e.g., by throwing or aborting), as continuing after it may yield undefined behavior. +Note that [`JSON_THROW_USER`](../api/macros/json_throw_user.md) should leave the current scope (e.g., by throwing or aborting), as continuing after it may yield undefined behaviour. ??? example diff --git a/docs/mkdocs/docs/home/faq.md b/docs/mkdocs/docs/home/faq.md index 6a5ca3960d..b66ef1e426 100644 --- a/docs/mkdocs/docs/home/faq.md +++ b/docs/mkdocs/docs/home/faq.md @@ -20,7 +20,7 @@ yield different results (`#!json [true]` vs. `#!json true`)? -This is a known issue, and -- even worse -- the behavior differs between GCC and Clang. The "culprit" for this is the library's constructor overloads for initializer lists to allow syntax like +This is a known issue, and -- even worse -- the behaviour differs between GCC and Clang. The "culprit" for this is the library's constructor overloads for initializer lists to allow syntax like ```cpp json array = {1, 2, 3, 4}; diff --git a/docs/mkdocs/docs/home/releases.md b/docs/mkdocs/docs/home/releases.md index af4f3e6156..9cdf694022 100644 --- a/docs/mkdocs/docs/home/releases.md +++ b/docs/mkdocs/docs/home/releases.md @@ -342,7 +342,7 @@ SHA-256: 63da6d1f22b2a7bb9e4ff7d6b255cf691a161ff49532dcc45d398a53e295835f (json. This release introduces three new features: - **BSON (Binary JSON)** is next to CBOR, MessagePack, and UBJSON the fourth binary (de)serialization format supported by the library. -- **Adjustable error handlers for invalid Unicode** allows to specify the behavior when invalid byte sequences are serialized. +- **Adjustable error handlers for invalid Unicode** allows to specify the behaviour when invalid byte sequences are serialized. - **Simplified enum/JSON mapping** with a macro in case the default mapping to integers is not desired. Furthermore, some effort has been invested in improving the **parse error messages**. Besides, a few bugs have been fixed. All changes are backward-compatible. @@ -350,7 +350,7 @@ Furthermore, some effort has been invested in improving the **parse error messag ### :sparkles: New Features - The library can read and write a subset of **[BSON](http://bsonspec.org/) (Binary JSON)**. All data types known from JSON are supported, whereas other types more tied to MongoDB such as timestamps, object ids, or binary data are currently not implemented. See [the README](https://github.com/nlohmann/json#binary-formats-bson-cbor-messagepack-and-ubjson) for examples. #1244 #1320 -- The behavior when the library encounters an invalid Unicode sequence during serialization can now be controlled by defining one of three **Unicode error handlers**: (1) throw an exception (default behavior), (2) replace invalid sequences by the Unicode replacement character (U+FFFD), or (3) ignore/filter invalid sequences. See the [documentation of the `dump` function](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a50ec80b02d0f3f51130d4abb5d1cfdc5.html#a50ec80b02d0f3f51130d4abb5d1cfdc5) for examples. #1198 #1314 +- The behaviour when the library encounters an invalid Unicode sequence during serialization can now be controlled by defining one of three **Unicode error handlers**: (1) throw an exception (default behaviour), (2) replace invalid sequences by the Unicode replacement character (U+FFFD), or (3) ignore/filter invalid sequences. See the [documentation of the `dump` function](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a50ec80b02d0f3f51130d4abb5d1cfdc5.html#a50ec80b02d0f3f51130d4abb5d1cfdc5) for examples. #1198 #1314 - To easily specify a user-defined **enum/JSON mapping**, a macro `NLOHMANN_JSON_SERIALIZE_ENUM` has been introduced. See the [README section](https://github.com/nlohmann/json#specializing-enum-conversion) for more information. #1208 #1323 ### :bug: Bug Fixes @@ -485,7 +485,7 @@ This release further fixes several bugs in the library. All changes are backward - added package managers: Spack (#1041) and CocoaPods (#1148) - fixed Meson include directory (#1142) - preprocessor macro `JSON_SKIP_UNSUPPORTED_COMPILER_CHECK` can skip the rejection of unsupported compilers - use at your own risk! (#1128) -- preprocessor macro `JSON_INTERNAL_CATCH`/`JSON_INTERNAL_CATCH_USER` allows to control the behavior of exception handling inside the library (#1187) +- preprocessor macro `JSON_INTERNAL_CATCH`/`JSON_INTERNAL_CATCH_USER` allows to control the behaviour of exception handling inside the library (#1187) - added note on `char` to JSON conversion - added note how to send security-related issue via encrypted email - removed dependency to `std::stringstream` (#1117) @@ -561,7 +561,7 @@ This release fixes several bugs in the library. All changes are backward-compati - Fixed parsing of **CBOR strings with indefinite length** (#961). Earlier versions of this library misinterpreted the CBOR standard and rejected input with the `0x7F` start byte. - Fixed user-defined **conversion to vector type** (#924, #969). A wrong SFINAE check rejected code though a user-defined conversion was provided. -- Fixed documentation of the parser behavior for **objects with duplicate keys** (#963). The exact behavior is not specified by [RFC 8259](https://tools.ietf.org/html/rfc8259) and the library now also provides no guarantee which object key is stored. +- Fixed documentation of the parser behaviour for **objects with duplicate keys** (#963). The exact behaviour is not specified by [RFC 8259](https://tools.ietf.org/html/rfc8259) and the library now also provides no guarantee which object key is stored. - Added check to detect memory **overflow when parsing UBJSON containers** (#962). The optimized UBJSON format allowed for specifying an array with billions of `null` elements with a few bytes and the library did not check whether this size exceeded `max_size()`. ### :hammer: Further Changes @@ -613,7 +613,7 @@ This release adds support for the [**UBJSON**](http://ubjson.org) format and [** - [Google Benchmark](https://github.com/google/benchmark) is now used for micro benchmarks (see `benchmarks` folder, #921). - The serialization (JSON and binary formats) now properly work with the libraries string template parameter, allowing for optimized string implementations to be used in constraint environments such as embedded software (#941, #950). -- The exceptional behavior can now be overridden by defining macros `JSON_THROW_USER`, `JSON_TRY_USER`, and `JSON_CATCH_USER`, defining the behavior of `throw`, `try` and `catch`, respectively. This allows to switch off C++'s exception mechanism yet still execute user-defined code in case an error condition occurs (#938). +- The exceptional behaviour can now be overridden by defining macros `JSON_THROW_USER`, `JSON_TRY_USER`, and `JSON_CATCH_USER`, defining the behaviour of `throw`, `try` and `catch`, respectively. This allows to switch off C++'s exception mechanism yet still execute user-defined code in case an error condition occurs (#938). - To facilitate the interplay with [flex](https://github.com/westes/flex) and [Bison](https://www.gnu.org/software/bison/), the library does not use the variable name `yytext` any more as it could clash with macro definitions (#933). - The library now defines `NLOHMANN_JSON_VERSION_MAJOR`, `NLOHMANN_JSON_VERSION_MINOR`, and `NLOHMANN_JSON_VERSION_PATCH` to allow for conditional compilation based on the included library version (#943, #948). - A compilation error with ICC has been fixed (#947). @@ -910,7 +910,7 @@ This release fixes several security-relevant bugs in the MessagePack and CBOR pa ### Changes - :bug: Fixed a lot of **bugs in the CBOR and MesssagePack parsers**. These bugs occurred if invalid input was parsed and then could lead in buffer overflows. These bugs were found with Google's [OSS-Fuzz](https://github.com/google/oss-fuzz), see #405, #407, #408, #409, #411, and #412 for more information. - :construction_worker: We now also use the **[Doozer](https://doozer.io) continuous integration platform**. -- :construction_worker: The complete test suite is now also run with **Clang's address sanitizer and undefined-behavior sanitizer**. +- :construction_worker: The complete test suite is now also run with **Clang's address sanitizer and undefined-behaviour sanitizer**. - :white_check_mark: Overworked **fuzz testing**; CBOR and MessagePack implementations are now fuzz-tested. Furthermore, all fuzz tests now include a round trip which ensures created output can again be properly parsed and yields the same JSON value. - :memo: Clarified documentation of `find()` function to always return `end()` when called on non-object value types. - :hammer: Moved thirdparty test code to `test/thirdparty` directory. @@ -1064,8 +1064,8 @@ This release fixes a bug in the stream parser (function `parse()` and the `<<`/` This release combines a lot of small fixes and improvements. The release is backwards compatible. ### Changes -- The **parser/deserialization functions have been generalized** to process any contiguous sequence of 1-byte elements (e.g., `char`, `unsigned char`, `uint8_t`). This includes all kind of string representations (string literals, char arrays, `std::string`, `const char*`), contiguous containers (C-style arrays, `std::vector`, `std::array`, `std::valarray`, `std::initializer_list`). User-defined containers providing random-access iterator access via `std::begin` and `std::end` can be used as well. See the documentation ([1](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_ace63ac4eb1dd7251a259d32e397461a3.html#ace63ac4eb1dd7251a259d32e397461a3), [2](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a90f05d55d9d0702c075cd281fd0d85ae.html#a90f05d55d9d0702c075cd281fd0d85ae), [3](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_aeffd70f622f8f2a51fd3d95af64b63a7.html#aeffd70f622f8f2a51fd3d95af64b63a7), [4](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_aa8dca2e91a6301c36890f844e64f0023.html#aa8dca2e91a6301c36890f844e64f0023)) for more information. Note that contiguous storage cannot be checked at compile time; if any of the parse functions are called with a noncompliant container, the behavior is undefined and will most likely yield segmentation violation. The preconditions are enforced by an assertion unless the library is compiled with preprocessor symbol `NDEBUG`. -- As a general remark on **assertions**: The library uses assertions to preclude undefined behavior. A [prominent example](https://github.com/nlohmann/json/issues/289) for this is the `operator[]` for const JSON objects. The behavior of this const version of the operator is undefined if the given key does not exist in the JSON object, because unlike the non-const version, it cannot add a `null` value at the given key. Assertions can be switched of by defining the preprocessor symbol `NDEBUG`. See the [documentation of `assert`](http://en.cppreference.com/w/cpp/error/assert) for more information. +- The **parser/deserialization functions have been generalized** to process any contiguous sequence of 1-byte elements (e.g., `char`, `unsigned char`, `uint8_t`). This includes all kind of string representations (string literals, char arrays, `std::string`, `const char*`), contiguous containers (C-style arrays, `std::vector`, `std::array`, `std::valarray`, `std::initializer_list`). User-defined containers providing random-access iterator access via `std::begin` and `std::end` can be used as well. See the documentation ([1](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_ace63ac4eb1dd7251a259d32e397461a3.html#ace63ac4eb1dd7251a259d32e397461a3), [2](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a90f05d55d9d0702c075cd281fd0d85ae.html#a90f05d55d9d0702c075cd281fd0d85ae), [3](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_aeffd70f622f8f2a51fd3d95af64b63a7.html#aeffd70f622f8f2a51fd3d95af64b63a7), [4](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_aa8dca2e91a6301c36890f844e64f0023.html#aa8dca2e91a6301c36890f844e64f0023)) for more information. Note that contiguous storage cannot be checked at compile time; if any of the parse functions are called with a noncompliant container, the behaviour is undefined and will most likely yield segmentation violation. The preconditions are enforced by an assertion unless the library is compiled with preprocessor symbol `NDEBUG`. +- As a general remark on **assertions**: The library uses assertions to preclude undefined behaviour. A [prominent example](https://github.com/nlohmann/json/issues/289) for this is the `operator[]` for const JSON objects. The behaviour of this const version of the operator is undefined if the given key does not exist in the JSON object, because unlike the non-const version, it cannot add a `null` value at the given key. Assertions can be switched of by defining the preprocessor symbol `NDEBUG`. See the [documentation of `assert`](http://en.cppreference.com/w/cpp/error/assert) for more information. - In the course of cleaning up the parser/deserialization functions, the constructor [`basic_json(std::istream&, const parser_callback_t)`](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a32350263eb105764844c5a85e156a255.html#a32350263eb105764844c5a85e156a255) has been **deprecated** and will be deleted with the next major release 3.0.0 to unify the interface of the library. Deserialization will be done by stream operators or by calling one of the `parse` functions. That is, calls like `json j(i);` for an input stream `i` need to be replaced by `json j = json::parse(i);`. Compilers will produce a deprecation warning if client code uses this function. - Minor improvements: - Improved the performance of the serialization by avoiding the re-creation of a locale object. @@ -1186,7 +1186,7 @@ This release fixes several small bugs and adds functionality in a backwards-comp ### Changes - _Fixed_: **Floating-point numbers** are now serialized and deserialized properly such that rountripping works in more cases. [#185, #186, #190, #191, #194] -- _Added_: The code now contains **assertions** to detect undefined behavior during development. As the standard function `assert` is used, the assertions can be switched off by defining the preprocessor symbol `NDEBUG` during compilation. [#168] +- _Added_: The code now contains **assertions** to detect undefined behaviour during development. As the standard function `assert` is used, the assertions can be switched off by defining the preprocessor symbol `NDEBUG` during compilation. [#168] - _Added_: It is now possible to get a **reference** to the stored values via the newly added function `get_ref()`. [#128, #184] - _Fixed_: Access to object values via keys (**`operator[]`**) now works with all kind of string representations. [#171, #189] - _Fixed_: The code now compiles again with **Microsoft Visual Studio 2015**. [#144, #167, #188] diff --git a/docs/mkdocs/docs/integration/cmake.md b/docs/mkdocs/docs/integration/cmake.md index b89e4dbd3f..6fcd582931 100644 --- a/docs/mkdocs/docs/integration/cmake.md +++ b/docs/mkdocs/docs/integration/cmake.md @@ -163,7 +163,7 @@ Install CMake targets during install step. This option is `ON` by default if the ### `JSON_LegacyDiscardedValueComparison` -Enable the (incorrect) legacy comparison behavior of discarded JSON values by defining macro [`JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON`](../api/macros/json_use_legacy_discarded_value_comparison.md). This option is `OFF` by default. +Enable the (incorrect) legacy comparison behaviour of discarded JSON values by defining macro [`JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON`](../api/macros/json_use_legacy_discarded_value_comparison.md). This option is `OFF` by default. ### `JSON_MultipleHeaders` diff --git a/docs/mkdocs/docs/integration/migration_guide.md b/docs/mkdocs/docs/integration/migration_guide.md index 423b746d2b..51e38861fa 100644 --- a/docs/mkdocs/docs/integration/migration_guide.md +++ b/docs/mkdocs/docs/integration/migration_guide.md @@ -149,7 +149,7 @@ function to use instead. std::cout << j; ``` -- The legacy comparison behavior for discarded values is deprecated since 3.11.0. It is already disabled by default and +- The legacy comparison behaviour for discarded values is deprecated since 3.11.0. It is already disabled by default and can still be enabled by defining [`JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON`](../api/macros/json_use_legacy_discarded_value_comparison.md) to `1`. diff --git a/include/nlohmann/detail/json_custom_base_class.hpp b/include/nlohmann/detail/json_custom_base_class.hpp index 91e0c80bc0..853c4989db 100644 --- a/include/nlohmann/detail/json_custom_base_class.hpp +++ b/include/nlohmann/detail/json_custom_base_class.hpp @@ -24,7 +24,7 @@ of @ref basic_json do not require complex case distinctions (no base class / custom base class used as customization point), @ref basic_json always has a base class. By default, this class is used because it is empty and thus has no effect -on the behavior of @ref basic_json. +on the behaviour of @ref basic_json. */ struct json_default_base {}; diff --git a/include/nlohmann/detail/value_t.hpp b/include/nlohmann/detail/value_t.hpp index 4bd87abd27..ca412736d6 100644 --- a/include/nlohmann/detail/value_t.hpp +++ b/include/nlohmann/detail/value_t.hpp @@ -73,7 +73,7 @@ Returns an ordering that is similar to Python: - discarded values are not comparable - binary is represented as a b"" string in python and directly comparable to a string; however, making a binary array directly comparable with a string would - be surprising behavior in a JSON file. + be surprising behaviour in a JSON file. @since version 1.0.0 */ diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index ed51cd5447..3fd39ed3ef 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -3764,7 +3764,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec #if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON // all operators that are computed as an odd number of inverses of others - // need to be overloaded to emulate the legacy comparison behavior + // need to be overloaded to emulate the legacy comparison behaviour /// @brief comparison: less than or equal /// @sa https://json.nlohmann.me/api/basic_json/operator_le/ @@ -4825,7 +4825,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec const auto idx = json_pointer::template array_index(last_path); if (JSON_HEDLEY_UNLIKELY(idx > parent.size())) { - // avoid undefined behavior + // avoid undefined behaviour JSON_THROW(out_of_range::create(401, detail::concat("array index ", std::to_string(idx), " is out of range"), &parent)); } diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 82d69f7c5d..00c94fdd08 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -3019,7 +3019,7 @@ Returns an ordering that is similar to Python: - discarded values are not comparable - binary is represented as a b"" string in python and directly comparable to a string; however, making a binary array directly comparable with a string would - be surprising behavior in a JSON file. + be surprising behaviour in a JSON file. @since version 1.0.0 */ @@ -14482,7 +14482,7 @@ of @ref basic_json do not require complex case distinctions (no base class / custom base class used as customization point), @ref basic_json always has a base class. By default, this class is used because it is empty and thus has no effect -on the behavior of @ref basic_json. +on the behaviour of @ref basic_json. */ struct json_default_base {}; @@ -23778,7 +23778,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec #if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON // all operators that are computed as an odd number of inverses of others - // need to be overloaded to emulate the legacy comparison behavior + // need to be overloaded to emulate the legacy comparison behaviour /// @brief comparison: less than or equal /// @sa https://json.nlohmann.me/api/basic_json/operator_le/ @@ -24839,7 +24839,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec const auto idx = json_pointer::template array_index(last_path); if (JSON_HEDLEY_UNLIKELY(idx > parent.size())) { - // avoid undefined behavior + // avoid undefined behaviour JSON_THROW(out_of_range::create(401, detail::concat("array index ", std::to_string(idx), " is out of range"), &parent)); } diff --git a/tests/abi/include/nlohmann/json_v3_10_5.hpp b/tests/abi/include/nlohmann/json_v3_10_5.hpp index 1f8cdcb50e..b1ea272d96 100644 --- a/tests/abi/include/nlohmann/json_v3_10_5.hpp +++ b/tests/abi/include/nlohmann/json_v3_10_5.hpp @@ -149,7 +149,7 @@ Returns an ordering that is similar to Python: - discarded values are not comparable - binary is represented as a b"" string in python and directly comparable to a string; however, making a binary array directly comparable with a string would - be surprising behavior in a JSON file. + be surprising behaviour in a JSON file. @since version 1.0.0 */ @@ -21467,7 +21467,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec const auto idx = json_pointer::array_index(last_path); if (JSON_HEDLEY_UNLIKELY(idx > parent.size())) { - // avoid undefined behavior + // avoid undefined behaviour JSON_THROW(out_of_range::create(401, "array index " + std::to_string(idx) + " is out of range", parent)); } diff --git a/tests/src/unit-iterators1.cpp b/tests/src/unit-iterators1.cpp index 595a1b684d..5682381644 100644 --- a/tests/src/unit-iterators1.cpp +++ b/tests/src/unit-iterators1.cpp @@ -14,7 +14,7 @@ using nlohmann::json; TEST_CASE("iterators 1") { - SECTION("basic behavior") + SECTION("basic behaviour") { SECTION("uninitialized") { diff --git a/tests/src/unit-regression1.cpp b/tests/src/unit-regression1.cpp index 64853dde71..3416559cbc 100644 --- a/tests/src/unit-regression1.cpp +++ b/tests/src/unit-regression1.cpp @@ -746,7 +746,7 @@ TEST_CASE("regression tests 1") CHECK_THROWS_WITH_AS(ss >> j, "[json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON", json::parse_error&); } - SECTION("issue #367 - behavior of operator>> should more closely resemble that of built-in overloads") + SECTION("issue #367 - behaviour of operator>> should more closely resemble that of built-in overloads") { SECTION("(empty)") { @@ -1116,7 +1116,7 @@ TEST_CASE("regression tests 1") } #if JSON_USE_IMPLICIT_CONVERSIONS - SECTION("issue #473 - inconsistent behavior in conversion to array type") + SECTION("issue #473 - inconsistent behaviour in conversion to array type") { json const j_array = {1, 2, 3, 4}; json const j_number = 42; @@ -1308,7 +1308,7 @@ TEST_CASE("regression tests 1") } #endif - SECTION("issue #367 - Behavior of operator>> should more closely resemble that of built-in overloads.") + SECTION("issue #367 - behaviour of operator>> should more closely resemble that of built-in overloads.") { SECTION("example 1") { diff --git a/tests/thirdparty/doctest/doctest.h b/tests/thirdparty/doctest/doctest.h index 5c754cde08..8f36a91cd8 100644 --- a/tests/thirdparty/doctest/doctest.h +++ b/tests/thirdparty/doctest/doctest.h @@ -242,7 +242,7 @@ DOCTEST_MSVC_SUPPRESS_WARNING(4623) // default constructor was implicitly define DOCTEST_MSVC_SUPPRESS_WARNING(4623) /* default constructor was implicitly deleted */ \ DOCTEST_MSVC_SUPPRESS_WARNING(5039) /* pointer to pot. throwing function passed to extern C */ \ DOCTEST_MSVC_SUPPRESS_WARNING(5045) /* Spectre mitigation for memory load */ \ - DOCTEST_MSVC_SUPPRESS_WARNING(5105) /* macro producing 'defined' has undefined behavior */ \ + DOCTEST_MSVC_SUPPRESS_WARNING(5105) /* macro producing 'defined' has undefined behaviour */ \ DOCTEST_MSVC_SUPPRESS_WARNING(4738) /* storing float result in memory, loss of performance */ \ DOCTEST_MSVC_SUPPRESS_WARNING(5262) /* implicit fall-through */ @@ -6560,7 +6560,7 @@ namespace { if(type) { // integer - // TODO: change this to use std::stoi or something else! currently it uses undefined behavior - assumes '0' on failed parse... + // TODO: change this to use std::stoi or something else! currently it uses undefined behaviour - assumes '0' on failed parse... int theInt = std::atoi(parsedValue.c_str()); if (theInt != 0) { res = theInt; //!OCLINT parameter reassignment From 807a962eaa2c686b370e3953e69c83033165a271 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 10:21:22 +0000 Subject: [PATCH 02/17] small changes to NJF-06.4.1 and JLS-16 --- TSF/trustable/no-json-faults/NJF-06.4.1.md | 2 +- TSF/trustable/statements/JLS-16.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TSF/trustable/no-json-faults/NJF-06.4.1.md b/TSF/trustable/no-json-faults/NJF-06.4.1.md index 7625ab1694..fed67de6d8 100644 --- a/TSF/trustable/no-json-faults/NJF-06.4.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.4.1.md @@ -49,4 +49,4 @@ score: Erikhu1: 1.0 --- -If the service provided by the nlohmann/json library recognises the name-candidate as string, then it accepts the name-candidate. \ No newline at end of file +If the service provided by the nlohmann/json library recognizes the name-candidate as string, then it accepts the name-candidate. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-16.md b/TSF/trustable/statements/JLS-16.md index 9fee7fc698..60705fcf66 100644 --- a/TSF/trustable/statements/JLS-16.md +++ b/TSF/trustable/statements/JLS-16.md @@ -1,4 +1,6 @@ --- +level: 1.1 +normative: true references: - type: verbose_file path: "./TSF/docs/list_of_test_environments.md" @@ -9,8 +11,6 @@ evidence: sources: - "./tests/src" - "./TSF/tests" -level: 1.1 -normative: true --- A list of tests, which is extracted from the test execution, is provided, along with a list of test environments. \ No newline at end of file From 95512f15375071aea99f436385cfe301931b219e Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 10:32:59 +0000 Subject: [PATCH 03/17] Worked through JLS-01 to JLS-20 --- TSF/trustable/statements/JLS-02.md | 8 ++++---- TSF/trustable/statements/JLS-05.md | 16 ++++++++-------- TSF/trustable/statements/JLS-06.md | 2 +- TSF/trustable/statements/JLS-07.md | 2 +- TSF/trustable/statements/JLS-08.md | 2 +- TSF/trustable/statements/JLS-09.md | 2 +- TSF/trustable/statements/JLS-11.md | 2 +- TSF/trustable/statements/JLS-12.md | 2 +- TSF/trustable/statements/JLS-13.md | 6 +++--- TSF/trustable/statements/JLS-14.md | 2 +- TSF/trustable/statements/JLS-16.md | 2 +- TSF/trustable/statements/JLS-18.md | 4 ++-- TSF/trustable/statements/JLS-19.md | 8 ++++---- TSF/trustable/statements/JLS-20.md | 6 +++--- 14 files changed, 32 insertions(+), 32 deletions(-) diff --git a/TSF/trustable/statements/JLS-02.md b/TSF/trustable/statements/JLS-02.md index 814585ea16..373ec506b9 100644 --- a/TSF/trustable/statements/JLS-02.md +++ b/TSF/trustable/statements/JLS-02.md @@ -4,16 +4,16 @@ normative: true references: - type: project_website url: "https://introspector.oss-fuzz.com/project-profile?project=json" - description: "most recent report for fuzzing introspection of nlohmann/json with historical plots" + description: "Most recent report for fuzzing introspection of nlohmann/json with historical plots." - type: web_content url: "https://storage.googleapis.com/oss-fuzz-introspector/json/inspector-report/20250824/fuzz_report.html" - description: "persistent storage of fuzz-testing-report for nlohmann/json version 3.12.0 on 24.08.2025" + description: "Persistent storage of fuzz-testing report for the nlohmann/json library version 3.12.0 on 24.08.2025." - type: web_content url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/.github/workflows/cifuzz.yml" - description: "Configuration file for Fuzz-Testing pipeline in the original nlohmann/json repository" + description: "Configuration file for fuzz-testing pipeline in the original nlohmann/json repository." - type: web_content url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for nlohmann/json, where score for 'Fuzzing' supports this statement." + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Fuzzing' supports this statement." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-05.md b/TSF/trustable/statements/JLS-05.md index 712d5c25b0..b92b301e1a 100644 --- a/TSF/trustable/statements/JLS-05.md +++ b/TSF/trustable/statements/JLS-05.md @@ -4,28 +4,28 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/issues" - description: "contains the collected github-issues for nlohmann/json" + description: "Contains the collected Github issues for the nlohmann/json library." - type: project_website url: "https://github.com/nlohmann/json/graphs/commit-activity" - description: "presents the commit activity of the past year" + description: "Presents the commit activity of the past year." - type: project_website url: "https://github.com/nlohmann/json/graphs/contributors" - description: "presents commits over time and per contributor" + description: "Presents commits over time and per contributor." - type: project_website url: "https://github.com/nlohmann/json/forks?include=active&page=1&period=&sort_by=last_updated" - description: "lists all forks of nlohmann/json by last updated" + description: "Lists all forks of the nlohmann/json library by last updated." - type: project_website url: "https://github.com/nlohmann/json/pulse" - description: "presents activity over the past week" + description: "Presents the activity on the nlohmann/json library over the past week." - type: project_website url: "https://github.com/orgs/score-json/discussions/27#discussion-8594385" - description: "comparison between JSON libraries demonstrating the popularity of nlohmann/json" + description: "Comparison between JSON libraries demonstrating the popularity of the nlohmann/json library." - type: project_website url: "https://json.nlohmann.me/home/customers/" - description: "presents a list of a subset of all customers who are using the nlohmann/json library" + description: "Presents a subset of all customers who are using the nlohmann/json library." - type: web_content url: "https://github.com/nlohmann/json/releases/tag/v3.12.0" - description: "release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release" + description: "Release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-06.md b/TSF/trustable/statements/JLS-06.md index 2ec39d1a94..424bbcc5aa 100644 --- a/TSF/trustable/statements/JLS-06.md +++ b/TSF/trustable/statements/JLS-06.md @@ -4,7 +4,7 @@ normative: true references: - type: web_content url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for nlohmann/json, where score for 'Code-Review' reflects this statement." + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Code-Review' reflects this statement." score: Erikhu1: 0.3 --- diff --git a/TSF/trustable/statements/JLS-07.md b/TSF/trustable/statements/JLS-07.md index 6e33cea780..d5a0442825 100644 --- a/TSF/trustable/statements/JLS-07.md +++ b/TSF/trustable/statements/JLS-07.md @@ -4,7 +4,7 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/actions?query=event%3Apush+branch%3Adevelop" - description: "List of all pushes to the develop branch in nlohmann/json, showing that all commits are done by nlohmann and indicating that direct commits are not possible." + description: "List of all pushes to the develop branch of the nlohmann/json library, showing that all commits are done by @nlohmann and indicating that direct commits are not possible." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-08.md b/TSF/trustable/statements/JLS-08.md index f572037559..bea7ebd205 100644 --- a/TSF/trustable/statements/JLS-08.md +++ b/TSF/trustable/statements/JLS-08.md @@ -10,7 +10,7 @@ references: description: "Trustable Compliance Report showing scores for statements." - type: web_content url: "https://codethinklabs.gitlab.io/trustable/trustable/methodology.html#documenting-assumptions" - description: "Definition of Assumptions as part of the methodology" + description: "Definition of Assumptions as part of the TSF methodology docomentation." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-09.md b/TSF/trustable/statements/JLS-09.md index 154ecc48af..9c872e50d0 100644 --- a/TSF/trustable/statements/JLS-09.md +++ b/TSF/trustable/statements/JLS-09.md @@ -4,7 +4,7 @@ normative: true references: - type: web_content url: "https://eclipse-score.github.io/inc_nlohmann_json/main/concept.html" - description: "Description of the algorithm on how scores are accumulated." + description: "Description of the algorithm for how scores are accumulated." --- Scores within the TSF documentation are reasonably, systematically and repeatably accumulated. diff --git a/TSF/trustable/statements/JLS-11.md b/TSF/trustable/statements/JLS-11.md index 4bea9090f3..1bf8b6d700 100644 --- a/TSF/trustable/statements/JLS-11.md +++ b/TSF/trustable/statements/JLS-11.md @@ -4,7 +4,7 @@ normative: true references: - type: web_content url: "https://github.com/eclipse-score/inc_nlohmann_json/blob/save_historical_data/TSF/misbehaviours.md" - description: "List of outstanding bugs as well as fixes for developed code that are outstanding, not yet applied." + description: "List of outstanding bugs as well as fixes for developed code that are not yet applied." evidence: type: check_issues configuration: diff --git a/TSF/trustable/statements/JLS-12.md b/TSF/trustable/statements/JLS-12.md index 3e3ac7d3f7..5726e3f260 100644 --- a/TSF/trustable/statements/JLS-12.md +++ b/TSF/trustable/statements/JLS-12.md @@ -4,7 +4,7 @@ normative: true references: - type: web_content url: "https://github.com/nlohmann/json/community" - description: "List of defined community standards in nlohmann/json" + description: "List of defined community standards for the nlohmann/json repository." score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/statements/JLS-13.md b/TSF/trustable/statements/JLS-13.md index bd83e9c389..4e62419630 100644 --- a/TSF/trustable/statements/JLS-13.md +++ b/TSF/trustable/statements/JLS-13.md @@ -4,13 +4,13 @@ normative: true references: - type: project_website url: "https://json.nlohmann.me/community/contribution_guidelines/#update-the-documentation" - description: "Contribution guidelines describing how to update and locally build the mkdocs-based documentation" + description: "Contribution guidelines describing how to update and locally build the MkDocs-based documentation." - type: project_website url: "https://github.com/nlohmann/json/releases" - description: "Release notes summarising behavioural changes and documentation updates for each version" + description: "Release notes summarising behavioural changes and documentation updates for each version." - type: web_content url: "https://json.nlohmann.me" - description: "Published documentation site for the nlohmann/json library" + description: "Published documentation site for the nlohmann/json library." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-14.md b/TSF/trustable/statements/JLS-14.md index bab50c00cb..0c51214eed 100644 --- a/TSF/trustable/statements/JLS-14.md +++ b/TSF/trustable/statements/JLS-14.md @@ -4,7 +4,7 @@ normative: true references: - type: website url: "https://github.com/nlohmann/json/tree/v3.12.0" - description: "release site of nlohmann/json containing the sha values" + description: "Release site of the nlohmann/json library containing the SHA values." evidence: type: sha_checker configuration: diff --git a/TSF/trustable/statements/JLS-16.md b/TSF/trustable/statements/JLS-16.md index 60705fcf66..0d0d2e75a0 100644 --- a/TSF/trustable/statements/JLS-16.md +++ b/TSF/trustable/statements/JLS-16.md @@ -4,7 +4,7 @@ normative: true references: - type: verbose_file path: "./TSF/docs/list_of_test_environments.md" - comment: "The list of all test-cases together with their execution environments" + comment: "The list of all test cases together with their execution environments." evidence: type: check_list_of_tests configuration: diff --git a/TSF/trustable/statements/JLS-18.md b/TSF/trustable/statements/JLS-18.md index e63e116174..3e103bb30d 100644 --- a/TSF/trustable/statements/JLS-18.md +++ b/TSF/trustable/statements/JLS-18.md @@ -4,10 +4,10 @@ normative: true references: - type: verbose_file path: ./TSF/scripts/capture_test_data_memory_sensitive.py - description: "This script extracts the test-results from the junit-files generated by ctest and writes these into a data-base." + description: "This script extracts the test-results from the JUnit-files generated by CTest and writes these into a database." - type: verbose_file path: ./.github/workflows/ubuntu.yml - description: "This workflow runs the tests and generates test-reports as junit-files, which are given to the script capture_test_data.py." + description: "This workflow runs the tests and generates test reports as JUnit-files, which are given to the script capture_test_data.py." evidence: type: file_exists configuration: diff --git a/TSF/trustable/statements/JLS-19.md b/TSF/trustable/statements/JLS-19.md index 35e35b6974..810346c336 100644 --- a/TSF/trustable/statements/JLS-19.md +++ b/TSF/trustable/statements/JLS-19.md @@ -4,16 +4,16 @@ normative: true references: - type: web_content url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/CMakeLists.txt" - description: "CMake build manifest file" + description: "CMake build manifest file of the nlohmann/json library." - type: web_content url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/BUILD.bazel" - description: "Bazel build manifest file" + description: "Bazel build manifest file of the nlohmann/json library." - type: web_content url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/meson.build" - description: "Meson build manifest file" + description: "Meson build manifest file of the nlohmann/json library." - type: web_content url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/Package.swift" - description: "Swift Package Manager manifest file" + description: "Swift Package Manager manifest file of the nlohmann/json library." score: Erikhu1: 1.0 --- diff --git a/TSF/trustable/statements/JLS-20.md b/TSF/trustable/statements/JLS-20.md index e90e7d4459..9aa6355b4e 100644 --- a/TSF/trustable/statements/JLS-20.md +++ b/TSF/trustable/statements/JLS-20.md @@ -4,13 +4,13 @@ normative: true references: - type: verbose_file path: ./.github/workflows/parent-workflow.yml - description: "github workflow running on push to main and triggering the workflow publish_documentation" + description: "Github workflow running on push to main and triggering the workflow publish_documentation." - type: verbose_file path: ./.github/workflows/publish_documentation.yml - description: "github workflow executing calculation and storage of trustable scores" + description: "Github workflow executing calculation and storage of trustable scores." - type: website url: "https://github.com/eclipse-score/inc_nlohmann_json/blob/save_historical_data/TSF/TrustableScoring.db" - description: "the database containing the trustable scores" + description: "The database containing the trustable scores." evidence: type: https_response_time configuration: From 71875c898aedbfa61bec3601d932ffec0f0cbd75 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 12:40:32 +0000 Subject: [PATCH 04/17] Worked through JLS-21 to JLS-44 --- TSF/trustable/statements/JLS-22.md | 8 ++++---- TSF/trustable/statements/JLS-23.md | 4 ++-- TSF/trustable/statements/JLS-25.md | 4 ++-- TSF/trustable/statements/JLS-28.md | 2 +- TSF/trustable/statements/JLS-29.md | 4 ++-- TSF/trustable/statements/JLS-30.md | 4 ++-- TSF/trustable/statements/JLS-31.md | 2 +- TSF/trustable/statements/JLS-32.md | 2 +- TSF/trustable/statements/JLS-33.md | 2 +- TSF/trustable/statements/JLS-34.md | 2 +- TSF/trustable/statements/JLS-35.md | 4 ++-- TSF/trustable/statements/JLS-36.md | 2 +- TSF/trustable/statements/JLS-37.md | 2 +- TSF/trustable/statements/JLS-40.md | 4 ++-- TSF/trustable/statements/JLS-41.md | 2 +- TSF/trustable/statements/JLS-42.md | 6 +++--- TSF/trustable/statements/JLS-43.md | 4 ++-- 17 files changed, 29 insertions(+), 29 deletions(-) diff --git a/TSF/trustable/statements/JLS-22.md b/TSF/trustable/statements/JLS-22.md index 55fcc055c4..ac37971e24 100644 --- a/TSF/trustable/statements/JLS-22.md +++ b/TSF/trustable/statements/JLS-22.md @@ -4,16 +4,16 @@ normative: true references: - type: verbose_file path: ./.github/workflows/parent-workflow.yml - description: "github workflow running daily and triggering the workflow ubuntu" + description: "Github workflow running daily and triggering the Ubuntu workflow." - type: verbose_file path: ./.github/workflows/ubuntu.yml - description: "workflow, in which unit tests are executed with a myriad of test environments and test results are captured." + description: "Workflow, in which unit tests are executed with a myriad of test environments, and test results are captured." - type: verbose_file path: ./TSF/scripts/capture_test_data.py - description: "script, which collects the data produced by ctest in a database" + description: "Script that collects the data produced by CTest in a database." - type: website url: "https://github.com/eclipse-score/inc_nlohmann_json/blob/save_historical_data/TSF/MemoryEfficientTestResultData.db" - description: "the database containing the test results" + description: "The database containing the test results." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-23.md b/TSF/trustable/statements/JLS-23.md index 7aea22fd32..ba70a1e41a 100644 --- a/TSF/trustable/statements/JLS-23.md +++ b/TSF/trustable/statements/JLS-23.md @@ -4,10 +4,10 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json" - description: "Start-page of the original nlohmann/json project" + description: "Start page of the original nlohmann/json project." - type: project_website url: "https://github.com/eclipse-score/inc_nlohmann_json" - description: "Start-page of the mirror of nlohmann/json within Eclipse S-CORE" + description: "Start page of the mirror of nlohmann/json within Eclipse S-CORE." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-25.md b/TSF/trustable/statements/JLS-25.md index 897d7abd9c..7d8092d000 100644 --- a/TSF/trustable/statements/JLS-25.md +++ b/TSF/trustable/statements/JLS-25.md @@ -4,10 +4,10 @@ normative: true references: - type: web_content url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for nlohmann/json, where scores for 'Security-Policy' and 'Code-Review' reflect this statement." + description: "OpenSSF Scorecard report for the nlohmann/json library, where the scores for 'Security-Policy' and 'Code-Review' reflect this statement." - type: project_website url: "https://github.com/nlohmann/json?tab=contributing-ov-file#readme" - description: "Contribution Guidelines for nlohmann/json, where it is indirectly indicated that all changes are reviewed." + description: "Contribution Guidelines for the nlohmann/json library, which indicate that all changes are reviewed." score: Erikhu1: 0.8 --- diff --git a/TSF/trustable/statements/JLS-28.md b/TSF/trustable/statements/JLS-28.md index 262f211555..cb40de57a1 100644 --- a/TSF/trustable/statements/JLS-28.md +++ b/TSF/trustable/statements/JLS-28.md @@ -4,7 +4,7 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/discussions/4967" - description: "Discussion in nlohmann/json showing that no triage processes for bugs are currently in place" + description: "Discussion in the nlohmann/json repository showing that no triage processes for bugs are currently in place." score: Erikhu1: 0.0 --- diff --git a/TSF/trustable/statements/JLS-29.md b/TSF/trustable/statements/JLS-29.md index bd13a4be4e..43814a87df 100644 --- a/TSF/trustable/statements/JLS-29.md +++ b/TSF/trustable/statements/JLS-29.md @@ -4,10 +4,10 @@ normative: true references: - type: web_content url: "https://github.com/nlohmann/json/releases/tag/v3.12.0" - description: "release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release" + description: "Release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release." - type: web_content url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for nlohmann/json, where scores for 'Vulnerabilities', 'Pinned-Dependencies' and 'Dangerous-Workflow' support this statement." + description: "OpenSSF Scorecard report for the nlohmann/json library, where the scores for 'Vulnerabilities', 'Pinned-Dependencies' and 'Dangerous-Workflow' support this statement." score: Erikhu1: 0.7 --- diff --git a/TSF/trustable/statements/JLS-30.md b/TSF/trustable/statements/JLS-30.md index 4584afd7b1..c5ba6b795b 100644 --- a/TSF/trustable/statements/JLS-30.md +++ b/TSF/trustable/statements/JLS-30.md @@ -4,10 +4,10 @@ normative: true references: - type: web_content url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for nlohmann/json, where score for 'Vulnerabilities' shows that there are no outstanding CVEs." + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Vulnerabilities' shows that there are no outstanding CVEs." - type: web_content url: "https://github.com/nlohmann/json/discussions/4975" - description: "Screenshot of dismissed code scanning alerts, which can also be dismissed in S-CORE." + description: "Screenshot of dismissed code-scanning alerts, which can also be dismissed in S-CORE." score: Erikhu1: 0.5 diff --git a/TSF/trustable/statements/JLS-31.md b/TSF/trustable/statements/JLS-31.md index 0d97ac3cad..c74f0069de 100644 --- a/TSF/trustable/statements/JLS-31.md +++ b/TSF/trustable/statements/JLS-31.md @@ -4,7 +4,7 @@ normative: true references: - type: web_content url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for nlohmann/json, where score for 'SAST' supports this statement." + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'SAST' supports this statement." score: Erikhu1: 0.9 --- diff --git a/TSF/trustable/statements/JLS-32.md b/TSF/trustable/statements/JLS-32.md index be2adf4f54..1b86df90f4 100644 --- a/TSF/trustable/statements/JLS-32.md +++ b/TSF/trustable/statements/JLS-32.md @@ -4,7 +4,7 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" - description: "CODEOWNERS file specifying that changes to any file requests @nlohmann for code review in case of a pull request" + description: "CODEOWNERS file specifying that changes to any file request @nlohmann for code review in case of a pull request." score: Erikhu1: 1.0 --- diff --git a/TSF/trustable/statements/JLS-33.md b/TSF/trustable/statements/JLS-33.md index 8bac5fb11b..b32ca57b1e 100644 --- a/TSF/trustable/statements/JLS-33.md +++ b/TSF/trustable/statements/JLS-33.md @@ -4,7 +4,7 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/security/advisories/new" - description: "the vulnerability reporting template used in nlohmann/json, which includes a severity section and CVSS scoring" + description: "The vulnerability reporting template used in the nlohmann/json library, which includes a severity section and CVSS scoring." score: Erikhu1: 1.0 --- diff --git a/TSF/trustable/statements/JLS-34.md b/TSF/trustable/statements/JLS-34.md index 0cb6c0a2d5..a3cfb70897 100644 --- a/TSF/trustable/statements/JLS-34.md +++ b/TSF/trustable/statements/JLS-34.md @@ -4,7 +4,7 @@ normative: true references: - type: include_list path: single_include/nlohmann/json.hpp - description: "file containing all include occurrences of the score-project." + description: "File containing all include occurrences of the SCORE-project." score: Erikhu1: 1.0 --- diff --git a/TSF/trustable/statements/JLS-35.md b/TSF/trustable/statements/JLS-35.md index eb1e3d01f6..9a035eff03 100644 --- a/TSF/trustable/statements/JLS-35.md +++ b/TSF/trustable/statements/JLS-35.md @@ -4,10 +4,10 @@ normative: true references: - type: web_content url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for nlohmann/json, where score for 'CI-Tests' supports this statement" + description: "OpenSSF Scorecard Report for the nlohmann/json library, where the score for 'CI-Tests' supports this statement." - type: web_content url: "https://github.com/nlohmann/json/pulls?q=is%3Apr+is%3Aclosed+review%3Aapproved" - description: "All approved pull requests in the nlohmann/json repository, with the results of the CI pipeline executions." + description: "All approved pull requests in the nlohmann/json repository, along with the results of the CI pipeline executions." score: Erikhu1: 0.9 --- diff --git a/TSF/trustable/statements/JLS-36.md b/TSF/trustable/statements/JLS-36.md index 82ff77e28c..cf555825e0 100644 --- a/TSF/trustable/statements/JLS-36.md +++ b/TSF/trustable/statements/JLS-36.md @@ -4,7 +4,7 @@ normative: true references: - type: verbose_file path: "./TSF/README.md" - description: "release management and update process description" + description: "Release management and update process description." --- Updates of the eclipse-score/inc_nlohmann_json repository are carried out in accordance with the defined and documented update process in TSF/README.md. diff --git a/TSF/trustable/statements/JLS-37.md b/TSF/trustable/statements/JLS-37.md index 759c14ad92..d60c19f9b4 100644 --- a/TSF/trustable/statements/JLS-37.md +++ b/TSF/trustable/statements/JLS-37.md @@ -7,7 +7,7 @@ references: description: "Trustable Compliance Report showing scores for different TA items." - type: project_website url: "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_graph.html" - description: "presentation of the full trustable graph in which high-level statements are broken down" + description: "Presentation of the full trustable graph in which high-level statements are broken down." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-40.md b/TSF/trustable/statements/JLS-40.md index 212469f1c7..474657fafb 100644 --- a/TSF/trustable/statements/JLS-40.md +++ b/TSF/trustable/statements/JLS-40.md @@ -4,10 +4,10 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/security/policy" - description: "Security policy describing how to report vulnerabilities for the nlohmann/json library" + description: "Security policy describing how to report vulnerabilities for the nlohmann/json library." - type: project_website url: "https://github.com/nlohmann/json/security/advisories/new" - description: "Well-defined process for issuing a vulnerability or bug report for the nlohmann/json library" + description: "Well-defined process for issuing a vulnerability or bug report for the nlohmann/json library." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-41.md b/TSF/trustable/statements/JLS-41.md index 5d7c5f58c6..33529da33c 100644 --- a/TSF/trustable/statements/JLS-41.md +++ b/TSF/trustable/statements/JLS-41.md @@ -4,7 +4,7 @@ normative: true references: - type: project_website url: "https://json.nlohmann.me/community/contribution_guidelines/#write-tests" - description: "Contribution guidelines describing the test policy and requirement to maintain 100% coverage" + description: "Contribution guidelines describing the test policy and requirements to maintain 100% coverage." --- The manual process for extending the nlohmann/json library's test suite is well-defined and documented, such that code coverage remains at (or close to) 100% when fixes or other non-trivial changes are proposed. diff --git a/TSF/trustable/statements/JLS-42.md b/TSF/trustable/statements/JLS-42.md index 2422524622..aa8f2958f6 100644 --- a/TSF/trustable/statements/JLS-42.md +++ b/TSF/trustable/statements/JLS-42.md @@ -4,13 +4,13 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#describe-your-changes" - description: "Contribution guidelines requiring manual pull requests to describe the rationale behind non-trivial changes" + description: "Contribution guidelines requiring manual pull requests to describe the rationale behind non-trivial changes." - type: project_website url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reference-an-existing-issue" - description: "Contribution guidelines requiring manual pull requests to link to an existing issue" + description: "Contribution guidelines requiring manual pull requests to link to an existing issue." - type: project_website url: "https://github.com/nlohmann/json/pulls" - description: "GitHub pull requests showing review discussions, approvals, and merge/close status" + description: "GitHub pull requests showing review discussions, approvals, and merge/close statuses." evidence: type: https_response_time configuration: diff --git a/TSF/trustable/statements/JLS-43.md b/TSF/trustable/statements/JLS-43.md index 326f5f51aa..e69172acf3 100644 --- a/TSF/trustable/statements/JLS-43.md +++ b/TSF/trustable/statements/JLS-43.md @@ -4,10 +4,10 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/discussions/categories/ideas" - description: "Feature request discussions showing that feature requests are actively investigated and answered" + description: "Feature request discussions showing that feature requests are actively investigated and answered." - type: project_website url: "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" - description: "Definition of responsible owners and reviewers for the nlohmann/json repository" + description: "Definition of responsible owners and reviewers for the nlohmann/json repository." evidence: type: https_response_time configuration: From 8e41f6b8abcef44d370de566699361d8498d35bf Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 12:40:49 +0000 Subject: [PATCH 05/17] Change to JLS-44 --- TSF/trustable/statements/JLS-44.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSF/trustable/statements/JLS-44.md b/TSF/trustable/statements/JLS-44.md index c93d23dd3a..21d9c307c8 100644 --- a/TSF/trustable/statements/JLS-44.md +++ b/TSF/trustable/statements/JLS-44.md @@ -4,10 +4,10 @@ normative: true references: - type: project_website url: "https://github.com/nlohmann/json/blob/develop/.github/ISSUE_TEMPLATE/bug.yaml" - description: "Bug report issue template for the nlohmann/json library" + description: "Bug report issue template for the nlohmann/json library." - type: project_website url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reporting-issues" - description: "Contribution guidelines describing how to report bugs and issues for the nlohmann/json library" + description: "Contribution guidelines describing how to report bugs and issues for the nlohmann/json library." evidence: type: https_response_time configuration: From e5580b9d92723d51b13af98f0f77257bdf308a1a Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 12:42:38 +0000 Subject: [PATCH 06/17] reverse change to unit-iterators1 --- tests/src/unit-iterators1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-iterators1.cpp b/tests/src/unit-iterators1.cpp index 5682381644..595a1b684d 100644 --- a/tests/src/unit-iterators1.cpp +++ b/tests/src/unit-iterators1.cpp @@ -14,7 +14,7 @@ using nlohmann::json; TEST_CASE("iterators 1") { - SECTION("basic behaviour") + SECTION("basic behavior") { SECTION("uninitialized") { From fcb87f6995ff31a10564309211cd06b0eeb134ff Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 12:45:33 +0000 Subject: [PATCH 07/17] reverse changes to unit-regression1 --- tests/src/unit-regression1.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/unit-regression1.cpp b/tests/src/unit-regression1.cpp index 3416559cbc..a2eacb8735 100644 --- a/tests/src/unit-regression1.cpp +++ b/tests/src/unit-regression1.cpp @@ -746,7 +746,7 @@ TEST_CASE("regression tests 1") CHECK_THROWS_WITH_AS(ss >> j, "[json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON", json::parse_error&); } - SECTION("issue #367 - behaviour of operator>> should more closely resemble that of built-in overloads") + SECTION("issue #367 - behavior of operator>> should more closely resemble that of built-in overloads") { SECTION("(empty)") { @@ -1116,7 +1116,7 @@ TEST_CASE("regression tests 1") } #if JSON_USE_IMPLICIT_CONVERSIONS - SECTION("issue #473 - inconsistent behaviour in conversion to array type") + SECTION("issue #473 - inconsistent behavior in conversion to array type") { json const j_array = {1, 2, 3, 4}; json const j_number = 42; @@ -1308,7 +1308,7 @@ TEST_CASE("regression tests 1") } #endif - SECTION("issue #367 - behaviour of operator>> should more closely resemble that of built-in overloads.") + SECTION("issue #367 - behavior of operator>> should more closely resemble that of built-in overloads.") { SECTION("example 1") { From a19d6343be06fa12883070b8cf44475e9c59bb12 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 12:49:19 +0000 Subject: [PATCH 08/17] reverse change to unit-regression1 --- tests/src/unit-regression1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-regression1.cpp b/tests/src/unit-regression1.cpp index a2eacb8735..6dc9b52183 100644 --- a/tests/src/unit-regression1.cpp +++ b/tests/src/unit-regression1.cpp @@ -746,7 +746,7 @@ TEST_CASE("regression tests 1") CHECK_THROWS_WITH_AS(ss >> j, "[json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON", json::parse_error&); } - SECTION("issue #367 - behavior of operator>> should more closely resemble that of built-in overloads") + SECTION("issue #367 - Behavior of operator>> should more closely resemble that of built-in overloads") { SECTION("(empty)") { From 5fea260e25e6c2257fffe0fbbe17ca5e252c43db Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 13:04:01 +0000 Subject: [PATCH 09/17] Worked through all NJFs --- TSF/trustable/no-json-faults/NJF-01.md | 2 +- TSF/trustable/no-json-faults/NJF-02.md | 2 +- TSF/trustable/no-json-faults/NJF-03.md | 2 +- TSF/trustable/no-json-faults/NJF-04.md | 2 +- TSF/trustable/no-json-faults/NJF-05.1.md | 2 +- TSF/trustable/no-json-faults/NJF-05.7.2.md | 2 +- TSF/trustable/no-json-faults/NJF-06.1.md | 2 +- TSF/trustable/no-json-faults/NJF-06.4.2.md | 2 +- TSF/trustable/no-json-faults/NJF-06.5.1.md | 2 +- TSF/trustable/no-json-faults/NJF-06.5.2.md | 2 +- TSF/trustable/no-json-faults/NJF-07.5.md | 2 +- TSF/trustable/no-json-faults/NJF-07.7.md | 2 +- TSF/trustable/no-json-faults/NJF-07.md | 2 +- TSF/trustable/no-json-faults/NJF-08.9.md | 2 +- TSF/trustable/no-json-faults/NJF-08.md | 2 +- TSF/trustable/no-json-faults/NJF-09.md | 8 ++++---- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/TSF/trustable/no-json-faults/NJF-01.md b/TSF/trustable/no-json-faults/NJF-01.md index 2036272639..2bea33f637 100644 --- a/TSF/trustable/no-json-faults/NJF-01.md +++ b/TSF/trustable/no-json-faults/NJF-01.md @@ -23,7 +23,7 @@ references: - type: function_reference name: "lexer::scan_literal" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['n','u','l','l']." + description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['n','u','l','l']." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-json-faults/NJF-02.md b/TSF/trustable/no-json-faults/NJF-02.md index 5ee93f1079..ab2a7ffd6f 100644 --- a/TSF/trustable/no-json-faults/NJF-02.md +++ b/TSF/trustable/no-json-faults/NJF-02.md @@ -26,7 +26,7 @@ references: - type: function_reference name: "lexer::scan_literal" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['t','r','u','e']." + description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['t','r','u','e']." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-json-faults/NJF-03.md b/TSF/trustable/no-json-faults/NJF-03.md index 6c7b407deb..5b20e2b364 100644 --- a/TSF/trustable/no-json-faults/NJF-03.md +++ b/TSF/trustable/no-json-faults/NJF-03.md @@ -23,7 +23,7 @@ references: - type: function_reference name: "lexer::scan_literal" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['f','a','l','s','e']." + description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['f','a','l','s','e']." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-json-faults/NJF-04.md b/TSF/trustable/no-json-faults/NJF-04.md index 7985dfaad8..3d77fdf5b7 100644 --- a/TSF/trustable/no-json-faults/NJF-04.md +++ b/TSF/trustable/no-json-faults/NJF-04.md @@ -38,7 +38,7 @@ references: - type: function_reference name: "lexer::scan_literal" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function to verify whether a candidate literal coincides with its expected value; only ever called with the three admissible expected values" + description: "Function to verify whether a candidate literal coincides with its expected value; only ever called with the three admissible expected values." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-json-faults/NJF-05.1.md b/TSF/trustable/no-json-faults/NJF-05.1.md index 050422f656..6e5bb6af8e 100644 --- a/TSF/trustable/no-json-faults/NJF-05.1.md +++ b/TSF/trustable/no-json-faults/NJF-05.1.md @@ -24,7 +24,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-json-faults/NJF-05.7.2.md b/TSF/trustable/no-json-faults/NJF-05.7.2.md index 8a51f7002e..ce8a2966fa 100644 --- a/TSF/trustable/no-json-faults/NJF-05.7.2.md +++ b/TSF/trustable/no-json-faults/NJF-05.7.2.md @@ -10,7 +10,7 @@ references: path: "tests/src/unit-testsuites.cpp" test_suite_paths: - "/nst_json_testsuite2/test_parsing/n_array_colon_instead_of_comma.json" - description: "Tests whether colon as value separator is rejected." + description: "Tests whether colon is rejected as value separator." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-json-faults/NJF-06.1.md b/TSF/trustable/no-json-faults/NJF-06.1.md index f0068b8e84..3236962bb8 100644 --- a/TSF/trustable/no-json-faults/NJF-06.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.1.md @@ -14,7 +14,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-json-faults/NJF-06.4.2.md b/TSF/trustable/no-json-faults/NJF-06.4.2.md index 078e4e31f7..0f7f1099d3 100644 --- a/TSF/trustable/no-json-faults/NJF-06.4.2.md +++ b/TSF/trustable/no-json-faults/NJF-06.4.2.md @@ -12,7 +12,7 @@ references: test_suite_paths: - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" - description: "Checks that numbers as keys are rejected." + description: "Checks that using numbers as keys is rejected." - type: cpp_test name: "accept;names;numbers" path: "TSF/tests/unit-objects.cpp" diff --git a/TSF/trustable/no-json-faults/NJF-06.5.1.md b/TSF/trustable/no-json-faults/NJF-06.5.1.md index 3ea221f092..b14ff10247 100644 --- a/TSF/trustable/no-json-faults/NJF-06.5.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.5.1.md @@ -23,7 +23,7 @@ references: path: "tests/src/unit-testsuites.cpp" test_suite_paths: - "/nst_json_testsuite2/test_parsing/i_object_key_lone_2nd_surrogate.json" - description: "Checks that string with invalid utf16 surrogate is rejected as name" + description: "Checks that strings with invalid UTF-16 surrogates are rejected as name." - type: cpp_test name: "accept;member separator" path: "TSF/tests/unit-objects.cpp" diff --git a/TSF/trustable/no-json-faults/NJF-06.5.2.md b/TSF/trustable/no-json-faults/NJF-06.5.2.md index 9c5df54597..866e8797c1 100644 --- a/TSF/trustable/no-json-faults/NJF-06.5.2.md +++ b/TSF/trustable/no-json-faults/NJF-06.5.2.md @@ -11,7 +11,7 @@ references: path: "tests/src/unit-testsuites.cpp" test_suite_paths: - "/nst_json_testsuite2/test_parsing/n_object_bad_value.json" - description: "Checks that the invalid literal \"truth\" as value is rejected." + description: "Checks that the invalid literal \"truth\" is rejected as value." - type: cpp_test name: "accept;member separator" path: "TSF/tests/unit-objects.cpp" diff --git a/TSF/trustable/no-json-faults/NJF-07.5.md b/TSF/trustable/no-json-faults/NJF-07.5.md index 86cc8bd931..40ee2ca456 100644 --- a/TSF/trustable/no-json-faults/NJF-07.5.md +++ b/TSF/trustable/no-json-faults/NJF-07.5.md @@ -16,7 +16,7 @@ references: test_suite_paths: - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" - description: "Checks that single and multiple surrogates are accepted." + description: "Checks that both single and multiple surrogates are accepted." - type: cpp_test name: "Unicode;escaped utf-16 surrogates;well-formed" path: "TSF/tests/unit-strings.cpp" diff --git a/TSF/trustable/no-json-faults/NJF-07.7.md b/TSF/trustable/no-json-faults/NJF-07.7.md index 4333777f8b..aac9058fc4 100644 --- a/TSF/trustable/no-json-faults/NJF-07.7.md +++ b/TSF/trustable/no-json-faults/NJF-07.7.md @@ -28,7 +28,7 @@ references: - "/nst_json_testsuite2/test_parsing/n_string_invalid_backslash_esc.json" - "/nst_json_testsuite2/test_parsing/n_string_invalid_unicode_escape.json" - "/nst_json_testsuite2/test_parsing/n_string_invalid_utf8_after_escape.json" - description: "Checks that various illegal control characters and utf-8 characters are rejected." + description: "Checks that various illegal control characters and UTF-8 characters are rejected." - type: cpp_test name: "Unicode;escaped unicode" path: "TSF/tests/unit-strings.cpp" diff --git a/TSF/trustable/no-json-faults/NJF-07.md b/TSF/trustable/no-json-faults/NJF-07.md index 2a60a1f300..5581466cca 100644 --- a/TSF/trustable/no-json-faults/NJF-07.md +++ b/TSF/trustable/no-json-faults/NJF-07.md @@ -5,7 +5,7 @@ references: - type: function_reference name: "lexer::scan_string" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function which scans a string and verifies *en passant* that the string is in accordance with RFC8259" + description: "Function that scans a string and verifies *en passant* that the string is in accordance with RFC8259." --- The service provided by the nlohmann/json library accepts and rejects strings according to RFC8259 §7. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-08.9.md b/TSF/trustable/no-json-faults/NJF-08.9.md index 4048c7a850..ffa23456fd 100644 --- a/TSF/trustable/no-json-faults/NJF-08.9.md +++ b/TSF/trustable/no-json-faults/NJF-08.9.md @@ -17,7 +17,7 @@ references: - "/nst_json_testsuite2/test_parsing/n_number_hex_1_digit.json" - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" - description: "Rejects Hexadecimals" + description: "Rejects Hexadecimals." - type: cpp_test name: "accept;bases" path: "TSF/tests/unit-numbers.cpp" diff --git a/TSF/trustable/no-json-faults/NJF-08.md b/TSF/trustable/no-json-faults/NJF-08.md index cb110cfe3d..15912096e9 100644 --- a/TSF/trustable/no-json-faults/NJF-08.md +++ b/TSF/trustable/no-json-faults/NJF-08.md @@ -5,7 +5,7 @@ references: - type: function_reference name: "lexer::scan_number" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which scans numbers and verifies *en passant* that these number is in accordance with RFC8259" + description: "Function that scans numbers and verifies *en passant* that these numbers are in accordance with RFC8259." --- The service provided by the nlohmann/json library accepts numbers according to RFC8259 §6. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-09.md b/TSF/trustable/no-json-faults/NJF-09.md index 88976537d2..066a8f446f 100644 --- a/TSF/trustable/no-json-faults/NJF-09.md +++ b/TSF/trustable/no-json-faults/NJF-09.md @@ -8,19 +8,19 @@ references: - type: function_reference name: "parser::accept" path: "include/nlohmann/detail/input/parser.hpp" - description: "function, which implements the service to check for well-formed json" + description: "Function that implements the service to check for well-formed json." - type: function_reference name: "parser::sax_parse" path: "include/nlohmann/detail/input/parser.hpp" - description: "function, which is called by parser::accept" + description: "Function that is called by parser::accept." - type: function_reference name: "parser::sax_parse_internal" path: "include/nlohmann/detail/input/parser.hpp" - decscription: "function, which is called by parser::sax_parse" + decscription: "Function that is called by parser::sax_parse." - type: function_reference name: "lexer::scan" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which is called by parser::sax_parse_internal to read input data" + description: "Function that is called by parser::sax_parse_internal to read input data." - type: JSON_testsuite name: "json.org examples;1.json" path: "tests/src/unit-testsuites.cpp" From f29d32b5dcdb2c9c54eeea9c4965e814c8169e57 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 13:04:15 +0000 Subject: [PATCH 10/17] additional NJF changes --- TSF/trustable/no-json-faults/NJF-11.md | 2 +- TSF/trustable/no-json-faults/NJF-14.3.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TSF/trustable/no-json-faults/NJF-11.md b/TSF/trustable/no-json-faults/NJF-11.md index ed918cf65b..6b8a14fb1e 100644 --- a/TSF/trustable/no-json-faults/NJF-11.md +++ b/TSF/trustable/no-json-faults/NJF-11.md @@ -8,7 +8,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." - type: cpp_test name: "accept;whitespace" path: "TSF/tests/unit-literals.cpp" diff --git a/TSF/trustable/no-json-faults/NJF-14.3.md b/TSF/trustable/no-json-faults/NJF-14.3.md index 1fc432995e..89696303c7 100644 --- a/TSF/trustable/no-json-faults/NJF-14.3.md +++ b/TSF/trustable/no-json-faults/NJF-14.3.md @@ -8,19 +8,19 @@ references: - type: function_reference name: "parser::accept" path: "include/nlohmann/detail/input/parser.hpp" - description: "function, which implements the service to check for well-formed json" + description: "Function that implements the service to check for well-formed json." - type: function_reference name: "parser::sax_parse" path: "include/nlohmann/detail/input/parser.hpp" - description: "function, which is called by parser::accept" + description: "Function that is called by parser::accept." - type: function_reference name: "parser::sax_parse_internal" path: "include/nlohmann/detail/input/parser.hpp" - description: "function, which is called by parser::sax_parse" + description: "Function that is called by parser::sax_parse." - type: function_reference name: "lexer::scan" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which is called by parser::sax_parse_internal to read input data" + description: "Function that is called by parser::sax_parse_internal to read input data." score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 From ef9006db882d062b8b5faaa3efc5138262e30271 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 13:08:19 +0000 Subject: [PATCH 11/17] Worked through all NPFs --- TSF/trustable/no-parsing-faults/NPF-02.7.md | 2 +- TSF/trustable/no-parsing-faults/NPF-02.md | 2 +- TSF/trustable/no-parsing-faults/NPF-03.1.md | 2 +- TSF/trustable/no-parsing-faults/NPF-03.md | 2 +- TSF/trustable/no-parsing-faults/NPF-04.1.md | 2 +- TSF/trustable/no-parsing-faults/NPF-04.md | 2 +- TSF/trustable/no-parsing-faults/NPF-05.1.md | 2 +- TSF/trustable/no-parsing-faults/NPF-05.3.md | 2 +- TSF/trustable/no-parsing-faults/NPF-06.1.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/TSF/trustable/no-parsing-faults/NPF-02.7.md b/TSF/trustable/no-parsing-faults/NPF-02.7.md index 66965a5e8f..002ede999e 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.7.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.7.md @@ -12,7 +12,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-parsing-faults/NPF-02.md b/TSF/trustable/no-parsing-faults/NPF-02.md index 2f42710b13..78f9042531 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.md @@ -5,7 +5,7 @@ references: - type: function_reference name: "lexer::scan_number" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which parses numbers into C++ number-types and verifies *en passant* that these numbers are in accordance with RFC8259" + description: "Function that parses numbers into C++ number-types and verifies *en passant* that these numbers are in accordance with RFC8259." --- The service provided by the nlohmann/json library parses numbers according to RFC8259. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-03.1.md b/TSF/trustable/no-parsing-faults/NPF-03.1.md index 3aa9d190a5..1443a6299e 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.1.md @@ -12,7 +12,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-parsing-faults/NPF-03.md b/TSF/trustable/no-parsing-faults/NPF-03.md index aed32371e1..0abb89d7e2 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.md @@ -5,7 +5,7 @@ references: - type: function_reference name: "lexer::scan_string" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which parses strings into C++ std::string and verifies *en passant* that these strings are in accordance with RFC8259" + description: "Function that parses strings into C++ std::string and verifies *en passant* that these strings are in accordance with RFC8259." --- The service provided by the nlohmann/json library parses strings according to RFC8259. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-04.1.md b/TSF/trustable/no-parsing-faults/NPF-04.1.md index 95d01d1464..4c9f11e039 100644 --- a/TSF/trustable/no-parsing-faults/NPF-04.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-04.1.md @@ -12,7 +12,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-parsing-faults/NPF-04.md b/TSF/trustable/no-parsing-faults/NPF-04.md index 6415539283..db725ef109 100644 --- a/TSF/trustable/no-parsing-faults/NPF-04.md +++ b/TSF/trustable/no-parsing-faults/NPF-04.md @@ -5,7 +5,7 @@ references: - type: function_reference name: lexer::scan_literal path: "include/nlohmann/detail/input/lexer.hpp" - description: "function to scan a literal candidate, compare it to its expected value and return the corresponding C++ literal" + description: "Function to scan a literal candidate, compare it to its expected value and return the corresponding C++ literal." --- The service provided by the nlohmann/json library parses literal names "true", "false" and "null" according to RFC8259. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-05.1.md b/TSF/trustable/no-parsing-faults/NPF-05.1.md index 0ccf928aab..3e581e17da 100644 --- a/TSF/trustable/no-parsing-faults/NPF-05.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-05.1.md @@ -14,7 +14,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-parsing-faults/NPF-05.3.md b/TSF/trustable/no-parsing-faults/NPF-05.3.md index c24f0a50e7..b7064c3bd0 100644 --- a/TSF/trustable/no-parsing-faults/NPF-05.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-05.3.md @@ -22,7 +22,7 @@ references: - "/nst_json_testsuite2/test_parsing/y_array_with_leading_space.json" - "/nst_json_testsuite2/test_parsing/y_array_with_several_null.json" - "/nst_json_testsuite2/test_parsing/y_array_with_trailing_space.json" - description: "Tests whether several non-empty arrays are parsed without exception" + description: "Tests whether several non-empty arrays are parsed without exception." evidence: type: check_test_results configuration: diff --git a/TSF/trustable/no-parsing-faults/NPF-06.1.md b/TSF/trustable/no-parsing-faults/NPF-06.1.md index 885fec0fde..f86c206841 100644 --- a/TSF/trustable/no-parsing-faults/NPF-06.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-06.1.md @@ -14,7 +14,7 @@ references: - type: function_reference name: "lexer::skip_whitespace" path: "include/nlohmann/detail/input/lexer.hpp" - description: "function, which skips admissible whitespace during reading" + description: "Function that skips admissible whitespace during reading." evidence: type: check_test_results configuration: From e29165e8400894f032d68d6b7ba0b011875a338f Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 13:33:40 +0000 Subject: [PATCH 12/17] reverse unintelligent cmake change --- cmake/gcc_flags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/gcc_flags.cmake b/cmake/gcc_flags.cmake index 0f90774f7e..848630f332 100644 --- a/cmake/gcc_flags.cmake +++ b/cmake/gcc_flags.cmake @@ -65,7 +65,7 @@ set(GCC_CXXFLAGS -Wanalyzer-tainted-offset -Wanalyzer-tainted-size -Wanalyzer-too-complex - -Wanalyzer-undefined-behaviour-strtok + -Wanalyzer-undefined-behavior-strtok -Wanalyzer-unsafe-call-within-signal-handler -Wanalyzer-use-after-free -Wanalyzer-use-of-pointer-in-stale-stack-frame From 517fb14415214ebe96582fa34acb365fc44b9d65 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Wed, 3 Dec 2025 14:57:40 +0000 Subject: [PATCH 13/17] reverse changes --- tests/src/unit-regression1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/unit-regression1.cpp b/tests/src/unit-regression1.cpp index 6dc9b52183..64853dde71 100644 --- a/tests/src/unit-regression1.cpp +++ b/tests/src/unit-regression1.cpp @@ -746,7 +746,7 @@ TEST_CASE("regression tests 1") CHECK_THROWS_WITH_AS(ss >> j, "[json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON", json::parse_error&); } - SECTION("issue #367 - Behavior of operator>> should more closely resemble that of built-in overloads") + SECTION("issue #367 - behavior of operator>> should more closely resemble that of built-in overloads") { SECTION("(empty)") { @@ -1308,7 +1308,7 @@ TEST_CASE("regression tests 1") } #endif - SECTION("issue #367 - behavior of operator>> should more closely resemble that of built-in overloads.") + SECTION("issue #367 - Behavior of operator>> should more closely resemble that of built-in overloads.") { SECTION("example 1") { From cdd9b9bff4b8ec3d9dadb9608bb41e30818bebe4 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Thu, 4 Dec 2025 07:43:30 +0000 Subject: [PATCH 14/17] fixed indentation for all statements --- TSF/trustable/no-json-faults/NJF-01.md | 54 ++-- TSF/trustable/no-json-faults/NJF-02.md | 62 ++--- TSF/trustable/no-json-faults/NJF-03.md | 10 +- TSF/trustable/no-json-faults/NJF-04.md | 86 +++---- TSF/trustable/no-json-faults/NJF-05.1.md | 56 ++-- TSF/trustable/no-json-faults/NJF-05.2.md | 66 ++--- TSF/trustable/no-json-faults/NJF-05.3.md | 58 ++--- TSF/trustable/no-json-faults/NJF-05.4.md | 86 +++---- TSF/trustable/no-json-faults/NJF-05.5.md | 40 +-- TSF/trustable/no-json-faults/NJF-05.6.0.md | 26 +- TSF/trustable/no-json-faults/NJF-05.6.md | 38 +-- TSF/trustable/no-json-faults/NJF-05.7.1.md | 50 ++-- TSF/trustable/no-json-faults/NJF-05.7.2.md | 26 +- TSF/trustable/no-json-faults/NJF-06.1.md | 36 +-- TSF/trustable/no-json-faults/NJF-06.2.md | 38 +-- TSF/trustable/no-json-faults/NJF-06.3.md | 28 +- TSF/trustable/no-json-faults/NJF-06.4.1.md | 82 +++--- TSF/trustable/no-json-faults/NJF-06.4.2.md | 62 ++--- TSF/trustable/no-json-faults/NJF-06.4.3.md | 64 ++--- TSF/trustable/no-json-faults/NJF-06.4.md | 18 +- TSF/trustable/no-json-faults/NJF-06.5.1.md | 60 ++--- TSF/trustable/no-json-faults/NJF-06.5.2.md | 36 +-- TSF/trustable/no-json-faults/NJF-06.5.md | 14 +- TSF/trustable/no-json-faults/NJF-06.6.0.md | 42 +-- TSF/trustable/no-json-faults/NJF-06.6.md | 42 +-- TSF/trustable/no-json-faults/NJF-06.7.1.md | 52 ++-- TSF/trustable/no-json-faults/NJF-06.7.2.md | 62 ++--- TSF/trustable/no-json-faults/NJF-07.1.md | 30 +-- TSF/trustable/no-json-faults/NJF-07.2.md | 50 ++-- TSF/trustable/no-json-faults/NJF-07.3.md | 22 +- TSF/trustable/no-json-faults/NJF-07.4.md | 72 +++--- TSF/trustable/no-json-faults/NJF-07.5.md | 46 ++-- TSF/trustable/no-json-faults/NJF-07.6.md | 114 ++++----- TSF/trustable/no-json-faults/NJF-07.7.md | 70 ++--- TSF/trustable/no-json-faults/NJF-07.8.md | 22 +- TSF/trustable/no-json-faults/NJF-07.9.md | 22 +- TSF/trustable/no-json-faults/NJF-07.md | 8 +- TSF/trustable/no-json-faults/NJF-08.1.md | 22 +- TSF/trustable/no-json-faults/NJF-08.2.md | 22 +- TSF/trustable/no-json-faults/NJF-08.3.md | 44 ++-- TSF/trustable/no-json-faults/NJF-08.4.md | 48 ++-- TSF/trustable/no-json-faults/NJF-08.5.md | 28 +- TSF/trustable/no-json-faults/NJF-08.6.md | 144 +++++------ TSF/trustable/no-json-faults/NJF-08.7.md | 22 +- TSF/trustable/no-json-faults/NJF-08.8.md | 46 ++-- TSF/trustable/no-json-faults/NJF-08.9.md | 48 ++-- TSF/trustable/no-json-faults/NJF-08.md | 8 +- TSF/trustable/no-json-faults/NJF-09.md | 50 ++-- TSF/trustable/no-json-faults/NJF-10.md | 20 +- TSF/trustable/no-json-faults/NJF-11.md | 44 ++-- TSF/trustable/no-json-faults/NJF-12.1.md | 20 +- TSF/trustable/no-json-faults/NJF-12.2.md | 20 +- TSF/trustable/no-json-faults/NJF-12.3.md | 34 +-- TSF/trustable/no-json-faults/NJF-12.5.md | 26 +- TSF/trustable/no-json-faults/NJF-12.6.md | 20 +- TSF/trustable/no-json-faults/NJF-13.md | 20 +- TSF/trustable/no-json-faults/NJF-14.1.md | 20 +- TSF/trustable/no-json-faults/NJF-14.2.md | 20 +- TSF/trustable/no-json-faults/NJF-14.3.md | 38 +-- TSF/trustable/no-json-faults/NJF-14.4.md | 20 +- TSF/trustable/no-parsing-faults/NPF-01.1.md | 28 +- TSF/trustable/no-parsing-faults/NPF-01.2.md | 20 +- TSF/trustable/no-parsing-faults/NPF-01.3.md | 20 +- TSF/trustable/no-parsing-faults/NPF-01.4.md | 20 +- TSF/trustable/no-parsing-faults/NPF-01.5.md | 40 +-- TSF/trustable/no-parsing-faults/NPF-02.1.md | 50 ++-- TSF/trustable/no-parsing-faults/NPF-02.10.md | 30 +-- TSF/trustable/no-parsing-faults/NPF-02.11.md | 22 +- TSF/trustable/no-parsing-faults/NPF-02.12.md | 22 +- TSF/trustable/no-parsing-faults/NPF-02.2.md | 62 ++--- TSF/trustable/no-parsing-faults/NPF-02.3.md | 22 +- TSF/trustable/no-parsing-faults/NPF-02.4.md | 30 +-- TSF/trustable/no-parsing-faults/NPF-02.5.md | 22 +- TSF/trustable/no-parsing-faults/NPF-02.6.md | 28 +- TSF/trustable/no-parsing-faults/NPF-02.7.md | 30 +-- TSF/trustable/no-parsing-faults/NPF-02.8.md | 22 +- TSF/trustable/no-parsing-faults/NPF-02.9.md | 30 +-- TSF/trustable/no-parsing-faults/NPF-02.md | 8 +- TSF/trustable/no-parsing-faults/NPF-03.1.md | 30 +-- TSF/trustable/no-parsing-faults/NPF-03.2.md | 38 +-- TSF/trustable/no-parsing-faults/NPF-03.3.md | 22 +- TSF/trustable/no-parsing-faults/NPF-03.4.md | 44 ++-- TSF/trustable/no-parsing-faults/NPF-03.5.md | 30 +-- TSF/trustable/no-parsing-faults/NPF-03.6.md | 22 +- TSF/trustable/no-parsing-faults/NPF-03.7.md | 132 +++++----- TSF/trustable/no-parsing-faults/NPF-03.md | 8 +- TSF/trustable/no-parsing-faults/NPF-04.1.md | 30 +-- TSF/trustable/no-parsing-faults/NPF-04.2.md | 22 +- TSF/trustable/no-parsing-faults/NPF-04.3.md | 22 +- TSF/trustable/no-parsing-faults/NPF-04.4.md | 22 +- TSF/trustable/no-parsing-faults/NPF-04.md | 8 +- TSF/trustable/no-parsing-faults/NPF-05.1.md | 36 +-- TSF/trustable/no-parsing-faults/NPF-05.2.md | 34 +-- TSF/trustable/no-parsing-faults/NPF-05.3.md | 52 ++-- TSF/trustable/no-parsing-faults/NPF-06.1.md | 36 +-- TSF/trustable/no-parsing-faults/NPF-06.2.md | 28 +- TSF/trustable/no-parsing-faults/NPF-06.3.md | 20 +- TSF/trustable/no-parsing-faults/NPF-06.4.md | 20 +- TSF/trustable/no-parsing-faults/NPF-07.1.md | 74 +++--- TSF/trustable/no-parsing-faults/NPF-07.2.md | 242 +++++++++--------- TSF/trustable/parse-json-data/PJD-04.md | 14 +- TSF/trustable/statements/JLS-01.md | 6 +- TSF/trustable/statements/JLS-02.md | 34 +-- TSF/trustable/statements/JLS-04.md | 6 +- TSF/trustable/statements/JLS-05.md | 70 ++--- TSF/trustable/statements/JLS-06.md | 6 +- TSF/trustable/statements/JLS-07.md | 16 +- TSF/trustable/statements/JLS-11.md | 6 +- TSF/trustable/statements/JLS-12.md | 6 +- TSF/trustable/statements/JLS-13.md | 30 +-- TSF/trustable/statements/JLS-19.md | 24 +- TSF/trustable/statements/JLS-23.md | 24 +- TSF/trustable/statements/JLS-25.md | 12 +- TSF/trustable/statements/JLS-28.md | 6 +- TSF/trustable/statements/JLS-29.md | 12 +- TSF/trustable/statements/JLS-30.md | 12 +- TSF/trustable/statements/JLS-31.md | 6 +- TSF/trustable/statements/JLS-32.md | 6 +- TSF/trustable/statements/JLS-33.md | 6 +- TSF/trustable/statements/JLS-35.md | 12 +- TSF/trustable/statements/JLS-37.md | 24 +- TSF/trustable/statements/JLS-40.md | 24 +- TSF/trustable/statements/JLS-41.md | 6 +- TSF/trustable/statements/JLS-42.md | 30 +-- TSF/trustable/statements/JLS-43.md | 24 +- TSF/trustable/statements/JLS-44.md | 24 +- .../throw-ill-formed-json/TIJ-01.1.md | 14 +- .../throw-ill-formed-json/TIJ-01.2.md | 52 ++-- .../throw-ill-formed-json/TIJ-02.1.md | 14 +- .../throw-ill-formed-json/TIJ-02.2.md | 38 +-- .../throw-ill-formed-json/TIJ-02.3.md | 36 +-- .../throw-ill-formed-json/TIJ-02.4.md | 20 +- .../throw-ill-formed-json/TIJ-02.5.md | 134 +++++----- .../throw-ill-formed-json/TIJ-03.1.md | 14 +- .../throw-ill-formed-json/TIJ-03.2.md | 14 +- .../throw-ill-formed-json/TIJ-03.3.md | 34 +-- .../throw-ill-formed-json/TIJ-03.4.md | 54 ++-- .../throw-ill-formed-json/TIJ-03.5.md | 22 +- .../throw-ill-formed-json/TIJ-04.1.md | 64 ++--- .../throw-ill-formed-json/TIJ-04.2.md | 34 +-- .../throw-ill-formed-json/TIJ-04.3.md | 20 +- .../throw-ill-formed-json/TIJ-05.1.md | 32 +-- .../throw-ill-formed-json/TIJ-05.2.md | 48 ++-- .../throw-ill-formed-json/TIJ-05.3.md | 44 ++-- .../throw-ill-formed-json/TIJ-05.4.md | 20 +- .../throw-ill-formed-json/TIJ-05.5.md | 54 ++-- TSF/trustable/well-formed-json/WFJ-06.md | 62 ++--- 147 files changed, 2641 insertions(+), 2641 deletions(-) diff --git a/TSF/trustable/no-json-faults/NJF-01.md b/TSF/trustable/no-json-faults/NJF-01.md index 2bea33f637..1588ac7e8a 100644 --- a/TSF/trustable/no-json-faults/NJF-01.md +++ b/TSF/trustable/no-json-faults/NJF-01.md @@ -2,34 +2,34 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - path: "TSF/tests/unit-class_parser_core.cpp" - name: "parser class - core;accept;null" - - type: JSON_testsuite - name: "nst's JSONTestSuite;test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite/test_parsing/y_structure_lonely_null.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_structure_lonely_null.json" - description: "" - - type: function_reference - name: "lexer::scan_literal" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['n','u','l','l']." + - type: item + items: + - JLEX-01 + - type: cpp_test + path: "TSF/tests/unit-class_parser_core.cpp" + name: "parser class - core;accept;null" + - type: JSON_testsuite + name: "nst's JSONTestSuite;test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite/test_parsing/y_structure_lonely_null.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_structure_lonely_null.json" + description: "" + - type: function_reference + name: "lexer::scan_literal" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['n','u','l','l']." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-02.md b/TSF/trustable/no-json-faults/NJF-02.md index ab2a7ffd6f..f7f0e98e4c 100644 --- a/TSF/trustable/no-json-faults/NJF-02.md +++ b/TSF/trustable/no-json-faults/NJF-02.md @@ -2,38 +2,38 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "parser class - core;accept;true" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "deserialization;contiguous containers;directly" - path: "tests/src/unit-deserialization.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite;test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite/test_parsing/y_structure_lonely_true.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_structure_lonely_true.json" - description: "" - - type: function_reference - name: "lexer::scan_literal" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['t','r','u','e']." + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "parser class - core;accept;true" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "deserialization;contiguous containers;directly" + path: "tests/src/unit-deserialization.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite;test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite/test_parsing/y_structure_lonely_true.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_structure_lonely_true.json" + description: "" + - type: function_reference + name: "lexer::scan_literal" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['t','r','u','e']." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - deserialization + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - deserialization score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-03.md b/TSF/trustable/no-json-faults/NJF-03.md index 5b20e2b364..b505550881 100644 --- a/TSF/trustable/no-json-faults/NJF-03.md +++ b/TSF/trustable/no-json-faults/NJF-03.md @@ -25,11 +25,11 @@ references: path: "include/nlohmann/detail/input/lexer.hpp" description: "Function to verify whether a candidate literal coincides with its expected value; here called with literal_text = ['f','a','l','s','e']." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-04.md b/TSF/trustable/no-json-faults/NJF-04.md index 3d77fdf5b7..2486732542 100644 --- a/TSF/trustable/no-json-faults/NJF-04.md +++ b/TSF/trustable/no-json-faults/NJF-04.md @@ -2,50 +2,50 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "parser class - core;accept;parse errors (accept)" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite;test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite/test_parsing/n_incomplete_false.json" - - "/nst_json_testsuite/test_parsing/n_incomplete_null.json" - - "/nst_json_testsuite/test_parsing/n_incomplete_true.json" - - "/nst_json_testsuite/test_parsing/n_structure_number_with_trailing_garbage.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_incomplete_false.json" - - "/nst_json_testsuite2/test_parsing/n_incomplete_null.json" - - "/nst_json_testsuite2/test_parsing/n_incomplete_true.json" - - "/nst_json_testsuite2/test_parsing/n_structure_capitalized_True.json" - description: "" - - type: cpp_test - name: "accept;unicode" - path: "TSF/tests/unit-literals.cpp" - - type: cpp_test - name: "accept;capitalisation" - path: "TSF/tests/unit-literals.cpp" - - type: cpp_test - name: "accept;illegal literals" - path: "TSF/tests/unit-literals.cpp" - - type: function_reference - name: "lexer::scan_literal" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function to verify whether a candidate literal coincides with its expected value; only ever called with the three admissible expected values." + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "parser class - core;accept;parse errors (accept)" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite;test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite/test_parsing/n_incomplete_false.json" + - "/nst_json_testsuite/test_parsing/n_incomplete_null.json" + - "/nst_json_testsuite/test_parsing/n_incomplete_true.json" + - "/nst_json_testsuite/test_parsing/n_structure_number_with_trailing_garbage.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_incomplete_false.json" + - "/nst_json_testsuite2/test_parsing/n_incomplete_null.json" + - "/nst_json_testsuite2/test_parsing/n_incomplete_true.json" + - "/nst_json_testsuite2/test_parsing/n_structure_capitalized_True.json" + description: "" + - type: cpp_test + name: "accept;unicode" + path: "TSF/tests/unit-literals.cpp" + - type: cpp_test + name: "accept;capitalisation" + path: "TSF/tests/unit-literals.cpp" + - type: cpp_test + name: "accept;illegal literals" + path: "TSF/tests/unit-literals.cpp" + - type: function_reference + name: "lexer::scan_literal" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function to verify whether a candidate literal coincides with its expected value; only ever called with the three admissible expected values." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - literals + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - literals score: Jonas-Kirchhoff: 1.0 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-05.1.md b/TSF/trustable/no-json-faults/NJF-05.1.md index 6e5bb6af8e..415b888d0e 100644 --- a/TSF/trustable/no-json-faults/NJF-05.1.md +++ b/TSF/trustable/no-json-faults/NJF-05.1.md @@ -2,35 +2,35 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "parser class - core;accept;array;empty array" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite;test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite/test_parsing/y_array_empty.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_array_empty.json" - - "/nst_json_testsuite2/test_parsing/y_array_arraysWithSpaces.json" - description: "Checks that the empty array [] is accepted." - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "parser class - core;accept;array;empty array" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite;test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite/test_parsing/y_array_empty.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_array_empty.json" + - "/nst_json_testsuite2/test_parsing/y_array_arraysWithSpaces.json" + description: "Checks that the empty array [] is accepted." + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-05.2.md b/TSF/trustable/no-json-faults/NJF-05.2.md index e7dd3fb61b..19174e6a83 100644 --- a/TSF/trustable/no-json-faults/NJF-05.2.md +++ b/TSF/trustable/no-json-faults/NJF-05.2.md @@ -2,40 +2,40 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "parser class - core;accept;array;nonempty array" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_array_false.json" - - "/nst_json_testsuite2/test_parsing/y_array_heterogeneous.json" - - "/nst_json_testsuite2/test_parsing/y_array_null.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_1_and_newline.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_leading_space.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_several_null.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_trailing_space.json" - description: "Checks that various valid arrays are accepted." - - type: JSON_testsuite - name: "json.org examples" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/1.json" - - "/json.org/2.json" - - "/json.org/3.json" - - "/json.org/4.json" - - "/json.org/5.json" - description: "Checks that various valid arrays in combination with objects are accepted." + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "parser class - core;accept;array;nonempty array" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_array_false.json" + - "/nst_json_testsuite2/test_parsing/y_array_heterogeneous.json" + - "/nst_json_testsuite2/test_parsing/y_array_null.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_1_and_newline.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_leading_space.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_several_null.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_trailing_space.json" + description: "Checks that various valid arrays are accepted." + - type: JSON_testsuite + name: "json.org examples" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/1.json" + - "/json.org/2.json" + - "/json.org/3.json" + - "/json.org/4.json" + - "/json.org/5.json" + description: "Checks that various valid arrays in combination with objects are accepted." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 0.95 Erikhu1: 0.85 diff --git a/TSF/trustable/no-json-faults/NJF-05.3.md b/TSF/trustable/no-json-faults/NJF-05.3.md index 17791cdc0f..46919f70c0 100644 --- a/TSF/trustable/no-json-faults/NJF-05.3.md +++ b/TSF/trustable/no-json-faults/NJF-05.3.md @@ -2,36 +2,36 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "deserialization;successful deserialization;stream" - path: "tests/src/unit-deserialization.cpp" - - type: JSON_testsuite - name: "json.org examples" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/1.json" - - "/json.org/2.json" - - "/json.org/3.json" - - "/json.org/4.json" - - "/json.org/5.json" - description: "Checks that various valid arrays in combination with objects are accepted." - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_string_in_array.json" - - "/nst_json_testsuite2/test_parsing/y_string_in_array_with_leading_space.json" - - "/nst_json_testsuite2/test_parsing/y_structure_true_in_array.json" - description: "" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "deserialization;successful deserialization;stream" + path: "tests/src/unit-deserialization.cpp" + - type: JSON_testsuite + name: "json.org examples" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/1.json" + - "/json.org/2.json" + - "/json.org/3.json" + - "/json.org/4.json" + - "/json.org/5.json" + description: "Checks that various valid arrays in combination with objects are accepted." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_string_in_array.json" + - "/nst_json_testsuite2/test_parsing/y_string_in_array_with_leading_space.json" + - "/nst_json_testsuite2/test_parsing/y_structure_true_in_array.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - deserialization - - testsuites + type: check_test_results + configuration: + tests: + - deserialization + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-05.4.md b/TSF/trustable/no-json-faults/NJF-05.4.md index a261990e3b..0889160731 100644 --- a/TSF/trustable/no-json-faults/NJF-05.4.md +++ b/TSF/trustable/no-json-faults/NJF-05.4.md @@ -2,50 +2,50 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "parser class - core;accept;parse errors (accept)" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "accept;boundaries" - path: "TSF/tests/unit-arrays.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n (previously overflowed)" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_100000_opening_arrays.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_close_unopened_array.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_double_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_end_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_lone-invalid-utf-8.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_array_apostrophe.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_array_comma.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_array_open_object.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_object_close_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_partial_null.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_false.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_true.json" - description: "" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "parser class - core;accept;parse errors (accept)" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "accept;boundaries" + path: "TSF/tests/unit-arrays.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n (previously overflowed)" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_100000_opening_arrays.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_close_unopened_array.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_double_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_end_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_lone-invalid-utf-8.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_array_apostrophe.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_array_comma.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_array_open_object.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_object_close_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_partial_null.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_false.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_true.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - arrays + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - arrays score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-05.5.md b/TSF/trustable/no-json-faults/NJF-05.5.md index fd92407894..5edd5a7cb4 100644 --- a/TSF/trustable/no-json-faults/NJF-05.5.md +++ b/TSF/trustable/no-json-faults/NJF-05.5.md @@ -2,27 +2,27 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_array_double_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_double_extra_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_just_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_number_and_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_number_and_several_commas.json" - - "/nst_json_testsuite2/test_parsing/n_structure_array_with_unclosed_string.json" - - "/nst_json_testsuite2/test_parsing/n_array_invalid_utf8.json" - - "/nst_json_testsuite2/test_parsing/n_array_just_minus.json" - description: "Checks that various \"proper\" arrays with improper elements are rejected." + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_array_double_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_double_extra_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_just_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_number_and_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_number_and_several_commas.json" + - "/nst_json_testsuite2/test_parsing/n_structure_array_with_unclosed_string.json" + - "/nst_json_testsuite2/test_parsing/n_array_invalid_utf8.json" + - "/nst_json_testsuite2/test_parsing/n_array_just_minus.json" + description: "Checks that various \"proper\" arrays with improper elements are rejected." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-05.6.0.md b/TSF/trustable/no-json-faults/NJF-05.6.0.md index 730e25e775..c4355f80ce 100644 --- a/TSF/trustable/no-json-faults/NJF-05.6.0.md +++ b/TSF/trustable/no-json-faults/NJF-05.6.0.md @@ -2,20 +2,20 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;i -> y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/i_structure_500_nested_arrays.json" - description: "" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;i -> y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/i_structure_500_nested_arrays.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 0.975 Erikhu1: 0.9 diff --git a/TSF/trustable/no-json-faults/NJF-05.6.md b/TSF/trustable/no-json-faults/NJF-05.6.md index b08a379bbd..8ba34201c2 100644 --- a/TSF/trustable/no-json-faults/NJF-05.6.md +++ b/TSF/trustable/no-json-faults/NJF-05.6.md @@ -2,26 +2,26 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "compliance tests from json.org;expected passes" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json_tests/pass2.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;i -> y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/i_structure_500_nested_arrays.json" - description: "" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "compliance tests from json.org;expected passes" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json_tests/pass2.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;i -> y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/i_structure_500_nested_arrays.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 0.95 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-05.7.1.md b/TSF/trustable/no-json-faults/NJF-05.7.1.md index defc79c693..fd177926a5 100644 --- a/TSF/trustable/no-json-faults/NJF-05.7.1.md +++ b/TSF/trustable/no-json-faults/NJF-05.7.1.md @@ -2,32 +2,32 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_array_with_several_null.json" - description: "Checks that [1,null,null,null,2] is accepted." - - type: JSON_testsuite - name: "json.org examples;4.json" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/4.json" - description: "" - - type: JSON_testsuite - name: "json.org examples;5.json" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/5.json" - description: "" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_array_with_several_null.json" + description: "Checks that [1,null,null,null,2] is accepted." + - type: JSON_testsuite + name: "json.org examples;4.json" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/4.json" + description: "" + - type: JSON_testsuite + name: "json.org examples;5.json" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/5.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-05.7.2.md b/TSF/trustable/no-json-faults/NJF-05.7.2.md index ce8a2966fa..07adb534fb 100644 --- a/TSF/trustable/no-json-faults/NJF-05.7.2.md +++ b/TSF/trustable/no-json-faults/NJF-05.7.2.md @@ -2,20 +2,20 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_array_colon_instead_of_comma.json" - description: "Tests whether colon is rejected as value separator." + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_array_colon_instead_of_comma.json" + description: "Tests whether colon is rejected as value separator." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.1.md b/TSF/trustable/no-json-faults/NJF-06.1.md index 3236962bb8..8710b0752a 100644 --- a/TSF/trustable/no-json-faults/NJF-06.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.1.md @@ -2,25 +2,25 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "parser class - core;accept;object;empty object" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "accept;whitespace;empty object" - path: "TSF/tests/unit-objects.cpp" - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "parser class - core;accept;object;empty object" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "accept;whitespace;empty object" + path: "TSF/tests/unit-objects.cpp" + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - objects + type: check_test_results + configuration: + tests: + - class_parser_core + - objects score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.2.md b/TSF/trustable/no-json-faults/NJF-06.2.md index e1ad561145..caa576120c 100644 --- a/TSF/trustable/no-json-faults/NJF-06.2.md +++ b/TSF/trustable/no-json-faults/NJF-06.2.md @@ -2,26 +2,26 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "deserialization;contiguous containers;error cases;case 15" - path: "tests/src/unit-deserialization.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_comma_instead_of_closing_brace.json" - - "/nst_json_testsuite2/test_parsing/n_structure_object_followed_by_closing_object.json" - - "/nst_json_testsuite2/test_parsing/n_structure_object_unclosed_no_value.json" - description: "" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "deserialization;contiguous containers;error cases;case 15" + path: "tests/src/unit-deserialization.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_comma_instead_of_closing_brace.json" + - "/nst_json_testsuite2/test_parsing/n_structure_object_followed_by_closing_object.json" + - "/nst_json_testsuite2/test_parsing/n_structure_object_unclosed_no_value.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - deserialization - - testsuites + type: check_test_results + configuration: + tests: + - deserialization + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.3.md b/TSF/trustable/no-json-faults/NJF-06.3.md index a383725642..bd5d1c3987 100644 --- a/TSF/trustable/no-json-faults/NJF-06.3.md +++ b/TSF/trustable/no-json-faults/NJF-06.3.md @@ -2,21 +2,21 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "deserialization;JSON Lines" - path: "tests/src/unit-deserialization.cpp" - - type: cpp_test - name: "parser class - core;accept;object;nonempty object" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "deserialization;JSON Lines" + path: "tests/src/unit-deserialization.cpp" + - type: cpp_test + name: "parser class - core;accept;object;nonempty object" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - deserialization + type: check_test_results + configuration: + tests: + - class_parser_core + - deserialization score: Jonas-Kirchhoff: 0.95 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-06.4.1.md b/TSF/trustable/no-json-faults/NJF-06.4.1.md index fed67de6d8..5d08ec9017 100644 --- a/TSF/trustable/no-json-faults/NJF-06.4.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.4.1.md @@ -2,48 +2,48 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-06.4 - - type: cpp_test - name: "parser class - core;accept;object;nonempty object" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_object_basic.json" - - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key.json" - - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key_and_value.json" - - "/nst_json_testsuite2/test_parsing/y_object_empty.json" - - "/nst_json_testsuite2/test_parsing/y_object_empty_key.json" - - "/nst_json_testsuite2/test_parsing/y_object_escaped_null_in_key.json" - - "/nst_json_testsuite2/test_parsing/y_object_extreme_numbers.json" - - "/nst_json_testsuite2/test_parsing/y_object_long_strings.json" - - "/nst_json_testsuite2/test_parsing/y_object_simple.json" - - "/nst_json_testsuite2/test_parsing/y_object_string_unicode.json" - - "/nst_json_testsuite2/test_parsing/y_object_with_newlines.json" - description: "Checks that various keys, particularly containing unicode characters, are accepted." - - type: cpp_test - name: "accept;names;strings;control characters" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;names;strings;unicode" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;names;strings;escaped UTF-16 surrogates" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - NJF-06.4 + - type: cpp_test + name: "parser class - core;accept;object;nonempty object" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_object_basic.json" + - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key.json" + - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key_and_value.json" + - "/nst_json_testsuite2/test_parsing/y_object_empty.json" + - "/nst_json_testsuite2/test_parsing/y_object_empty_key.json" + - "/nst_json_testsuite2/test_parsing/y_object_escaped_null_in_key.json" + - "/nst_json_testsuite2/test_parsing/y_object_extreme_numbers.json" + - "/nst_json_testsuite2/test_parsing/y_object_long_strings.json" + - "/nst_json_testsuite2/test_parsing/y_object_simple.json" + - "/nst_json_testsuite2/test_parsing/y_object_string_unicode.json" + - "/nst_json_testsuite2/test_parsing/y_object_with_newlines.json" + description: "Checks that various keys, particularly containing unicode characters, are accepted." + - type: cpp_test + name: "accept;names;strings;control characters" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;names;strings;unicode" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;names;strings;escaped UTF-16 surrogates" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - objects + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - objects score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.4.2.md b/TSF/trustable/no-json-faults/NJF-06.4.2.md index 0f7f1099d3..ee6be95fe0 100644 --- a/TSF/trustable/no-json-faults/NJF-06.4.2.md +++ b/TSF/trustable/no-json-faults/NJF-06.4.2.md @@ -2,38 +2,38 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-06.4 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" - description: "Checks that using numbers as keys is rejected." - - type: cpp_test - name: "accept;names;numbers" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;names;arrays" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;names;objects" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;names;literals" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - NJF-06.4 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" + description: "Checks that using numbers as keys is rejected." + - type: cpp_test + name: "accept;names;numbers" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;names;arrays" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;names;objects" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;names;literals" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.4.3.md b/TSF/trustable/no-json-faults/NJF-06.4.3.md index 2579c67ea3..33c73a6c40 100644 --- a/TSF/trustable/no-json-faults/NJF-06.4.3.md +++ b/TSF/trustable/no-json-faults/NJF-06.4.3.md @@ -2,39 +2,39 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-06.4 - - type: cpp_test - name: "parser class - core;accept;object;nonempty object" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_object_basic.json" - - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key.json" - - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key_and_value.json" - - "/nst_json_testsuite2/test_parsing/y_object_empty.json" - - "/nst_json_testsuite2/test_parsing/y_object_empty_key.json" - - "/nst_json_testsuite2/test_parsing/y_object_escaped_null_in_key.json" - - "/nst_json_testsuite2/test_parsing/y_object_extreme_numbers.json" - - "/nst_json_testsuite2/test_parsing/y_object_long_strings.json" - - "/nst_json_testsuite2/test_parsing/y_object_simple.json" - - "/nst_json_testsuite2/test_parsing/y_object_string_unicode.json" - - "/nst_json_testsuite2/test_parsing/y_object_with_newlines.json" - description: "Checks that various strings and numbers are accepted values." - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - NJF-06.4 + - type: cpp_test + name: "parser class - core;accept;object;nonempty object" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_object_basic.json" + - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key.json" + - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key_and_value.json" + - "/nst_json_testsuite2/test_parsing/y_object_empty.json" + - "/nst_json_testsuite2/test_parsing/y_object_empty_key.json" + - "/nst_json_testsuite2/test_parsing/y_object_escaped_null_in_key.json" + - "/nst_json_testsuite2/test_parsing/y_object_extreme_numbers.json" + - "/nst_json_testsuite2/test_parsing/y_object_long_strings.json" + - "/nst_json_testsuite2/test_parsing/y_object_simple.json" + - "/nst_json_testsuite2/test_parsing/y_object_string_unicode.json" + - "/nst_json_testsuite2/test_parsing/y_object_with_newlines.json" + description: "Checks that various strings and numbers are accepted values." + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - objects + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - objects score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.4.md b/TSF/trustable/no-json-faults/NJF-06.4.md index ba5578ebef..5460baada3 100644 --- a/TSF/trustable/no-json-faults/NJF-06.4.md +++ b/TSF/trustable/no-json-faults/NJF-06.4.md @@ -2,15 +2,15 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "nst's JSONTestSuite;test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - - type: cpp_test - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - - type: cpp_test - name: "compliance tests from json.org;expected failures" - path: "tests/src/unit-testsuites.cpp" + - type: cpp_test + name: "nst's JSONTestSuite;test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + - type: cpp_test + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + - type: cpp_test + name: "compliance tests from json.org;expected failures" + path: "tests/src/unit-testsuites.cpp" --- The admissible members of an object provided to the eclipse-score/inc_nlohmann_json have the form name : value. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.5.1.md b/TSF/trustable/no-json-faults/NJF-06.5.1.md index b14ff10247..0c950bbf87 100644 --- a/TSF/trustable/no-json-faults/NJF-06.5.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.5.1.md @@ -2,37 +2,37 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-06.5 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_single_quote.json" - - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" - - "/nst_json_testsuite2/test_parsing/n_object_key_with_single_quotes.json" - - "/nst_json_testsuite2/test_parsing/n_object_bracket_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" - description: "Checks that invalid names are rejected." - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;i -> n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/i_object_key_lone_2nd_surrogate.json" - description: "Checks that strings with invalid UTF-16 surrogates are rejected as name." - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - NJF-06.5 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_single_quote.json" + - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" + - "/nst_json_testsuite2/test_parsing/n_object_key_with_single_quotes.json" + - "/nst_json_testsuite2/test_parsing/n_object_bracket_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" + description: "Checks that invalid names are rejected." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;i -> n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/i_object_key_lone_2nd_surrogate.json" + description: "Checks that strings with invalid UTF-16 surrogates are rejected as name." + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.5.2.md b/TSF/trustable/no-json-faults/NJF-06.5.2.md index 866e8797c1..f96b5d337c 100644 --- a/TSF/trustable/no-json-faults/NJF-06.5.2.md +++ b/TSF/trustable/no-json-faults/NJF-06.5.2.md @@ -2,25 +2,25 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-06.5 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_bad_value.json" - description: "Checks that the invalid literal \"truth\" is rejected as value." - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - NJF-06.5 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_bad_value.json" + description: "Checks that the invalid literal \"truth\" is rejected as value." + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.5.md b/TSF/trustable/no-json-faults/NJF-06.5.md index 9a2d8f7568..e4843bd760 100644 --- a/TSF/trustable/no-json-faults/NJF-06.5.md +++ b/TSF/trustable/no-json-faults/NJF-06.5.md @@ -2,13 +2,13 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_trailing_comma.json" - - "/nst_json_testsuite2/test_parsing/n_object_two_commas_in_a_row.json" - description: "Checks that the empty member in a nonempty object is rejected." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_trailing_comma.json" + - "/nst_json_testsuite2/test_parsing/n_object_two_commas_in_a_row.json" + description: "Checks that the empty member in a nonempty object is rejected." --- The service provided by the nlohmann/json library does not accept objects with improper members. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-06.6.0.md b/TSF/trustable/no-json-faults/NJF-06.6.0.md index 6f8b5d7bf5..0d695a8a23 100644 --- a/TSF/trustable/no-json-faults/NJF-06.6.0.md +++ b/TSF/trustable/no-json-faults/NJF-06.6.0.md @@ -2,28 +2,28 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "json.org examples" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/1.json" - - "/json.org/2.json" - - "/json.org/3.json" - - "/json.org/4.json" - - "/json.org/5.json" - description: "Checks that various nested objects are accepted." - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "json.org examples" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/1.json" + - "/json.org/2.json" + - "/json.org/3.json" + - "/json.org/4.json" + - "/json.org/5.json" + description: "Checks that various nested objects are accepted." + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 0.975 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-06.6.md b/TSF/trustable/no-json-faults/NJF-06.6.md index e413665874..7308954569 100644 --- a/TSF/trustable/no-json-faults/NJF-06.6.md +++ b/TSF/trustable/no-json-faults/NJF-06.6.md @@ -2,28 +2,28 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "json.org examples" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/1.json" - - "/json.org/2.json" - - "/json.org/3.json" - - "/json.org/4.json" - - "/json.org/5.json" - description: "Checks that various nested objects are accepted." - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "json.org examples" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/1.json" + - "/json.org/2.json" + - "/json.org/3.json" + - "/json.org/4.json" + - "/json.org/5.json" + description: "Checks that various nested objects are accepted." + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 0.95 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-06.7.1.md b/TSF/trustable/no-json-faults/NJF-06.7.1.md index 100221eabd..7676c26b98 100644 --- a/TSF/trustable/no-json-faults/NJF-06.7.1.md +++ b/TSF/trustable/no-json-faults/NJF-06.7.1.md @@ -2,33 +2,33 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "json.org examples" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/1.json" - - "/json.org/2.json" - - "/json.org/3.json" - - "/json.org/4.json" - - "/json.org/5.json" - - "/json.org/1.json" - - "/json.org/2.json" - - "/json.org/3.json" - - "/json.org/4.json" - - "/json.org/5.json" - description: "Checks that various arrays with more than one value are accepted." - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "json.org examples" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/1.json" + - "/json.org/2.json" + - "/json.org/3.json" + - "/json.org/4.json" + - "/json.org/5.json" + - "/json.org/1.json" + - "/json.org/2.json" + - "/json.org/3.json" + - "/json.org/4.json" + - "/json.org/5.json" + description: "Checks that various arrays with more than one value are accepted." + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-06.7.2.md b/TSF/trustable/no-json-faults/NJF-06.7.2.md index 0f8164192b..14487bc49f 100644 --- a/TSF/trustable/no-json-faults/NJF-06.7.2.md +++ b/TSF/trustable/no-json-faults/NJF-06.7.2.md @@ -2,38 +2,38 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_comma_instead_of_colon.json" - description: "Checks that comma instead of colon is rejected." - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_double_colon.json" - description: "Checks that double colon is rejected." - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_missing_colon.json" - - "/nst_json_testsuite2/test_parsing/n_object_missing_semicolon.json" - - "/nst_json_testsuite2/test_parsing/n_object_missing_semicolon.json" - description: "Checks that the empty member separator is rejected." - - type: cpp_test - name: "accept;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_comma_instead_of_colon.json" + description: "Checks that comma instead of colon is rejected." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_double_colon.json" + description: "Checks that double colon is rejected." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_missing_colon.json" + - "/nst_json_testsuite2/test_parsing/n_object_missing_semicolon.json" + - "/nst_json_testsuite2/test_parsing/n_object_missing_semicolon.json" + description: "Checks that the empty member separator is rejected." + - type: cpp_test + name: "accept;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.1.md b/TSF/trustable/no-json-faults/NJF-07.1.md index 04cfb84f69..09143d9d47 100644 --- a/TSF/trustable/no-json-faults/NJF-07.1.md +++ b/TSF/trustable/no-json-faults/NJF-07.1.md @@ -3,23 +3,23 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: cpp_test - name: "parser class - core;accept;string" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "compliance tests from nativejson-benchmark;strings" - path: "tests/src/unit-testsuites.cpp" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: cpp_test + name: "parser class - core;accept;string" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "compliance tests from nativejson-benchmark;strings" + path: "tests/src/unit-testsuites.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.2.md b/TSF/trustable/no-json-faults/NJF-07.2.md index cf8e004cf1..db6e4c6ebe 100644 --- a/TSF/trustable/no-json-faults/NJF-07.2.md +++ b/TSF/trustable/no-json-faults/NJF-07.2.md @@ -2,32 +2,32 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: cpp_test - name: "parser class - core;accept;parse errors (accept)" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "deserialization;contiguous containers;error cases" - path: "tests/src/unit-deserialization.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_string_no_quotes_with_bad_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_single_doublequote.json" - - "/nst_json_testsuite2/test_parsing/n_string_single_quote.json" - - "/nst_json_testsuite2/test_parsing/n_string_single_string_no_double_quotes.json" - description: "" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: cpp_test + name: "parser class - core;accept;parse errors (accept)" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "deserialization;contiguous containers;error cases" + path: "tests/src/unit-deserialization.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_string_no_quotes_with_bad_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_single_doublequote.json" + - "/nst_json_testsuite2/test_parsing/n_string_single_quote.json" + - "/nst_json_testsuite2/test_parsing/n_string_single_string_no_double_quotes.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - deserialisation + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - deserialisation score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.3.md b/TSF/trustable/no-json-faults/NJF-07.3.md index 567e44cf3f..7ceacd0954 100644 --- a/TSF/trustable/no-json-faults/NJF-07.3.md +++ b/TSF/trustable/no-json-faults/NJF-07.3.md @@ -3,18 +3,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: cpp_test - name: "parser class - core;accept;string;errors" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: cpp_test + name: "parser class - core;accept;string;errors" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.4.md b/TSF/trustable/no-json-faults/NJF-07.4.md index fb74748cb9..6d29d8ea4f 100644 --- a/TSF/trustable/no-json-faults/NJF-07.4.md +++ b/TSF/trustable/no-json-faults/NJF-07.4.md @@ -3,43 +3,43 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: cpp_test - name: "parser class - core;accept;string;escaped" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json" - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" - - "/nst_json_testsuite2/test_parsing/y_string_allowed_escapes.json" - - "/nst_json_testsuite2/test_parsing/y_string_backslash_and_u_escaped_zero.json" - - "/nst_json_testsuite2/test_parsing/y_string_backslash_doublequotes.json" - - "/nst_json_testsuite2/test_parsing/y_string_comments.json" - - "/nst_json_testsuite2/test_parsing/y_string_double_escape_a.json" - - "/nst_json_testsuite2/test_parsing/y_string_double_escape_n.json" - - "/nst_json_testsuite2/test_parsing/y_string_escaped_control_character.json" - - "/nst_json_testsuite2/test_parsing/y_string_escaped_noncharacter.json" - description: "Checks that various escaped control and unicode characters are accepted." - - type: cpp_test - name: "Unicode (1/5);\\\\uxxxx sequences;correct sequences" - path: "tests/src/unit-unicode1.cpp" - - type: cpp_test - name: "Unicode;escaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: cpp_test + name: "parser class - core;accept;string;escaped" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json" + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" + - "/nst_json_testsuite2/test_parsing/y_string_allowed_escapes.json" + - "/nst_json_testsuite2/test_parsing/y_string_backslash_and_u_escaped_zero.json" + - "/nst_json_testsuite2/test_parsing/y_string_backslash_doublequotes.json" + - "/nst_json_testsuite2/test_parsing/y_string_comments.json" + - "/nst_json_testsuite2/test_parsing/y_string_double_escape_a.json" + - "/nst_json_testsuite2/test_parsing/y_string_double_escape_n.json" + - "/nst_json_testsuite2/test_parsing/y_string_escaped_control_character.json" + - "/nst_json_testsuite2/test_parsing/y_string_escaped_noncharacter.json" + description: "Checks that various escaped control and unicode characters are accepted." + - type: cpp_test + name: "Unicode (1/5);\\\\uxxxx sequences;correct sequences" + path: "tests/src/unit-unicode1.cpp" + - type: cpp_test + name: "Unicode;escaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - unicode1 - - strings + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - unicode1 + - strings score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.5.md b/TSF/trustable/no-json-faults/NJF-07.5.md index 40ee2ca456..66c5978e16 100644 --- a/TSF/trustable/no-json-faults/NJF-07.5.md +++ b/TSF/trustable/no-json-faults/NJF-07.5.md @@ -3,30 +3,30 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: cpp_test - name: "parser class - core;accept;string;escaped" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" - description: "Checks that both single and multiple surrogates are accepted." - - type: cpp_test - name: "Unicode;escaped utf-16 surrogates;well-formed" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: cpp_test + name: "parser class - core;accept;string;escaped" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" + description: "Checks that both single and multiple surrogates are accepted." + - type: cpp_test + name: "Unicode;escaped utf-16 surrogates;well-formed" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - strings + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - strings score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.6.md b/TSF/trustable/no-json-faults/NJF-07.6.md index 30a803668c..55b90b08f3 100644 --- a/TSF/trustable/no-json-faults/NJF-07.6.md +++ b/TSF/trustable/no-json-faults/NJF-07.6.md @@ -2,64 +2,64 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json" - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" - - "/nst_json_testsuite2/test_parsing/y_string_allowed_escapes.json" - - "/nst_json_testsuite2/test_parsing/y_string_backslash_and_u_escaped_zero.json" - - "/nst_json_testsuite2/test_parsing/y_string_backslash_doublequotes.json" - - "/nst_json_testsuite2/test_parsing/y_string_comments.json" - - "/nst_json_testsuite2/test_parsing/y_string_double_escape_a.json" - - "/nst_json_testsuite2/test_parsing/y_string_double_escape_n.json" - - "/nst_json_testsuite2/test_parsing/y_string_escaped_control_character.json" - - "/nst_json_testsuite2/test_parsing/y_string_escaped_noncharacter.json" - - "/nst_json_testsuite2/test_parsing/y_string_in_array.json" - - "/nst_json_testsuite2/test_parsing/y_string_in_array_with_leading_space.json" - - "/nst_json_testsuite2/test_parsing/y_string_last_surrogates_1_and_2.json" - - "/nst_json_testsuite2/test_parsing/y_string_nbsp_uescaped.json" - - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+10FFFF.json" - - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+FFFF.json" - - "/nst_json_testsuite2/test_parsing/y_string_null_escape.json" - - "/nst_json_testsuite2/test_parsing/y_string_one-byte-utf-8.json" - - "/nst_json_testsuite2/test_parsing/y_string_pi.json" - - "/nst_json_testsuite2/test_parsing/y_string_reservedCharacterInUTF-8_U+1BFFF.json" - - "/nst_json_testsuite2/test_parsing/y_string_simple_ascii.json" - - "/nst_json_testsuite2/test_parsing/y_string_space.json" - - "/nst_json_testsuite2/test_parsing/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json" - - "/nst_json_testsuite2/test_parsing/y_string_three-byte-utf-8.json" - - "/nst_json_testsuite2/test_parsing/y_string_two-byte-utf-8.json" - - "/nst_json_testsuite2/test_parsing/y_string_u+2028_line_sep.json" - - "/nst_json_testsuite2/test_parsing/y_string_u+2029_par_sep.json" - - "/nst_json_testsuite2/test_parsing/y_string_uEscape.json" - - "/nst_json_testsuite2/test_parsing/y_string_uescaped_newline.json" - - "/nst_json_testsuite2/test_parsing/y_string_unescaped_char_delete.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicodeEscapedBackslash.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_2.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+10FFFE_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+1FFFE_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+2064_invisible_plus.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FDD0_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FFFE_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_escaped_double_quote.json" - - "/nst_json_testsuite2/test_parsing/y_string_utf8.json" - - "/nst_json_testsuite2/test_parsing/y_string_with_del_character.json" - - "/nst_json_testsuite2/test_parsing/y_structure_lonely_string.json" - description: "Checks that various non-empty valid strings are accepted." + - type: item + items: + - JLEX-01 + - NJF-07 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json" + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" + - "/nst_json_testsuite2/test_parsing/y_string_allowed_escapes.json" + - "/nst_json_testsuite2/test_parsing/y_string_backslash_and_u_escaped_zero.json" + - "/nst_json_testsuite2/test_parsing/y_string_backslash_doublequotes.json" + - "/nst_json_testsuite2/test_parsing/y_string_comments.json" + - "/nst_json_testsuite2/test_parsing/y_string_double_escape_a.json" + - "/nst_json_testsuite2/test_parsing/y_string_double_escape_n.json" + - "/nst_json_testsuite2/test_parsing/y_string_escaped_control_character.json" + - "/nst_json_testsuite2/test_parsing/y_string_escaped_noncharacter.json" + - "/nst_json_testsuite2/test_parsing/y_string_in_array.json" + - "/nst_json_testsuite2/test_parsing/y_string_in_array_with_leading_space.json" + - "/nst_json_testsuite2/test_parsing/y_string_last_surrogates_1_and_2.json" + - "/nst_json_testsuite2/test_parsing/y_string_nbsp_uescaped.json" + - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+10FFFF.json" + - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+FFFF.json" + - "/nst_json_testsuite2/test_parsing/y_string_null_escape.json" + - "/nst_json_testsuite2/test_parsing/y_string_one-byte-utf-8.json" + - "/nst_json_testsuite2/test_parsing/y_string_pi.json" + - "/nst_json_testsuite2/test_parsing/y_string_reservedCharacterInUTF-8_U+1BFFF.json" + - "/nst_json_testsuite2/test_parsing/y_string_simple_ascii.json" + - "/nst_json_testsuite2/test_parsing/y_string_space.json" + - "/nst_json_testsuite2/test_parsing/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json" + - "/nst_json_testsuite2/test_parsing/y_string_three-byte-utf-8.json" + - "/nst_json_testsuite2/test_parsing/y_string_two-byte-utf-8.json" + - "/nst_json_testsuite2/test_parsing/y_string_u+2028_line_sep.json" + - "/nst_json_testsuite2/test_parsing/y_string_u+2029_par_sep.json" + - "/nst_json_testsuite2/test_parsing/y_string_uEscape.json" + - "/nst_json_testsuite2/test_parsing/y_string_uescaped_newline.json" + - "/nst_json_testsuite2/test_parsing/y_string_unescaped_char_delete.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicodeEscapedBackslash.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_2.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+10FFFE_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+1FFFE_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+2064_invisible_plus.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FDD0_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FFFE_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_escaped_double_quote.json" + - "/nst_json_testsuite2/test_parsing/y_string_utf8.json" + - "/nst_json_testsuite2/test_parsing/y_string_with_del_character.json" + - "/nst_json_testsuite2/test_parsing/y_structure_lonely_string.json" + description: "Checks that various non-empty valid strings are accepted." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 0.95 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-07.7.md b/TSF/trustable/no-json-faults/NJF-07.7.md index aac9058fc4..5a69390325 100644 --- a/TSF/trustable/no-json-faults/NJF-07.7.md +++ b/TSF/trustable/no-json-faults/NJF-07.7.md @@ -2,42 +2,42 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u.json" - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1.json" - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1x.json" - - "/nst_json_testsuite2/test_parsing/n_string_accentuated_char_no_quotes.json" - - "/nst_json_testsuite2/test_parsing/n_string_backslash_00.json" - - "/nst_json_testsuite2/test_parsing/n_string_escape_x.json" - - "/nst_json_testsuite2/test_parsing/n_string_escaped_backslash_bad.json" - - "/nst_json_testsuite2/test_parsing/n_string_escaped_ctrl_char_tab.json" - - "/nst_json_testsuite2/test_parsing/n_string_escaped_emoji.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escaped_character.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate_escape_invalid.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid-utf-8-in-escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid_backslash_esc.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid_unicode_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid_utf8_after_escape.json" - description: "Checks that various illegal control characters and UTF-8 characters are rejected." - - type: cpp_test - name: "Unicode;escaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u.json" + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1.json" + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1x.json" + - "/nst_json_testsuite2/test_parsing/n_string_accentuated_char_no_quotes.json" + - "/nst_json_testsuite2/test_parsing/n_string_backslash_00.json" + - "/nst_json_testsuite2/test_parsing/n_string_escape_x.json" + - "/nst_json_testsuite2/test_parsing/n_string_escaped_backslash_bad.json" + - "/nst_json_testsuite2/test_parsing/n_string_escaped_ctrl_char_tab.json" + - "/nst_json_testsuite2/test_parsing/n_string_escaped_emoji.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escaped_character.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate_escape_invalid.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid-utf-8-in-escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid_backslash_esc.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid_unicode_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid_utf8_after_escape.json" + description: "Checks that various illegal control characters and UTF-8 characters are rejected." + - type: cpp_test + name: "Unicode;escaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings - - testsuites + type: check_test_results + configuration: + tests: + - strings + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.8.md b/TSF/trustable/no-json-faults/NJF-07.8.md index a810c30a64..3ec8a25c8c 100644 --- a/TSF/trustable/no-json-faults/NJF-07.8.md +++ b/TSF/trustable/no-json-faults/NJF-07.8.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: cpp_test - name: "Unicode;escaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: cpp_test + name: "Unicode;escaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-07.9.md b/TSF/trustable/no-json-faults/NJF-07.9.md index cfa0237635..a110c13de0 100644 --- a/TSF/trustable/no-json-faults/NJF-07.9.md +++ b/TSF/trustable/no-json-faults/NJF-07.9.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-07 - - type: cpp_test - name: "Unicode;unescaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - NJF-07 + - type: cpp_test + name: "Unicode;unescaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 1.0 --- diff --git a/TSF/trustable/no-json-faults/NJF-07.md b/TSF/trustable/no-json-faults/NJF-07.md index 5581466cca..7ab4d975bc 100644 --- a/TSF/trustable/no-json-faults/NJF-07.md +++ b/TSF/trustable/no-json-faults/NJF-07.md @@ -2,10 +2,10 @@ level: 1.1 normative: true references: - - type: function_reference - name: "lexer::scan_string" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that scans a string and verifies *en passant* that the string is in accordance with RFC8259." + - type: function_reference + name: "lexer::scan_string" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that scans a string and verifies *en passant* that the string is in accordance with RFC8259." --- The service provided by the nlohmann/json library accepts and rejects strings according to RFC8259 §7. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-08.1.md b/TSF/trustable/no-json-faults/NJF-08.1.md index 2d553da3bc..0b95692fba 100644 --- a/TSF/trustable/no-json-faults/NJF-08.1.md +++ b/TSF/trustable/no-json-faults/NJF-08.1.md @@ -3,18 +3,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: cpp_test - name: "parser class - core;accept;number;integers" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: cpp_test + name: "parser class - core;accept;number;integers" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.2.md b/TSF/trustable/no-json-faults/NJF-08.2.md index 232d3e4c77..1c63586756 100644 --- a/TSF/trustable/no-json-faults/NJF-08.2.md +++ b/TSF/trustable/no-json-faults/NJF-08.2.md @@ -3,18 +3,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: cpp_test - name: "parser class - core;accept;number;integers;edge cases" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: cpp_test + name: "parser class - core;accept;number;integers;edge cases" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.3.md b/TSF/trustable/no-json-faults/NJF-08.3.md index dd36d6e46b..1852464c0c 100644 --- a/TSF/trustable/no-json-faults/NJF-08.3.md +++ b/TSF/trustable/no-json-faults/NJF-08.3.md @@ -2,29 +2,29 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" - description: "Checks that NaN and Inf are rejected." - - type: cpp_test - name: "accept;illegal literal numbers" - path: "TSF/tests/unit-literals.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" + description: "Checks that NaN and Inf are rejected." + - type: cpp_test + name: "accept;illegal literal numbers" + path: "TSF/tests/unit-literals.cpp" evidence: - type: check_test_results - configuration: - tests: - - literals - - testsuites + type: check_test_results + configuration: + tests: + - literals + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.4.md b/TSF/trustable/no-json-faults/NJF-08.4.md index 8de4385e0c..18aa9f271f 100644 --- a/TSF/trustable/no-json-faults/NJF-08.4.md +++ b/TSF/trustable/no-json-faults/NJF-08.4.md @@ -3,31 +3,31 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: cpp_test - name: "parser class - core;accept;number;integers;with exponent" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_neg_exp.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_pos_exp.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_exponent.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_fraction_exponent.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_neg_exp.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_pos_exponent.json" - description: "Checks that various numbers with exponent are accepted." + - type: item + items: + - JLEX-01 + - NJF-08 + - type: cpp_test + name: "parser class - core;accept;number;integers;with exponent" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_neg_exp.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_pos_exp.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_exponent.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_fraction_exponent.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_neg_exp.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_pos_exponent.json" + description: "Checks that various numbers with exponent are accepted." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.5.md b/TSF/trustable/no-json-faults/NJF-08.5.md index ebf9068ecf..e95890c626 100644 --- a/TSF/trustable/no-json-faults/NJF-08.5.md +++ b/TSF/trustable/no-json-faults/NJF-08.5.md @@ -2,21 +2,21 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: cpp_test - name: "accept;exponents;U+0425" - path: "TSF/tests/unit-numbers.cpp" - - type: cpp_test - name: "accept;exponents;U+0436" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: cpp_test + name: "accept;exponents;U+0425" + path: "TSF/tests/unit-numbers.cpp" + - type: cpp_test + name: "accept;exponents;U+0436" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - numbers + type: check_test_results + configuration: + tests: + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.6.md b/TSF/trustable/no-json-faults/NJF-08.6.md index 0252ac3641..883f4a68bb 100644 --- a/TSF/trustable/no-json-faults/NJF-08.6.md +++ b/TSF/trustable/no-json-faults/NJF-08.6.md @@ -3,79 +3,79 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: cpp_test - name: "parser class - core;accept;number;invalid numbers" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_number_++.json" - - "/nst_json_testsuite2/test_parsing/n_number_+1.json" - - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_-01.json" - - "/nst_json_testsuite2/test_parsing/n_number_-1.0..json" - - "/nst_json_testsuite2/test_parsing/n_number_-2..json" - - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_.-1.json" - - "/nst_json_testsuite2/test_parsing/n_number_.2e-3.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.1.2.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.3e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.3e.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.e1.json" - - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E+.json" - - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E.json" - - "/nst_json_testsuite2/test_parsing/n_number_0e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_0e.json" - - "/nst_json_testsuite2/test_parsing/n_number_1.0e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_1.0e-.json" - - "/nst_json_testsuite2/test_parsing/n_number_1.0e.json" - - "/nst_json_testsuite2/test_parsing/n_number_1_000.json" - - "/nst_json_testsuite2/test_parsing/n_number_1eE2.json" - - "/nst_json_testsuite2/test_parsing/n_number_2.e+3.json" - - "/nst_json_testsuite2/test_parsing/n_number_2.e-3.json" - - "/nst_json_testsuite2/test_parsing/n_number_2.e3.json" - - "/nst_json_testsuite2/test_parsing/n_number_9.e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_U+FF11_fullwidth_digit_one.json" - - "/nst_json_testsuite2/test_parsing/n_number_expression.json" - - "/nst_json_testsuite2/test_parsing/n_number_hex_1_digit.json" - - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" - - "/nst_json_testsuite2/test_parsing/n_number_infinity.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid+-.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-negative-real.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-bigger-int.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-exponent.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-int.json" - - "/nst_json_testsuite2/test_parsing/n_number_minus_infinity.json" - - "/nst_json_testsuite2/test_parsing/n_number_minus_sign_with_trailing_garbage.json" - - "/nst_json_testsuite2/test_parsing/n_number_minus_space_1.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_real_without_int_part.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_with_garbage_at_end.json" - - "/nst_json_testsuite2/test_parsing/n_number_real_garbage_after_e.json" - - "/nst_json_testsuite2/test_parsing/n_number_real_with_invalid_utf8_after_e.json" - - "/nst_json_testsuite2/test_parsing/n_number_real_without_fractional_part.json" - - "/nst_json_testsuite2/test_parsing/n_number_starting_with_dot.json" - - "/nst_json_testsuite2/test_parsing/n_number_with_alpha.json" - - "/nst_json_testsuite2/test_parsing/n_number_with_alpha_char.json" - - "/nst_json_testsuite2/test_parsing/n_number_with_leading_zero.json" - description: "Tests whether various numbers with invalid syntax according to RFC8259 are rejected." - - type: cpp_test - name: "accept;operators" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: cpp_test + name: "parser class - core;accept;number;invalid numbers" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_number_++.json" + - "/nst_json_testsuite2/test_parsing/n_number_+1.json" + - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_-01.json" + - "/nst_json_testsuite2/test_parsing/n_number_-1.0..json" + - "/nst_json_testsuite2/test_parsing/n_number_-2..json" + - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_.-1.json" + - "/nst_json_testsuite2/test_parsing/n_number_.2e-3.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.1.2.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.3e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.3e.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.e1.json" + - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E+.json" + - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E.json" + - "/nst_json_testsuite2/test_parsing/n_number_0e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_0e.json" + - "/nst_json_testsuite2/test_parsing/n_number_1.0e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_1.0e-.json" + - "/nst_json_testsuite2/test_parsing/n_number_1.0e.json" + - "/nst_json_testsuite2/test_parsing/n_number_1_000.json" + - "/nst_json_testsuite2/test_parsing/n_number_1eE2.json" + - "/nst_json_testsuite2/test_parsing/n_number_2.e+3.json" + - "/nst_json_testsuite2/test_parsing/n_number_2.e-3.json" + - "/nst_json_testsuite2/test_parsing/n_number_2.e3.json" + - "/nst_json_testsuite2/test_parsing/n_number_9.e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_U+FF11_fullwidth_digit_one.json" + - "/nst_json_testsuite2/test_parsing/n_number_expression.json" + - "/nst_json_testsuite2/test_parsing/n_number_hex_1_digit.json" + - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" + - "/nst_json_testsuite2/test_parsing/n_number_infinity.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid+-.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-negative-real.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-bigger-int.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-exponent.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-int.json" + - "/nst_json_testsuite2/test_parsing/n_number_minus_infinity.json" + - "/nst_json_testsuite2/test_parsing/n_number_minus_sign_with_trailing_garbage.json" + - "/nst_json_testsuite2/test_parsing/n_number_minus_space_1.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_real_without_int_part.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_with_garbage_at_end.json" + - "/nst_json_testsuite2/test_parsing/n_number_real_garbage_after_e.json" + - "/nst_json_testsuite2/test_parsing/n_number_real_with_invalid_utf8_after_e.json" + - "/nst_json_testsuite2/test_parsing/n_number_real_without_fractional_part.json" + - "/nst_json_testsuite2/test_parsing/n_number_starting_with_dot.json" + - "/nst_json_testsuite2/test_parsing/n_number_with_alpha.json" + - "/nst_json_testsuite2/test_parsing/n_number_with_alpha_char.json" + - "/nst_json_testsuite2/test_parsing/n_number_with_leading_zero.json" + description: "Tests whether various numbers with invalid syntax according to RFC8259 are rejected." + - type: cpp_test + name: "accept;operators" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - numbers + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.7.md b/TSF/trustable/no-json-faults/NJF-08.7.md index d80a6bad55..1a68936f9b 100644 --- a/TSF/trustable/no-json-faults/NJF-08.7.md +++ b/TSF/trustable/no-json-faults/NJF-08.7.md @@ -3,18 +3,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: cpp_test - name: "parser class - core;accept;number;floating-point" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: cpp_test + name: "parser class - core;accept;number;floating-point" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.8.md b/TSF/trustable/no-json-faults/NJF-08.8.md index ee1bbd47e2..861770b130 100644 --- a/TSF/trustable/no-json-faults/NJF-08.8.md +++ b/TSF/trustable/no-json-faults/NJF-08.8.md @@ -3,30 +3,30 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_number_-01.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" - description: "Checks that -01 is rejected." - - type: cpp_test - name: "parser class - core;accept;number;invalid numbers" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "accept;Leading zeroes" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_number_-01.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" + description: "Checks that -01 is rejected." + - type: cpp_test + name: "parser class - core;accept;number;invalid numbers" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "accept;Leading zeroes" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - numbers + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.9.md b/TSF/trustable/no-json-faults/NJF-08.9.md index ffa23456fd..1fd829680d 100644 --- a/TSF/trustable/no-json-faults/NJF-08.9.md +++ b/TSF/trustable/no-json-faults/NJF-08.9.md @@ -3,31 +3,31 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - NJF-08 - - type: cpp_test - name: "parser class - core;accept;number;integers" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_number_hex_1_digit.json" - - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" - - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" - description: "Rejects Hexadecimals." - - type: cpp_test - name: "accept;bases" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-01 + - NJF-08 + - type: cpp_test + name: "parser class - core;accept;number;integers" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_number_hex_1_digit.json" + - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" + - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" + description: "Rejects Hexadecimals." + - type: cpp_test + name: "accept;bases" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - numbers + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-08.md b/TSF/trustable/no-json-faults/NJF-08.md index 15912096e9..5c22f846f9 100644 --- a/TSF/trustable/no-json-faults/NJF-08.md +++ b/TSF/trustable/no-json-faults/NJF-08.md @@ -2,10 +2,10 @@ level: 1.1 normative: true references: - - type: function_reference - name: "lexer::scan_number" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that scans numbers and verifies *en passant* that these numbers are in accordance with RFC8259." + - type: function_reference + name: "lexer::scan_number" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that scans numbers and verifies *en passant* that these numbers are in accordance with RFC8259." --- The service provided by the nlohmann/json library accepts numbers according to RFC8259 §6. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-09.md b/TSF/trustable/no-json-faults/NJF-09.md index 066a8f446f..5076849f96 100644 --- a/TSF/trustable/no-json-faults/NJF-09.md +++ b/TSF/trustable/no-json-faults/NJF-09.md @@ -2,31 +2,31 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: function_reference - name: "parser::accept" - path: "include/nlohmann/detail/input/parser.hpp" - description: "Function that implements the service to check for well-formed json." - - type: function_reference - name: "parser::sax_parse" - path: "include/nlohmann/detail/input/parser.hpp" - description: "Function that is called by parser::accept." - - type: function_reference - name: "parser::sax_parse_internal" - path: "include/nlohmann/detail/input/parser.hpp" - decscription: "Function that is called by parser::sax_parse." - - type: function_reference - name: "lexer::scan" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that is called by parser::sax_parse_internal to read input data." - - type: JSON_testsuite - name: "json.org examples;1.json" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/json.org/1.json" - description: "Checks that a valid json object containing all six structural characters is accepted." + - type: item + items: + - JLEX-01 + - type: function_reference + name: "parser::accept" + path: "include/nlohmann/detail/input/parser.hpp" + description: "Function that implements the service to check for well-formed json." + - type: function_reference + name: "parser::sax_parse" + path: "include/nlohmann/detail/input/parser.hpp" + description: "Function that is called by parser::accept." + - type: function_reference + name: "parser::sax_parse_internal" + path: "include/nlohmann/detail/input/parser.hpp" + decscription: "Function that is called by parser::sax_parse." + - type: function_reference + name: "lexer::scan" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that is called by parser::sax_parse_internal to read input data." + - type: JSON_testsuite + name: "json.org examples;1.json" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/json.org/1.json" + description: "Checks that a valid json object containing all six structural characters is accepted." score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-10.md b/TSF/trustable/no-json-faults/NJF-10.md index 5da127e3e1..0373036e7c 100644 --- a/TSF/trustable/no-json-faults/NJF-10.md +++ b/TSF/trustable/no-json-faults/NJF-10.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-11.md b/TSF/trustable/no-json-faults/NJF-11.md index 6b8a14fb1e..63bedc2215 100644 --- a/TSF/trustable/no-json-faults/NJF-11.md +++ b/TSF/trustable/no-json-faults/NJF-11.md @@ -2,28 +2,28 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." - - type: cpp_test - name: "accept;whitespace" - path: "TSF/tests/unit-literals.cpp" - - type: cpp_test - name: "accept;whitespace;Leading and tailing" - path: "TSF/tests/unit-numbers.cpp" - - type: cpp_test - name: "accept;whitespace" - path: "TSF/tests/unit-strings.cpp" - - type: cpp_test - name: "accept;whitespace" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "accept;whitespace" - path: "TSF/tests/unit-arrays.cpp" + - type: item + items: + - JLEX-01 + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." + - type: cpp_test + name: "accept;whitespace" + path: "TSF/tests/unit-literals.cpp" + - type: cpp_test + name: "accept;whitespace;Leading and tailing" + path: "TSF/tests/unit-numbers.cpp" + - type: cpp_test + name: "accept;whitespace" + path: "TSF/tests/unit-strings.cpp" + - type: cpp_test + name: "accept;whitespace" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "accept;whitespace" + path: "TSF/tests/unit-arrays.cpp" score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-12.1.md b/TSF/trustable/no-json-faults/NJF-12.1.md index 9e97a2d98a..9c047001cb 100644 --- a/TSF/trustable/no-json-faults/NJF-12.1.md +++ b/TSF/trustable/no-json-faults/NJF-12.1.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "accept;malformed sequences" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "accept;malformed sequences" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 0.9 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-12.2.md b/TSF/trustable/no-json-faults/NJF-12.2.md index 82724e5ad3..fa74f90420 100644 --- a/TSF/trustable/no-json-faults/NJF-12.2.md +++ b/TSF/trustable/no-json-faults/NJF-12.2.md @@ -3,17 +3,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "accept;overlong sequences" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "accept;overlong sequences" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 0.6 Erikhu1: 0.9 diff --git a/TSF/trustable/no-json-faults/NJF-12.3.md b/TSF/trustable/no-json-faults/NJF-12.3.md index 6c570d225f..fa41c219f6 100644 --- a/TSF/trustable/no-json-faults/NJF-12.3.md +++ b/TSF/trustable/no-json-faults/NJF-12.3.md @@ -3,24 +3,24 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_lone-invalid-utf-8.json" - description: "" - - type: cpp_test - name: "Unicode;unescaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_lone-invalid-utf-8.json" + description: "" + - type: cpp_test + name: "Unicode;unescaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings - - testsuites + type: check_test_results + configuration: + tests: + - strings + - testsuites score: Jonas-Kirchhoff: 0.9 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-12.5.md b/TSF/trustable/no-json-faults/NJF-12.5.md index 1198495949..20ac9e2358 100644 --- a/TSF/trustable/no-json-faults/NJF-12.5.md +++ b/TSF/trustable/no-json-faults/NJF-12.5.md @@ -3,20 +3,20 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "accept;noncharacter code positions" - path: "TSF/tests/unit-strings.cpp" - - type: cpp_test - name: "Unicode;unescaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "accept;noncharacter code positions" + path: "TSF/tests/unit-strings.cpp" + - type: cpp_test + name: "Unicode;unescaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 0.75 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-12.6.md b/TSF/trustable/no-json-faults/NJF-12.6.md index 45ee5e6397..92dd27c96a 100644 --- a/TSF/trustable/no-json-faults/NJF-12.6.md +++ b/TSF/trustable/no-json-faults/NJF-12.6.md @@ -3,17 +3,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "Unicode;escaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "Unicode;escaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 0.9 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-13.md b/TSF/trustable/no-json-faults/NJF-13.md index 64f314c6dc..58bab23eff 100644 --- a/TSF/trustable/no-json-faults/NJF-13.md +++ b/TSF/trustable/no-json-faults/NJF-13.md @@ -3,17 +3,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "compliance tests from json.org;expected passes" - path: "tests/src/unit-testsuites.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "compliance tests from json.org;expected passes" + path: "tests/src/unit-testsuites.cpp" evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 0.95 Erikhu1: 0.95 diff --git a/TSF/trustable/no-json-faults/NJF-14.1.md b/TSF/trustable/no-json-faults/NJF-14.1.md index 171fb4249b..ba28724969 100644 --- a/TSF/trustable/no-json-faults/NJF-14.1.md +++ b/TSF/trustable/no-json-faults/NJF-14.1.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "accept;UTF-8;single BOM" - path: "TSF/tests/unit-byte_order_mark.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "accept;UTF-8;single BOM" + path: "TSF/tests/unit-byte_order_mark.cpp" evidence: - type: check_test_results - configuration: - tests: - - byte_order_mark + type: check_test_results + configuration: + tests: + - byte_order_mark score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-14.2.md b/TSF/trustable/no-json-faults/NJF-14.2.md index 0811bf0dd5..1616cc2682 100644 --- a/TSF/trustable/no-json-faults/NJF-14.2.md +++ b/TSF/trustable/no-json-faults/NJF-14.2.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "accept;UTF-8;multiple BOM" - path: "TSF/tests/unit-byte_order_mark.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "accept;UTF-8;multiple BOM" + path: "TSF/tests/unit-byte_order_mark.cpp" evidence: - type: check_test_results - configuration: - tests: - - byte_order_mark + type: check_test_results + configuration: + tests: + - byte_order_mark score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-14.3.md b/TSF/trustable/no-json-faults/NJF-14.3.md index 89696303c7..06abbf2f56 100644 --- a/TSF/trustable/no-json-faults/NJF-14.3.md +++ b/TSF/trustable/no-json-faults/NJF-14.3.md @@ -2,25 +2,25 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: function_reference - name: "parser::accept" - path: "include/nlohmann/detail/input/parser.hpp" - description: "Function that implements the service to check for well-formed json." - - type: function_reference - name: "parser::sax_parse" - path: "include/nlohmann/detail/input/parser.hpp" - description: "Function that is called by parser::accept." - - type: function_reference - name: "parser::sax_parse_internal" - path: "include/nlohmann/detail/input/parser.hpp" - description: "Function that is called by parser::sax_parse." - - type: function_reference - name: "lexer::scan" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that is called by parser::sax_parse_internal to read input data." + - type: item + items: + - JLEX-01 + - type: function_reference + name: "parser::accept" + path: "include/nlohmann/detail/input/parser.hpp" + description: "Function that implements the service to check for well-formed json." + - type: function_reference + name: "parser::sax_parse" + path: "include/nlohmann/detail/input/parser.hpp" + description: "Function that is called by parser::accept." + - type: function_reference + name: "parser::sax_parse_internal" + path: "include/nlohmann/detail/input/parser.hpp" + description: "Function that is called by parser::sax_parse." + - type: function_reference + name: "lexer::scan" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that is called by parser::sax_parse_internal to read input data." score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-json-faults/NJF-14.4.md b/TSF/trustable/no-json-faults/NJF-14.4.md index d1e81a0798..69f2696dfc 100644 --- a/TSF/trustable/no-json-faults/NJF-14.4.md +++ b/TSF/trustable/no-json-faults/NJF-14.4.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "accept;UTF-8;Other byte-order marks;UTF-32" - path: "TSF/tests/unit-byte_order_mark.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "accept;UTF-8;Other byte-order marks;UTF-32" + path: "TSF/tests/unit-byte_order_mark.cpp" evidence: - type: check_test_results - configuration: - tests: - - byte_order_mark + type: check_test_results + configuration: + tests: + - byte_order_mark score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-01.1.md b/TSF/trustable/no-parsing-faults/NPF-01.1.md index 9c69dbefb2..9032b45626 100644 --- a/TSF/trustable/no-parsing-faults/NPF-01.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-01.1.md @@ -2,21 +2,21 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "Unicode (1/5);ignore byte-order-mark" - path: "tests/src/unit-unicode1.cpp" - - type: cpp_test - name: "deserialization;ignoring byte-order marks;BOM and content" - path: "tests/src/unit-deserialization.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "Unicode (1/5);ignore byte-order-mark" + path: "tests/src/unit-unicode1.cpp" + - type: cpp_test + name: "deserialization;ignoring byte-order marks;BOM and content" + path: "tests/src/unit-deserialization.cpp" evidence: - type: check_test_results - configuration: - tests: - - unicode1 - - deserialization + type: check_test_results + configuration: + tests: + - unicode1 + - deserialization score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-01.2.md b/TSF/trustable/no-parsing-faults/NPF-01.2.md index dc114b91c5..438cc832b4 100644 --- a/TSF/trustable/no-parsing-faults/NPF-01.2.md +++ b/TSF/trustable/no-parsing-faults/NPF-01.2.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parse;UTF-8;multiple BOM" - path: "TSF/tests/unit-byte_order_mark.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parse;UTF-8;multiple BOM" + path: "TSF/tests/unit-byte_order_mark.cpp" evidence: - type: check_test_results - configuration: - tests: - - byte_order_mark + type: check_test_results + configuration: + tests: + - byte_order_mark score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-01.3.md b/TSF/trustable/no-parsing-faults/NPF-01.3.md index cd69bb8c96..51c386bade 100644 --- a/TSF/trustable/no-parsing-faults/NPF-01.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-01.3.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parse;UTF-8;unexpected BOM" - path: "TSF/tests/unit-byte_order_mark.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parse;UTF-8;unexpected BOM" + path: "TSF/tests/unit-byte_order_mark.cpp" evidence: - type: check_test_results - configuration: - tests: - - byte_order_mark + type: check_test_results + configuration: + tests: + - byte_order_mark score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-01.4.md b/TSF/trustable/no-parsing-faults/NPF-01.4.md index 8601a6250e..6cd973d9c0 100644 --- a/TSF/trustable/no-parsing-faults/NPF-01.4.md +++ b/TSF/trustable/no-parsing-faults/NPF-01.4.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parse;other BOM" - path: "TSF/tests/unit-byte_order_mark.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parse;other BOM" + path: "TSF/tests/unit-byte_order_mark.cpp" evidence: - type: check_test_results - configuration: - tests: - - byte_order_mark + type: check_test_results + configuration: + tests: + - byte_order_mark score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-01.5.md b/TSF/trustable/no-parsing-faults/NPF-01.5.md index e04f1f4afd..0e27f575a3 100644 --- a/TSF/trustable/no-parsing-faults/NPF-01.5.md +++ b/TSF/trustable/no-parsing-faults/NPF-01.5.md @@ -2,27 +2,27 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "deserialization;ignoring byte-order marks;2 byte of BOM" - path: "tests/src/unit-deserialization.cpp" - - type: cpp_test - name: "deserialization;ignoring byte-order marks;1 byte of BOM" - path: "tests/src/unit-deserialization.cpp" - - type: cpp_test - name: "deserialization;ignoring byte-order marks;variations" - path: "tests/src/unit-deserialization.cpp" - - type: cpp_test - name: "Unicode (1/5);error for incomplete/wrong BOM" - path: "tests/src/unit-unicode1.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "deserialization;ignoring byte-order marks;2 byte of BOM" + path: "tests/src/unit-deserialization.cpp" + - type: cpp_test + name: "deserialization;ignoring byte-order marks;1 byte of BOM" + path: "tests/src/unit-deserialization.cpp" + - type: cpp_test + name: "deserialization;ignoring byte-order marks;variations" + path: "tests/src/unit-deserialization.cpp" + - type: cpp_test + name: "Unicode (1/5);error for incomplete/wrong BOM" + path: "tests/src/unit-unicode1.cpp" evidence: - type: check_test_results - configuration: - tests: - - deserialization - - unicode1 + type: check_test_results + configuration: + tests: + - deserialization + - unicode1 score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.1.md b/TSF/trustable/no-parsing-faults/NPF-02.1.md index 1179df581d..564ba11513 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.1.md @@ -2,32 +2,32 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parser class - core;parse;number;floating-point;without exponent" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "parser class - core;parse;number;integers;without exponent" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_number_simple_int.json" - - "/nst_json_testsuite2/test_parsing/y_number_simple_real.json" - - "/nst_json_testsuite2/test_parsing/y_number_negative_int.json" - - "/nst_json_testsuite2/test_parsing/y_number_negative_one.json" - - "/nst_json_testsuite2/test_parsing/y_number_negative_zero.json" - description: "Tests whether several numbers without exponent are parsed without throwing an exception." + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parser class - core;parse;number;floating-point;without exponent" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parser class - core;parse;number;integers;without exponent" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_number_simple_int.json" + - "/nst_json_testsuite2/test_parsing/y_number_simple_real.json" + - "/nst_json_testsuite2/test_parsing/y_number_negative_int.json" + - "/nst_json_testsuite2/test_parsing/y_number_negative_one.json" + - "/nst_json_testsuite2/test_parsing/y_number_negative_zero.json" + description: "Tests whether several numbers without exponent are parsed without throwing an exception." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.10.md b/TSF/trustable/no-parsing-faults/NPF-02.10.md index 1a4c0985c7..e2e9cf740d 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.10.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.10.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "regression tests 1;issue #379 - locale-independent str-to-num" - path: "tests/src/unit-regression1.cpp" - - type: cpp_test - name: "parse;trailing zeroes" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "regression tests 1;issue #379 - locale-independent str-to-num" + path: "tests/src/unit-regression1.cpp" + - type: cpp_test + name: "parse;trailing zeroes" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - regression1 - - numbers + type: check_test_results + configuration: + tests: + - regression1 + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.11.md b/TSF/trustable/no-parsing-faults/NPF-02.11.md index fda51845c7..10d18e6317 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.11.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.11.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "regression tests 1;issue #186 miloyip/nativejson-benchmark: floating-point parsing" - path: "tests/src/unit-regression1.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "regression tests 1;issue #186 miloyip/nativejson-benchmark: floating-point parsing" + path: "tests/src/unit-regression1.cpp" evidence: - type: check_test_results - configuration: - tests: - - regression1 + type: check_test_results + configuration: + tests: + - regression1 score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.12.md b/TSF/trustable/no-parsing-faults/NPF-02.12.md index fd497326d4..10c6e91832 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.12.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.12.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parse;exponents;Capitalisation" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parse;exponents;Capitalisation" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - numbers + type: check_test_results + configuration: + tests: + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.2.md b/TSF/trustable/no-parsing-faults/NPF-02.2.md index dde94d497a..a0f2236f1d 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.2.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.2.md @@ -2,38 +2,38 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parser class - core;parse;number;floating-point;with exponent" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "parser class - core;parse;number;integers;with exponent" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_neg_exp.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_pos_exp.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_exponent.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_fraction_exponent.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_neg_exp.json" - - "/nst_json_testsuite2/test_parsing/y_number_real_pos_exponent.json" - description: "Tests whether several numbers with exponent are parsed without throwing an exception." - - type: cpp_test - name: "parse;Precision" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parser class - core;parse;number;floating-point;with exponent" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parser class - core;parse;number;integers;with exponent" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_neg_exp.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_capital_e_pos_exp.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_exponent.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_fraction_exponent.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_neg_exp.json" + - "/nst_json_testsuite2/test_parsing/y_number_real_pos_exponent.json" + description: "Tests whether several numbers with exponent are parsed without throwing an exception." + - type: cpp_test + name: "parse;Precision" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - numbers + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.3.md b/TSF/trustable/no-parsing-faults/NPF-02.3.md index 6d48afffca..69eca45aec 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.3.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parser class - core;parse;number;integers" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parser class - core;parse;number;integers" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.4.md b/TSF/trustable/no-parsing-faults/NPF-02.4.md index cc163e46f0..e72353ae3b 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.4.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.4.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parser class - core;parse;number;floating-point" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "regression tests 1;issue #360 - Loss of precision when serializing " - path: "tests/src/unit-regression1.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parser class - core;parse;number;floating-point" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "regression tests 1;issue #360 - Loss of precision when serializing " + path: "tests/src/unit-regression1.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - regression1 + type: check_test_results + configuration: + tests: + - class_parser_core + - regression1 score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.5.md b/TSF/trustable/no-parsing-faults/NPF-02.5.md index 8dc456d82e..aea102f372 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.5.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.5.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parse;exponents;leading zeroes" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parse;exponents;leading zeroes" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - numbers + type: check_test_results + configuration: + tests: + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.6.md b/TSF/trustable/no-parsing-faults/NPF-02.6.md index b0bf6331f9..56669f5a5f 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.6.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.6.md @@ -2,21 +2,21 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parser class - core;parse;number;integers;edge cases" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "parser class - core;parse;number;integers;over the edge cases" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parser class - core;parse;number;integers;edge cases" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parser class - core;parse;number;integers;over the edge cases" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.7.md b/TSF/trustable/no-parsing-faults/NPF-02.7.md index 002ede999e..087badcaf6 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.7.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.7.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parse;whitespace" - path: "TSF/tests/unit-numbers.cpp" - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parse;whitespace" + path: "TSF/tests/unit-numbers.cpp" + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." evidence: - type: check_test_results - configuration: - tests: - - numbers + type: check_test_results + configuration: + tests: + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.8.md b/TSF/trustable/no-parsing-faults/NPF-02.8.md index cd91aaff3d..2fad896145 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.8.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.8.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "parse;exponents;leading plus" - path: "TSF/tests/unit-numbers.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "parse;exponents;leading plus" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - numbers + type: check_test_results + configuration: + tests: + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.9.md b/TSF/trustable/no-parsing-faults/NPF-02.9.md index 44b76fab66..8d5f7e0755 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.9.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.9.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-02 - - type: cpp_test - name: "compliance tests from nativejson-benchmark;doubles" - path: "tests/src/unit-testsuites.cpp" - - type: cpp_test - name: "regression tests 1;issue #360 - Loss of precision when serializing " - path: "tests/src/unit-regression1.cpp" + - type: item + items: + - JLEX-02 + - NPF-02 + - type: cpp_test + name: "compliance tests from nativejson-benchmark;doubles" + path: "tests/src/unit-testsuites.cpp" + - type: cpp_test + name: "regression tests 1;issue #360 - Loss of precision when serializing " + path: "tests/src/unit-regression1.cpp" evidence: - type: check_test_results - configuration: - tests: - - regression1 - - testsuites + type: check_test_results + configuration: + tests: + - regression1 + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-02.md b/TSF/trustable/no-parsing-faults/NPF-02.md index 78f9042531..c802245e02 100644 --- a/TSF/trustable/no-parsing-faults/NPF-02.md +++ b/TSF/trustable/no-parsing-faults/NPF-02.md @@ -2,10 +2,10 @@ level: 1.1 normative: true references: - - type: function_reference - name: "lexer::scan_number" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that parses numbers into C++ number-types and verifies *en passant* that these numbers are in accordance with RFC8259." + - type: function_reference + name: "lexer::scan_number" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that parses numbers into C++ number-types and verifies *en passant* that these numbers are in accordance with RFC8259." --- The service provided by the nlohmann/json library parses numbers according to RFC8259. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-03.1.md b/TSF/trustable/no-parsing-faults/NPF-03.1.md index 1443a6299e..50d8467ba1 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.1.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-03 - - type: cpp_test - name: "parse;whitespace" - path: "TSF/tests/unit-strings.cpp" - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." + - type: item + items: + - JLEX-02 + - NPF-03 + - type: cpp_test + name: "parse;whitespace" + path: "TSF/tests/unit-strings.cpp" + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-03.2.md b/TSF/trustable/no-parsing-faults/NPF-03.2.md index 01e3f63096..3a4f641c90 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.2.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.2.md @@ -2,26 +2,26 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-03 - - type: cpp_test - name: "parser class - core;parse;string;escaped" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "compliance tests from nativejson-benchmark;strings" - path: "tests/src/unit-testsuites.cpp" - - type: cpp_test - name: "Unicode (1/5);\\\\uxxxx sequences;correct sequences" - path: "tests/src/unit-unicode1.cpp" + - type: item + items: + - JLEX-02 + - NPF-03 + - type: cpp_test + name: "parser class - core;parse;string;escaped" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "compliance tests from nativejson-benchmark;strings" + path: "tests/src/unit-testsuites.cpp" + - type: cpp_test + name: "Unicode (1/5);\\\\uxxxx sequences;correct sequences" + path: "tests/src/unit-unicode1.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - unicode1 + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - unicode1 score: Jonas-Kirchhoff: 0.95 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-03.3.md b/TSF/trustable/no-parsing-faults/NPF-03.3.md index 06680d6a56..29de1184fc 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.3.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-03 - - type: cpp_test - name: "Unicode;escaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-02 + - NPF-03 + - type: cpp_test + name: "Unicode;escaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 1.0 Erikhu1: 0.95 diff --git a/TSF/trustable/no-parsing-faults/NPF-03.4.md b/TSF/trustable/no-parsing-faults/NPF-03.4.md index d7ed5acfe1..066c1417ce 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.4.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.4.md @@ -2,29 +2,29 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-03 - - type: cpp_test - name: "RFC 8259 examples;7. Strings" - path: "tests/src/unit-testsuites.cpp" - - type: JSON_testsuite - name: "Unicode (1/5);read all unicode characters" - path: "tests/src/unit-unicode1.cpp" - test_suite_paths: - - "/json_nlohmann_tests/all_unicode.json" - description: "" - - type: cpp_test - name: "Unicode;unescaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: item + items: + - JLEX-02 + - NPF-03 + - type: cpp_test + name: "RFC 8259 examples;7. Strings" + path: "tests/src/unit-testsuites.cpp" + - type: JSON_testsuite + name: "Unicode (1/5);read all unicode characters" + path: "tests/src/unit-unicode1.cpp" + test_suite_paths: + - "/json_nlohmann_tests/all_unicode.json" + description: "" + - type: cpp_test + name: "Unicode;unescaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - unicode1 - - testsuites - - strings + type: check_test_results + configuration: + tests: + - unicode1 + - testsuites + - strings score: Jonas-Kirchhoff: 0.95 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-03.5.md b/TSF/trustable/no-parsing-faults/NPF-03.5.md index 37c14400bc..bd5bba7827 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.5.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.5.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-03 - - type: cpp_test - name: "compliance tests from nativejson-benchmark;strings" - path: "tests/src/unit-testsuites.cpp" - - type: cpp_test - name: "parser class - core;parse;string;escaped" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - NPF-03 + - type: cpp_test + name: "compliance tests from nativejson-benchmark;strings" + path: "tests/src/unit-testsuites.cpp" + - type: cpp_test + name: "parser class - core;parse;string;escaped" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-03.6.md b/TSF/trustable/no-parsing-faults/NPF-03.6.md index cb2cd1d81b..52bb21a384 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.6.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.6.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-03 - - type: cpp_test - name: "parser class - core;parse;string" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - NPF-03 + - type: cpp_test + name: "parser class - core;parse;string" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-03.7.md b/TSF/trustable/no-parsing-faults/NPF-03.7.md index 6a694ab632..84393b95b5 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.7.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.7.md @@ -2,73 +2,73 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-03 - - type: cpp_test - name: "parser class - core;parse;string;escaped" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "compliance tests from nativejson-benchmark;strings" - path: "tests/src/unit-testsuites.cpp" - - type: cpp_test - name: "RFC 8259 examples;7. Strings" - path: "tests/src/unit-testsuites.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json" - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" - - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" - - "/nst_json_testsuite2/test_parsing/y_string_allowed_escapes.json" - - "/nst_json_testsuite2/test_parsing/y_string_backslash_and_u_escaped_zero.json" - - "/nst_json_testsuite2/test_parsing/y_string_backslash_doublequotes.json" - - "/nst_json_testsuite2/test_parsing/y_string_comments.json" - - "/nst_json_testsuite2/test_parsing/y_string_double_escape_a.json" - - "/nst_json_testsuite2/test_parsing/y_string_double_escape_n.json" - - "/nst_json_testsuite2/test_parsing/y_string_escaped_control_character.json" - - "/nst_json_testsuite2/test_parsing/y_string_escaped_noncharacter.json" - - "/nst_json_testsuite2/test_parsing/y_string_in_array.json" - - "/nst_json_testsuite2/test_parsing/y_string_in_array_with_leading_space.json" - - "/nst_json_testsuite2/test_parsing/y_string_last_surrogates_1_and_2.json" - - "/nst_json_testsuite2/test_parsing/y_string_nbsp_uescaped.json" - - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+10FFFF.json" - - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+FFFF.json" - - "/nst_json_testsuite2/test_parsing/y_string_null_escape.json" - - "/nst_json_testsuite2/test_parsing/y_string_one-byte-utf-8.json" - - "/nst_json_testsuite2/test_parsing/y_string_pi.json" - - "/nst_json_testsuite2/test_parsing/y_string_reservedCharacterInUTF-8_U+1BFFF.json" - - "/nst_json_testsuite2/test_parsing/y_string_simple_ascii.json" - - "/nst_json_testsuite2/test_parsing/y_string_space.json" - - "/nst_json_testsuite2/test_parsing/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json" - - "/nst_json_testsuite2/test_parsing/y_string_three-byte-utf-8.json" - - "/nst_json_testsuite2/test_parsing/y_string_two-byte-utf-8.json" - - "/nst_json_testsuite2/test_parsing/y_string_u+2028_line_sep.json" - - "/nst_json_testsuite2/test_parsing/y_string_u+2029_par_sep.json" - - "/nst_json_testsuite2/test_parsing/y_string_uEscape.json" - - "/nst_json_testsuite2/test_parsing/y_string_uescaped_newline.json" - - "/nst_json_testsuite2/test_parsing/y_string_unescaped_char_delete.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicodeEscapedBackslash.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_2.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+10FFFE_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+1FFFE_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+2064_invisible_plus.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FDD0_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FFFE_nonchar.json" - - "/nst_json_testsuite2/test_parsing/y_string_unicode_escaped_double_quote.json" - - "/nst_json_testsuite2/test_parsing/y_string_utf8.json" - - "/nst_json_testsuite2/test_parsing/y_string_with_del_character.json" - description: "Tests whether several non-empty strings are parsed without throwing an exception." + - type: item + items: + - JLEX-02 + - NPF-03 + - type: cpp_test + name: "parser class - core;parse;string;escaped" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "compliance tests from nativejson-benchmark;strings" + path: "tests/src/unit-testsuites.cpp" + - type: cpp_test + name: "RFC 8259 examples;7. Strings" + path: "tests/src/unit-testsuites.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json" + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pair.json" + - "/nst_json_testsuite2/test_parsing/y_string_accepted_surrogate_pairs.json" + - "/nst_json_testsuite2/test_parsing/y_string_allowed_escapes.json" + - "/nst_json_testsuite2/test_parsing/y_string_backslash_and_u_escaped_zero.json" + - "/nst_json_testsuite2/test_parsing/y_string_backslash_doublequotes.json" + - "/nst_json_testsuite2/test_parsing/y_string_comments.json" + - "/nst_json_testsuite2/test_parsing/y_string_double_escape_a.json" + - "/nst_json_testsuite2/test_parsing/y_string_double_escape_n.json" + - "/nst_json_testsuite2/test_parsing/y_string_escaped_control_character.json" + - "/nst_json_testsuite2/test_parsing/y_string_escaped_noncharacter.json" + - "/nst_json_testsuite2/test_parsing/y_string_in_array.json" + - "/nst_json_testsuite2/test_parsing/y_string_in_array_with_leading_space.json" + - "/nst_json_testsuite2/test_parsing/y_string_last_surrogates_1_and_2.json" + - "/nst_json_testsuite2/test_parsing/y_string_nbsp_uescaped.json" + - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+10FFFF.json" + - "/nst_json_testsuite2/test_parsing/y_string_nonCharacterInUTF-8_U+FFFF.json" + - "/nst_json_testsuite2/test_parsing/y_string_null_escape.json" + - "/nst_json_testsuite2/test_parsing/y_string_one-byte-utf-8.json" + - "/nst_json_testsuite2/test_parsing/y_string_pi.json" + - "/nst_json_testsuite2/test_parsing/y_string_reservedCharacterInUTF-8_U+1BFFF.json" + - "/nst_json_testsuite2/test_parsing/y_string_simple_ascii.json" + - "/nst_json_testsuite2/test_parsing/y_string_space.json" + - "/nst_json_testsuite2/test_parsing/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json" + - "/nst_json_testsuite2/test_parsing/y_string_three-byte-utf-8.json" + - "/nst_json_testsuite2/test_parsing/y_string_two-byte-utf-8.json" + - "/nst_json_testsuite2/test_parsing/y_string_u+2028_line_sep.json" + - "/nst_json_testsuite2/test_parsing/y_string_u+2029_par_sep.json" + - "/nst_json_testsuite2/test_parsing/y_string_uEscape.json" + - "/nst_json_testsuite2/test_parsing/y_string_uescaped_newline.json" + - "/nst_json_testsuite2/test_parsing/y_string_unescaped_char_delete.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicodeEscapedBackslash.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_2.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+10FFFE_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+1FFFE_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+2064_invisible_plus.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FDD0_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_U+FFFE_nonchar.json" + - "/nst_json_testsuite2/test_parsing/y_string_unicode_escaped_double_quote.json" + - "/nst_json_testsuite2/test_parsing/y_string_utf8.json" + - "/nst_json_testsuite2/test_parsing/y_string_with_del_character.json" + description: "Tests whether several non-empty strings are parsed without throwing an exception." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 0.95 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-03.md b/TSF/trustable/no-parsing-faults/NPF-03.md index 0abb89d7e2..c9a8c4d746 100644 --- a/TSF/trustable/no-parsing-faults/NPF-03.md +++ b/TSF/trustable/no-parsing-faults/NPF-03.md @@ -2,10 +2,10 @@ level: 1.1 normative: true references: - - type: function_reference - name: "lexer::scan_string" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that parses strings into C++ std::string and verifies *en passant* that these strings are in accordance with RFC8259." + - type: function_reference + name: "lexer::scan_string" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that parses strings into C++ std::string and verifies *en passant* that these strings are in accordance with RFC8259." --- The service provided by the nlohmann/json library parses strings according to RFC8259. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-04.1.md b/TSF/trustable/no-parsing-faults/NPF-04.1.md index 4c9f11e039..7ba1d5fe8a 100644 --- a/TSF/trustable/no-parsing-faults/NPF-04.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-04.1.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-04 - - type: cpp_test - name: "parse;whitespace" - path: "TSF/tests/unit-literals.cpp" - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." + - type: item + items: + - JLEX-02 + - NPF-04 + - type: cpp_test + name: "parse;whitespace" + path: "TSF/tests/unit-literals.cpp" + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." evidence: - type: check_test_results - configuration: - tests: - - literals + type: check_test_results + configuration: + tests: + - literals score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-04.2.md b/TSF/trustable/no-parsing-faults/NPF-04.2.md index c17f849ff1..7cb25c9a43 100644 --- a/TSF/trustable/no-parsing-faults/NPF-04.2.md +++ b/TSF/trustable/no-parsing-faults/NPF-04.2.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-04 - - type: cpp_test - name: "parser class - core;parse;true" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - NPF-04 + - type: cpp_test + name: "parser class - core;parse;true" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-04.3.md b/TSF/trustable/no-parsing-faults/NPF-04.3.md index 7e6c58b51a..92c605857c 100644 --- a/TSF/trustable/no-parsing-faults/NPF-04.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-04.3.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-04 - - type: cpp_test - name: "parser class - core;parse;false" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - NPF-04 + - type: cpp_test + name: "parser class - core;parse;false" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-04.4.md b/TSF/trustable/no-parsing-faults/NPF-04.4.md index 195832d165..472885640f 100644 --- a/TSF/trustable/no-parsing-faults/NPF-04.4.md +++ b/TSF/trustable/no-parsing-faults/NPF-04.4.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - NPF-04 - - type: cpp_test - name: "parser class - core;parse;null" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - NPF-04 + - type: cpp_test + name: "parser class - core;parse;null" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-04.md b/TSF/trustable/no-parsing-faults/NPF-04.md index db725ef109..30c92e28f9 100644 --- a/TSF/trustable/no-parsing-faults/NPF-04.md +++ b/TSF/trustable/no-parsing-faults/NPF-04.md @@ -2,10 +2,10 @@ level: 1.1 normative: true references: - - type: function_reference - name: lexer::scan_literal - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function to scan a literal candidate, compare it to its expected value and return the corresponding C++ literal." + - type: function_reference + name: lexer::scan_literal + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function to scan a literal candidate, compare it to its expected value and return the corresponding C++ literal." --- The service provided by the nlohmann/json library parses literal names "true", "false" and "null" according to RFC8259. \ No newline at end of file diff --git a/TSF/trustable/no-parsing-faults/NPF-05.1.md b/TSF/trustable/no-parsing-faults/NPF-05.1.md index 3e581e17da..07ca88c8b0 100644 --- a/TSF/trustable/no-parsing-faults/NPF-05.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-05.1.md @@ -2,25 +2,25 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parser class - core;parse;array;empty array" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "parse;whitespace" - path: "TSF/tests/unit-arrays.cpp" - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parser class - core;parse;array;empty array" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parse;whitespace" + path: "TSF/tests/unit-arrays.cpp" + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - arrays + type: check_test_results + configuration: + tests: + - class_parser_core + - arrays score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-05.2.md b/TSF/trustable/no-parsing-faults/NPF-05.2.md index b5de34aeeb..9a32421b57 100644 --- a/TSF/trustable/no-parsing-faults/NPF-05.2.md +++ b/TSF/trustable/no-parsing-faults/NPF-05.2.md @@ -2,24 +2,24 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_array_empty.json" - description: "Tests whether the empty array is parsed without exception." - - type: cpp_test - name: "parser class - core;parse;array;empty array" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_array_empty.json" + description: "Tests whether the empty array is parsed without exception." + - type: cpp_test + name: "parser class - core;parse;array;empty array" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-05.3.md b/TSF/trustable/no-parsing-faults/NPF-05.3.md index b7064c3bd0..0917541f5a 100644 --- a/TSF/trustable/no-parsing-faults/NPF-05.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-05.3.md @@ -2,33 +2,33 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parser class - core;parse;array;nonempty array" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_array_arraysWithSpaces.json" - - "/nst_json_testsuite2/test_parsing/y_array_empty-string.json" - - "/nst_json_testsuite2/test_parsing/y_array_ending_with_newline.json" - - "/nst_json_testsuite2/test_parsing/y_array_false.json" - - "/nst_json_testsuite2/test_parsing/y_array_heterogeneous.json" - - "/nst_json_testsuite2/test_parsing/y_array_null.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_1_and_newline.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_leading_space.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_several_null.json" - - "/nst_json_testsuite2/test_parsing/y_array_with_trailing_space.json" - description: "Tests whether several non-empty arrays are parsed without exception." + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parser class - core;parse;array;nonempty array" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_array_arraysWithSpaces.json" + - "/nst_json_testsuite2/test_parsing/y_array_empty-string.json" + - "/nst_json_testsuite2/test_parsing/y_array_ending_with_newline.json" + - "/nst_json_testsuite2/test_parsing/y_array_false.json" + - "/nst_json_testsuite2/test_parsing/y_array_heterogeneous.json" + - "/nst_json_testsuite2/test_parsing/y_array_null.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_1_and_newline.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_leading_space.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_several_null.json" + - "/nst_json_testsuite2/test_parsing/y_array_with_trailing_space.json" + description: "Tests whether several non-empty arrays are parsed without exception." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites score: Jonas-Kirchhoff: 0.95 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-06.1.md b/TSF/trustable/no-parsing-faults/NPF-06.1.md index f86c206841..dab16ebe31 100644 --- a/TSF/trustable/no-parsing-faults/NPF-06.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-06.1.md @@ -2,25 +2,25 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parser class - core;parse;object;empty object" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "regression tests 1;example from #529" - path: "tests/src/unit-regression1.cpp" - - type: function_reference - name: "lexer::skip_whitespace" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "Function that skips admissible whitespace during reading." + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parser class - core;parse;object;empty object" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "regression tests 1;example from #529" + path: "tests/src/unit-regression1.cpp" + - type: function_reference + name: "lexer::skip_whitespace" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "Function that skips admissible whitespace during reading." evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - regression1 + type: check_test_results + configuration: + tests: + - class_parser_core + - regression1 score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-06.2.md b/TSF/trustable/no-parsing-faults/NPF-06.2.md index bf516d2d99..c44b8a3cf4 100644 --- a/TSF/trustable/no-parsing-faults/NPF-06.2.md +++ b/TSF/trustable/no-parsing-faults/NPF-06.2.md @@ -2,21 +2,21 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;y" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key.json" - - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key_and_value.json" - description: "" + - type: item + items: + - JLEX-02 + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;y" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key.json" + - "/nst_json_testsuite2/test_parsing/y_object_duplicated_key_and_value.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 0.9 Erikhu1: 0.95 diff --git a/TSF/trustable/no-parsing-faults/NPF-06.3.md b/TSF/trustable/no-parsing-faults/NPF-06.3.md index 1ae3fe9285..3f16208bdb 100644 --- a/TSF/trustable/no-parsing-faults/NPF-06.3.md +++ b/TSF/trustable/no-parsing-faults/NPF-06.3.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parser class - core;parse;object;empty object" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parser class - core;parse;object;empty object" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-06.4.md b/TSF/trustable/no-parsing-faults/NPF-06.4.md index bb77de77f6..39dce4fac8 100644 --- a/TSF/trustable/no-parsing-faults/NPF-06.4.md +++ b/TSF/trustable/no-parsing-faults/NPF-06.4.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "parser class - core;parse;object;nonempty object" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "parser class - core;parse;object;nonempty object" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 0.95 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-07.1.md b/TSF/trustable/no-parsing-faults/NPF-07.1.md index e6364f33b5..cf838aa512 100644 --- a/TSF/trustable/no-parsing-faults/NPF-07.1.md +++ b/TSF/trustable/no-parsing-faults/NPF-07.1.md @@ -2,44 +2,44 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-1 (x00-x7F);well-formed" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-2 (xC2-xDF UTF8-tail);well-formed" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);well-formed" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);well-formed" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);well-formed" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);well-formed" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);well-formed" - path: "tests/src/unit-unicode3.cpp" - - type: cpp_test - name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);well-formed" - path: "tests/src/unit-unicode4.cpp" - - type: cpp_test - name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);well-formed" - path: "tests/src/unit-unicode5.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-1 (x00-x7F);well-formed" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-2 (xC2-xDF UTF8-tail);well-formed" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);well-formed" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);well-formed" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);well-formed" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);well-formed" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);well-formed" + path: "tests/src/unit-unicode3.cpp" + - type: cpp_test + name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);well-formed" + path: "tests/src/unit-unicode4.cpp" + - type: cpp_test + name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);well-formed" + path: "tests/src/unit-unicode5.cpp" evidence: - type: check_test_results - configuration: - tests: - - unicode2 - - unicode3 - - unicode4 - - unicode5 + type: check_test_results + configuration: + tests: + - unicode2 + - unicode3 + - unicode4 + - unicode5 score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/no-parsing-faults/NPF-07.2.md b/TSF/trustable/no-parsing-faults/NPF-07.2.md index 737508fbc5..d572826fba 100644 --- a/TSF/trustable/no-parsing-faults/NPF-07.2.md +++ b/TSF/trustable/no-parsing-faults/NPF-07.2.md @@ -2,128 +2,128 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-02 - - type: cpp_test - name: "Unicode (2/5);RFC 3629;ill-formed first byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-2 (xC2-xDF UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-2 (xC2-xDF UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: missing third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: wrong third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: missing third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: wrong third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: missing third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: wrong third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: missing third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: wrong third byte" - path: "tests/src/unit-unicode2.cpp" - - type: cpp_test - name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode3.cpp" - - type: cpp_test - name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: missing third byte" - path: "tests/src/unit-unicode3.cpp" - - type: cpp_test - name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: missing fourth byte" - path: "tests/src/unit-unicode3.cpp" - - type: cpp_test - name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode3.cpp" - - type: cpp_test - name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: wrong third byte" - path: "tests/src/unit-unicode3.cpp" - - type: cpp_test - name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: wrong fourth byte" - path: "tests/src/unit-unicode3.cpp" - - type: cpp_test - name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode4.cpp" - - type: cpp_test - name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: missing third byte" - path: "tests/src/unit-unicode4.cpp" - - type: cpp_test - name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: missing fourth byte" - path: "tests/src/unit-unicode4.cpp" - - type: cpp_test - name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode4.cpp" - - type: cpp_test - name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: wrong third byte" - path: "tests/src/unit-unicode4.cpp" - - type: cpp_test - name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: wrong fourth byte" - path: "tests/src/unit-unicode4.cpp" - - type: cpp_test - name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: missing second byte" - path: "tests/src/unit-unicode5.cpp" - - type: cpp_test - name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: missing third byte" - path: "tests/src/unit-unicode5.cpp" - - type: cpp_test - name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: missing fourth byte" - path: "tests/src/unit-unicode5.cpp" - - type: cpp_test - name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: wrong second byte" - path: "tests/src/unit-unicode5.cpp" - - type: cpp_test - name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: wrong third byte" - path: "tests/src/unit-unicode5.cpp" - - type: cpp_test - name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: wrong fourth byte" - path: "tests/src/unit-unicode5.cpp" + - type: item + items: + - JLEX-02 + - type: cpp_test + name: "Unicode (2/5);RFC 3629;ill-formed first byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-2 (xC2-xDF UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-2 (xC2-xDF UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: missing third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE0 xA0-BF UTF8-tail);ill-formed: wrong third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: missing third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xE1-xEC UTF8-tail UTF8-tail);ill-formed: wrong third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: missing third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xED x80-9F UTF8-tail);ill-formed: wrong third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: missing third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (2/5);RFC 3629;UTF8-3 (xEE-xEF UTF8-tail UTF8-tail);ill-formed: wrong third byte" + path: "tests/src/unit-unicode2.cpp" + - type: cpp_test + name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode3.cpp" + - type: cpp_test + name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: missing third byte" + path: "tests/src/unit-unicode3.cpp" + - type: cpp_test + name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: missing fourth byte" + path: "tests/src/unit-unicode3.cpp" + - type: cpp_test + name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode3.cpp" + - type: cpp_test + name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: wrong third byte" + path: "tests/src/unit-unicode3.cpp" + - type: cpp_test + name: "Unicode (3/5);RFC 3629;UTF8-4 (xF0 x90-BF UTF8-tail UTF8-tail);ill-formed: wrong fourth byte" + path: "tests/src/unit-unicode3.cpp" + - type: cpp_test + name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode4.cpp" + - type: cpp_test + name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: missing third byte" + path: "tests/src/unit-unicode4.cpp" + - type: cpp_test + name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: missing fourth byte" + path: "tests/src/unit-unicode4.cpp" + - type: cpp_test + name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode4.cpp" + - type: cpp_test + name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: wrong third byte" + path: "tests/src/unit-unicode4.cpp" + - type: cpp_test + name: "Unicode (4/5);RFC 3629;UTF8-4 (xF1-F3 UTF8-tail UTF8-tail UTF8-tail);ill-formed: wrong fourth byte" + path: "tests/src/unit-unicode4.cpp" + - type: cpp_test + name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: missing second byte" + path: "tests/src/unit-unicode5.cpp" + - type: cpp_test + name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: missing third byte" + path: "tests/src/unit-unicode5.cpp" + - type: cpp_test + name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: missing fourth byte" + path: "tests/src/unit-unicode5.cpp" + - type: cpp_test + name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: wrong second byte" + path: "tests/src/unit-unicode5.cpp" + - type: cpp_test + name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: wrong third byte" + path: "tests/src/unit-unicode5.cpp" + - type: cpp_test + name: "Unicode (5/5);RFC 3629;UTF8-4 (xF4 x80-8F UTF8-tail UTF8-tail);ill-formed: wrong fourth byte" + path: "tests/src/unit-unicode5.cpp" evidence: - type: check_test_results - configuration: - tests: - - unicode2 - - unicode3 - - unicode4 - - unicode5 + type: check_test_results + configuration: + tests: + - unicode2 + - unicode3 + - unicode4 + - unicode5 score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/parse-json-data/PJD-04.md b/TSF/trustable/parse-json-data/PJD-04.md index 217fccaa39..cc999f645d 100644 --- a/TSF/trustable/parse-json-data/PJD-04.md +++ b/TSF/trustable/parse-json-data/PJD-04.md @@ -2,14 +2,14 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "parser class - core;parse;number;integers" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parser class - core;parse;number;integers" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/statements/JLS-01.md b/TSF/trustable/statements/JLS-01.md index bd8a4e06f2..fcad2267f1 100644 --- a/TSF/trustable/statements/JLS-01.md +++ b/TSF/trustable/statements/JLS-01.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://github.com/nlohmann/json/blob/develop/.github/workflows/ubuntu.yml#L9" - description: "The trigger condition for the CI workflow that executes the test suites." + - type: web_content + url: "https://github.com/nlohmann/json/blob/develop/.github/workflows/ubuntu.yml#L9" + description: "The trigger condition for the CI workflow that executes the test suites." score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/statements/JLS-02.md b/TSF/trustable/statements/JLS-02.md index 373ec506b9..6c3c82efde 100644 --- a/TSF/trustable/statements/JLS-02.md +++ b/TSF/trustable/statements/JLS-02.md @@ -2,24 +2,24 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://introspector.oss-fuzz.com/project-profile?project=json" - description: "Most recent report for fuzzing introspection of nlohmann/json with historical plots." - - type: web_content - url: "https://storage.googleapis.com/oss-fuzz-introspector/json/inspector-report/20250824/fuzz_report.html" - description: "Persistent storage of fuzz-testing report for the nlohmann/json library version 3.12.0 on 24.08.2025." - - type: web_content - url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/.github/workflows/cifuzz.yml" - description: "Configuration file for fuzz-testing pipeline in the original nlohmann/json repository." - - type: web_content - url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Fuzzing' supports this statement." + - type: project_website + url: "https://introspector.oss-fuzz.com/project-profile?project=json" + description: "Most recent report for fuzzing introspection of nlohmann/json with historical plots." + - type: web_content + url: "https://storage.googleapis.com/oss-fuzz-introspector/json/inspector-report/20250824/fuzz_report.html" + description: "Persistent storage of fuzz-testing report for the nlohmann/json library version 3.12.0 on 24.08.2025." + - type: web_content + url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/.github/workflows/cifuzz.yml" + description: "Configuration file for fuzz-testing pipeline in the original nlohmann/json repository." + - type: web_content + url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Fuzzing' supports this statement." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://introspector.oss-fuzz.com/project-profile?project=json" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://introspector.oss-fuzz.com/project-profile?project=json" score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/statements/JLS-04.md b/TSF/trustable/statements/JLS-04.md index e271f5899f..8fe3315cbf 100644 --- a/TSF/trustable/statements/JLS-04.md +++ b/TSF/trustable/statements/JLS-04.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: verbose_file - path: ".github/workflows/dependency-review.yml" - description: "The workflow scans PRs for dependency changes and vulnerabilities." + - type: verbose_file + path: ".github/workflows/dependency-review.yml" + description: "The workflow scans PRs for dependency changes and vulnerabilities." evidence: type: "check_artifact_exists" configuration: diff --git a/TSF/trustable/statements/JLS-05.md b/TSF/trustable/statements/JLS-05.md index b92b301e1a..b9b470bb88 100644 --- a/TSF/trustable/statements/JLS-05.md +++ b/TSF/trustable/statements/JLS-05.md @@ -2,42 +2,42 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/issues" - description: "Contains the collected Github issues for the nlohmann/json library." - - type: project_website - url: "https://github.com/nlohmann/json/graphs/commit-activity" - description: "Presents the commit activity of the past year." - - type: project_website - url: "https://github.com/nlohmann/json/graphs/contributors" - description: "Presents commits over time and per contributor." - - type: project_website - url: "https://github.com/nlohmann/json/forks?include=active&page=1&period=&sort_by=last_updated" - description: "Lists all forks of the nlohmann/json library by last updated." - - type: project_website - url: "https://github.com/nlohmann/json/pulse" - description: "Presents the activity on the nlohmann/json library over the past week." - - type: project_website - url: "https://github.com/orgs/score-json/discussions/27#discussion-8594385" - description: "Comparison between JSON libraries demonstrating the popularity of the nlohmann/json library." - - type: project_website - url: "https://json.nlohmann.me/home/customers/" - description: "Presents a subset of all customers who are using the nlohmann/json library." - - type: web_content - url: "https://github.com/nlohmann/json/releases/tag/v3.12.0" - description: "Release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release." + - type: project_website + url: "https://github.com/nlohmann/json/issues" + description: "Contains the collected Github issues for the nlohmann/json library." + - type: project_website + url: "https://github.com/nlohmann/json/graphs/commit-activity" + description: "Presents the commit activity of the past year." + - type: project_website + url: "https://github.com/nlohmann/json/graphs/contributors" + description: "Presents commits over time and per contributor." + - type: project_website + url: "https://github.com/nlohmann/json/forks?include=active&page=1&period=&sort_by=last_updated" + description: "Lists all forks of the nlohmann/json library by last updated." + - type: project_website + url: "https://github.com/nlohmann/json/pulse" + description: "Presents the activity on the nlohmann/json library over the past week." + - type: project_website + url: "https://github.com/orgs/score-json/discussions/27#discussion-8594385" + description: "Comparison between JSON libraries demonstrating the popularity of the nlohmann/json library." + - type: project_website + url: "https://json.nlohmann.me/home/customers/" + description: "Presents a subset of all customers who are using the nlohmann/json library." + - type: web_content + url: "https://github.com/nlohmann/json/releases/tag/v3.12.0" + description: "Release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://github.com/nlohmann/json/issues" - - "https://github.com/nlohmann/json/graphs/commit-activity" - - "https://github.com/nlohmann/json/graphs/contributors" - - "https://github.com/nlohmann/json/forks?include=active&page=1&period=&sort_by=last_updated" - - "https://github.com/nlohmann/json/pulse" - - "https://github.com/orgs/score-json/discussions/27#discussion-8594385" - - "https://json.nlohmann.me/home/customers/" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://github.com/nlohmann/json/issues" + - "https://github.com/nlohmann/json/graphs/commit-activity" + - "https://github.com/nlohmann/json/graphs/contributors" + - "https://github.com/nlohmann/json/forks?include=active&page=1&period=&sort_by=last_updated" + - "https://github.com/nlohmann/json/pulse" + - "https://github.com/orgs/score-json/discussions/27#discussion-8594385" + - "https://json.nlohmann.me/home/customers/" score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/statements/JLS-06.md b/TSF/trustable/statements/JLS-06.md index 424bbcc5aa..4879377d71 100644 --- a/TSF/trustable/statements/JLS-06.md +++ b/TSF/trustable/statements/JLS-06.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Code-Review' reflects this statement." + - type: web_content + url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Code-Review' reflects this statement." score: Erikhu1: 0.3 --- diff --git a/TSF/trustable/statements/JLS-07.md b/TSF/trustable/statements/JLS-07.md index d5a0442825..0873103281 100644 --- a/TSF/trustable/statements/JLS-07.md +++ b/TSF/trustable/statements/JLS-07.md @@ -2,15 +2,15 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/actions?query=event%3Apush+branch%3Adevelop" - description: "List of all pushes to the develop branch of the nlohmann/json library, showing that all commits are done by @nlohmann and indicating that direct commits are not possible." + - type: project_website + url: "https://github.com/nlohmann/json/actions?query=event%3Apush+branch%3Adevelop" + description: "List of all pushes to the develop branch of the nlohmann/json library, showing that all commits are done by @nlohmann and indicating that direct commits are not possible." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://github.com/nlohmann/json/actions?query=event%3Apush+branch%3Adevelop" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://github.com/nlohmann/json/actions?query=event%3Apush+branch%3Adevelop" score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/statements/JLS-11.md b/TSF/trustable/statements/JLS-11.md index 1bf8b6d700..a0b44f87e7 100644 --- a/TSF/trustable/statements/JLS-11.md +++ b/TSF/trustable/statements/JLS-11.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://github.com/eclipse-score/inc_nlohmann_json/blob/save_historical_data/TSF/misbehaviours.md" - description: "List of outstanding bugs as well as fixes for developed code that are not yet applied." + - type: web_content + url: "https://github.com/eclipse-score/inc_nlohmann_json/blob/save_historical_data/TSF/misbehaviours.md" + description: "List of outstanding bugs as well as fixes for developed code that are not yet applied." evidence: type: check_issues configuration: diff --git a/TSF/trustable/statements/JLS-12.md b/TSF/trustable/statements/JLS-12.md index 5726e3f260..742e982646 100644 --- a/TSF/trustable/statements/JLS-12.md +++ b/TSF/trustable/statements/JLS-12.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://github.com/nlohmann/json/community" - description: "List of defined community standards for the nlohmann/json repository." + - type: web_content + url: "https://github.com/nlohmann/json/community" + description: "List of defined community standards for the nlohmann/json repository." score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/statements/JLS-13.md b/TSF/trustable/statements/JLS-13.md index 4e62419630..a81992a34e 100644 --- a/TSF/trustable/statements/JLS-13.md +++ b/TSF/trustable/statements/JLS-13.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://json.nlohmann.me/community/contribution_guidelines/#update-the-documentation" - description: "Contribution guidelines describing how to update and locally build the MkDocs-based documentation." - - type: project_website - url: "https://github.com/nlohmann/json/releases" - description: "Release notes summarising behavioural changes and documentation updates for each version." - - type: web_content - url: "https://json.nlohmann.me" - description: "Published documentation site for the nlohmann/json library." + - type: project_website + url: "https://json.nlohmann.me/community/contribution_guidelines/#update-the-documentation" + description: "Contribution guidelines describing how to update and locally build the MkDocs-based documentation." + - type: project_website + url: "https://github.com/nlohmann/json/releases" + description: "Release notes summarising behavioural changes and documentation updates for each version." + - type: web_content + url: "https://json.nlohmann.me" + description: "Published documentation site for the nlohmann/json library." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://json.nlohmann.me/community/contribution_guidelines/#update-the-documentation" - - "https://github.com/nlohmann/json/releases" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://json.nlohmann.me/community/contribution_guidelines/#update-the-documentation" + - "https://github.com/nlohmann/json/releases" --- For changes that affect the behaviour or public API of the nlohmann/json library, contributors manually update the library documentation and locally rebuild it for verification. diff --git a/TSF/trustable/statements/JLS-19.md b/TSF/trustable/statements/JLS-19.md index 810346c336..8d9603462d 100644 --- a/TSF/trustable/statements/JLS-19.md +++ b/TSF/trustable/statements/JLS-19.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/CMakeLists.txt" - description: "CMake build manifest file of the nlohmann/json library." - - type: web_content - url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/BUILD.bazel" - description: "Bazel build manifest file of the nlohmann/json library." - - type: web_content - url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/meson.build" - description: "Meson build manifest file of the nlohmann/json library." - - type: web_content - url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/Package.swift" - description: "Swift Package Manager manifest file of the nlohmann/json library." + - type: web_content + url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/CMakeLists.txt" + description: "CMake build manifest file of the nlohmann/json library." + - type: web_content + url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/BUILD.bazel" + description: "Bazel build manifest file of the nlohmann/json library." + - type: web_content + url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/meson.build" + description: "Meson build manifest file of the nlohmann/json library." + - type: web_content + url: "https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/Package.swift" + description: "Swift Package Manager manifest file of the nlohmann/json library." score: Erikhu1: 1.0 --- diff --git a/TSF/trustable/statements/JLS-23.md b/TSF/trustable/statements/JLS-23.md index ba70a1e41a..6676da0e42 100644 --- a/TSF/trustable/statements/JLS-23.md +++ b/TSF/trustable/statements/JLS-23.md @@ -2,19 +2,19 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json" - description: "Start page of the original nlohmann/json project." - - type: project_website - url: "https://github.com/eclipse-score/inc_nlohmann_json" - description: "Start page of the mirror of nlohmann/json within Eclipse S-CORE." + - type: project_website + url: "https://github.com/nlohmann/json" + description: "Start page of the original nlohmann/json project." + - type: project_website + url: "https://github.com/eclipse-score/inc_nlohmann_json" + description: "Start page of the mirror of nlohmann/json within Eclipse S-CORE." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://github.com/nlohmann/json" - - "https://github.com/eclipse-score/inc_nlohmann_json" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://github.com/nlohmann/json" + - "https://github.com/eclipse-score/inc_nlohmann_json" score: mishu-dev: 1.0 --- diff --git a/TSF/trustable/statements/JLS-25.md b/TSF/trustable/statements/JLS-25.md index 7d8092d000..52255ab20c 100644 --- a/TSF/trustable/statements/JLS-25.md +++ b/TSF/trustable/statements/JLS-25.md @@ -2,12 +2,12 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard report for the nlohmann/json library, where the scores for 'Security-Policy' and 'Code-Review' reflect this statement." - - type: project_website - url: "https://github.com/nlohmann/json?tab=contributing-ov-file#readme" - description: "Contribution Guidelines for the nlohmann/json library, which indicate that all changes are reviewed." + - type: web_content + url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" + description: "OpenSSF Scorecard report for the nlohmann/json library, where the scores for 'Security-Policy' and 'Code-Review' reflect this statement." + - type: project_website + url: "https://github.com/nlohmann/json?tab=contributing-ov-file#readme" + description: "Contribution Guidelines for the nlohmann/json library, which indicate that all changes are reviewed." score: Erikhu1: 0.8 --- diff --git a/TSF/trustable/statements/JLS-28.md b/TSF/trustable/statements/JLS-28.md index cb40de57a1..63ccca865f 100644 --- a/TSF/trustable/statements/JLS-28.md +++ b/TSF/trustable/statements/JLS-28.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/discussions/4967" - description: "Discussion in the nlohmann/json repository showing that no triage processes for bugs are currently in place." + - type: project_website + url: "https://github.com/nlohmann/json/discussions/4967" + description: "Discussion in the nlohmann/json repository showing that no triage processes for bugs are currently in place." score: Erikhu1: 0.0 --- diff --git a/TSF/trustable/statements/JLS-29.md b/TSF/trustable/statements/JLS-29.md index 43814a87df..b3bd8afc03 100644 --- a/TSF/trustable/statements/JLS-29.md +++ b/TSF/trustable/statements/JLS-29.md @@ -2,12 +2,12 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://github.com/nlohmann/json/releases/tag/v3.12.0" - description: "Release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release." - - type: web_content - url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard report for the nlohmann/json library, where the scores for 'Vulnerabilities', 'Pinned-Dependencies' and 'Dangerous-Workflow' support this statement." + - type: web_content + url: "https://github.com/nlohmann/json/releases/tag/v3.12.0" + description: "Release notes for v3.12.0, listing bugs, CVEs and warnings which were either fixed or mitigated since last release." + - type: web_content + url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" + description: "OpenSSF Scorecard report for the nlohmann/json library, where the scores for 'Vulnerabilities', 'Pinned-Dependencies' and 'Dangerous-Workflow' support this statement." score: Erikhu1: 0.7 --- diff --git a/TSF/trustable/statements/JLS-30.md b/TSF/trustable/statements/JLS-30.md index c5ba6b795b..87994902db 100644 --- a/TSF/trustable/statements/JLS-30.md +++ b/TSF/trustable/statements/JLS-30.md @@ -2,12 +2,12 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Vulnerabilities' shows that there are no outstanding CVEs." - - type: web_content - url: "https://github.com/nlohmann/json/discussions/4975" - description: "Screenshot of dismissed code-scanning alerts, which can also be dismissed in S-CORE." + - type: web_content + url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'Vulnerabilities' shows that there are no outstanding CVEs." + - type: web_content + url: "https://github.com/nlohmann/json/discussions/4975" + description: "Screenshot of dismissed code-scanning alerts, which can also be dismissed in S-CORE." score: Erikhu1: 0.5 diff --git a/TSF/trustable/statements/JLS-31.md b/TSF/trustable/statements/JLS-31.md index c74f0069de..58b01e8d72 100644 --- a/TSF/trustable/statements/JLS-31.md +++ b/TSF/trustable/statements/JLS-31.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'SAST' supports this statement." + - type: web_content + url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" + description: "OpenSSF Scorecard report for the nlohmann/json library, where the score for 'SAST' supports this statement." score: Erikhu1: 0.9 --- diff --git a/TSF/trustable/statements/JLS-32.md b/TSF/trustable/statements/JLS-32.md index 1b86df90f4..ed10db8771 100644 --- a/TSF/trustable/statements/JLS-32.md +++ b/TSF/trustable/statements/JLS-32.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" - description: "CODEOWNERS file specifying that changes to any file request @nlohmann for code review in case of a pull request." + - type: project_website + url: "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" + description: "CODEOWNERS file specifying that changes to any file request @nlohmann for code review in case of a pull request." score: Erikhu1: 1.0 --- diff --git a/TSF/trustable/statements/JLS-33.md b/TSF/trustable/statements/JLS-33.md index b32ca57b1e..ae4a9dbd9a 100644 --- a/TSF/trustable/statements/JLS-33.md +++ b/TSF/trustable/statements/JLS-33.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/security/advisories/new" - description: "The vulnerability reporting template used in the nlohmann/json library, which includes a severity section and CVSS scoring." + - type: project_website + url: "https://github.com/nlohmann/json/security/advisories/new" + description: "The vulnerability reporting template used in the nlohmann/json library, which includes a severity section and CVSS scoring." score: Erikhu1: 1.0 --- diff --git a/TSF/trustable/statements/JLS-35.md b/TSF/trustable/statements/JLS-35.md index 9a035eff03..c762ac0a6d 100644 --- a/TSF/trustable/statements/JLS-35.md +++ b/TSF/trustable/statements/JLS-35.md @@ -2,12 +2,12 @@ level: 1.1 normative: true references: - - type: web_content - url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" - description: "OpenSSF Scorecard Report for the nlohmann/json library, where the score for 'CI-Tests' supports this statement." - - type: web_content - url: "https://github.com/nlohmann/json/pulls?q=is%3Apr+is%3Aclosed+review%3Aapproved" - description: "All approved pull requests in the nlohmann/json repository, along with the results of the CI pipeline executions." + - type: web_content + url: "https://scorecard.dev/viewer/?uri=github.com%2Fnlohmann%2Fjson" + description: "OpenSSF Scorecard Report for the nlohmann/json library, where the score for 'CI-Tests' supports this statement." + - type: web_content + url: "https://github.com/nlohmann/json/pulls?q=is%3Apr+is%3Aclosed+review%3Aapproved" + description: "All approved pull requests in the nlohmann/json repository, along with the results of the CI pipeline executions." score: Erikhu1: 0.9 --- diff --git a/TSF/trustable/statements/JLS-37.md b/TSF/trustable/statements/JLS-37.md index d60c19f9b4..5d4f9d7c51 100644 --- a/TSF/trustable/statements/JLS-37.md +++ b/TSF/trustable/statements/JLS-37.md @@ -2,19 +2,19 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_report_for_Software.html#compliance-for-ta" - description: "Trustable Compliance Report showing scores for different TA items." - - type: project_website - url: "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_graph.html" - description: "Presentation of the full trustable graph in which high-level statements are broken down." + - type: project_website + url: "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_report_for_Software.html#compliance-for-ta" + description: "Trustable Compliance Report showing scores for different TA items." + - type: project_website + url: "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_graph.html" + description: "Presentation of the full trustable graph in which high-level statements are broken down." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_report_for_Software.html#compliance-for-ta" - - "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_graph.html" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_report_for_Software.html#compliance-for-ta" + - "https://eclipse-score.github.io/inc_nlohmann_json/main/generated/trustable_graph.html" --- High-level statements are decomposed into smaller, recursive statements. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-40.md b/TSF/trustable/statements/JLS-40.md index 474657fafb..26fe22176f 100644 --- a/TSF/trustable/statements/JLS-40.md +++ b/TSF/trustable/statements/JLS-40.md @@ -2,19 +2,19 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/security/policy" - description: "Security policy describing how to report vulnerabilities for the nlohmann/json library." - - type: project_website - url: "https://github.com/nlohmann/json/security/advisories/new" - description: "Well-defined process for issuing a vulnerability or bug report for the nlohmann/json library." + - type: project_website + url: "https://github.com/nlohmann/json/security/policy" + description: "Security policy describing how to report vulnerabilities for the nlohmann/json library." + - type: project_website + url: "https://github.com/nlohmann/json/security/advisories/new" + description: "Well-defined process for issuing a vulnerability or bug report for the nlohmann/json library." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://github.com/nlohmann/json/security/advisories/new" - - "https://github.com/nlohmann/json/security/policy" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://github.com/nlohmann/json/security/advisories/new" + - "https://github.com/nlohmann/json/security/policy" --- The manual process for reporting vulnerabilities in the nlohmann/json library is well defined and documented in the project's security policy and vulnerability reporting template. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-41.md b/TSF/trustable/statements/JLS-41.md index 33529da33c..1bb810e89b 100644 --- a/TSF/trustable/statements/JLS-41.md +++ b/TSF/trustable/statements/JLS-41.md @@ -2,9 +2,9 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://json.nlohmann.me/community/contribution_guidelines/#write-tests" - description: "Contribution guidelines describing the test policy and requirements to maintain 100% coverage." + - type: project_website + url: "https://json.nlohmann.me/community/contribution_guidelines/#write-tests" + description: "Contribution guidelines describing the test policy and requirements to maintain 100% coverage." --- The manual process for extending the nlohmann/json library's test suite is well-defined and documented, such that code coverage remains at (or close to) 100% when fixes or other non-trivial changes are proposed. diff --git a/TSF/trustable/statements/JLS-42.md b/TSF/trustable/statements/JLS-42.md index aa8f2958f6..a3c5c58f23 100644 --- a/TSF/trustable/statements/JLS-42.md +++ b/TSF/trustable/statements/JLS-42.md @@ -2,22 +2,22 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#describe-your-changes" - description: "Contribution guidelines requiring manual pull requests to describe the rationale behind non-trivial changes." - - type: project_website - url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reference-an-existing-issue" - description: "Contribution guidelines requiring manual pull requests to link to an existing issue." - - type: project_website - url: "https://github.com/nlohmann/json/pulls" - description: "GitHub pull requests showing review discussions, approvals, and merge/close statuses." + - type: project_website + url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#describe-your-changes" + description: "Contribution guidelines requiring manual pull requests to describe the rationale behind non-trivial changes." + - type: project_website + url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reference-an-existing-issue" + description: "Contribution guidelines requiring manual pull requests to link to an existing issue." + - type: project_website + url: "https://github.com/nlohmann/json/pulls" + description: "GitHub pull requests showing review discussions, approvals, and merge/close statuses." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md" - - "https://github.com/nlohmann/json/pulls" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md" + - "https://github.com/nlohmann/json/pulls" --- All manual pull requests to the nlohmann/json repository that introduce non-trivial changes are expected to explain the rationale for the proposed change and to link to an existing issue, in accordance with the project's contribution guidelines. diff --git a/TSF/trustable/statements/JLS-43.md b/TSF/trustable/statements/JLS-43.md index e69172acf3..ea771c2745 100644 --- a/TSF/trustable/statements/JLS-43.md +++ b/TSF/trustable/statements/JLS-43.md @@ -2,19 +2,19 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/discussions/categories/ideas" - description: "Feature request discussions showing that feature requests are actively investigated and answered." - - type: project_website - url: "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" - description: "Definition of responsible owners and reviewers for the nlohmann/json repository." + - type: project_website + url: "https://github.com/nlohmann/json/discussions/categories/ideas" + description: "Feature request discussions showing that feature requests are actively investigated and answered." + - type: project_website + url: "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" + description: "Definition of responsible owners and reviewers for the nlohmann/json repository." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://github.com/nlohmann/json/discussions/categories/ideas" - - "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://github.com/nlohmann/json/discussions/categories/ideas" + - "https://github.com/nlohmann/json/blob/develop/.github/CODEOWNERS" --- Feature requests for the nlohmann/json repository are raised in the project's GitHub discussions and are actively reviewed and answered by the maintainer. \ No newline at end of file diff --git a/TSF/trustable/statements/JLS-44.md b/TSF/trustable/statements/JLS-44.md index 21d9c307c8..9f2137b3e3 100644 --- a/TSF/trustable/statements/JLS-44.md +++ b/TSF/trustable/statements/JLS-44.md @@ -2,19 +2,19 @@ level: 1.1 normative: true references: - - type: project_website - url: "https://github.com/nlohmann/json/blob/develop/.github/ISSUE_TEMPLATE/bug.yaml" - description: "Bug report issue template for the nlohmann/json library." - - type: project_website - url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reporting-issues" - description: "Contribution guidelines describing how to report bugs and issues for the nlohmann/json library." + - type: project_website + url: "https://github.com/nlohmann/json/blob/develop/.github/ISSUE_TEMPLATE/bug.yaml" + description: "Bug report issue template for the nlohmann/json library." + - type: project_website + url: "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reporting-issues" + description: "Contribution guidelines describing how to report bugs and issues for the nlohmann/json library." evidence: - type: https_response_time - configuration: - target_seconds: 2 - urls: - - "https://github.com/nlohmann/json/blob/develop/.github/ISSUE_TEMPLATE/bug.yaml" - - "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reporting-issues" + type: https_response_time + configuration: + target_seconds: 2 + urls: + - "https://github.com/nlohmann/json/blob/develop/.github/ISSUE_TEMPLATE/bug.yaml" + - "https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#reporting-issues" --- The manual process for reporting bugs in the nlohmann/json library is well defined and documented in the project's contribution guidelines and bug report template. \ No newline at end of file diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-01.1.md b/TSF/trustable/throw-ill-formed-json/TIJ-01.1.md index 900ad9c693..9ad43cd996 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-01.1.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-01.1.md @@ -2,14 +2,14 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "parse;capitalisation" - path: "TSF/tests/unit-literals.cpp" + - type: cpp_test + name: "parse;capitalisation" + path: "TSF/tests/unit-literals.cpp" evidence: - type: check_test_results - configuration: - tests: - - literals + type: check_test_results + configuration: + tests: + - literals score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-01.2.md b/TSF/trustable/throw-ill-formed-json/TIJ-01.2.md index 889921c82d..0255943cdd 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-01.2.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-01.2.md @@ -2,33 +2,33 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite;test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite/test_parsing/n_incomplete_false.json" - - "/nst_json_testsuite/test_parsing/n_incomplete_null.json" - - "/nst_json_testsuite/test_parsing/n_incomplete_true.json" - - "/nst_json_testsuite/test_parsing/n_structure_number_with_trailing_garbage.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_incomplete_false.json" - - "/nst_json_testsuite2/test_parsing/n_incomplete_null.json" - - "/nst_json_testsuite2/test_parsing/n_incomplete_true.json" - - "/nst_json_testsuite2/test_parsing/n_structure_capitalized_True.json" - description: "" - - type: cpp_test - name: "parse;illegal literals" - path: "TSF/tests/unit-literals.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite;test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite/test_parsing/n_incomplete_false.json" + - "/nst_json_testsuite/test_parsing/n_incomplete_null.json" + - "/nst_json_testsuite/test_parsing/n_incomplete_true.json" + - "/nst_json_testsuite/test_parsing/n_structure_number_with_trailing_garbage.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_incomplete_false.json" + - "/nst_json_testsuite2/test_parsing/n_incomplete_null.json" + - "/nst_json_testsuite2/test_parsing/n_incomplete_true.json" + - "/nst_json_testsuite2/test_parsing/n_structure_capitalized_True.json" + description: "" + - type: cpp_test + name: "parse;illegal literals" + path: "TSF/tests/unit-literals.cpp" evidence: - type: check_test_results - configuration: - tests: - - literals - - testsuites + type: check_test_results + configuration: + tests: + - literals + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-02.1.md b/TSF/trustable/throw-ill-formed-json/TIJ-02.1.md index 9c7dc9275b..838880d6ce 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-02.1.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-02.1.md @@ -2,14 +2,14 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "parser class - core;parse;number;invalid numbers" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parser class - core;parse;number;invalid numbers" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-02.2.md b/TSF/trustable/throw-ill-formed-json/TIJ-02.2.md index 28ca5afa15..bc7d81ffe3 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-02.2.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-02.2.md @@ -2,26 +2,26 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_number_-01.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" - description: "Checks that -01 is rejected." - - type: cpp_test - name: "parser class - core;parse;number;invalid numbers" - path: "TSF/tests/unit-class_parser_core.cpp" - - type: cpp_test - name: "parse;leading zeroes" - path: "TSF/tests/unit-numbers.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_number_-01.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" + description: "Checks that -01 is rejected." + - type: cpp_test + name: "parser class - core;parse;number;invalid numbers" + path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parse;leading zeroes" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core - - testsuites - - numbers + type: check_test_results + configuration: + tests: + - class_parser_core + - testsuites + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-02.3.md b/TSF/trustable/throw-ill-formed-json/TIJ-02.3.md index 2fab94820b..2e21c19a60 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-02.3.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-02.3.md @@ -2,25 +2,25 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" - description: "Checks that NaN and Inf are rejected." - - type: cpp_test - name: "parse;illegal literal numbers" - path: "TSF/tests/unit-literals.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" + description: "Checks that NaN and Inf are rejected." + - type: cpp_test + name: "parse;illegal literal numbers" + path: "TSF/tests/unit-literals.cpp" evidence: - type: check_test_results - configuration: - tests: - - literals - - testsuites + type: check_test_results + configuration: + tests: + - literals + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-02.4.md b/TSF/trustable/throw-ill-formed-json/TIJ-02.4.md index 0b547a0670..bfba8acf25 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-02.4.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-02.4.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "parse;exponents;U+0425" - path: "TSF/tests/unit-numbers.cpp" - - type: cpp_test - name: "parse;exponents;U+0436" - path: "TSF/tests/unit-numbers.cpp" + - type: cpp_test + name: "parse;exponents;U+0425" + path: "TSF/tests/unit-numbers.cpp" + - type: cpp_test + name: "parse;exponents;U+0436" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - numbers + type: check_test_results + configuration: + tests: + - numbers score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-02.5.md b/TSF/trustable/throw-ill-formed-json/TIJ-02.5.md index 1b2f95e991..655f5cfc5a 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-02.5.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-02.5.md @@ -2,74 +2,74 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_number_++.json" - - "/nst_json_testsuite2/test_parsing/n_number_+1.json" - - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_-01.json" - - "/nst_json_testsuite2/test_parsing/n_number_-1.0..json" - - "/nst_json_testsuite2/test_parsing/n_number_-2..json" - - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_.-1.json" - - "/nst_json_testsuite2/test_parsing/n_number_.2e-3.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.1.2.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.3e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.3e.json" - - "/nst_json_testsuite2/test_parsing/n_number_0.e1.json" - - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E+.json" - - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E.json" - - "/nst_json_testsuite2/test_parsing/n_number_0e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_0e.json" - - "/nst_json_testsuite2/test_parsing/n_number_1.0e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_1.0e-.json" - - "/nst_json_testsuite2/test_parsing/n_number_1.0e.json" - - "/nst_json_testsuite2/test_parsing/n_number_1_000.json" - - "/nst_json_testsuite2/test_parsing/n_number_1eE2.json" - - "/nst_json_testsuite2/test_parsing/n_number_2.e+3.json" - - "/nst_json_testsuite2/test_parsing/n_number_2.e-3.json" - - "/nst_json_testsuite2/test_parsing/n_number_2.e3.json" - - "/nst_json_testsuite2/test_parsing/n_number_9.e+.json" - - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" - - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" - - "/nst_json_testsuite2/test_parsing/n_number_U+FF11_fullwidth_digit_one.json" - - "/nst_json_testsuite2/test_parsing/n_number_expression.json" - - "/nst_json_testsuite2/test_parsing/n_number_hex_1_digit.json" - - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" - - "/nst_json_testsuite2/test_parsing/n_number_infinity.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid+-.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-negative-real.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-bigger-int.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-exponent.json" - - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-int.json" - - "/nst_json_testsuite2/test_parsing/n_number_minus_infinity.json" - - "/nst_json_testsuite2/test_parsing/n_number_minus_sign_with_trailing_garbage.json" - - "/nst_json_testsuite2/test_parsing/n_number_minus_space_1.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_real_without_int_part.json" - - "/nst_json_testsuite2/test_parsing/n_number_neg_with_garbage_at_end.json" - - "/nst_json_testsuite2/test_parsing/n_number_real_garbage_after_e.json" - - "/nst_json_testsuite2/test_parsing/n_number_real_with_invalid_utf8_after_e.json" - - "/nst_json_testsuite2/test_parsing/n_number_real_without_fractional_part.json" - - "/nst_json_testsuite2/test_parsing/n_number_starting_with_dot.json" - - "/nst_json_testsuite2/test_parsing/n_number_with_alpha.json" - - "/nst_json_testsuite2/test_parsing/n_number_with_alpha_char.json" - - "/nst_json_testsuite2/test_parsing/n_number_with_leading_zero.json" - description: "Tests whether various numbers with invalid syntax according to RFC8259 throw an exception." - - type: cpp_test - name: "parse;operators" - path: "TSF/tests/unit-numbers.cpp" - - type: cpp_test - name: "parse;invalid whitespace" - path: "TSF/tests/unit-numbers.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_number_++.json" + - "/nst_json_testsuite2/test_parsing/n_number_+1.json" + - "/nst_json_testsuite2/test_parsing/n_number_+Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_-01.json" + - "/nst_json_testsuite2/test_parsing/n_number_-1.0..json" + - "/nst_json_testsuite2/test_parsing/n_number_-2..json" + - "/nst_json_testsuite2/test_parsing/n_number_-NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_.-1.json" + - "/nst_json_testsuite2/test_parsing/n_number_.2e-3.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.1.2.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.3e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.3e.json" + - "/nst_json_testsuite2/test_parsing/n_number_0.e1.json" + - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E+.json" + - "/nst_json_testsuite2/test_parsing/n_number_0_capital_E.json" + - "/nst_json_testsuite2/test_parsing/n_number_0e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_0e.json" + - "/nst_json_testsuite2/test_parsing/n_number_1.0e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_1.0e-.json" + - "/nst_json_testsuite2/test_parsing/n_number_1.0e.json" + - "/nst_json_testsuite2/test_parsing/n_number_1_000.json" + - "/nst_json_testsuite2/test_parsing/n_number_1eE2.json" + - "/nst_json_testsuite2/test_parsing/n_number_2.e+3.json" + - "/nst_json_testsuite2/test_parsing/n_number_2.e-3.json" + - "/nst_json_testsuite2/test_parsing/n_number_2.e3.json" + - "/nst_json_testsuite2/test_parsing/n_number_9.e+.json" + - "/nst_json_testsuite2/test_parsing/n_number_Inf.json" + - "/nst_json_testsuite2/test_parsing/n_number_NaN.json" + - "/nst_json_testsuite2/test_parsing/n_number_U+FF11_fullwidth_digit_one.json" + - "/nst_json_testsuite2/test_parsing/n_number_expression.json" + - "/nst_json_testsuite2/test_parsing/n_number_hex_1_digit.json" + - "/nst_json_testsuite2/test_parsing/n_number_hex_2_digits.json" + - "/nst_json_testsuite2/test_parsing/n_number_infinity.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid+-.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-negative-real.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-bigger-int.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-exponent.json" + - "/nst_json_testsuite2/test_parsing/n_number_invalid-utf-8-in-int.json" + - "/nst_json_testsuite2/test_parsing/n_number_minus_infinity.json" + - "/nst_json_testsuite2/test_parsing/n_number_minus_sign_with_trailing_garbage.json" + - "/nst_json_testsuite2/test_parsing/n_number_minus_space_1.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_int_starting_with_zero.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_real_without_int_part.json" + - "/nst_json_testsuite2/test_parsing/n_number_neg_with_garbage_at_end.json" + - "/nst_json_testsuite2/test_parsing/n_number_real_garbage_after_e.json" + - "/nst_json_testsuite2/test_parsing/n_number_real_with_invalid_utf8_after_e.json" + - "/nst_json_testsuite2/test_parsing/n_number_real_without_fractional_part.json" + - "/nst_json_testsuite2/test_parsing/n_number_starting_with_dot.json" + - "/nst_json_testsuite2/test_parsing/n_number_with_alpha.json" + - "/nst_json_testsuite2/test_parsing/n_number_with_alpha_char.json" + - "/nst_json_testsuite2/test_parsing/n_number_with_leading_zero.json" + description: "Tests whether various numbers with invalid syntax according to RFC8259 throw an exception." + - type: cpp_test + name: "parse;operators" + path: "TSF/tests/unit-numbers.cpp" + - type: cpp_test + name: "parse;invalid whitespace" + path: "TSF/tests/unit-numbers.cpp" evidence: - type: check_test_results - configuration: - tests: - - numbers - - testsuites + type: check_test_results + configuration: + tests: + - numbers + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-03.1.md b/TSF/trustable/throw-ill-formed-json/TIJ-03.1.md index a95f8ce68c..23a8467528 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-03.1.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-03.1.md @@ -2,14 +2,14 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "parser class - core;parse;string;errors" - path: "TSF/tests/unit-class_parser_core.cpp" + - type: cpp_test + name: "parser class - core;parse;string;errors" + path: "TSF/tests/unit-class_parser_core.cpp" evidence: - type: check_test_results - configuration: - tests: - - class_parser_core + type: check_test_results + configuration: + tests: + - class_parser_core score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-03.2.md b/TSF/trustable/throw-ill-formed-json/TIJ-03.2.md index e6dd3a8ec0..42ecd3d3ce 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-03.2.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-03.2.md @@ -2,14 +2,14 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "Unicode;unescaped unicode" - path: "TSF/tests/unit-strings.cpp" + - type: cpp_test + name: "Unicode;unescaped unicode" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - strings + type: check_test_results + configuration: + tests: + - strings score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-03.3.md b/TSF/trustable/throw-ill-formed-json/TIJ-03.3.md index a51f9a9abc..a559ee311e 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-03.3.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-03.3.md @@ -2,24 +2,24 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "deserialization;contiguous containers;error cases" - path: "tests/src/unit-deserialization.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_string_no_quotes_with_bad_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_single_doublequote.json" - - "/nst_json_testsuite2/test_parsing/n_string_single_quote.json" - - "/nst_json_testsuite2/test_parsing/n_string_single_string_no_double_quotes.json" - description: "Tests whether several improperly bounded strings throw an exception." + - type: cpp_test + name: "deserialization;contiguous containers;error cases" + path: "tests/src/unit-deserialization.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_string_no_quotes_with_bad_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_single_doublequote.json" + - "/nst_json_testsuite2/test_parsing/n_string_single_quote.json" + - "/nst_json_testsuite2/test_parsing/n_string_single_string_no_double_quotes.json" + description: "Tests whether several improperly bounded strings throw an exception." evidence: - type: check_test_results - configuration: - tests: - - deserialization - - testsuites + type: check_test_results + configuration: + tests: + - deserialization + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-03.4.md b/TSF/trustable/throw-ill-formed-json/TIJ-03.4.md index 5be74cacf8..3578ce7211 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-03.4.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-03.4.md @@ -2,34 +2,34 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u.json" - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1.json" - - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1x.json" - - "/nst_json_testsuite2/test_parsing/n_string_accentuated_char_no_quotes.json" - - "/nst_json_testsuite2/test_parsing/n_string_backslash_00.json" - - "/nst_json_testsuite2/test_parsing/n_string_escape_x.json" - - "/nst_json_testsuite2/test_parsing/n_string_escaped_backslash_bad.json" - - "/nst_json_testsuite2/test_parsing/n_string_escaped_ctrl_char_tab.json" - - "/nst_json_testsuite2/test_parsing/n_string_escaped_emoji.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escaped_character.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate.json" - - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate_escape_invalid.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid-utf-8-in-escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid_backslash_esc.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid_unicode_escape.json" - - "/nst_json_testsuite2/test_parsing/n_string_invalid_utf8_after_escape.json" - description: "Tests whether various illegal control characters and utf-8 characters throw an exception." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u.json" + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1.json" + - "/nst_json_testsuite2/test_parsing/n_string_1_surrogate_then_escape_u1x.json" + - "/nst_json_testsuite2/test_parsing/n_string_accentuated_char_no_quotes.json" + - "/nst_json_testsuite2/test_parsing/n_string_backslash_00.json" + - "/nst_json_testsuite2/test_parsing/n_string_escape_x.json" + - "/nst_json_testsuite2/test_parsing/n_string_escaped_backslash_bad.json" + - "/nst_json_testsuite2/test_parsing/n_string_escaped_ctrl_char_tab.json" + - "/nst_json_testsuite2/test_parsing/n_string_escaped_emoji.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_escaped_character.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate.json" + - "/nst_json_testsuite2/test_parsing/n_string_incomplete_surrogate_escape_invalid.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid-utf-8-in-escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid_backslash_esc.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid_unicode_escape.json" + - "/nst_json_testsuite2/test_parsing/n_string_invalid_utf8_after_escape.json" + description: "Tests whether various illegal control characters and utf-8 characters throw an exception." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-03.5.md b/TSF/trustable/throw-ill-formed-json/TIJ-03.5.md index 37c4210eb3..5af9d08c93 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-03.5.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-03.5.md @@ -2,18 +2,18 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "Unicode (1/5);\\\\uxxxx sequences;incorrect sequences;incorrect surrogate values" - path: "tests/src/unit-unicode1.cpp" - - type: cpp_test - name: "Unicode;escaped utf-16 surrogates;ill-formed" - path: "TSF/tests/unit-strings.cpp" + - type: cpp_test + name: "Unicode (1/5);\\\\uxxxx sequences;incorrect sequences;incorrect surrogate values" + path: "tests/src/unit-unicode1.cpp" + - type: cpp_test + name: "Unicode;escaped utf-16 surrogates;ill-formed" + path: "TSF/tests/unit-strings.cpp" evidence: - type: check_test_results - configuration: - tests: - - unicode1 - - strings + type: check_test_results + configuration: + tests: + - unicode1 + - strings score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-04.1.md b/TSF/trustable/throw-ill-formed-json/TIJ-04.1.md index 132cb4dbe0..54c88a008a 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-04.1.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-04.1.md @@ -2,39 +2,39 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n (previously overflowed)" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_100000_opening_arrays.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_close_unopened_array.json" - description: "" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_double_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_end_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_lone-invalid-utf-8.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_array_apostrophe.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_array_comma.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_array_open_object.json" - - "/nst_json_testsuite2/test_parsing/n_structure_open_object_close_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_partial_null.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_false.json" - - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_true.json" - description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n (previously overflowed)" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_100000_opening_arrays.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_close_unopened_array.json" + description: "" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_double_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_end_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_lone-invalid-utf-8.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_array_apostrophe.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_array_comma.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_array_open_object.json" + - "/nst_json_testsuite2/test_parsing/n_structure_open_object_close_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_partial_null.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_false.json" + - "/nst_json_testsuite2/test_parsing/n_structure_unclosed_array_unfinished_true.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-04.2.md b/TSF/trustable/throw-ill-formed-json/TIJ-04.2.md index 94037ce5b3..17a0c68b32 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-04.2.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-04.2.md @@ -2,24 +2,24 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_array_double_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_double_extra_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_just_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_number_and_comma.json" - - "/nst_json_testsuite2/test_parsing/n_array_number_and_several_commas.json" - - "/nst_json_testsuite2/test_parsing/n_structure_array_with_unclosed_string.json" - - "/nst_json_testsuite2/test_parsing/n_array_invalid_utf8.json" - - "/nst_json_testsuite2/test_parsing/n_array_just_minus.json" - description: "Checks that various \"proper\" arrays with improper elements throw an exception." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_array_double_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_double_extra_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_just_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_number_and_comma.json" + - "/nst_json_testsuite2/test_parsing/n_array_number_and_several_commas.json" + - "/nst_json_testsuite2/test_parsing/n_structure_array_with_unclosed_string.json" + - "/nst_json_testsuite2/test_parsing/n_array_invalid_utf8.json" + - "/nst_json_testsuite2/test_parsing/n_array_just_minus.json" + description: "Checks that various \"proper\" arrays with improper elements throw an exception." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-04.3.md b/TSF/trustable/throw-ill-formed-json/TIJ-04.3.md index af8a91a9a7..4eb1308ee2 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-04.3.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-04.3.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_array_colon_instead_of_comma.json" - description: "Tests whether colon as value separator throws an exception." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_array_colon_instead_of_comma.json" + description: "Tests whether colon as value separator throws an exception." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-05.1.md b/TSF/trustable/throw-ill-formed-json/TIJ-05.1.md index 3a157ad401..2bb5f31c42 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-05.1.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-05.1.md @@ -2,23 +2,23 @@ level: 1.1 normative: true references: - - type: cpp_test - name: "deserialization;contiguous containers;error cases;case 15" - path: "tests/src/unit-deserialization.cpp" - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_structure_comma_instead_of_closing_brace.json" - - "/nst_json_testsuite2/test_parsing/n_structure_object_followed_by_closing_object.json" - - "/nst_json_testsuite2/test_parsing/n_structure_object_unclosed_no_value.json" - description: "" + - type: cpp_test + name: "deserialization;contiguous containers;error cases;case 15" + path: "tests/src/unit-deserialization.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_structure_comma_instead_of_closing_brace.json" + - "/nst_json_testsuite2/test_parsing/n_structure_object_followed_by_closing_object.json" + - "/nst_json_testsuite2/test_parsing/n_structure_object_unclosed_no_value.json" + description: "" evidence: - type: check_test_results - configuration: - tests: - - deserialization - - testsuites + type: check_test_results + configuration: + tests: + - deserialization + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-05.2.md b/TSF/trustable/throw-ill-formed-json/TIJ-05.2.md index 0fabb048aa..46b6648f56 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-05.2.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-05.2.md @@ -2,31 +2,31 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" - description: "Checks that numbers as keys are rejected." - - type: cpp_test - name: "parse;names;numbers" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "parse;names;arrays" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "parse;names;objects" - path: "TSF/tests/unit-objects.cpp" - - type: cpp_test - name: "parse;names;literals" - path: "TSF/tests/unit-objects.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" + description: "Checks that numbers as keys are rejected." + - type: cpp_test + name: "parse;names;numbers" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "parse;names;arrays" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "parse;names;objects" + path: "TSF/tests/unit-objects.cpp" + - type: cpp_test + name: "parse;names;literals" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-05.3.md b/TSF/trustable/throw-ill-formed-json/TIJ-05.3.md index e42d38abee..b139778649 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-05.3.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-05.3.md @@ -2,29 +2,29 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_single_quote.json" - - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" - - "/nst_json_testsuite2/test_parsing/n_object_key_with_single_quotes.json" - - "/nst_json_testsuite2/test_parsing/n_object_bracket_key.json" - - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" - description: "Checks that invalid names throw an exception." - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;i -> n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/i_object_key_lone_2nd_surrogate.json" - description: "Checks that string with invalid utf16 surrogate as name throws an exception." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_single_quote.json" + - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_non_string_key_but_huge_number_instead.json" + - "/nst_json_testsuite2/test_parsing/n_object_key_with_single_quotes.json" + - "/nst_json_testsuite2/test_parsing/n_object_bracket_key.json" + - "/nst_json_testsuite2/test_parsing/n_object_unquoted_key.json" + description: "Checks that invalid names throw an exception." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;i -> n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/i_object_key_lone_2nd_surrogate.json" + description: "Checks that string with invalid utf16 surrogate as name throws an exception." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-05.4.md b/TSF/trustable/throw-ill-formed-json/TIJ-05.4.md index 81928a112d..e5ca4d89a0 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-05.4.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-05.4.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_bad_value.json" - description: "Checks that the invalid literal \"truth\" as value throws an exception." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_bad_value.json" + description: "Checks that the invalid literal \"truth\" as value throws an exception." evidence: - type: check_test_results - configuration: - tests: - - testsuites + type: check_test_results + configuration: + tests: + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/throw-ill-formed-json/TIJ-05.5.md b/TSF/trustable/throw-ill-formed-json/TIJ-05.5.md index 2ff5e34c15..405a414d44 100644 --- a/TSF/trustable/throw-ill-formed-json/TIJ-05.5.md +++ b/TSF/trustable/throw-ill-formed-json/TIJ-05.5.md @@ -2,34 +2,34 @@ level: 1.1 normative: true references: - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_comma_instead_of_colon.json" - description: "Checks that comma instead of colon is rejected." - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_double_colon.json" - description: "Checks that double colon is rejected." - - type: JSON_testsuite - name: "nst's JSONTestSuite (2);test_parsing;n" - path: "tests/src/unit-testsuites.cpp" - test_suite_paths: - - "/nst_json_testsuite2/test_parsing/n_object_missing_colon.json" - - "/nst_json_testsuite2/test_parsing/n_object_missing_semicolon.json" - description: "Checks that the empty member separator is rejected." - - type: cpp_test - name: "parse;member separator" - path: "TSF/tests/unit-objects.cpp" + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_comma_instead_of_colon.json" + description: "Checks that comma instead of colon is rejected." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_double_colon.json" + description: "Checks that double colon is rejected." + - type: JSON_testsuite + name: "nst's JSONTestSuite (2);test_parsing;n" + path: "tests/src/unit-testsuites.cpp" + test_suite_paths: + - "/nst_json_testsuite2/test_parsing/n_object_missing_colon.json" + - "/nst_json_testsuite2/test_parsing/n_object_missing_semicolon.json" + description: "Checks that the empty member separator is rejected." + - type: cpp_test + name: "parse;member separator" + path: "TSF/tests/unit-objects.cpp" evidence: - type: check_test_results - configuration: - tests: - - objects - - testsuites + type: check_test_results + configuration: + tests: + - objects + - testsuites score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 diff --git a/TSF/trustable/well-formed-json/WFJ-06.md b/TSF/trustable/well-formed-json/WFJ-06.md index 54cbaa34b2..da8d4b96a8 100644 --- a/TSF/trustable/well-formed-json/WFJ-06.md +++ b/TSF/trustable/well-formed-json/WFJ-06.md @@ -2,37 +2,37 @@ level: 1.1 normative: true references: - - type: function_reference - name: "basic_json::accept" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `accept`-functionality of nlohmann/json for single inputs" - overload: 1 - - type: function_reference - name: "basic_json::accept" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `accept`-functionality of nlohmann/json for iterator inputs" - overload: 2 - - type: function_reference - name: "basic_json::accept" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `accept`-functionality of nlohmann/json for input buffer" - overload: 3 - - type: function_reference - name: "parser::accept" - path: "include/nlohmann/detail/input/parser.hpp" - description: "the internal `accept`-functionality called by basic_json::accept" - - type: function_reference - name: "parser::sax_parse" - path: "include/nlohmann/detail/input/parser.hpp" - description: "called by parser::accept" - - type: function_reference - name: "parser::sax_parse_internal" - path: "include/nlohmann/detail/input/parser.hpp" - description: "called by parser::sax_parse" - - type: function_reference - name: "lexer::scan" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "scans input, called in parser::sax_parse_internal" + - type: function_reference + name: "basic_json::accept" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `accept`-functionality of nlohmann/json for single inputs" + overload: 1 + - type: function_reference + name: "basic_json::accept" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `accept`-functionality of nlohmann/json for iterator inputs" + overload: 2 + - type: function_reference + name: "basic_json::accept" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `accept`-functionality of nlohmann/json for input buffer" + overload: 3 + - type: function_reference + name: "parser::accept" + path: "include/nlohmann/detail/input/parser.hpp" + description: "the internal `accept`-functionality called by basic_json::accept" + - type: function_reference + name: "parser::sax_parse" + path: "include/nlohmann/detail/input/parser.hpp" + description: "called by parser::accept" + - type: function_reference + name: "parser::sax_parse_internal" + path: "include/nlohmann/detail/input/parser.hpp" + description: "called by parser::sax_parse" + - type: function_reference + name: "lexer::scan" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "scans input, called in parser::sax_parse_internal" score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 From 859fb54c135d3d473e23905717db2eaeb7df033f Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Thu, 4 Dec 2025 07:43:50 +0000 Subject: [PATCH 15/17] fixed intendation for remaining statements --- TSF/trustable/expectations/JLEX-01.md | 62 ++++++++++++------------ TSF/trustable/expectations/JLEX-02.md | 62 ++++++++++++------------ TSF/trustable/no-json-faults/NJF-14.5.md | 20 ++++---- 3 files changed, 72 insertions(+), 72 deletions(-) diff --git a/TSF/trustable/expectations/JLEX-01.md b/TSF/trustable/expectations/JLEX-01.md index e1b6cffcce..3789b1eceb 100644 --- a/TSF/trustable/expectations/JLEX-01.md +++ b/TSF/trustable/expectations/JLEX-01.md @@ -2,37 +2,37 @@ level: 1.1 normative: true references: - - type: function_reference - name: "basic_json::accept" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `accept`-functionality of nlohmann/json for single inputs" - overload: 1 - - type: function_reference - name: "basic_json::accept" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `accept`-functionality of nlohmann/json for iterator inputs" - overload: 2 - - type: function_reference - name: "basic_json::accept" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `accept`-functionality of nlohmann/json for input buffer" - overload: 3 - - type: function_reference - name: "parser::accept" - path: "include/nlohmann/detail/input/parser.hpp" - description: "the internal `accept`-functionality called by basic_json::accept" - - type: function_reference - name: "parser::sax_parse" - path: "include/nlohmann/detail/input/parser.hpp" - description: "called by parser::accept" - - type: function_reference - name: "parser::sax_parse_internal" - path: "include/nlohmann/detail/input/parser.hpp" - description: "called by parser::sax_parse" - - type: function_reference - name: "lexer::scan" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "scans input, called in parser::sax_parse_internal" + - type: function_reference + name: "basic_json::accept" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `accept`-functionality of nlohmann/json for single inputs" + overload: 1 + - type: function_reference + name: "basic_json::accept" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `accept`-functionality of nlohmann/json for iterator inputs" + overload: 2 + - type: function_reference + name: "basic_json::accept" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `accept`-functionality of nlohmann/json for input buffer" + overload: 3 + - type: function_reference + name: "parser::accept" + path: "include/nlohmann/detail/input/parser.hpp" + description: "the internal `accept`-functionality called by basic_json::accept" + - type: function_reference + name: "parser::sax_parse" + path: "include/nlohmann/detail/input/parser.hpp" + description: "called by parser::accept" + - type: function_reference + name: "parser::sax_parse_internal" + path: "include/nlohmann/detail/input/parser.hpp" + description: "called by parser::sax_parse" + - type: function_reference + name: "lexer::scan" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "scans input, called in parser::sax_parse_internal" --- The requirement regarding [JSON Validation](https://eclipse-score.github.io/score/main/modules/baselibs/json/docs/requirements/index.html#comp_req__json__validation) is fulfilled. \ No newline at end of file diff --git a/TSF/trustable/expectations/JLEX-02.md b/TSF/trustable/expectations/JLEX-02.md index d76809b506..4bd26aa7ee 100644 --- a/TSF/trustable/expectations/JLEX-02.md +++ b/TSF/trustable/expectations/JLEX-02.md @@ -2,37 +2,37 @@ level: 1.1 normative: true references: - - type: function_reference - name: "basic_json::parse" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `parse`-functionality of nlohmann/json for single inputs" - overload: 1 - - type: function_reference - name: "basic_json::parse" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `parse`-functionality of nlohmann/json for iterator inputs" - overload: 2 - - type: function_reference - name: "basic_json::parse" - path: "include/nlohmann/json.hpp" - description: "the public interface of the `parse`-functionality of nlohmann/json for input buffer" - overload: 3 - - type: function_reference - name: "parser::parse" - path: "include/nlohmann/detail/input/parser.hpp" - description: "the internal `parse`-functionality called by basic_json::parse" - - type: function_reference - name: "parser::sax_parse" - path: "include/nlohmann/detail/input/parser.hpp" - description: "called by parser::parse" - - type: function_reference - name: "parser::sax_parse_internal" - path: "include/nlohmann/detail/input/parser.hpp" - description: "called by parser::sax_parse" - - type: function_reference - name: "lexer::scan" - path: "include/nlohmann/detail/input/lexer.hpp" - description: "scans input, called in parser::sax_parse_internal" + - type: function_reference + name: "basic_json::parse" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `parse`-functionality of nlohmann/json for single inputs" + overload: 1 + - type: function_reference + name: "basic_json::parse" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `parse`-functionality of nlohmann/json for iterator inputs" + overload: 2 + - type: function_reference + name: "basic_json::parse" + path: "include/nlohmann/json.hpp" + description: "the public interface of the `parse`-functionality of nlohmann/json for input buffer" + overload: 3 + - type: function_reference + name: "parser::parse" + path: "include/nlohmann/detail/input/parser.hpp" + description: "the internal `parse`-functionality called by basic_json::parse" + - type: function_reference + name: "parser::sax_parse" + path: "include/nlohmann/detail/input/parser.hpp" + description: "called by parser::parse" + - type: function_reference + name: "parser::sax_parse_internal" + path: "include/nlohmann/detail/input/parser.hpp" + description: "called by parser::sax_parse" + - type: function_reference + name: "lexer::scan" + path: "include/nlohmann/detail/input/lexer.hpp" + description: "scans input, called in parser::sax_parse_internal" --- The requirement regarding [JSON Deserialization](https://eclipse-score.github.io/score/main/modules/baselibs/json/docs/requirements/index.html#comp_req__json__deserialization) is fulfilled. \ No newline at end of file diff --git a/TSF/trustable/no-json-faults/NJF-14.5.md b/TSF/trustable/no-json-faults/NJF-14.5.md index b950a39eb4..c7bb579e48 100644 --- a/TSF/trustable/no-json-faults/NJF-14.5.md +++ b/TSF/trustable/no-json-faults/NJF-14.5.md @@ -2,17 +2,17 @@ level: 1.1 normative: true references: - - type: item - items: - - JLEX-01 - - type: cpp_test - name: "accept;UTF-8;unexpected BOM" - path: "TSF/tests/unit-byte_order_mark.cpp" + - type: item + items: + - JLEX-01 + - type: cpp_test + name: "accept;UTF-8;unexpected BOM" + path: "TSF/tests/unit-byte_order_mark.cpp" evidence: - type: check_test_results - configuration: - tests: - - byte_order_mark + type: check_test_results + configuration: + tests: + - byte_order_mark score: Jonas-Kirchhoff: 1.0 Erikhu1: 1.0 From 8dad7bd4c240728e2eef1cefa0be29d193a38a42 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Thu, 4 Dec 2025 09:35:35 +0000 Subject: [PATCH 16/17] fixed JLS-07 formatting problem --- TSF/trustable/statements/JLS-07.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSF/trustable/statements/JLS-07.md b/TSF/trustable/statements/JLS-07.md index 0873103281..a145344c3d 100644 --- a/TSF/trustable/statements/JLS-07.md +++ b/TSF/trustable/statements/JLS-07.md @@ -3,8 +3,8 @@ level: 1.1 normative: true references: - type: project_website - url: "https://github.com/nlohmann/json/actions?query=event%3Apush+branch%3Adevelop" - description: "List of all pushes to the develop branch of the nlohmann/json library, showing that all commits are done by @nlohmann and indicating that direct commits are not possible." + url: "https://github.com/nlohmann/json/actions?query=event%3Apush+branch%3Adevelop" + description: "List of all pushes to the develop branch of the nlohmann/json library, showing that all commits are done by @nlohmann and indicating that direct commits are not possible." evidence: type: https_response_time configuration: From 14e678a6b6658be2eab4a4547e7d1e1b27873620 Mon Sep 17 00:00:00 2001 From: LucaFgr Date: Thu, 4 Dec 2025 10:53:22 +0000 Subject: [PATCH 17/17] fix JLS-11 formatting --- TSF/trustable/statements/JLS-11.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSF/trustable/statements/JLS-11.md b/TSF/trustable/statements/JLS-11.md index a0b44f87e7..e483302541 100644 --- a/TSF/trustable/statements/JLS-11.md +++ b/TSF/trustable/statements/JLS-11.md @@ -3,8 +3,8 @@ level: 1.1 normative: true references: - type: web_content - url: "https://github.com/eclipse-score/inc_nlohmann_json/blob/save_historical_data/TSF/misbehaviours.md" - description: "List of outstanding bugs as well as fixes for developed code that are not yet applied." + url: "https://github.com/eclipse-score/inc_nlohmann_json/blob/save_historical_data/TSF/misbehaviours.md" + description: "List of outstanding bugs as well as fixes for developed code that are not yet applied." evidence: type: check_issues configuration: