Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cover all functions with tests and/or demos #48

Open
13 tasks
AMDmi3 opened this issue Sep 4, 2015 · 0 comments
Open
13 tasks

Cover all functions with tests and/or demos #48

AMDmi3 opened this issue Sep 4, 2015 · 0 comments
Assignees
Labels

Comments

@AMDmi3
Copy link
Member

AMDmi3 commented Sep 4, 2015

Not everything can be tested (for example, audio), but everything should be at least covered by a demo. cppcheck helps finding functions which are not used anywhere.

cppcheck -q --enable=unusedFunction . 2>&1 | sort

  • AudioDevice.cc (5 left)
  • AudioSpec.cc (1 left)
  • Exception.cc (1 left)
  • Font.cc (25 left)
  • Mixer.cc (9 left)
  • RWops.cc (4 left)
  • Renderer.cc (16 left)
  • SDL.cc (3 left)
  • SDLImage.cc (2 left)
  • Surface.cc (10 left)
  • SurfaceLock.cc (3 left)
  • Texture.cc (2 left)
  • Window.cc (24 left)
@AMDmi3 AMDmi3 added the testing label Sep 4, 2015
@AMDmi3 AMDmi3 changed the title Cover all functions with test and/or demos Cover all functions with tests and/or demos Sep 6, 2015
@AMDmi3 AMDmi3 self-assigned this Sep 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant