Gaia GPS
  • Home
  • Adventures
    • User Stories
    • Activities
      • Backcountry Skiing
      • Boating
      • Emergency Response
      • Fishing
      • Offroading
  • Out and Back Podcast
    • Gaia GPS

      Earn Your Turns: Learn How to Backcountry Ski…

      January 4, 2021

      Gaia GPS

      Lessons from the Trail: Best Out and Back…

      December 28, 2020

      Gaia GPS

      Buried Alive: Bruce Tremper Shares His Avalanche Story

      December 21, 2020

      Gaia GPS

      Avalanche Safety with Snow Science Expert Bruce Tremper

      December 10, 2020

      Backcountry Skiing

      The Best Winter Backcountry Tips from Search and…

      November 23, 2020

      Gaia GPS

      Courtney Dauwalter: From Science Teacher to Endurance Superstar

      November 10, 2020

      Gaia GPS

      2020 Fastest Known Time Round-Up with Buzz Burrell

      October 26, 2020

  • News
    • New Maps
    • New Features
    • Gaia GPS News
  • Shop Swag
Gaia GPS
  • Home
  • Adventures
    • User Stories
    • Activities
      • Backcountry Skiing
      • Boating
      • Emergency Response
      • Fishing
      • Offroading
  • Out and Back Podcast
    • Gaia GPS

      Earn Your Turns: Learn How to Backcountry Ski…

      January 4, 2021

      Gaia GPS

      Lessons from the Trail: Best Out and Back…

      December 28, 2020

      Gaia GPS

      Buried Alive: Bruce Tremper Shares His Avalanche Story

      December 21, 2020

      Gaia GPS

      Avalanche Safety with Snow Science Expert Bruce Tremper

      December 10, 2020

      Backcountry Skiing

      The Best Winter Backcountry Tips from Search and…

      November 23, 2020

      Gaia GPS

      Courtney Dauwalter: From Science Teacher to Endurance Superstar

      November 10, 2020

      Gaia GPS

      2020 Fastest Known Time Round-Up with Buzz Burrell

      October 26, 2020

  • News
    • New Maps
    • New Features
    • Gaia GPS News
  • Shop Swag

Gaia GPS: A Labor of Love

by Andrew Johnson June 28, 2013
by Andrew Johnson June 28, 2013

We recently ran a code counting tool on our iOS source code, because we were trying to estimate how long rewriting our Android app will take. Since the numbers are mildly interesting, I thought I would share the results on the blog.

Gaia GPS and related apps end up being about 70K lines of “real” code, or 30% more if you count comments and whitespace and such. About 20,000 lines of code applies to one of five specific apps (like Gaia GPS vs. Offline Topo Maps), and about 50,000 lines of code is the core platform that all our apps share.

  • 22158 view_controllers objc=22158
  • 20470 apps objc=20470
  • 18099 controllers objc=14078,ansic=4021
  • 7562 top_dir objc=7562
  • 4353 views objc=4353
  • 4334 util objc=4334
  • 3311 data objc=3311

There are also some estimates provided by the “sloccount” tool on how long all of this took. It’s a very rough estimate, but it’s not totally off the mark from our own back-of-the-envelope calculation.

  • Development Effort Estimate, Person-Years (Person-Months) = 22.59 (271.08)
  • (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
  • Schedule Estimate, Years (Months) = 1.75 (21.01)
  • (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
  • Estimated Average Number of Developers (Effort/Schedule) = 12.90
  • Total Estimated Cost to Develop = $ 3,051,635
  • (average salary = $56,286/year, overhead = 2.40).
  • SLOCCount, Copyright (C) 2001-2004 David A. Wheeler

If you are an iOS developer, you can count your code from the Terminal too:

  • brew install sloccount
  • sloccount MY_DIR
0
FacebookTwitterRedditEmail
Andrew Johnson

Andrew founded Gaia GPS. He writes code and manages the business.

previous post
Backpacker Magazine Correction
next post
New Map Sources Added to GaiaCloud Site

You may also like

Discover New Trails and Review Trip Stats with...

January 14, 2021

Greening Youth Foundation Empowers Youth and Enriches Outdoors

January 13, 2021

Winter Fat Biking Guide

January 5, 2021

Identify Avalanche Terrain with the New High-Res, Worldwide...

January 5, 2021

Earn Your Turns: Learn How to Backcountry Ski...

January 4, 2021

Gaia GPS Year in Review: CarPlay plus New...

December 28, 2020

Lessons from the Trail: Best Out and Back...

December 28, 2020

How to Use Maps to Help Avoid Avalanches

December 22, 2020

Buried Alive: Bruce Tremper Shares His Avalanche Story

December 21, 2020

Find the Deepest, Lightest Powder with the New...

December 17, 2020

Keep in touch

Facebook Twitter Instagram Youtube

Popular Posts

  • 1

    How to Read Topographic Maps

    October 7, 2020
  • 2

    Forrest Fenn’s Treasure has been Found

    March 12, 2019
  • 3

    How to Save Phone Battery Life in the Backcountry

    August 24, 2020
  • 4

    Gaia GPS and Apple CarPlay Bring Outdoor Maps to Your Dashboard

    February 24, 2020
  • 5

    Easy to Read, Tiny to Download: The All New Gaia Topo

    January 28, 2020

Categories

  • Adventures
  • Android
  • App Comparisons
  • App Updates
  • Backcountry Skiing
  • Boating
  • Company News
  • Emergency Response
  • Featured
  • Fishing
  • Gaia GPS
  • GaiaCloud
  • Hikes
  • How-To
  • Hunting
  • iOS
  • New Features
  • New Maps
  • Newsletter
  • Offroading
  • Out and Back Podcast
  • User Profiles
  • Facebook
  • Twitter
  • Instagram
  • Youtube
  • RSS

@2020 - All Right Reserved. Gaia GPS


Back To Top