---
id: 125
title: 'Adobe Flex : Linkreports'
slug: adobe-flex-linkreports
date: '2008-06-15T14:44:00Z'
modified: '2008-06-15T14:44:00Z'
status: publish
type: post
author: pmoelgaard
categories:
  - Uncategorized
tags:
  - Adobe Flex SDK
excerpt: null
canonicalPath: /posts/adobe-flex-linkreports
featuredImage: null
commentCount: 0
wordCount: 120
readingTimeMinutes: 1
hasMedia: false
hasVideos: false
url: 'https://forwardthinking.pemo.me/posts/adobe-flex-linkreports'
---
An important tool when trying to examine an application with the objective to divide it into modules and libraries or generally if you want to understand your application better, is the linkreport compiler option.  
  
Adding the following to your compiler options will print a linkreport upon a successful compile. A linkreport is an XML file which lists all type definitions included in the output as well as the classes it depends on, but has not included.  
  
\-linkreport=\[FileLocation\]\[Filename\].xml  
eg. -linkreport=../reports/Linkreport.xml  
  
It will generate the file on disk relative to the BIN directory, so if you want to place the linkreport in a separate directory on level with the BIN directory you have to append ../ to the beginning of the value.
