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

gccxml / pygccxml / 739 / 4
92%
develop: 92%

Build:
DEFAULT BRANCH: develop
Ran 15 May 2019 08:45PM UTC
Files 16
Run time 3s
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

02 Feb 2017 10:16PM UTC coverage: 82.6%. First build
XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.2/lib/python3.2/sitecustomize.py"

Pull #7

travis-ci

iMichka
Remove superfluous logic in __remove_alias method

The remove_alias method already makes a check for typedef.typedef_t
and gets the decl_type. Then it calls the "private" __remove_alias
method. This one does not need a supplementary check.

__remove_alias can call itself recursively, but the argument would
either be a new decl_type which is not a typedef_t (first case), or
the .base of a compount_t, which is also never a typedef_t.

The coverage also tells us that this condition is never called,
and we have extensive checks for that part of the code.
This makes me confident that this condition can be removed.

Obviously the gain is to have a bunch of insistence checks less,
as remove_alias can be called thousands of times.
Pull Request #7:

13 of 37 branches covered (35.14%)

807 of 977 relevant lines covered (82.6%)

2.11 hits per line

Source Files on job 739.4 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.2/lib/python3.2/sitecustomize.py")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 739
  • Travis Job 739.4
  • a7049ec0 on github
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