| Subsystem | Subsystem Lines of Code | Module Lines of Code | Description |
| Scan Processing Pipeline: | |||
| EXEC | 1827 | Pipeline "wrapper" script | |
| DLT_LOAD | 10085 | Tape handling, including (de)compression and archiving | |
| DARKS | 5626 | Instrumental calibration (darks and responsivities) | |
| PIXCAL | 9036 | Frame calibration and frame source detection (includes FREXClean) | |
| POSMAN | Position reconstruction | ||
| 3244 | PFPost | ||
| 11629 | PFPrep | ||
| 45371 | PosFrm | ||
| 6294 | PosPts | ||
| 4896 | RefPos (North+South) | ||
| 71434 | Total | ||
| PIXPHOT | Atlas Image generation, seeing estimation, and point source photometry (includes production psf generation) | ||
| 8558 | PixPhot | ||
| 769 | Seetracker | ||
| 5139 | ProPhot | ||
| 6000 | PSFMake | ||
| 762 | PSFPat | ||
| 21228 | Total | ||
| MAPCOR | 8981 | Read merge, photomeric corrections and artifact identification | |
| BANDMERGE | 2877 | JHKs point source merging | |
| GALWORKS | 115899 | Extended source identification and characterization | |
| Post-Scan Processing: | |||
| DMAGCOR | 2297 | PSF variation bias correction (includes DMAGCOR and PSFCOR) | |
| CALMON | 14745 | Photometric calibration | |
| QUALITY | QA evaluation, summary and reporting | ||
| 173 | ChkBak | ||
| 2285 | CNR | ||
| 2453 | CONMAN | ||
| 1895 | DiagPSF | ||
| 1777 | MiniQual | ||
| 3576 | NightSci | ||
| 555 | PltSee | ||
| 2130 | QUAL | ||
| 5890 | ScanSci | ||
| 686 | SITMake | ||
| 21420 | Total | ||
| MPCAT* | 785 | Asteroid and Comet identification | |
| Miscellaneous | |||
| 458 | GalHdr | ||
| 1713 | GenDXY | ||
| 356 | GetNoise | ||
| 3614 | HCOMPRESS (inherited from STScI) | ||
| 2989 | RESAMP | ||
| 343 | ShortForm | ||
| 9473 | Total | ||
| DBMAN** | 22005 | Loads pipeline output tables into IRSA DB system (part of 2MAPPS system) | |
| Total 2MAPPS | 317718 |
Notes to Table:
Line counts include source code and scripts. They do not include namelists or design and interface documentation.
* Does not include line count for minor planet ephemerides or the source code supplied by Dave Tholen for asteroid and comet position prediction.
** Does not include IRSA database access or Survey Visualizer software.