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

gccxml / pygccxml / 738 / 12
92%
develop: 92%

Build:
DEFAULT BRANCH: develop
Ran 08 Feb 2017 11:17PM UTC
Files 124
Run time 17s
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: 89.818%. Remained the same
XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py"

cron

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.

8830 of 9831 relevant lines covered (89.82%)

0.9 hits per line

Source Files on job 738.12 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 738
  • Travis Job 738.12
  • a7049ec0 on github
  • Prev Job for XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py" on develop (#737.12)
  • Next Job for XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py" on develop (#739.12)
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