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

gccxml / pygccxml / 735
92%

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

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 735.1 (WINDOWS=1) 02 Feb 2017 10:48PM UTC 0
88.61
Travis Job 735.1
2 735.2 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.6/lib/python2.6/sitecustomize.py") 02 Feb 2017 10:50PM UTC 0
89.33
Travis Job 735.2
3 735.3 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 02 Feb 2017 10:49PM UTC 0
89.27
Travis Job 735.3
5 735.5 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.3/lib/python3.3/sitecustomize.py") 02 Feb 2017 10:53PM UTC 0
89.35
Travis Job 735.5
6 735.6 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.4/lib/python3.4/sitecustomize.py") 02 Feb 2017 10:54PM UTC 0
89.35
Travis Job 735.6
7 735.7 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:54PM UTC 0
89.34
Travis Job 735.7
8 735.8 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 02 Feb 2017 10:56PM UTC 0
90.36
Travis Job 735.8
9 735.9 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 10:57PM UTC 0
90.43
Travis Job 735.9
10 735.10 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.6/lib/python3.6/sitecustomize.py") 02 Feb 2017 10:58PM UTC 0
90.43
Travis Job 735.10
11 735.11 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy/lib-python/2.7/sitecustomize.py") 02 Feb 2017 11:04PM UTC 0
90.36
Travis Job 735.11
12 735.12 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py") 02 Feb 2017 11:22PM UTC 0
89.82
Travis Job 735.12
13 735.13 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 11:03PM UTC 0
90.47
Travis Job 735.13
14 735.14 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 11:06PM UTC 0
90.43
Travis Job 735.14
15 735.15 (XML_GENERATOR="castxml" CPPSTD="-std=c++03" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 11:07PM UTC 0
90.48
Travis Job 735.15
16 735.16 (XML_GENERATOR="castxml" CPPSTD="-std=c++11" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 11:11PM UTC 0
90.55
Travis Job 735.16
17 735.17 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 02 Feb 2017 11:11PM UTC 0
90.47
Travis Job 735.17
18 735.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 11:15PM UTC 0
90.47
Travis Job 735.18
19 735.19 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2" SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py") 03 Feb 2017 12:56AM UTC 0
90.33
Travis Job 735.19
20 735.20 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3" SITECUSTOMIZELIBPATH="/usr/local/lib/python3.6/site-packages/sitecustomize.py") 03 Feb 2017 01:04AM UTC 0
90.4
Travis Job 735.20
Source Files on build 735
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #735
  • a7049ec0 on github
  • Prev Build on develop (#734)
  • Next Build on develop (#736)
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