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

gccxml / pygccxml / 737
92%

Build:
DEFAULT BRANCH: develop
Ran 06 Feb 2017 10:49PM UTC
Jobs 19
Files 136
Run time 128min
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
737

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 737.1 (WINDOWS=1) 06 Feb 2017 10:49PM UTC 0
88.61
Travis Job 737.1
2 737.2 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.6/lib/python2.6/sitecustomize.py") 06 Feb 2017 10:51PM UTC 0
89.33
Travis Job 737.2
3 737.3 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 06 Feb 2017 10:51PM UTC 0
89.27
Travis Job 737.3
5 737.5 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.3/lib/python3.3/sitecustomize.py") 06 Feb 2017 10:51PM UTC 0
89.35
Travis Job 737.5
6 737.6 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.4/lib/python3.4/sitecustomize.py") 06 Feb 2017 10:53PM UTC 0
89.35
Travis Job 737.6
7 737.7 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 10:54PM UTC 0
89.34
Travis Job 737.7
8 737.8 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 06 Feb 2017 10:55PM UTC 0
90.36
Travis Job 737.8
9 737.9 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 10:55PM UTC 0
90.43
Travis Job 737.9
10 737.10 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.6/lib/python3.6/sitecustomize.py") 06 Feb 2017 10:56PM UTC 0
90.43
Travis Job 737.10
11 737.11 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy/lib-python/2.7/sitecustomize.py") 06 Feb 2017 11:00PM UTC 0
90.36
Travis Job 737.11
12 737.12 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py") 06 Feb 2017 11:19PM UTC 0
89.82
Travis Job 737.12
13 737.13 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 11:00PM UTC 0
90.47
Travis Job 737.13
14 737.14 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 10:58PM UTC 0
90.43
Travis Job 737.14
15 737.15 (XML_GENERATOR="castxml" CPPSTD="-std=c++03" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 10:59PM UTC 0
90.48
Travis Job 737.15
16 737.16 (XML_GENERATOR="castxml" CPPSTD="-std=c++11" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 11:05PM UTC 0
90.55
Travis Job 737.16
17 737.17 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 11:05PM UTC 0
90.47
Travis Job 737.17
18 737.18 (XML_GENERATOR="castxml" COMPILER=g++-5 CPPSTD="-std=c++14" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 06 Feb 2017 11:05PM UTC 0
90.47
Travis Job 737.18
19 737.19 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2" SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py") 07 Feb 2017 12:51AM UTC 0
90.33
Travis Job 737.19
20 737.20 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3" SITECUSTOMIZELIBPATH="/usr/local/lib/python3.6/site-packages/sitecustomize.py") 07 Feb 2017 12:57AM UTC 0
90.4
Travis Job 737.20
Source Files on build 737
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #737
  • a7049ec0 on github
  • Prev Build on develop (#736)
  • Next Build on develop (#738)
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