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

deavmi / niknaks / #250
97%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2023 08:45AM UTC
Jobs 1
Files 6
Run time 1s
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

04 Dec 2023 08:44AM UTC coverage: 99.281% (-0.7%) from 100.0%
#250

push

coveralls-ruby

web-flow
Feature: CacheMap (#11)

* Containers

- Created module

* ExpirationStrategy

- Added new enum with members `LIVE` and `ON_ACCESS`

* Entry

- Added entry

* CacheMap

- Added initial implementation

CacheMap (unitests)

- Added a unittest

* CacheList

- Added a stub `CacheList` container type

* CacheMap

- Implement the static ifdefs to set
- Use the hitcount method

* CacheMap

- Disbale hitcount for now

* CacheMap

- Added `ReplacementFunction`

* CacheMap

- Implemented `updateKey(K key)`

* CacheMap

- Implemented `expirationCheck(K key)`

* CacheMao

- Updated `get(K key)` to use the new `K` key-based exipiration check

* CacheMap

- The method `updateKey(K key)` now returns the value refreshed
- `get(K key)` now refrehses on unfound key

* CacheMap

- Implemented `makeKey(K key)`
- Busy reworking, still broken

* CacheMap

- Fixed errors with compilation in `makeKey(K key)`

* CacheMap

- Fixed `expirationCheck(K key)` by using `makeKey(K key)` whenever the key does not yet exist

* CacheMap (unittests)

- Fixed unit test

* CacheMap

- Removed `put(K, V)` method

* CacheMap

- Removed traversal version `expirationCheck()`

* CacheMap

- Force compilation failure when `get()` is called for LIVE strat
- Added proper `~this()` implementation for LIVE strat

* CacheMap

- Documented methods

* CacheMap

- Updated `get(K)`

* CacheMap

- Either a function or delegate may now be used

* CacheMap

- Removed nop

* CacheMap

- Always use a thread that wakes up at expirary time to clean up
- Added destructor (that won't seg) as it wits for the cleanup to happen then exits (allowing destruction AFTER the fact)

* CacheMap

- Added some documentation

* CacheMap

- Cleaned up

* CacheList

- Removed `CacheList`

* Containers

- Moved inside of unittest

* Containers (unittest)

- Documented
- Removed unused unittest

* Expirat... (continued)

103 of 105 new or added lines in 1 file covered. (98.1%)

276 of 278 relevant lines covered (99.28%)

963.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
98.1
source/niknaks/containers.d
Jobs
ID Job ID Ran Files Coverage
1 #250.1 04 Dec 2023 08:45AM UTC 6
99.28
Source Files on build #250
  • Tree
  • List 6
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bdcbb1b5 on github
  • Prev Build on master
  • Next Build on master
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

© 2025 Coveralls, Inc