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

gccxml / pygccxml / 734
92%

Build:
DEFAULT BRANCH: develop
Ran 02 Feb 2017 10:20PM UTC
Jobs 19
Files 136
Run time 114min
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
734

push

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 734.1 (WINDOWS=1) 02 Feb 2017 10:20PM UTC 0
88.61
Travis Job 734.1
2 734.2 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.6/lib/python2.6/sitecustomize.py") 02 Feb 2017 10:20PM UTC 0
89.33
Travis Job 734.2
3 734.3 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 02 Feb 2017 10:20PM UTC 0
89.27
Travis Job 734.3
5 734.5 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.3/lib/python3.3/sitecustomize.py") 02 Feb 2017 10:20PM UTC 0
89.35
Travis Job 734.5
6 734.6 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.4/lib/python3.4/sitecustomize.py") 02 Feb 2017 10:23PM UTC 0
89.35
Travis Job 734.6
7 734.7 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:23PM UTC 0
89.34
Travis Job 734.7
8 734.8 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 02 Feb 2017 10:27PM UTC 0
90.36
Travis Job 734.8
9 734.9 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:24PM UTC 0
90.43
Travis Job 734.9
10 734.10 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.6/lib/python3.6/sitecustomize.py") 02 Feb 2017 10:24PM UTC 0
90.43
Travis Job 734.10
11 734.11 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy/lib-python/2.7/sitecustomize.py") 02 Feb 2017 10:32PM UTC 0
90.36
Travis Job 734.11
12 734.12 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py") 02 Feb 2017 10:46PM UTC 0
89.82
Travis Job 734.12
13 734.13 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:29PM UTC 0
90.47
Travis Job 734.13
14 734.14 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:28PM UTC 0
90.43
Travis Job 734.14
15 734.15 (XML_GENERATOR="castxml" CPPSTD="-std=c++03" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:30PM UTC 0
90.48
Travis Job 734.15
16 734.16 (XML_GENERATOR="castxml" CPPSTD="-std=c++11" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:33PM UTC 0
90.55
Travis Job 734.16
17 734.17 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:33PM UTC 0
90.47
Travis Job 734.17
18 734.18 (XML_GENERATOR="castxml" COMPILER=g++-5 CPPSTD="-std=c++14" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:34PM UTC 0
90.47
Travis Job 734.18
19 734.19 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2" SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py") 03 Feb 2017 12:11AM UTC 0
90.33
Travis Job 734.19
20 734.20 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3" SITECUSTOMIZELIBPATH="/usr/local/lib/python3.6/site-packages/sitecustomize.py") 03 Feb 2017 12:14AM UTC 0
90.4
Travis Job 734.20
Source Files on build 734
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #734
  • a7049ec0 on github
  • Prev Build on develop (#733)
  • Next Build on develop (#735)
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