[Android Software Development] XrM:
Hello,

There may be a little pessimism when space calculation occurs.

I've been forced to remove more and more apps from stock package on my Nexus 4.

When the script calculate, it state that free space will be 3656 KB.

After succefull install, free space is 25 MB on system partition.

# Begin Open GApps Install Log
-----------------------------------------------------------------------------
ROM Android Version | 5.1.1
ROM ID | LYZ28E test-keys
ROM Version | eng.yasir.20150629.211935
Device Recovery | TWRP 2.8.7.0
Using Bundled XZdec | false
Device Name | mako
Device Model | Nexus 4
Device Type | phone
Device CPU | armeabi-v7a,armeabi
getprop Density | 320
default.prop Density | 320
build.prop Density | 320
Display Density Used | 320ppi
Install Type | Dirty[Data NOT Wiped]
Google Camera Installed¹ | true
Google Keyboard Installed¹ | true
FaceUnlock Compatible | true
Google Camera Compatible | true
Current GApps Version | 20150702
Current Open GApps Package | stock
Installing GApps Version | 20150716
Installing GApps Type | stock
Config Type | exclude
Using gapps-config | /sdcard/Download/.gapps-config
Remove Stock/AOSP Browser | true[default]
Remove Stock/AOSP Clock | true[YES_ClockGoogle]
Remove Stock/AOSP Email | true[default]
Remove Stock/AOSP Gallery | true[default]
Remove Stock/AOSP Launcher | true[gapps-config]
Remove Stock/AOSP MMS App | true[default]
Remove Stock/AOSP Pico TTS | true[default]
Remove Stock/AOSP NFC Tag | true[YES_TagGoogle]
Remove Stock/AOSP WebView | true[default]
Total System Size (KB) | 846632
Used System Space (KB) | 817596
Current Free Space (KB) | 29036
Post Install Free Space (KB) | 3656 << See Calculations Below
-----------------------------------------------------------------------------
¹ Previously installed with Open GApps
# End Open GApps Install Log

# Begin GApps Size Calculations
-----------------------------------------------------------------------------
TYPE | DESCRIPTION | SIZE | TOTAL
| Current Free Space | 29036 | 29036
Remove | Existing GApps | + 501452 | 530488
Remove | Obsolete Files | + 12 | 530500
Remove | browser | + 0 | 530500
Remove | calendarstock | + 0 | 530500
Remove | camerastock | + 0 | 530500
Remove | clockstock | + 0 | 530500
Remove | email | + 0 | 530500
Remove | exchangestock | + 0 | 530500
Remove | gallery | + 0 | 530500
Remove | keyboardstock | + 0 | 530500
Remove | launcher | + 0 | 530500
Remove | mms | + 0 | 530500
Remove | picotts | + 0 | 530500
Remove | tagstock | + 232 | 530732
Remove | webviewstock | + 0 | 530732
Install | Core² | - 62296 | 468436
Install | calendargoogle³ | - 23060 | 445376
Install | cameragoogle³ | - 29980 | 415396
Install | chrome³ | - 45064 | 370332
Install | clockgoogle³ | - 6720 | 363612
Install | cloudprint³ | - 4172 | 359440
Install | exchangegoogle³ | - 1236 | 358204
Install | facedetect³ | - 544 | 357660
Install | gmail³ | - 11960 | 345700
Install | googlenow³ | - 15312 | 330388
Install | googleplus³ | - 33628 | 296760
Install | googletts³ | - 29680 | 267080
Install | hangouts³ | - 33556 | 233524
Install | keyboardgoogle³ | - 24128 | 209396
Install | maps³ | - 20028 | 189368
Install | music³ | - 16700 | 172668
Install | newswidget³ | - 4420 | 168248
Install | photos³ | - 32792 | 135456
Install | playgames³ | - 10928 | 124528
Install | search³ | - 44664 | 79864
Install | street³ | - 272 | 79592
Install | taggoogle³ | - 228 | 79364
Install | wallet³ | - 13764 | 65600
Install | webviewgoogle³ | - 38064 | 27536
Install | youtube³ | - 14664 | 12872
| Buffer Space² | - 9216 | 3656
-----------------------------------------------------------------------------
Post Install Free Space | 3656
-----------------------------------------------------------------------------
² Required (ALWAYS Installed)
³ Optional (may be removed)

# End GApps Size Calculations

# Begin User's gapps-config
Books
Movies
Docs
Sheets
Slides
Earth
NewsStand
Sunbeam
Launcher
Keep
Fitness
FaceUnlock
Drive
Ears
Speech
TalkBack
Messenger
CameraStock
KeyboardStock
NoDebug

# End User's gapps-config

Is it intended?