Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Blogs Google Watch
    • Blogs
    • Google Watch
    • Search Engines

    Google Launches Code Search for Script Kiddies

    Written by

    Steve Bryant
    Published October 5, 2006
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      After watching sites like Koders and Krugle grab some headlines for code search, Google has rolled its own code-specific engine, which is now available as a beta from Google Labs.

      Code Search is the latest in Google’s efforts to embrace the developer community and give it useful tools. The search engine launched a repository for developer projects earlier this year. Now Google is lending its trusted brand to organizing a segment of online data that has traditionally been distributed across the Web.

      The new search tool includes ZIP files as well as CVS repositories, and offers more precise special character searching. Unfortunately, the code search engine (still at the early beta stage) has a few problems, chief among which is that it doesn’t give the searcher any context for what it finds.
      “It just searches indexed code from anywhere on the Web. Most of this is production code, not code snippets or tutorials,” said Chris McClelland, developer of AJAXPress. “The code you can get from code search could be wrong, a bad way to do things, simply not work, etc.”

      His recommendation: Google needs to include code from tutorials and code snippet Web sites, such as this one, and tell searchers which sites are being indexed, perhaps even provide a quality score for each. Otherwise, searchers could accidentally copy bogus code indexed in the engine.

      “Code snippet databases are much more useful,” he said, noting that much of the code returned is from open-source projects that are in continual development. “It’s like a textbook. [Developers] go for primary sources, not for what anybody will tell them.”

      Chris did a sample search for “XMLHttpRequest” and found that Google, unlike Krugle or Koders, returned mostly JavaScript. However, a search for “@” returned 11,300,000 e-mail addresses. (Update: Ken Krugler says Krugle returns mostly javascript results too.)

      Google Code Search could also prove to be a tool for malware writers to distribute their code, he warned.

      A representative from Google said Code Search was a labs project and that improvements were coming.

      “Code that is contained in the body of a web page (such as a tutorial site) can generally be found in web search. Its reasonable to assert
      we’d eventually want to include these sites in Code Search as well,” she said. Developers wishing to suggest improvements can contact Google at [email protected].

      Commenters in the Google Group dedicated to Code Search said the tool looks very useful, but requested a few improvements. One commenter noted that ASP isn’t a language, and that the search should include Visual Basic and VBScript. Another commenter requested that ColdFusion be added to the index.

      According to Google’s FAQ, Google goes to some lengths to determine what license(s) pertain to indexed code, but “understanding the legal requirements to reuse a piece of code is your responsibility.”

      Steve Bryant
      Steve Bryant

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×