Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Prune unused code #72

Open
gtanner opened this issue Apr 13, 2012 · 8 comments
Open

Prune unused code #72

gtanner opened this issue Apr 13, 2012 · 8 comments
Labels

Comments

@gtanner
Copy link
Contributor

gtanner commented Apr 13, 2012

I am thinking I am seeing a lot of dead / unused code in this project by looking it over:

Examples:

I am sure there is a lot more based on my quick glance. The codebase is starting to have a lot of cruft around it and needs to be cleaned up as it is hard to follow what is new / old / used / unused.

@nukulb
Copy link
Contributor

nukulb commented Apr 13, 2012

I understand the first two references, what is wrong with bridge.js, I am pretty sure that is still being used.

The bbx-emulator is not being used which is just a matter of removing the submodule reference.
I don't think the testbed.html is being used so I am sure that can go.
There is code that is still here that was used for last deliverable.
We will clean it after this current deliverable.

@gtanner
Copy link
Contributor Author

gtanner commented Apr 13, 2012

I did a quick search for references to it and didn't see any.
I may have grepped incorrectly though.
Sent on the TELUS Mobility network with BlackBerry

@nukulb
Copy link
Contributor

nukulb commented Apr 13, 2012

the code for grabbing plugins hasn't been modified, so it is still used in the exact same way as before

@dansilivestru
Copy link

Just did a grep, didn't see the bridge used anywhere but in the unit tests.

@nukulb
Copy link
Contributor

nukulb commented Apr 13, 2012

Weird, I will get the team to have a look
------Original Message------
From: Dan Silivestru
To: Nukul Bhasin
Subject: Re: [BB10-WebWorks-Framework] Prune unused code (#72)
Sent: Apr 13, 2012 5:21 PM

Just did a grep, didn't see the bridge used anywhere but in the unit tests.


Reply to this email directly or view it on GitHub:
#72 (comment)

Sent from my BlackBerry device on the Rogers Wireless Network

@nukulb
Copy link
Contributor

nukulb commented Apr 17, 2012

@jeffheifetz confirmed that we are using it, he will comment on this to let you know how exactly, but I believe we don't use it as a require statement.

@jeffheifetz
Copy link
Contributor

@gtanner
Copy link
Contributor Author

gtanner commented Apr 17, 2012

Would explain why it didn't come up in a grep, still a lot of pruning to do though :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants