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

gccxml / pygccxml / 738
92%

Build:
DEFAULT BRANCH: develop
Ran 08 Feb 2017 10:50PM UTC
Jobs 19
Files 136
Run time 139min
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

pending completion
738

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.

9371 of 10101 relevant lines covered (92.77%)

17.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 738.1 (WINDOWS=1) 08 Feb 2017 10:50PM UTC 0
88.61
Travis Job 738.1
2 738.2 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.6/lib/python2.6/sitecustomize.py") 08 Feb 2017 10:53PM UTC 0
89.33
Travis Job 738.2
3 738.3 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 08 Feb 2017 10:52PM UTC 0
89.27
Travis Job 738.3
5 738.5 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.3/lib/python3.3/sitecustomize.py") 08 Feb 2017 10:52PM UTC 0
89.35
Travis Job 738.5
6 738.6 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.4/lib/python3.4/sitecustomize.py") 08 Feb 2017 10:54PM UTC 0
89.35
Travis Job 738.6
7 738.7 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 10:55PM UTC 0
89.34
Travis Job 738.7
8 738.8 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 08 Feb 2017 10:55PM UTC 0
90.36
Travis Job 738.8
9 738.9 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 10:55PM UTC 0
90.43
Travis Job 738.9
10 738.10 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.6/lib/python3.6/sitecustomize.py") 08 Feb 2017 10:56PM UTC 0
90.43
Travis Job 738.10
11 738.11 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy/lib-python/2.7/sitecustomize.py") 08 Feb 2017 11:02PM UTC 0
90.36
Travis Job 738.11
12 738.12 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py") 08 Feb 2017 11:17PM UTC 0
89.82
Travis Job 738.12
13 738.13 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 10:59PM UTC 0
90.47
Travis Job 738.13
14 738.14 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 10:58PM UTC 0
90.43
Travis Job 738.14
15 738.15 (XML_GENERATOR="castxml" CPPSTD="-std=c++03" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 10:59PM UTC 0
90.48
Travis Job 738.15
16 738.16 (XML_GENERATOR="castxml" CPPSTD="-std=c++11" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 11:02PM UTC 0
90.55
Travis Job 738.16
17 738.17 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 11:03PM UTC 0
90.47
Travis Job 738.17
18 738.18 (XML_GENERATOR="castxml" COMPILER=g++-5 CPPSTD="-std=c++14" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 08 Feb 2017 11:03PM UTC 0
90.47
Travis Job 738.18
19 738.19 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2" SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py") 09 Feb 2017 12:59AM UTC 0
90.33
Travis Job 738.19
20 738.20 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3" SITECUSTOMIZELIBPATH="/usr/local/lib/python3.6/site-packages/sitecustomize.py") 09 Feb 2017 01:01AM UTC 0
90.4
Travis Job 738.20
Source Files on build 738
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #738
  • a7049ec0 on github
  • Prev Build on develop (#737)
  • Next Build on develop (#739)
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