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

INRIA / spoon / 7194 / 3
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2018 06:02AM UTC
Files 445
Run time 21s
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

25 Oct 2018 05:45AM UTC coverage: 85.132% (+0.01%) from 85.121%
SCRIPT=travis-coverage.sh

push

travis-ci

surli
feat: Use Apache Common Compressor API to [de]compress serialized models (#2165)

Since #2094 and #2103 we can [de]serialize the model (CtFactory) with standard java serialization in a file, or a gzip file to save space. Choice was made to write things so that we can add new compression types easily. 

In this PR, I propose to use Apache Common Compressor API (+other files needed for some compression types such as LZMA).

Main changes in src/main/java/spoon/support/SerializationModelStreamer.java and its junit test case src/test/java/spoon/test/serializable/ModelStreamerTest.java and of course pom.xml.

I don't know what you think about adding a new lib, but this lib allows very easily (i) to test what compressor is used for an inputstream (except 7zip btw), (ii) to decompress, (iii) to compress.

Looking forward discussing it with you guyz :)
Cheers,
Mehdi

23848 of 28013 relevant lines covered (85.13%)

0.85 hits per line

Source Files on job 7194.3 (SCRIPT=travis-coverage.sh)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5574
  • Travis Job 7194.3
  • 6558c49c on github
  • Prev Job for SCRIPT=travis-coverage.sh on master (#7191.3)
  • Next Job for SCRIPT=travis-coverage.sh on master (#7198.3)
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