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

azjezz / psl / 18741489969
99%
next: 98%

Build:
Build:
LAST BUILD BRANCH: precedence
DEFAULT BRANCH: next
Ran 23 Oct 2025 07:54AM UTC
Jobs 1
Files 815
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Oct 2025 07:54AM UTC coverage: 98.539% (+0.001%) from 98.538%
18741489969

push

github

azjezz
feat: add Tree component for hierarchical data structures

Introduces a new `Tree` component providing immutable tree data structures
and functional operations for hierarchical data manipulation.

Architecture:
- NodeInterface<T>: Base interface with getValue()
- LeafNode<T>: Immutable leaf nodes (no children)
- TreeNode<T>: Immutable tree nodes with getChildren()
- Pure constructor functions: tree() and leaf()

Features:
- Transformation operations: map, filter, reduce, fold
- Traversal algorithms: pre_order, post_order, level_order
- Search functions: find, any, all, contains
- Utility functions: count, depth, is_leaf, leaves
- Path operations: path_to, at_path
- Array conversion: from_array, to_array

Signed-off-by: azjezz <azjezz@protonmail.com>

136 of 140 new or added lines in 23 files covered. (97.14%)

5935 of 6023 relevant lines covered (98.54%)

50.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
66.67
src/Psl/Tree/LeafNode.php
1
75.0
src/Psl/Tree/TreeNode.php
1
88.89
src/Psl/Tree/depth.php
1
90.0
src/Psl/Tree/leaves.php
Jobs
ID Job ID Ran Files Coverage
1 18741489969.1 23 Oct 2025 07:54AM UTC 815
98.54
GitHub Action Run
Source Files on build 18741489969
  • Tree
  • List 815
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 19d104f7 on github
  • Prev Build on next (#18739016760)
  • Next Build on tree (#18741499224)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc