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

gccxml / pygccxml / 740
92%

Build:
DEFAULT BRANCH: develop
Ran 12 Feb 2017 10:55PM UTC
Jobs 19
Files 136
Run time 37min
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
740

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 740.1 (WINDOWS=1) 12 Feb 2017 10:56PM UTC 0
88.61
Travis Job 740.1
2 740.2 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.6/lib/python2.6/sitecustomize.py") 12 Feb 2017 10:55PM UTC 0
89.33
Travis Job 740.2
3 740.3 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 12 Feb 2017 10:59PM UTC 0
89.27
Travis Job 740.3
5 740.5 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.3/lib/python3.3/sitecustomize.py") 12 Feb 2017 10:55PM UTC 0
89.35
Travis Job 740.5
6 740.6 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.4/lib/python3.4/sitecustomize.py") 12 Feb 2017 10:58PM UTC 0
89.35
Travis Job 740.6
7 740.7 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 10:58PM UTC 0
89.34
Travis Job 740.7
8 740.8 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 12 Feb 2017 10:58PM UTC 0
90.36
Travis Job 740.8
9 740.9 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 10:59PM UTC 0
90.43
Travis Job 740.9
10 740.10 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.6/lib/python3.6/sitecustomize.py") 12 Feb 2017 11:01PM UTC 0
90.43
Travis Job 740.10
11 740.11 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy/lib-python/2.7/sitecustomize.py") 12 Feb 2017 11:06PM UTC 0
90.36
Travis Job 740.11
12 740.12 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py") 12 Feb 2017 11:32PM UTC 0
89.82
Travis Job 740.12
13 740.13 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 11:02PM UTC 0
90.47
Travis Job 740.13
14 740.14 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 11:02PM UTC 0
90.43
Travis Job 740.14
15 740.15 (XML_GENERATOR="castxml" CPPSTD="-std=c++03" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 11:04PM UTC 0
90.48
Travis Job 740.15
16 740.16 (XML_GENERATOR="castxml" CPPSTD="-std=c++11" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 11:06PM UTC 0
90.55
Travis Job 740.16
17 740.17 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 11:06PM UTC 0
90.47
Travis Job 740.17
18 740.18 (XML_GENERATOR="castxml" COMPILER=g++-5 CPPSTD="-std=c++14" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 12 Feb 2017 11:08PM UTC 0
90.47
Travis Job 740.18
19 740.19 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2" SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py") 12 Feb 2017 11:13PM UTC 0
90.33
Travis Job 740.19
20 740.20 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3" SITECUSTOMIZELIBPATH="/usr/local/lib/python3.6/site-packages/sitecustomize.py") 12 Feb 2017 11:14PM UTC 0
90.4
Travis Job 740.20
Source Files on build 740
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #740
  • a7049ec0 on github
  • Prev Build on develop (#739)
  • Next Build on develop (#741)
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