Cscope

Cscope

Infobox Software
name = cscope



caption =
developer =
latest release version = 15.6
latest release date = release date|2006|11|29
latest preview version =
latest preview date =
operating system = UNIX, Linux
genre = C and C++ programming tool
license = BSD License
website = http://cscope.sourceforge.net/

cscope is a console mode or text-based graphical interface that allows software engineers or developers to search source code. It is often used on very large projects to find source code, functions, declarations, definitions and regular expressions given a text string.

The history of the tool goes back to the days of the PDP-11 [http://cscope.sourceforge.net/history.html] , but it is still used by developers who are accustomed to using the vi or vim editor or even developers who prefer using text-based, instead of gui-based, editors. Most of the functionality within cscope is available in modern graphical editors.

cscope is used in two phases. First a developer builds the cscope database. The developer can often use find or other unix tools to get the list of filenames that they need to index into a file called cscope.files. The developer then builds a database using the command cscope -b -q -k. Second, the developer can now search those files using the command cscope -d. Often an index needs to be re-built whenever changes are made to files.

In software development it is often very useful to be able to find the callers of a functionbecause this is the way to understand how code works and what other parts of the program expectfrom a function. cscope can find the callers and callees of functions, but it is not a compilerand it does that by searching the text for keywords. This has the disadvantages that macros andduplicate symbol names can generate an unclear graph. There are other programs that can extractthis information by parsing the source code [http://students.ceid.upatras.gr/~sxanth/ncc/] or looking at the generated object files [http://www.skynet.ie/~mel/projects/codeviz/] .

cscope is often used to search content within C or C++ files, but it can be used to search for content in other languages such as Java, Python, PHP and Perl.Fact|date=May 2008

cscope is free and available under a BSD License.

The original developer of cscope is Joe Steffen.

ee also

* PDP-11

External links

* [http://cscope.sourceforge.net cscope's page] on SourceForge (including a semi-detailed [http://cscope.sourceforge.net/history.html history] )
* [http://www.lemis.com/grog/software/source-code-navigation.html Source code navigation tools]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Cscope — Тип инструмент навигации по исходному коду ОС Unix подобные операционные системы, Microsoft Windows Версия 15.7a (9 октября 2009) Лицензия Лицензия BSD …   Википедия

  • cscope — Stable release 15.7 / February 2, 2009; 2 years ago (2009 02 02) Operating system UNIX, Linux Type C and C++ programming tool …   Wikipedia

  • cscope — Тип инструмент навигации по исходному коду Операционная система Unix подобные операционные системы, Microsoft Windows Последняя версия 15.8a (4 августа 2012) Лицензия Лицензия BSD Сайт …   Википедия

  • Curriculum — Not to be confused with Curriculum vitae. See also Syllabus. In formal education, a curriculum (  /kə …   Wikipedia

  • Nvi — (new vi) is a re implementation of the classic Berkeley text editor, ex/vi, traditionally distributed with BSD, and later, Unix systems. It was originally distributed as part of the Fourth Berkeley Software Distribution (4BSD).Due to licensing… …   Wikipedia

  • Childress Independent School District — Childress Bobcats stadium Childress Independent School District is a public school district based in Childress, Texas (USA). Located in Childress County, small portions of the district extend into Cottle, Hall, and Hardeman counties …   Wikipedia

  • Codelite — Infobox Software name = CodeLite caption = developer = Eran Ifrah programming language = C++ latest release version = v1.0 latest release date = release date and age|2008|7|1 latest preview version =… …   Wikipedia

  • C.Scope — Siège social Ashford, Kent Produits détecteurs de métaux Site web …   Wikipédia en Français

  • Nvi — (new vi, en français « nouveau vi ») est un éditeur de texte reprennant les fonctionnalités du logiciel ex/vi de Berkeley, traditionnellement distribué dans les systèmes BSD, puis plus tard dans les systèmes Unix. À l origine, il était… …   Wikipédia en Français

  • CodeLite — en Windows XP Desarrollador Eran Ifrah codelite.org …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”