This is a good place as any to remind you gentle developers that when you post questions, please provide the CodeWarrior type and version number, along with the MCU you're targeting in the post's subject header! It helps people with the proper expertise identify your post, so that they can help you.
The best place to determine the precise size of the program's code and data size is in the linker map. CodeWarrior linkers usually can do dead-stripping (that is, remove unused library code) of the libraries when they link the code, and thus reduce the size of the final program. The best place to see if the linker has this feature is in the Targeting manual, an Acrobat document that came with the CodeWarrior installation.
---Tom